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

Newegg Daily Deals

Reply
 
Thread Tools
Old 01-20-04, 03:36 PM   #1
iceburn
Registered User
 
Join Date: Jan 2004
Posts: 4
Default Mandrake 9.2 and Kernel Source woes

OK, i'm trying to get the nvidia drivers to work, tried current but after browsing these forums i'm actively trying to get the 4363 .run file to work.


I'm figuring that it's something to do with my kernel source..in /usr/src i have:

linux-2.4.22-10mdk
linux-2.4.22.21mdk

also i have "linux" which is symlinked to the 21mdk

when i try to sh the .run file it can't find the kernel source (BTW uname-r returns "2.4.22-10mdk"

so i tried adding the --kernel-include-path option with the respective include directories for all three (really 2) source options, this gets the nvidia-installer much farther, all the way to building the kernel module, but after it's done building there is an "ERROR: Unable to load nvidia.o..." error in the nvidia-installer and then the installer quits. It goes on to say that it's probably because it was built with the wrong kernel headers.

inspecting /var/log/nvidia-installer.log shows ./usr/src/nv/nvidia.o has "unresolved symbols" and there is a "Hint: you are are trying to load a module without a GPL compliant license, contact the module supplier for help"

is insmod tricked in mandrake to only allow GPL-ed modules somehow? More to the point - anyone know how i can get a nvidia driver working?
iceburn is offline   Reply With Quote
Old 01-20-04, 07:27 PM   #2
thinkliberty
Registered User
 
Join Date: Dec 2003
Posts: 21
Default

You don't have the kernel-source rpm installed for the version of the kernel you are running. Type:

uname -r
ls -l /usr/src/linux

What kernel does it say you are running? is it the same one that you linked to in /usr/src/linux?
thinkliberty is offline   Reply With Quote
Old 01-21-04, 08:08 AM   #3
iceburn
Registered User
 
Join Date: Jan 2004
Posts: 4
Default uname

sorry, though i typed that in my post....


[root@localhost root]# uname -r
2.4.22-10mdk
[root@localhost root]# ls -l /usr/src/
total 12
lrwxrwxrwx 1 root root 18 Dec 15 21:44 linux -> linux-2.4.22-21mdk/
drwxr-xr-x 4 root root 4096 Dec 15 21:44 linux-2.4.22-10mdk/
drwxr-xr-x 19 root root 4096 Dec 15 21:43 linux-2.4.22-21mdk/
[root@localhost root]#
iceburn is offline   Reply With Quote
Old 01-21-04, 04:39 PM   #4
Andy Mecham
l33t master
 
Join Date: Jul 2002
Location: Santa Clara, CA
Posts: 1,163
Default

Quote:
[root@localhost root]# uname -r
2.4.22-10mdk
[root@localhost root]# ls -l /usr/src/
total 12
lrwxrwxrwx 1 root root 18 Dec 15 21:44 linux -> linux-2.4.22-21mdk/
drwxr-xr-x 4 root root 4096 Dec 15 21:44 linux-2.4.22-10mdk/
drwxr-xr-x 19 root root 4096 Dec 15 21:43 linux-2.4.22-21mdk/
You're running 2.4.22-10mdk, but your /usr/src/linux is pointing to 2.4.22-21mdk. This won't work. You need to either reboot to 2.4.22-21mdk, or update your /usr/src/linux link to poitn to linux-2.4.22-10mdk.

--andy
__________________
Andy Mecham
NVIDIA Corporation
Andy Mecham 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 12:14 AM.


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