Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 04-30-2004, 09:08 AM   #1
LQ Newbie
Registered: Apr 2004
Posts: 29

Rep: Reputation: 15
Can't load the kernel module 'nvidia.o'.

Hello all,

I am currently trying to install the nVidia driver for the new graphics card that I bought, and I have been unsuccessful so far. I am running RedHat 9.0 and when I attempt to install I change the run-level to 3 so that the X-server does not load. To start, here is the error log that is generated when installing the drivers fails:

nvidia-installer log file '/var/log/nvidia-installer.log'
creation time: Fri Apr 23 09:10:43 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 : /lib/modules/2.4.20-8/build/
kernel install path : (not specified)
proc mount point : /proc
ui : (not specified)
tmpdir : /tmp
ftp site :

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:
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
#export-tainted for information about tainted
./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

Now I did some searching, and I thought that the problem was that my kernel rpm and kernel-source rpm did not match, so I checked to see with:

shane# uname -r


shane# rpm -q kernel kernel-source

Clearly they do match. So now I am stumped and would really appreciate any help provided. Thanks,

Old 04-30-2004, 10:17 AM   #2
Senior Member
Registered: Nov 2002
Location: pikes peak
Distribution: Slackware, LFS
Posts: 2,577

Rep: Reputation: 48
kernel source path : /lib/modules/2.4.20-8/build/
Uh, your kernel source path should be something like

Old 04-30-2004, 10:40 AM   #3
LQ Newbie
Registered: Apr 2004
Posts: 29

Original Poster
Rep: Reputation: 15
If only it were that easy! /lib/modules/2.4.20-8/build has a symbolic link to /usr/src/linux... so that shouldn't be the problem. Any other suggestions?


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
How to load Nvidia module at startup? Jedyte Linux - Hardware 1 03-12-2005 03:34 PM
Unable to load kernel module nvidia-o mattv Linux - Newbie 3 02-26-2004 12:05 PM
nvidia module does not load automaticly with startx shadowhunter Linux - Newbie 6 02-08-2004 05:52 PM
Unable to load kernel module nvidia.o innovest_11 Linux - Newbie 2 02-01-2004 12:08 PM
nvidia driver 5328 redhat 9 module wont load restlekak Linux - Hardware 1 01-24-2004 03:21 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 09:11 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration