Hi everyone,
I downloaded the Linux driver from the NVIDIA website & installed it successfully, but after a kernel upgrade, it refuses to install to the new kernel & I cannot even boot to the new kernel – X windows does not start. I have tried booting to the current kernel & installing using --kernel-name, but it claims that the kernel source is missing & it cannot install. This is strange because I never installed the kernel source for the kernel in which it does work, though I have installed the kernel-headers & kernel-devel packages. Also, unfortunately RHEL makes installing kernel source a nightmare.
Anyway, here is the output from /var/log/nvidia-installer.log:
nvidia-installer log file ‘/var/log/nvidia-installer.log’
creation time: Mon Dec 2 15:03:57 2013
installer version: 331.20
PATH: /usr/local/cuda/bin:/usr/lib64/qt-3.3/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin:/home/wafa/bin:/root/bin
nvidia-installer command line:
./nvidia-installer
–x-module-path=/usr/lib64/xorg/modules
–kernel-name=2.6.32-431.23.2.el6.x86_64
Using: nvidia-installer ncurses user interface
→ Tagging shared libraries with chcon -t textrel_shlib_t.
→ License accepted.
→ Installing NVIDIA driver version 331.20.
→ There appears to already be a driver installed on your system (version: 331.20). As part of installing this driver (version: 331.20), the existing driver will be uninstalled. Are you sure you want to continue? (‘no’ will abort installation) (Answer: Yes)
→ Would you like to register the kernel module sources with DKMS? This will allow DKMS to automatically build a new module, if you install a different kernel later. (Answer: No)
→ Not probing for precompiled kernel interfaces.
→ Performing CC sanity check with CC=“cc”.
ERROR: Unable to find the kernel source tree for the currently running kernel. Please make sure you have installed the kernel source files for your kernel and that they are properly configured; on Red Hat Linux systems, for example, be sure you have the ‘kernel-source’ or ‘kernel-devel’ RPM installed. If you know the correct kernel source files are installed, you may specify the kernel source path with the ‘–kernel-source-path’ command line option.
ERROR: Installation has failed. Please see the file ‘/var/log/nvidia-installer.log’ for details. You may find suggestions on fixing installation problems in the README available on the Linux driver download page at www.nvidia.com.
Any help will be greatly appreciated!