nV News Forums

 
 

nV News Forums (http://www.nvnews.net/vbulletin/index.php)
-   NVIDIA Linux (http://www.nvnews.net/vbulletin/forumdisplay.php?f=14)
-   -   Legacy and kernel 2.6.28 (http://www.nvnews.net/vbulletin/showthread.php?t=125679)

T00027 01-05-09 05:35 AM

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.

d235j 01-15-09 02:32 PM

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


All times are GMT -5. The time now is 03:29 AM.

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