LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 02-01-2004, 03:02 AM   #1
innovest_11
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 NVIDIA-Linux-x86-1.0-5336-pkg1.run. 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, 05:55 AM   #2
ash4stuff
Member
 
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
'/usr/src/linux'.


Do a: sh NVIDIA-Linux-x86-1.0-5336-pkg1.run -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, 11:08 AM   #3
innovest_11
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 nvidia.....run.

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.
 
  


Reply



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

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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

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