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 |
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. |
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. |