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

Newegg Daily Deals

Reply
 
Thread Tools
Old 03-07-07, 09:47 PM   #13
basso
Registered User
 
Join Date: Mar 2007
Posts: 2
Default Re: Unable to load the kernel module 'nvidia.ko'

Hello folks,

I've read all the posts in this thread and still cannot find anything related to my problem...

I've installed Fedora Core 6 on a pc with an nVidia GEForce 5200 and I can't seem to install the driver.

I launched the installation and it said that it needs to recompile my kernel since there's no precompiled kernel found.

After that I get an error message saying that the compile was not successful and that I should check the "nvidia-installer.log" file.

The file reads the following:

Code:
-> Kernel module compilation complete.
ERROR: Unable to load the kernel module 'nvidia.ko'.  This happens most
       frequently when this kernel module was built against the wrong or
       improperly configured kernel sources, with a version of gcc that differs
       from the one used to build the target kernel, or if a driver such as
       rivafb/nvidiafb is present and prevents the NVIDIA kernel module from
       obtaining ownership of the NVIDIA graphics device(s).
       
       Please see the log entries 'Kernel module load error' and 'Kernel
       messages' at the end of the file '/var/log/nvidia-installer.log' for
       more information.
-> Kernel module load error: insmod: error inserting './usr/src/nv/nvidia.ko':
   -1 No such device
-> Kernel messages:
   Bluetooth: HCI device and connection manager initialized
   Bluetooth: HCI socket layer initialized
   Bluetooth: L2CAP ver 2.8
   Bluetooth: L2CAP socket layer initialized
   Bluetooth: RFCOMM socket layer initialized
   Bluetooth: RFCOMM TTY layer initialized
   Bluetooth: RFCOMM ver 1.8
   Bluetooth: HIDP (Human Interface Emulation) ver 1.1
   SELinux: initialized (dev autofs, type autofs), uses genfs_contexts
   SELinux: initialized (dev autofs, type autofs), uses genfs_contexts
   eth0: no IPv6 routers present
   hda: drive_cmd: status=0x51 { DriveReady SeekComplete Error }
   hda: drive_cmd: error=0x04 { DriveStatusError }
   ide: failed opcode was: 0xb0
   hdb: drive_cmd: status=0x51 { DriveReady SeekComplete Error }
   hdb: drive_cmd: error=0x04 { DriveStatusError }
   ide: failed opcode was: 0xb0
   nvidia: module license 'NVIDIA' taints kernel.
   ACPI: PCI Interrupt 0000:01:00.0[A] -> GSI 16 (level, low) -> IRQ 217
   NVRM: This PCI I/O region assigned to your NVIDIA device is invalid:
   NVRM: BAR1 is 0M @ 0x00000000 (PCI:0000:00.1)
   NVRM: The system BIOS may have misconfigured your graphics card.
   nvidia: probe of 0000:01:00.0 failed with error -1
   NVRM: The NVIDIA probe routine failed for 1 device(s).
   NVRM: None of the NVIDIA graphics adapters were initialized!
ERROR: Installation has failed.  Please see the file
       '/var/log/nvidia-installer.log' for details.  You may find suggestions
       on fixing installation problems in the README available on the Linux
       driver download page at www.nvidia.com.
I tried to check for the file ./usr/src/nv/nvidia.ko and found that the directory /nv does not exist at all!

I'm no expert in linux, in fact this is my first installation of the OS, any help?

Thanks in advace
basso is offline   Reply With Quote
Old 03-07-07, 10:00 PM   #14
basso
Registered User
 
Join Date: Mar 2007
Posts: 2
Talking Re: Unable to load the kernel module 'nvidia.ko'

Hello again!

Looks like I spoke too soon, the problem was solved by using the "-k $(uname -r)" (thank you jong0357 and the all of you)

Thanks again.

A question outside this matter though, know any good free xWindows client for MS Windows XP?

Cheers,
Basso
basso is offline   Reply With Quote
Old 03-23-07, 11:43 AM   #15
TriangleMan
Registered User
 
Join Date: Oct 2002
Posts: 17
Default Re: Unable to load the kernel module 'nvidia.ko'

I too am running FC6, and had most of the problems listed.
The -k $(uname -r) helped get past the driver install.

startx now doesn't work, and its the invalid nvidia.ko message given as the reason. Now what?

2.6.18-1.2798.fc6



Any ideas?

Thanks,
TriangleMan is offline   Reply With Quote
Old 03-23-07, 11:50 AM   #16
netllama
NVIDIA Corporation
 
Join Date: Dec 2004
Posts: 8,763
Default Re: Unable to load the kernel module 'nvidia.ko'

