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

Newegg Daily Deals

Reply
 
Thread Tools
Old 03-02-08, 07:29 AM   #1
rcbutcher
Registered User
 
Join Date: Mar 2008
Posts: 5
Default Can't load nvidia.ko for 2.6.24.3 kernel

I compiled and loaded new Linux Kernel 2.6.24.3 OK using gcc compiler 4.1.1-3mdk built by Mandriva. X is release 6.8.99.900 built by Mandriva.

Board is Gigabyte GA-K8N51GMF-9. CPU is Athlon 64 X2.

I compiled the wrapper for GeForce driver X86_64-169.12 OK, gcc compiler 4.1.1-3mdk built by Mandriva. I can't make nvidia.ko load, not with rebooting, not with forced module unload/reload.

Trying to start xdm I get :

X Window System Version 6.8.99.900 (6.9.0 RC 0)
Release Date: 01 August 2005 + cvs
X Protocol Version 11, Revision 0, Release 6.8.99.900
Build Operating System: Linux 2.6.12-12mdksmp x86_64 [ELF]
Current Operating System: Linux localhost 2.6.24.3 #10 SMP Sat Mar 1 21:21:26 EST 2008 x86_64
Build Date: 16 September 2005
Before reporting problems, check http://wiki.X.Org
to make sure that you have the latest version.
Module Loader present
Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Sat Mar 1 21:57:03 2008
(==) Using config file: "/etc/X11/xorg.conf"
Using vt 7
(EE) NVIDIA(0): Failed to initialize the NVIDIA kernel module! Please ensure
(EE) NVIDIA(0): that there is a supported NVIDIA GPU in this system, and
(EE) NVIDIA(0): that the NVIDIA device files have been created properly.
(EE) NVIDIA(0): Please consult the NVIDIA README for details.
(EE) NVIDIA(0): *** Aborting ***
(EE) Screen(s) found, but none have a usable configuration.

dmesg reveals further info :

nvidia: module license 'NVIDIA' taints kernel.
ACPI: PCI Interrupt Link [APC7] enabled at IRQ 16
ACPI: PCI Interrupt 0000:00:05.0[A] -> Link [APC7] -> GSI 16 (level, low) -> IRQ 16
PCI: Setting latency timer of device 0000:00:05.0 to 64
NVRM: loading NVIDIA UNIX x86_64 Kernel Module 100.14.19 Wed Sep 12 14:08:38 PDT 2007
NVRM: API mismatch: the client has the version 1.0-8762, but
NVRM: this kernel module has the version 100.14.19. Please
NVRM: make sure that this kernel module and all NVIDIA driver
NVRM: components have the same version.

does anybody know what "client" here means ? the x.org server ? My old kernel 2.6.18 was indeed using the 8762 driver. But the new driver is installed for the new 2.6.24.3 kernel. ??? So where is it getting the stuff about 8762 from ? Without knowing where the 8762 stuff comes from it;'s all just guesswork.

thanks
Rod
rcbutcher is offline   Reply With Quote
Old 03-02-08, 10:09 AM   #2
logan
Registered User
 
Join Date: Aug 2002
Posts: 492
Default Re: Can't load nvidia.ko for 2.6.24.3 kernel

Maybe your libGL and/or Xorg's nvidia_drv.so need to be upgraded yet?
logan is offline   Reply With Quote
Old 03-02-08, 10:20 AM   #3
pe1chl
Registered User
 
Join Date: Aug 2003
Posts: 1,026
Default Re: Can't load nvidia.ko for 2.6.24.3 kernel

Quote:
Originally Posted by rcbutcher
My old kernel 2.6.18 was indeed using the 8762 driver. But the new driver is installed for the new 2.6.24.3 kernel. ??? So where is it getting the stuff about 8762 from ?
Maybe your old driver was installed from a distributor's package and you now try to use the .run file installer? That could mean the old package is still on the system and overwrites the newly compiled module when you reboot.
Make sure you remove the package before trying to install the .run file from nvidia. Or use a distributor's package with a newer driver (which is easier with some distributions because their packages try to overwrite the kernel modules at every reboot).
pe1chl is offline   Reply With Quote
Old 03-02-08, 09:26 PM   #4
rcbutcher
Registered User
 
Join Date: Mar 2008
Posts: 5
Default Re: Can't load nvidia.ko for 2.6.24.3 kernel

Thanks for responding guys, you pointed me in the right direction :-

In addition to the kernel driver nvidia.ko, which lives in the kernel-version specific directory (/usr/lib/modules/2.6....), there are also shared libraries that needed to get installed (libGL, libGLcore, libnvidia-cfg, libnvidia-tls, libcuda). But these shared libraries live in a systemwide library - /usr/lib64. Which means trouble if I have multiple kernels using different nvidia driver versions.

The manual install of the GeForce drivers (i.e. unpacking the ....pkg2.run file and make module make install) did not install the shared libraries into /usr/lib64, and hence I was still using the old ones - 8762. I manually copied the shared libraries into /usr/lib64 and I'm up and running.
Rod
rcbutcher 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
Random crashes, NVRM Xid messages Iesos NVIDIA Linux 90 10-04-12 03:27 AM
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
Crash when logout from X TGL NVIDIA Linux 10 09-13-02 08:22 PM

All times are GMT -5. The time now is 07:13 PM.


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