Go Back   nV News Forums > Linux Support Forums > NVIDIA Linux

Newegg Daily Deals

Reply
 
Thread Tools
Old 04-17-04, 02:27 PM   #1
jaavedm
Registered User
 
Join Date: Apr 2004
Location: Gainesville, FL
Posts: 3
Send a message via AIM to jaavedm
Question ERROR: Unable to load the kernel module ‘nvidia.o’

New Linux User here. I am trying to install the NVIDia Display driver. However during installation, that is after I have read the disclaimer, I get an error saying

"ERROR: Unable to load the kernel module ‘nvidia.o’. This is the 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…

…If you know the correct kernel source files are installed, you may specify the kernel source path with the ‘—kernel-source-path’ commandline option."

I used the command "rpm -qa | grep kernel" which tells me Kernel-2.4.22.10mdk-1-1mdk. Where do I go from here? How do I get the installer to recognize this kernel, if it is the right kernel at all.


I just found out that in /usr/src, i only have one file which is RPM. While reading the post, some say to type
sh NVIDIA-Linux-x86-10-5336-pkg1.run --Kernel-source-path /usr/src/(whatever)

But in my case, i don't have a (whatever) be it linux-2.4.22.10mdk

Last edited by jaavedm; 04-17-04 at 03:40 PM.
jaavedm is offline   Reply With Quote
Old 04-17-04, 11:47 PM   #2
Talornin
Registered User
 
Join Date: Jan 2004
Location: Norway
Posts: 19
Default Re: ERROR: Unable to load the kernel module ‘nvidia.o’

I dont use Mandrake, never have, so Im not quite sure, but I would assume that you need to either unpack the rpm file or find a mdk-kernel-source rpm, maching your kernel, somewhere on the web and install it.
__________________
Gentoo GNU/Linux - 2.6.10-rc2 - Shuttle SN45G - AMD XP-M 2400+ @ 2.4ghz - 1024 MB RAM - GeForce 4 TI4800SE - Nvidia driver V.1.0.6629
Talornin is offline   Reply With Quote
Old 04-18-04, 02:27 AM   #3
pzgren
Registered User
 
pzgren's Avatar
 
Join Date: Jan 2004
Posts: 107
Default Re: ERROR: Unable to load the kernel module ‘nvidia.o’

hello,

you need kernel-source-2.4.22-28mdk.i586.rpm The other one is only the ready kernel to run your system, not the sources.

And you should before, install an up2date secure kernel for your CPU There many more updates for MDK 9.2. Install them! They are not there for nothing. ;-)

Here: http://ftp-stud.fht-esslingen.de/pub...ates/9.2/RPMS/

kernel-i686-up-4GB-2.4.22.28mdk-1-1mdk.i586.rpm (Athlon CPU,...)
kernel-p3-smp-64GB-2.4.22.28mdk-1-1mdk.i586.rpm (Intel P3 SMP system)

and the source for all: kernel-source-2.4.22-28mdk.i586.rpm

maybe you need some others like glibc-devel or the GCC and look what rpm says.


Regards,

Marcus
__________________
Fedora Core 6
Notebook: DELL Inspiron 9400 - Core Duo T2400 - 17" WUXGA 7800 Go 256MB - 2 GB DDR2 667 MHz -
PC: AMD64 3200 - 1 GB Infi. PC400 - MSI K8N Neo Platinum NForce3 250GB - 80GB SATA Samsung - SB Live! 5.1 - GF 6600GT AGP
pzgren is offline   Reply With Quote
Old 04-18-04, 01:17 PM   #4
jaavedm
Registered User
 
Join Date: Apr 2004
Location: Gainesville, FL
Posts: 3
Send a message via AIM to jaavedm
Default Re: ERROR: Unable to load the kernel module ‘nvidia.o’

So in downloaded and installed kernel-source-2.4.22-28mdk.i586.rpm. This added to my /usr/src/ folder the two files:

linux
linux-2.4.22-28mdk
RPM (--which was here previously)

Now when I type in
sh NVIDIA-Linux-x86-1.0-5336-pkg1.run the same message occurs

I then type in
sh NVIDIA-Linux-x86-1.0-5336-pkg1.run --kernel-source-path /usr/src/linux-2.4.22-28mdk and the same message occurs.

