PDA

View Full Version : NVdriver module won't load


demirdag
02-20-03, 06:33 AM
Hello everybody,

I'm not very familiar with linux but want to learn everything.

I'm trying to install de NVIDIA driver 4191 and everything works but the loading of the module. I'm using Mandrake Linux 9.0 with a GF3 ti 200.

When I run the script nvcheck.sh everything works out fine but the loading of the module. It sais:
The next step involves making sure you have the proper files in
the right places, and that the kernel module loaded correctly.
Press enter to begin the test.

First lets make sure you don't have the old modules still present
by mistake...
Checking /usr/X11R6/lib/modules/extensions/libglx.a...
Checking /usr/X11R6/lib/modules/extensions/libGLcore.a...
You don't appear to have any conflicting older drivers. Now lets check
if the new driver files are in place...
Checking /usr/X11R6/lib/modules/drivers/nvidia_drv.o...
Checking /usr/X11R6/lib/modules/extensions/libglx.so...
Checking /usr/lib/libGL.so...
libGLcore.so.1 => /usr/lib/libGLcore.so.1 (0x4005a000)
Checking /usr/lib/libGLcore.so.1...
All the files seem to exist.

Now I'm going to see if your kernel module is loaded correctly... the NVdriver kernel module does not seem to be loaded. The 3D drivers will not work without it...please compile it for your kernel, set it up to insert the module on boot, then run this script again. Remember if you are having trouble compiling the module, try adding -D_LOOSE_KERNEL_NAMES to the Makefile.

please help me with this....I want it to work properly. I tried every installaton method and all result in this error. I added line NVdriver to /etc/modules.

Daniel

bwkaz
02-20-03, 06:50 AM
You are using a very old version of nv_check.sh that doesn't understand a few things. First and foremost, starting with driver 4191, the kernel module's name is now nvidia, not NVdriver. So do an lsmod and look for nvidia. If it's there, go ahead and start X. If not, add it to /etc/modules and reboot (since you said that's what you did for NVdriver).

One other thing that it doesn't understand is devfs, so even if you change NVdriver to nvidia in the script, it'll still bomb out on a lot of perfectly good devfs setups (like the one in Mandrake 9).

demirdag
02-20-03, 06:53 AM
So if I understand correctly...If the NVIDIA splash screen appears when loading X....it is all installed correctly?!?!?

that would be cool, because then I had it running all along...

thanks for your reply...

bwkaz
02-20-03, 08:34 AM
Yes, that should be correct. AFAIK the /usr/X11R6/lib/modules/drivers/nvidia_drv.o file (that gets loaded when you say Driver "nvidia") displays that.

Now there is a chance that libglx.so didn't load right, but you'll see errors about that as soon as you run something (like glxinfo or glxgears) that requires GLX.