Unable to load kernel module "nvidia.ko"

Hi guys,

I am having a problem while installing nvidia drivers… Please help me out

The configuration of the server is:

Intel Xeon Quadcore (E5472 @ 3.00GHz) x 2 CPUs i.e., 8 cores
Intel Server Board S5400SF
32 GB Memory

It has one PCI-e x16 slot. One PCIe cable of s1070 has been connected to
this slot. It seems only 2 of the 4 GPUs in the Tesla box will work. That
is OK for the time being.

lspci -v | grep Vid
01:00.0 PCI bridge: nVidia Corporation Tesla S870 (rev a3) (prog-if 00 [Normal decode])
02:00.0 PCI bridge: nVidia Corporation Tesla S870 (rev a3) (prog-if 00 [Normal decode])
02:01.0 PCI bridge: nVidia Corporation Tesla S870 (rev a3) (prog-if 00 [Normal decode])
02:02.0 PCI bridge: nVidia Corporation Tesla S870 (rev a3) (prog-if 00 [Normal decode])
02:03.0 PCI bridge: nVidia Corporation Tesla S870 (rev a3) (prog-if 00 [Normal decode])

the system has CentOS - 5.3 ( 2.6.18-128.el5 x86_64)

while Installing the driver it goes on fine upto building the kernel
module. Then the error below:

ERROR: Unable to load the kernel module ‘nvidia.ko’. This happens most
frequently when this kernel module was built against the wrong or
improperly configured kernel sources, with a version of gcc
that differs from the one used to build the target kernel, or if
a driver such as rivafb/nvidiafb is present and prevents the
NVIDIA kernel module from obtaining ownership of the NVIDIA graphics
device(s), or NVIDIA GPU installed in this system is not supported by
this NVIDIA Linux graphics driver release.

Please see the log entries ‘Kernel module load error’ and ‘Kernel
messages’ at the end of the file ‘/var/log/nvidia-installer.log’ for more
information.

-> Kernel module load error: insmod: error inserting ‘./usr/src/nv/nvidia.ko’:
-1 No such device

-------What can be the problem?

Did you install the matching kernel-devel package for that kernel?

What distribution you’re using?

Take a look at the 3# at here

Take a look at the 3# at here