Summary: | nvidia-kernel bugs on 2.6 kernel | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Stuart Herbert (RETIRED) <stuart> |
Component: | New packages | Assignee: | Gentoo X packagers <x11> |
Status: | RESOLVED CANTFIX | ||
Severity: | normal | CC: | centic, moixa, vapier |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
Diff against nvidia-kernel-1.0.4363-r3.ebuild
Required diff for 2.6 kernel support; also available from www.minion.de |
Description
Stuart Herbert (RETIRED)
![]() Created attachment 24724 [details, diff]
Diff against nvidia-kernel-1.0.4363-r3.ebuild
Created attachment 24725 [details, diff]
Required diff for 2.6 kernel support; also available from www.minion.de
Stuart: supernova src # grep SYSSRC /usr/local/build/portage/nvidia-kernel-1.0.5336-r1/work/NVIDIA-Linux-x86-1.0-5336-pkg1/usr/src/nv/makefile supernova src # It isn't gonna do a whole lot. =P I suggest you cvs up and try again with 5336-r1. And yeah the rest need updates. Yup, -r1 compiles. Nice one. I'll give it a go in a moment, see if it runs or not. These Abit cards are so dodgy, tho, that sometimes even the Windows Detonator drivers don't like them :( Try unpacking the nvidia drivers without your makefile patch. 'make module SYSSRC=/usr/src/linux' works, and 'make module KERNDIR=/usr/src/linux' throws up the 'unable to identify kernel' error that people are complaining about on the forums. The same error that the original ebuild has, btw. And that's caused because some people never run 'make modules_install', which creates /lib/modules/`uname -r`/build. Rather than pass KERNDIR, we really should detect the lack of /lib/modules/`uname -r`/build directory, and tell our users to go do a 'make modules_install' before emerging kernel modules. All the original 'makefile' does is have Makefile symlink to the kbuild or nvidia Makefile, and then use that to compile. make -dd clearly shows that SYSSRC gets passed through intact. You should try it sometime. Btw, KERNDIR isn't supported in the kbuild Makefile at all. =P Okay, the module still doesn't work. There's no kernel panic, just X11 saying that it can't initialise the nvidia driver. Back to driver 4363 for me for now. Stu If it still doesn't work -- I assume you unloaded the old module first, so you weren't attempting to use an old kernel module with new nvidia-glx accidentally. I rebooted the machine just to make sure that wasn't the case. Stu Please test nvidia-kernel-5336-r3 (preferably with 2.6.6 kernel, but not essential) and report back please. Okay - 5336-r3 doesn't work for me. I get further, but end up with scrambled rubbish on the screen, and a forced reboot. Back to 4363 once again. Also, my fixes for the 4363 ebuild seem to have been lost when the nvidia drivers were removed from Portage that time. Either that, or they were never committed in the first place. Right now, the 4363-r3 ebuild does not work with any 2.6 kernel. With the latest patches from minion.de, I can verify that 4363 works with 2.6.6 kernel. Best regards, Stu Can you try 5336-r4 please. On gentoo-dev-sources and developmental-sources 2.6.7, after emerging nvidia-kernel, type modprobe nvidia and the error message comes back saying Invalid Module Format. Downloaded the latest driver from NVIDIA and it works like a charm. chances are it's because your /usr/src/linux symlink is wrong Closing this. Stuarts stuff is badness in pci / other unknown yet gentoo-dev-sources problem is in another bug. Closing this. Stuarts stuff is badness in pci / other unknown yet gentoo-dev-sources problem is in another bug. |