PDA

View Full Version : X fails with "Failed to load module "nvidia"


namemjb
03-20-03, 09:55 AM
I have read the Instructions/howtos but have been unable to get X running on an MSI nforce(420pro) running RedHad 8.0 linux

I installed from iso cd's. Uname shows 2.4.18-14 i686 Althon

I did the following:
1) booted 2.4.18-14
2) rpmbuild --rebuild NVIDIA_kernel-1.0-3123.src.rpm
which built without error
3) rpm -ivh /src/src/redhat/RPMS/i386/NVIDIA_kernel-1.0.3123.rpm
which completed without error.
At this point modprobe NVdriver works
4) /etc/modules.conf includes
alias char-major-195 NVdriver
Unfortunately, startx failes with "failed to load module nvidia".

I have also installed kernel 2.4.18-27.8.0. Was unable to build NVIDIA_kernel-1.0-4191.src.rpm. Was able to build it when running 2.4.18-14, but rpm -ivh of the resulting rpm failed on 2.4.27.8.0, with error "modprobe: can't locate module nvidia"


Can someone explain what I am missing/doing wrong?

thanks
Martin

namemjb
03-20-03, 10:25 AM
Made some minor changes:
generated a new XFree86Config with XFree86 -configure an
disabled dri and glx in the XF86Config
installed NVIDIA_GLX-1.0-3123.i386.rpm

Still unable to load module nvidia
Attached is the new log

Also, now modprobe nvidia works.

bwkaz
03-20-03, 01:05 PM
modprobe nvidia should never work unless you have the 4191 driver installed. Is that the case? If so, try getting rid of it, since you're using the 3123 GLX package (the version of GLX you use has to match the version of your NVIDIA_kernel). Or reinstall 3123. Or do both.

Anyway, check the kernel logs (/var/log/messages) for a message from the kernel module about why it won't initialize itself. 9 times out of 10, it's because "PnP OS" is set to yes in your BIOS, or it's because "Assign IRQ to VGA" is set to no. These should be set to no and yes, respectively.

namemjb
03-20-03, 06:17 PM
actually, my bios is configured PNP os no.

THe bios on my MSI doesn't have an option to Assign IRQ to vga. All that I can set is that particular IRQ's are reserved for pci. Should I reserve a particular IRQ for pci? Which one?

Anyone else out there running with an MSI 420Pro? How did you assign IRQ to vga? What version of the bios are you running?


Concernin 3123/4191. Obviously, this is my error. Since I can boot both 2.4.18-14 and 2.4.18-27.8.0(with Grub), I thought that RedHat Linux was smart enough to load the appropriate version of NVIDIA_kernel.rpms if they both were installed(depending on which kernel was loaded).

I'm going to stick with 3123/2.4.18-14, for now....


Martin