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

Newegg Daily Deals

Reply
 
Thread Tools
Old 03-02-10, 09:51 PM   #1
slightlystoopid
Registered User
 
Join Date: Feb 2010
Posts: 6
Exclamation Nvidia module on 2.6.33-rt

Has anyone built this successfully? Trying to build 173.14.25 on 2.6.33-rt4. I can't build nvidia or nouveau. I found a couple patches on these forums for previous rts, but they appear to have already been applied upstream.

The build errors.
slightlystoopid is offline   Reply With Quote
Old 03-02-10, 10:39 PM   #2
thefirstm
Registered User
 
Join Date: Feb 2009
Posts: 226
Default Re: Nvidia module on 2.6.33-rt

173.xx won't compile against 2.6.33 in any form.
thefirstm is offline   Reply With Quote
Old 03-02-10, 11:11 PM   #3
slightlystoopid
Registered User
 
Join Date: Feb 2010
Posts: 6
Default Re: Nvidia module on 2.6.33-rt

Quote:
Originally Posted by thefirstm View Post
173.xx won't compile against 2.6.33 in any form.
huh? that's wrong. I've compiled it against 2.6.33 vanilla, bfs, and ck patches. rt is the only one that's a problem.
slightlystoopid is offline   Reply With Quote
Old 03-03-10, 01:54 AM   #4
darkless
Registered User
 
Join Date: Mar 2010
Posts: 2
Default Re: Nvidia module on 2.6.33-rt

I experience the exact same errors as the OP when trying to compile 195.36.08 on 2.6.33-rt4.
darkless is offline   Reply With Quote
Old 03-03-10, 02:04 AM   #5
ledoc
Registered User
 
Join Date: Jan 2008
Posts: 330
Default Re: Nvidia module on 2.6.33-rt

Is there no patch (for earlier rt kernels) floating around here in the forum, somewhere? Could be a starting point for making it work on 2.6.33-rt.
ledoc is offline   Reply With Quote
Old 03-03-10, 02:32 AM   #6
darkless
Registered User
 
Join Date: Mar 2010
Posts: 2
Default Re: Nvidia module on 2.6.33-rt

The changes from the previous -rt kernel patches have already been applied upstream. This issue is different.
darkless is offline   Reply With Quote
Old 03-03-10, 05:40 AM   #7
slightlystoopid
Registered User
 
Join Date: Feb 2010
Posts: 6
Lightbulb Re: Nvidia module on 2.6.33-rt

ok, I really have no idea if this is the best way to treat this, but it builds and I'm using it now. Comparing 2.6.33-rt4 with 2.6.31.12-rt21, it seems the semaphore_init function is gone from the kernel and all atomic_spin* stuff appears to have been renamed raw_spin* for some reason. I've attached my patch, like I said, it's working so far, no guarantees.
Attached Files
File Type: txt 33rt.patch.txt (1.7 KB, 699 views)
slightlystoopid is offline   Reply With Quote
Old 03-19-10, 02:59 AM   #8
Los_Andros
Registered User
 
Join Date: Oct 2004
Posts: 5
Default Re: Nvidia module on 2.6.33-rt

Hi,
I tried to apply this patch to the latest 195.36.15 driver, but that didn't work. So I manually tried to change the header file.

Sadly this also didn't work. I got a 2.6.33-rt Kernel from the jengelh opensuse repository.

I really hope NVidia will fix this soon.
Los_Andros is offline   Reply With Quote

Old 03-19-10, 12:34 PM   #9
Los_Andros
Registered User
 
Join Date: Oct 2004
Posts: 5
Default Re: Nvidia module on 2.6.33-rt

.... ok found the problem, the first two line in the patch file have the path of the NVidia installation directory included. I deleted the leading path and only kept ./usr/src/..., copied the patch file into the nvidia installer directory and applied the patch.

Worked perfectly, the driver compiled without any problems and my system is up and running, thanks a lot.
Los_Andros is offline   Reply With Quote
Old 03-20-10, 07:19 AM   #10
paoleary
Registered User
 
Join Date: Feb 2010
Posts: 37
Default Re: Nvidia module on 2.6.33-rt

Quote:
Originally Posted by Los_Andros View Post
...I deleted the leading path and only kept ./usr/src/...
It's typical to require the -p# option to apply a patch. Check the man page for `patch'. Might save some time in the future.
paoleary is offline   Reply With Quote
Old 03-22-10, 07:45 AM   #11
Los_Andros
Registered User
 
Join Date: Oct 2004
Posts: 5
Default Re: Nvidia module on 2.6.33-rt

Quote:
Originally Posted by paoleary View Post
It's typical to require the -p# option to apply a patch. Check the man page for `patch'. Might save some time in the future.
indeed
Los_Andros is offline   Reply With Quote
Old 03-23-10, 07:42 PM   #12
haunted
Registered User
 
Join Date: Jul 2004
Posts: 17
Default Re: Nvidia module on 2.6.33-rt

Quote:
Originally Posted by Los_Andros View Post
Sadly this also didn't work. I got a 2.6.33-rt Kernel from the jengelh opensuse repository.
Since you already have the kernel from there, you could have just as well also pulled the nvidia.rpm from the very same location!
haunted 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 02:00 PM.


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