Nvidia Driver Errors After Compiling 2.6.16.5 Kernel!
I compiled the latest Kernel 2.6.16.5 onto my system and when I tried to re-install my Nvidia Drivers, It would not do as it was complaining about not finding the current Kernels source. So I think, this is impossible, let me double check!
So I run uname -r and get 2.6.16.5build1. I also ls /lib/modules to check that it actually exists there too...and it does. Then I try to direct the Nvidia install to the directory by runnining sh NVidia.etc... --kernel-name='/lib/modules/2.6.16.5build1' NOTHING!!! So I recompile the kernel again only this time naming it 2.6.16.5. Fortunately saved my previous config file Anyway go through all the same steps as above and this time the Nvidia driver compiles. Guess I messed up somewhere previously. HeeeHaaaa, happy?....No! cause now it gives me this error: Code:
FATAL: Module nvidia not found. I assume once the NVIDIA Kernel module is sorted the rest will fall in place? Any suggestions, please? |
Check this, I think that's the problem
http://www.nvnews.net/vbulletin/showthread.php?t=62021 did u have 2.6.15 before? |
Quote:
Code:
sh NVIDIA-Linux-x86-1.0-8756-pkg1.run --kernel-name=2.6.15.6 \ Eric |
Thanks for the reply guys,
Eric, I quickly tried your suggestions (and thanks for pointing out the correct usage of the parameters) but I'm afraid no luck. Note that I am running Kernel Version 2.6.16.5. On previous kernel installations I have had no problems as you have stated, it is only with this one. Also I have not moved the kernel sources at all...which is pretty strange that the Nvidia installation doesn't detect it! Ellops, I did have 2.6.15 before but I actually just reinstalled SW10.2. Maybe I did something wrong with that. In brief: Installed test26.s image and did a full installation Then installed the modules from CD2 Then compiled the kernel version 2.6.16.5 Installed the NVidia drivers And got the module error mentioned above. |
Did you add support for agpgart and/or nvagp in you new kernel. Also you need support for i2c (i2c_core module)
Here is the lsmod output (related to nvidia) with the 2.6.16.5 kernel and latest nvidia 8756 driver: Code:
nvidia 4539412 12 |
You have to recompile/reinstall the nvidia drivers every time you change/compile a new kernel
|
Ellops is right i think
I had to do this patch see http://www.linuxquestions.org/questi...d.php?t=430642 tobyl |
http://www.linuxquestions.org/questi...d.php?t=428199
NV drivers under 2.6.16 needs patching, but the errors in thiw case are a bit different than the usual maybe sagecss already patched it?? |
Just a big thanks to everybody that tried to help out here with my moment of ignorance!
My problems had been with the 1.0-8178 Driver. I should have done this first before posting here, but I downloaded the laterst version 1.0-8756 Nvidia driver and it installed without a problem. I did recompile the kernel again though, just to make sure of a couple of things (including bathory's comments) like making sure that append version info to kernel string was not selected and a couple of other things I wanted to take out anyway. But I think it was simply a matter of using the latest driver. Again, thanks to all, Sage. |
Append string does not affect nvidia driver installation if you are not searching for precompiled kernel interface.
|
Quote:
|
Not quite
I had this problem today. My error was actually because the -current 2.6 kernel is compiled with GCC 3.4 and Slack 10.2 is using GCC 3.3 and you can't compile the Nvidia stuff (during the install) and insert into the kernel with a different GCC version.
Solution: upgrade to GCC 3.4 from -current tree. The reason the solution above worked (recompiling the kernel yourself) is that you inadvertantly fixed the "kernel compiled with different GCC version than is on your system" problem. You could probably have saved yourself a bit of trouble by upgrading, but your solution did work. Hope this saves someone else a kernel recompile. shuste73@yahoo.com |
All times are GMT -5. The time now is 05:36 AM. |