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:
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: