nV News Forums

 
 

nV News Forums (http://www.nvnews.net/vbulletin/index.php)
-   NVIDIA Linux (http://www.nvnews.net/vbulletin/forumdisplay.php?f=14)
-   -   Mandrake 9.2 and Kernel Source woes (http://www.nvnews.net/vbulletin/showthread.php?t=23821)

iceburn 01-20-04 03:36 PM

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?

thinkliberty 01-20-04 07:27 PM

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?

iceburn 01-21-04 08:08 AM

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]#

Andy Mecham 01-21-04 04:39 PM

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


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

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