Hello friends:
The following worked flawlessly before, but suddenly it does not.
For my Fedora 19 O/S (64 bit) I use the nVidia drivers supplied by nVidia,
not the drivers provided in the Fedora repository.
To install it, I boot into the relevant Fedora kernel and, as root from the CLI
(i.e. no X or graphics running), I simply run the installer,
NVIDIA-Linux-x86_64-325.08.run".
Everything succeeds without issue when I do that for the following kernel:
Fedora kernel: 3.9.9-302.fc19.x86_64 (Install works).
Eventually new kernels from Fedora become available, and each one requires
the same installation procedure:
(1) Boot into the new kernel.
(2) As root from the CLI (i.e. X windows not running), run the installer,
“NVIDIA-Linux-x86_64-325.08.run”.
Sadly, what worked for the kernel above does not work for the following
two kernels (that came after the above):
Fedora kernel: 3.10.3-300.fc19.x86_64 (Installer fails for this kernel).
Fedora kernel: 3.10.4-300.fc19.x86_64 (Installer fails for this kernel).
Below is the failure message (install log file output). I can see where the errors
occur, but do not know how to fix them. Can anyone provide suggestions?
Thanks in advance. (See below).
root# cat /var/log/nvidia-installer.log
nvidia-installer log file '/var/log/nvidia-installer.log'
creation time: Tue Aug 6 01:43:14 2013
installer version: 325.08
PATH: /usr/java/latest/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/local/sbin:/root/.local/bin:/root/bin:/usr/lib/hadoop-0.20-mapreduce/sbin:/usr/lib/hadoop-0.20-mapreduce/bin:.
nvidia-installer command line:
./nvidia-installer
Using: nvidia-installer ncurses user interface
-> License accepted.
-> Installing NVIDIA driver version 325.08.
-> There appears to already be a driver installed on your system (version: 325.08). As part of installing this driver (version: 325.08), 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: Yes)
-> Installing both new and classic TLS OpenGL libraries.
-> Installing both new and classic TLS 32bit OpenGL libraries.
-> Install NVIDIA's 32-bit compatibility OpenGL libraries? (Answer: Yes)
-> Parsing log file:
-> done.
-> Validating previous installation:
-> The previously installed file '/usr/lib64/libGL.la' seems to have changed, but `prelink -u` failed; unable to restore '/usr/lib64/libGL.la' to an un-prelinked state.
-> Un-prelinking unsuccessful: '/usr/lib64/libGL.la' will not be uninstalled.
-> done.
WARNING: Your driver installation has been altered since it was initially installed; this may happen, for example, if you have since installed the NVIDIA driver through a mechanism other than nvidia-installer (such as your distribution's native package management system). nvidia-installer will attempt to uninstall as best it can. Please see the file '/var/log/nvidia-installer.log' for details.
-> Uninstalling NVIDIA Accelerated Graphics Driver for Linux-x86_64 (1.0-32508 (325.08)):
-> DKMS module detected; removing...
-> Unable to delete directories created by previous installation.
-> done.
-> Uninstallation of existing driver: NVIDIA Accelerated Graphics Driver for Linux-x86_64 (325.08) is complete.
-> Searching for conflicting X files:
-> done.
-> Searching for conflicting OpenGL files:
-> done.
-> Installing 'NVIDIA Accelerated Graphics Driver for Linux-x86_64' (325.08):
executing: '/usr/sbin/ldconfig'...
executing: '/usr/sbin/depmod -aq'...
-> done.
-> Driver file installation is complete.
-> Installing DKMS kernel module:
ERROR: Failed to run `/usr/sbin/dkms build -m nvidia -v 325.08 -k 3.10.4-300.fc19.x86_64`:
Kernel preparation unnecessary for this kernel. Skipping...
Building module:
cleaning build area...
make KERNELRELEASE=3.10.4-300.fc19.x86_64 module KERNEL_UNAME=3.10.4-300.fc19.x86_64.....(bad exit status: 2)
Error! Bad return status for module build on kernel: 3.10.4-300.fc19.x86_64 (x86_64)
Consult /var/lib/dkms/nvidia/325.08/build/make.log for more information.
-> error.
ERROR: Failed to install the kernel module through DKMS. No kernel module was installed; please try installing again without DKMS, or check the DKMS logs for more information.
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.