Nvidia 190.42 driver installation fails with custom kernel
Hello all,
I'm at my wits end here. I have tried to install the newest Nvidia drivers (190.42) and it keeps giving me an error and aborting the installation. I custom built my current kernel (2.6.31) from kernel.org. I have all the source files still installed. The system is stable and things tend to work correctly. (other programs compile) here is the output form the Nvidia error file. I have tried using the --kernel-source-path= option and still no joy? How would I go about correcting this problem? Thanks in advanced. Moch5.0 Code:
ERROR: If you are using a Linux 2.4 kernel, please make sure |
Quote:
|
The nvidia-installer looks for the links 'build'
and / or 'source' in /lib/modules/Žuname -rŽ build and source must be links to /usr/src/Žuname -rŽ . |
This is one strange thing I encountered in the past. If you run make clean or make sysclean after building a kernel, sometimes nvidia driver gives this error. Try to build the kernel against the stock kernel once, and if possible, re-build the kernel and try compiling nvidia driver once. See if that works. |
I don't have a solution - but it is doing the same thing to me. My sources are properly linked in /lib/modules and in /usr/src .
The 185.18.36 driver installs fine on all my custom kernels. |
jedi_sith_fears,
Thanks for the info. I'll try that and see if it works. |
Hello all,
Just wanted to say that a new kernel "recompile" did the trick. The driver installed and I have a new kernel version (2.6.31.5) Thanks, Moch5.0 |
Nvidia arguments
If I am correct, then the issue here was that the Nvidia installer couldn't find the kernel source code. So for the benefit of anyone else you might wander in, there are several command line arguments that can be run with the Nvidia installer.
Run the following to see a list: Code:
NVIDIA-Linux-x86_64-XXX.XX.XX-pkg2.run --advanced-options Code:
NVIDIA-Linux-x86_64-XXX.XX.XX-pkg2.run --kernel-source-path=/home/brian/kernel/linux-2.6.30.5/ |
All times are GMT -5. The time now is 12:04 PM. |