Go Back   nV News Forums > Linux Support Forums > NVIDIA Linux

Newegg Daily Deals

Reply
 
Thread Tools
Old 03-17-11, 05:47 PM   #1
snaboofypop
Registered User
 
Join Date: Aug 2003
Posts: 29
Default 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).
To fix:
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,
Snaboofypop
snaboofypop is offline   Reply With Quote
Old 03-17-11, 06:14 PM   #2
zander
NVIDIA Corporation
 
zander's Avatar
 
Join Date: Aug 2002
Posts: 3,740
Default 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).
zander is offline   Reply With Quote
Old 03-17-11, 07:37 PM   #3
snaboofypop
Registered User
 
Join Date: Aug 2003
Posts: 29
Default Re: Fix for 2.6.38-git4 and 260.19.44

Thank you!
snaboofypop is offline   Reply With Quote
Reply


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 04:34 PM.


Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Copyright 1998 - 2014, nV News.