|03-17-11, 05:47 PM||#1|
Join Date: Aug 2003
Fix for 2.6.38-git4 and 260.19.44
Hello. If you like me are crazy enough to keep building new kernels, then you will find that the Nvidia driver 260.19.44 fails with the latest git release (post 2.6.38).
Comment out line 90 from kernel/nv-linux.h
Old: #include <linux/smp_lock.h> /* kernel_locked */
New: /* #include <linux/smp_lock.h> */ /* kernel_locked */
(of course, you will have to use sh ./NVIDIA-Linux-x86_64-260.19.44.run --extract-only
to extract the source, and then once you have edited nv-linux.h, go back to the main
NVIDIA-Linux-x86_64-260.19.44 directory and run ./nvidia-installer
(and follow all directions as per usual).
... Arnd Bergmann on the Linux kernel mailing list sent a message to Linus Torvalds:
Total BKL removal, and in the note he mentioned commenting out the dependencies should
get rid of the Big Kernel Lock for good. I would appreciate team Nvidia checking to be certain that they are happy with this . Thanks,
|03-17-11, 06:14 PM||#2|
Join Date: Aug 2002
Re: Fix for 2.6.38-git4 and 260.19.44
Removal of the #include statement should be fine - I don't believe it's still needed by the driver (i.e. it's most likely the result of bit rot).