Fedora 10 64-bit - NVIDIA Driver Problem After Upgrade

Messages indicating NVIDIA display driver problem during boot:

(after upgrading to NVIDIA Driver x86_64-185.18.29)


During startup:

Checking for module nvidia.ko: [FAILED]

nvidia.ko for kernel 2.6.27.29-170.2.78.fc10.x86_64 was not found.[WARNING]

The nvidia driver will not be enabled until one is found.[WARNING]

/etc/rc5.d/S08nvidia: line 42:  1915 Segmentation fault      $exec disable



Or:

Checking for module nvidia.ko: [OK]

The nvidia driver will not be enabled until one is found.[WARNING]

Enabling the nvidia driver: /etc/rc.d/init.d/function: line 493:  4564 Segmentation fault "$@" [FAILED]

Starting anacron:

Now, System freezes here !


If you take a look to these places:

/var/log/dmesg
NVRM: loading NVIDIA UNIX x86_64 Kernel Module  180.60

/var/log/messages
localhost kernel: NVRM: API mismatch: the client has the version 180.60, but
localhost kernel: NVRM: this kernel module has the version 185.18.29.  Please
localhost kernel: NVRM: make sure that this kernel module and all NVIDIA driver
localhost kernel: NVRM: components have the same version.


You can understand what is the problem!
The problem here is the old kmod-nvidia kernel module.

First you should go to the runlevel 3 and then then reinstall the driver:

# telinit 3

or do it at boot time by:

Within the first three seconds press any key
Then press [a] key
Add [space][3] to the end of the line:

grub append> ro root=/dev/VolGroup00/LogVol00 rhgb quiet 3

Then log-in

Now you can fix it easily by removing them, because the NVIDIA driver installer will create them again during the installation process.


# yum remove kmod-nvidia*

do not forget * at the end to remove all older versions


Erased: kmod-nvidia
Erased: kmod-nvidia-2.6.27.25-170.2.72.fc10.x86_64
Erased: kmod-nvidia-2.6.27.24-170.2.68.fc10.x86_64
Erased: xorg-x11-drv-nvidia-libs
Erased: xorg-x11-drv-nvidia
Erased: kmod-nvidia-2.6.27.29-170.2.78.fc10.x86_64


Now check your system architecture, to find the correct packages:

# yum list kernel

Installed Packages                               
kernel.x86_64                   2.6.27.24-170.2.68.fc10                    installed
kernel.x86_64                   2.6.27.25-170.2.72.fc10                    @updates
kernel.x86_64                   2.6.27.29-170.2.78.fc10                    @updates


# rpm -qa --qf '%{name}\t%{arch}\n' 'kernel*'

kernel-headers  x86_64                                                              
kernel-devel    x86_64                                                              
kernel  x86_64
kernel-devel    x86_64
kernel  x86_64
kernel  x86_64
kerneloops      x86_64
kernel-devel    x86_64
kernel-firmware noarch

Then make sure you have the lates versions of kernel-devel and kernel-headers packages:

# yum install kernel-devel kernel-headers

Download the latest version of Linux nVidia Drivers here:

http://www.nvidia.com/Download/index.aspx?lang=en-us
http://www.nvidia.com/object/unix.html

Make it excutable:

# chmod +x NVIDIA-Linux-x86_64-185.18.29-pkg2.run


Now start the installer:

# ./NVIDIA-Linux-x86_64-185.18.29-pkg2.run

Then restart the system:

# shoutdown -r now


Finally after restarting your system you can check and make sure there is no more error in the system messages:

/var/log/dmesg
NVRM: loading NVIDIA UNIX x86_64 Kernel Module  185.18.29

/var/log/messages
localhost kernel: NVRM: loading NVIDIA UNIX x86_64 Kernel Module  185.18.29