I don't know what I am doing wrong. I've been reading about rebuilding the kernel but I don't know how to do this or if it will help. I also read in other posts to install the module-init-tools-3.0-pre10.tar.gz. I already downloaded this folder but have no idea about how to install a tar.gz folder. Could someone please help me.
jaavedm is offline   Reply With Quote
Old 04-18-04, 01:38 PM   #5
jaavedm
Registered User
 
Join Date: Apr 2004
Location: Gainesville, FL
Posts: 3
Send a message via AIM to jaavedm
Default New Error

I just downloaded NVIDIA-Linux-x86-1.0.4363.run file

I tried to install it by typing in
sh NVIDIA-Linux-x86-1.0.4363.run
Same ERROR as before

Then I tried
sh NVIDIA-Linux-x86-1.0.4363.run --kernel-include-path /usr/include

Then it says
"No precompiled kernel interface was found to match your kernel; would you like the installer to attempt to download a kernel interface for your kernel from the NVIDIA ftp site (ftp://download.nvidia.com)" I hit yes.

"ERROR: Unable to connect to download.nvidia.com (temporary DNS error (try again later)) " I hit ok

"No matching precompile kernel interface was found on the NVIDIA ftp site; this means that the installer will need to compile a kernel interface for your kernel." Hit ok.

(attempts to build the module)

"ERROR: Unable to build the NVIDIA kernel module."

Where do I go from here?

Last edited by jaavedm; 04-18-04 at 01:57 PM.
jaavedm is offline   Reply With Quote
Old 04-18-04, 11:54 PM   #6
pzgren
Registered User
 
pzgren's Avatar
 
Join Date: Jan 2004
Posts: 107
Default Re: ERROR: Unable to load the kernel module ‘nvidia.o’

Ok farmer method now, do not know what MDK has done there or you...
Jump to /usr/src/linux-2.4.22-28mdk and type

make menuconfig

the config menu appears. Exit it. Then type

make depend

Then try the installer again. If no go --->

Go to the location where the nVidia driver is and type

sh ./NVIDIA-Linux-x86-1.0-5336-pkg1.run --extract-only

It will be extracted to the subdir.

Edit the Makefile at the "install line" like this wo kernel_module_install after it:
...
install:
@echo "Removing all old and conflicting files!"
...
...

Now change to NVIDIA-Linux-x86-1.0-5336-pkg1/usr/src/nv and type

make install

only the kernel module will now installed.

Then back to the top of the NVIDIA-Linux-x86-1.0-5336-pkg1 and again for the GXL driver.

make install

If allright, edit /etc/X11/XF86Config
...
Section "Module"
Load "dbe"
Load "extmod"
Load "glx"
Load "freetype"
Load "type1"
Load "v4l"
EndSection
...
Section "Device"
...
Driver "nvidia"
...

et voila?

Marcus
__________________
Fedora Core 6
Notebook: DELL Inspiron 9400 - Core Duo T2400 - 17" WUXGA 7800 Go 256MB - 2 GB DDR2 667 MHz -
PC: AMD64 3200 - 1 GB Infi. PC400 - MSI K8N Neo Platinum NForce3 250GB - 80GB SATA Samsung - SB Live! 5.1 - GF 6600GT AGP
pzgren is offline   Reply With Quote
Old 04-20-04, 10:50 AM   #7
SOCiOPATh
Registered User
 
Join Date: Apr 2004
Posts: 1
Default Re: ERROR: Unable to load the kernel module ‘nvidia.o’

I exactly had the same problem and solved it recently.
For me I stupidly forgot disabling Direct Rendering Manager in my 2.6.5 kernel ... .
Then the ERROR magicly diseapered.
SOCiOPATh is offline   Reply With Quote
Reply


Thread Tools

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 On
HTML code is Off
Forum Jump


Similar Threads
Thread Thread Starter Forum Replies Last Post
Corrupted display - 302.17 - Dell Precision T3500 (G98 [Quadro NVS 295]) gbailey NVIDIA Linux 1 06-27-12 10:24 AM
UEFI+Nvidia - NVRM: Your system is not currently configured to drive a VGA console... interzoneuk NVIDIA Linux 0 06-26-12 04:51 AM
xorg locks-up with newest nvidia drivers w/ vdpau. theroot NVIDIA Linux 1 06-24-12 11:04 AM
Lucid rt kernel can't load latest nvidia driver module, but generic does. marcod NVIDIA Linux 0 05-02-12 06:23 AM
X Failed to load NVdriver c00lr4c3r NVIDIA Linux 13 10-22-02 01:44 PM

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


Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Copyright 1998 - 2014, nV News.