You are not logged in.

Dear visitor, welcome to KDE-Forum.org. If this is your first visit here, please read the Help. It explains in detail how this page works. To use all features of this page, you should consider registering. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.

1

Friday, April 2nd 2004, 4:30pm

Problems Installing nVidia Drivers

When installing, I get this error:

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.

I tell it to use the kernel at:
--kernel-source-path=/usr/src/linux-2.4
or
--kernel-source-path=/usr/src/linux-2.4.20-8

Still gives me the same error! Here is the error log:

nvidia-installer log file '/var/log/nvidia-installer.log'
creation time: Thu Apr 1 20:29:11 2004

option status:
license pre-accepted : false
update : false
force update : false
expert : false
uninstall : false
driver info : false
no precompiled interface: false
no ncurses color : false
query latest driver ver : false
OpenGL header files : false
no questions : false
silent : false
XFree86 install prefix : /usr/X11R6
OpenGL install prefix : /usr
Installer install prefix: /usr
kernel source path : /usr/src/linux-2.4.20-8/kernel
kernel install path : (not specified)
proc mount point : /proc
ui : (not specified)
tmpdir : /tmp
ftp site : ftp://download.nvidia.com

Using: nvidia-installer ncurses user interface
-> License accepted.
-> A precompiled kernel interface for kernel 'Red Hat Linux 9 updated to kernel
2.4.20-8 Athlon' has been found here:
./usr/src/nv/precompiled/nv-linux.o-1.0-5336.rh9up_2.4.20-8_athlon.
executing: 'cd ./usr/src/nv; /usr/bin/ld -d -r -o nvidia.o precompiled-nv-li
nux.o nv-kernel.o'...
-> Kernel module linked successfully.
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.
-> Kernel module load error: Warning: loading ./usr/src/nv/nvidia.o will taint
the kernel: non-GPL license - NVIDIA
See http://www.tux.org/lkml/#export-tainted for information about tainted
modules
./usr/src/nv/nvidia.o: init_module: No such device
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
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.

On install of Linux (I had to use the graphical interface), I was unable to have my 5600 Ultra
installed on the system. I would throw some errors and then tell me I needed to restart. After
giving up trying to install with that card in the system, I installed a backup card (2mb pci card)
so I could at least get the OS installed. Is this a common issue as well?

Got any suggestions??
The Linux wanna-be!!

2

Sunday, April 4th 2004, 3:54am

Is nobody gunna even reply to this or help a new linux user out?? I am getting so frustrated with this that I am about to pull my hair out!!
The Linux wanna-be!!

seb

Professional

Posts: 622

Location: Sydney

Occupation: Student

  • Send private message

3

Sunday, April 4th 2004, 4:13am

Far out - dont stress... This is a forum. It does not mean that you get INSTANT responses. Sometimes people just dont know the answer.

Firstly - need a little bit of information. What are you doing? Did you download the latest package from nvidia? I believe it is
NVIDIA-Linux-x86-1.0-5336-pkg1.run

from there, make sure you boot into single user mode, log in as root and do

[code:1]chmod u+x NVIDIA-Linux-x86-1.0-5336-pkg1.run[/code:1]

from there -

[code:1]./NVIDIA-Linux-x86-1.0-5336-pkg1.run[/code:1]

If this is already what you are doing, when does it give you these errors - and if so, have you checked that you have downloaded the correct glx module and kernel source for your machine architecture? Nvidia used to release seperate kernel and glx module packages for a variety of different machines.

4

Sunday, April 4th 2004, 5:19am

Thank you for your help. I do not mean to be impatient, but it is driving me nuts!!

No, that did not work. The error message occurs right after the licence agreement.
I do not know now do I know how to find out about the GLX version. This is a fresh install of RedHat from a d/l ISO, Version 2.4.20-8. As for the kernel source, I thought I hat it but it was not it.
Yes, I am trying to use NVIDIA-Linux-x86-1.0-5336-pkg1.run.
The Linux wanna-be!!

seb

Professional

Posts: 622

Location: Sydney

Occupation: Student

  • Send private message

5

Sunday, April 4th 2004, 7:07am

try installing the kernel-source from the RH cd. Perhaps nvidia is trying to build itself from the kernel you have - and needs the source to do this.

Unfortunately i dont really know how to help you... :S

6

Tuesday, April 6th 2004, 9:09am

Try this:[code:1]cd /usr/src
rm linux
ln -s (the directory of the kernel you want the nvidia module installed for) linux[/code:1]
That works for me whenever I upgrade my kernel (on Gentoo Linux) and have to reinstall the nvidia module.

7

Tuesday, April 6th 2004, 2:24pm

thanx!! i will see what happens when i get home
The Linux wanna-be!!