Hi all, I'm trying to install the latest nvidia drivers using NVIDIA-Linux-x86-1.0-6111-pkg1.run, but it tells me that my kernel is of the wrong version, so I do run:
NVIDIA-Linux-x86-1.0-6111-pkg1.run --kernel-source-path="/usr/src/linux-2.4.26"
the compilation of nvidia.o proceeds and the following error follows:
Code:
ERROR: Unable to load the kernel module 'nvidia.o'.
This is most likely because the kernel module was built using the wrong kernel source files.
Please make sure you have installed the kernel source files for your kernel;
on Red Hat Linux systems, for example, be sure you have the 'kernel-source' rpm installed.
If you know the correct kernel source files are installed, you may specify
the kernel source path with the '--kernel-source-path' commandline option.
Which also sugests that I have choosen a wrong version of the kernel .. does Slackware 10 comes with a different kernal source than which it uses?
Also when I run:
sh NVIDIA-Linux-x86-1.0-6111-pkg1.run --kernel-name=`uname -r` (uname -r being 2.4.26) That does a successfull installation, but afterward the nvidia.o can't be loaded.
ie.
insmod nvidia
Code:
Using /lib/modules/2.4.26/kernel/drivers/video/nvidia.o
Warning: loading /lib/modules/2.4.26/kernel/drivers/video/nvidia.o will taint the kernel: non-GPL license - NVIDIA
See http://www.tux.org/lkml/#export-tainted for information about tainted modules
/lib/modules/2.4.26/kernel/drivers/video/nvidia.o: init_module: No such device
/lib/modules/2.4.26/kernel/drivers/video/nvidia.o: Hint: insmod errors can be caused by incorrect module parameters, including invalid IO or IRQ parameters.
You may find more information in syslog or the output from dmesg
Key line being:
/lib/modules/2.4.26/kernel/drivers/video/nvidia.o: init_module: No such device
What's the
init_module?
Sounds like nvidia.o was compiled for a wrong kernal version ... am I right or is it something else?