View Single Post
Old 03-10-07, 11:48 AM   #9
JaXXoN
Registered User
 
Join Date: Jul 2005
Location: Munich
Posts: 910
Default Re: 2.6.20-rt8 kernel patch

Quote:
Originally Posted by Boomer
The 0x parts in the 3rd line, it only worked after I took out the x'es, but then the patched driver installed and it works fine. Thank you for the help!
hmm ... just checked: the pagefault_* functions are of a different symbol
type ("T") than paravirt_ops ("D"), where i applied this trick.

So in your case, $PAGEFAULT_ENABLE and $PAGEFAULT_DISABLE have
been empty lines and removing the x's actually results in a setting of "0" for
these symbols. This will likely cause problems at some point in time.

Please try out the following on:

Code:
PAGEFAULT_ENABLE=`grep "T pagefault_enable" /boot/System.map-2.6.20-rt | colrm 9`
PAGEFAULT_DISABLE=`grep "T pagefault_disable" /boot/System.map-2.6.20-rt | colrm 9`
ld -m elf_i386 --defsym pagefault_enable=0x$PAGEFAULT_ENABLE --defsym pagefault_disable=0x$PAGEFAULT_DISABLE -r -o nvidia.ko nvidia.o nvidia.mod.o
And report the values for the symbols:

Code:
echo $PAGEFAULT_ENABLE
echo $PAGEFAULT_DISABLE
regards

Bernhard
JaXXoN is offline   Reply With Quote