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

Newegg Daily Deals

Reply
 
Thread Tools
Old 01-05-09, 05:35 AM   #1
T00027
Registered User
 
Join Date: Jan 2009
Posts: 1
Default Legacy and kernel 2.6.28

I know there is a patch in this thread adapted from an nvidia-supplied patch, to get the driver to compile with 2.6.28. The only box here that isn't working properly with it runs an old TNT2; 71.86.* won't compile with 2.6.28 out of the box and the patched patch doesn't apply successfully.

Code:
Verifying archive integrity... OK
Uncompressing NVIDIA Accelerated Graphics Driver for Linux-x86 71.86.07...............................................................................................................................................................................................................................
patching file usr/src/nv/Makefile.kbuild
Hunk #1 succeeded at 186 (offset 1 line).
patching file usr/src/nv/Makefile.nvidia
Hunk #1 succeeded at 61 (offset 2 lines).
patching file usr/src/nv/conftest.sh
Hunk #4 succeeded at 840 (offset -27 lines).
Hunk #5 succeeded at 879 (offset -27 lines).
can't find file to patch at input line 150
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -ru usr/src/nv/nvacpi.c usr/src/nv.2990799/nvacpi.c
|--- usr/src/nv/nvacpi.c        2008-10-01 15:13:04.000000000 -0700
|+++ usr/src/nv.2990799/nvacpi.c        2008-10-27 10:46:05.710520948 -0700
--------------------------
File to patch: ^CSignal caught, cleaning up
How can this be tweaked to work with the ancient driver, or will there be an update to 71.86.* soonish? 71.86.07 worked flawlessly with 2.6.27.10 (32-bit x86), for what it's worth.
T00027 is offline   Reply With Quote
Old 01-15-09, 02:32 PM   #2
d235j
Registered User
 
Join Date: Jan 2009
Posts: 1
Default Re: Legacy and kernel 2.6.28

The patch you're using isn't necessary.
Seems like the kernel headers in /usr/src/linux/include/asm-<arch> moved to /usr/src/linux/arch/<arch>/include/asm . I symlinked the headers from linux/arch/<arch>/include/asm to linux/include/asm-<arch> but this is obviously a hack. A proper makefile patch would be better.
Otherwise, the driver works fine.

Good luck!!
d235j 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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Legacy 96.43.20 kernel module fails to load on RHEL6 - Module failed ELF checks phil@elrepo NVIDIA Linux 2 05-27-12 12:13 AM

All times are GMT -5. The time now is 02:44 AM.


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