http://www.nvnews.net/vbulletin/showthread.php?t=46678
netllama is offline   Reply With Quote
Old 03-23-07, 12:00 PM   #17
TriangleMan
Registered User
 
Join Date: Oct 2002
Posts: 17
Default Re: Unable to load the kernel module 'nvidia.ko'

Here you go.

I did a several hour search over the internet and part of nvforum for an answer. That's how I got as far as I did. I think this fits in this thread because it is the exact error message, just at a slightly later time.
If I should put this somewhere else, please let me know.

Hopefully the logs are attached. Haven't done an attachment before.
Attached Files
File Type: log nvidia-bug-report.log (94.9 KB, 268 views)
File Type: log nvidia-installer.log (25.4 KB, 241 views)
TriangleMan is offline   Reply With Quote
Old 03-23-07, 12:03 PM   #18
netllama
NVIDIA Corporation
 
Join Date: Dec 2004
Posts: 8,763
Default Re: Unable to load the kernel module 'nvidia.ko'

In your bug report, I see:
nvidia: version magic '2.6.18-1.2798.fc6 SMP mod_unload 686 REGPARM 4KSTACKS gcc-4.1' should be '2.6.18-1.2798.fc6 SMP mod_unload 586 REGPARM 4KSTACKS gcc-4.1'

This suggests that you didn't follow the sticky post.
netllama is offline   Reply With Quote
Old 03-23-07, 12:03 PM   #19
TriangleMan
Registered User
 
Join Date: Oct 2002
Posts: 17
Default Re: Unable to load the kernel module 'nvidia.ko'

As I read my reply, I need to emphasize that I didn't underline, highlight, etc.... those words. It makes it sound belligerent, which I am definitely not trying to be.

If this doesn't make sense to you, a window pops up with a microsoft thing. Maybe it's just my browser showing it weird.

Thanks,

TM
TriangleMan is offline   Reply With Quote
Old 03-23-07, 12:09 PM   #20
TriangleMan
Registered User
 
Join Date: Oct 2002
Posts: 17
Default Re: Unable to load the kernel module 'nvidia.ko'

I tried to follow it.
I cannot do the yum part since I am prohibited from connecting the computer to the internet, and don't have any linux computer attached to the internet. Company will only allow windows.

I'm assuming you mean this one:
http://www.nvnews.net/vbulletin/showthread.php?t=72490

I followed the redhat link, but am having a real hard time understanding how to tell if parts are 586 vs 686. Which should I have? The rpms rarely say which they are with rpm -qa .

Any other way out of this? I'd like to find the rpm's via web or ftp so I could burn a CD and install them, but I can't find them anywhere.
TriangleMan is offline   Reply With Quote

Old 03-23-07, 12:25 PM   #21
netllama
NVIDIA Corporation
 
Join Date: Dec 2004
Posts: 8,763
Default Re: Unable to load the kernel module 'nvidia.ko'

The Redhat bugzilla bug referenced in the sticky post explains how to fix the problem.
netllama is offline   Reply With Quote
Old 03-23-07, 01:05 PM   #22
TriangleMan
Registered User
 
Join Date: Oct 2002
Posts: 17
Default Re: Unable to load the kernel module 'nvidia.ko'

Solution that worked for me:

rpm -qa 'kernel*' --queryformat "%{NA****-%{VERSION}-%{RELEASE}.%{ARCH}\n" | sort

showed one thing was 586.

went back to install dvd
cd /dvd/Fedora/RPMS
ls -al ke*686*

looked, picked the kernel and kernel-dev

rpm -ivh listed-the-rpms --replacepkgs --replacefiles

This whined over and over again about how it couldn't overwrite some files from blah.temp to blah. So I did this over and over until I made it through all 15 or so.

Then it whined about the floppy drive of all things.
I found a floppy, and it still whined, but finished.

running the nvidia installer worked fine, and so did startx.
TriangleMan is offline   Reply With Quote
Old 07-04-07, 06:28 PM   #23
mariegriffiths
Registered User
 
Join Date: Jul 2007
Posts: 1
Default Re: Unable to load the kernel module 'nvidia.ko'

This thread has helped me get a lot further but now startx does not work
FATAL: Error inserting nvidia (/lib/modules/2.6.20-1.2962.fc6/kernel/drivers/video/nvidia.ko): Invalid module format
(EE) NVIDIA(0): Failed to load the NVIDIA kernel module!
mariegriffiths is offline   Reply With Quote
Old 07-04-07, 06:31 PM   #24
netllama
NVIDIA Corporation
 
Join Date: Dec 2004
Posts: 8,763
Default Re: Unable to load the kernel module 'nvidia.ko'

See the forum sticky posts.
netllama 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 04:18 AM.


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