Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 02-01-2004, 04:02 AM   #1
LQ Newbie
Registered: Jan 2004
Posts: 4

Rep: Reputation: 0
Unable to load kernel module nvidia.o

hi all,

I have been struggling with installing nvidia driver on linux redhat 9.0. After i startup with runlevel = 3, I do a sh I accept the aggreement and the error will appear. Unable to load kernel module nvidia.o due to kernel source.

I have already installed kernel source and headers.

I do a uname -r , it returns me 2.4.20-8.
I do a rpm -q kernel-source, it also returns me 2.4.20-8

What else can i try? pls help
Old 02-01-2004, 06:55 AM   #2
Registered: Aug 2003
Location: Viena
Distribution: Debian Sarge
Posts: 139

Rep: Reputation: 15
i guess its the error where it says it doesnt find the kernel source corresponding to your running kernel.

The nvidia setup looks for the kernel source at /usr/src/linux
So make a symlink to where your sources are.

Or you can use the option:

--kernel-source-path=[KERNEL SOURCE PATH]
The directory containing the kernel source files that should be
used when compiling the NVIDIA kernel module. When not
specified, the installer will use '/lib/modules/`uname
-r`/build', if that directory exists. Otherwise, it will use

Do a: sh -A
for all the advanced options available, there are some things many people oversee like how to use the installer to install the modules for several kernels on one machine.
Old 02-01-2004, 12:08 PM   #3
LQ Newbie
Registered: Jan 2004
Posts: 4

Original Poster
Rep: Reputation: 0
Great stuff! thanks! I get it installed after i added --kernel-source-code=/usr/src/linux to sh

The driver is installed. But now another problem:

When i change the Driver "vesa" to Driver "nvidia", then i reboot. The error is "No devices detected. Fatal server error. No screen found."

I have tried putting BusID "PCI:02:00:0" into /etc/X11/XF86Config, but not successful. Any ideas? Thanks.


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
Unable to build the NVIDIA kernel module subaruwrx Linux - General 2 03-12-2005 09:15 PM
Unable to build NVIDIA kernel module / determin kernel version Night Ink Fedora 2 05-31-2004 05:54 PM
Can't load the kernel module 'nvidia.o'. santner Linux - Software 2 04-30-2004 10:40 AM
ERROR: Unable to determine the NVIDIA kernel module filename. Friedrich Slackware 18 04-10-2004 04:08 AM
Unable to load kernel module nvidia-o mattv Linux - Newbie 3 02-26-2004 12:05 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 09:24 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