LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Unable to load kernel module nvidia.o (https://www.linuxquestions.org/questions/linux-newbie-8/unable-to-load-kernel-module-nvidia-o-140938/)

innovest_11 02-01-2004 03:02 AM

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

ash4stuff 02-01-2004 05:55 AM

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.

innovest_11 02-01-2004 11:08 AM

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.


All times are GMT -5. The time now is 05:57 PM.