nVidia module and Red Hat

Rick Stevens rstevens at vitalstream.com
Mon May 15 21:34:49 UTC 2006


On Mon, 2006-05-15 at 13:44 -0700, Chen, Douglas wrote:
> 
> -----Original Message-----
> From: redhat-install-list-bounces at redhat.com [mailto:redhat-install-list-bounces at redhat.com] On Behalf Of Rick Stevens
> Sent: 2006?5?15? ?? 12:23
> To: Getting started with Red Hat Linux
> Subject: Re: nVidia module and Red Hat
> 
> 
> On Mon, 2006-05-15 at 11:52 -0700, Chen, Douglas wrote:
> > Hi,
> > 
> > I have one question regarding nVidia graphic card on one of the Linux 
> > machine running Red Hat Enterprise Linux WS release 3 (Taroon Update 
> > 2).
> > 
> > Everything was OK until the system crashed and rebooted but failed to 
> > start X window login session. The monitor keeps on toggling between 
> > nVidia logo and message
> > 
> > earth kernel: NVRM: restoring bus mastering! (nv.c:1658)
> > 
> > I can only remote login and this is what the message file has recorded
> > 
> > May 15 09:38:30 earth modprobe: modprobe: Can't locate module 
> > char-major-10-134 May 15 09:38:31 earth kernel: PCI: Setting latency 
> > timer of device 05:00.0 to 64
> > May 15 09:38:31 earth kernel: NVRM: loading NVIDIA Linux x86_64 NVIDIA
> > Kernel Module  1.0-6105  Wed Jun 16 11:57:38 PDT 2004
> > 
> > May 15 09:38:31 earth insmod: Warning:
> > loading /lib/modules/2.4.21-15.EL/kernel/drivers/video/nvidia.o will 
> > taint the kernel: non-GPL license - NVIDIA
> > 
> > May 15 09:38:31 earth insmod:   See
> > http://www.tux.org/lkml/#export-tainted for information about tainted 
> > modules May 15 09:38:31 earth insmod: Module nvidia loaded, with 
> > warnings May 15 09:38:41 earth kernel: NVRM: restoring bus mastering!
> > (nv.c:1658) 
> > May 15 09:38:41 earth gdm[5732]: gdm_slave_xioerror_handler: Fatal X
> > error - Restarting :0 
> > May 15 09:38:41 earth modprobe: modprobe: Can't locate module
> > char-major-10-134 
> > May 15 09:38:51 earth gdm[5737]: gdm_slave_xioerror_handler: Fatal X
> > error - Restarting :0
> > 
> > 
> > Can anyone tell me what went wrong and how I can fix it. Thank you 
> > very much for your help in advance.
> 
> Looks like you lost the device node for the apm_bios.  To recreate that device node, use :
> 
> 	# mknod apm_bios c 10 134
> 
> Then reboot and see if that works.  It'd also be nice if you could post your /etc/modules.conf file.
> ========================================================================
> 
> Hi Rick,
> 
> Thank you very much for your prompt answer. I tried the command but no effect.
> I am getting still the same error message and same symptom.
> 
> Followed is the content of the /etc/modules.conf on this system
> 
> alias eth0 e1000
> alias scsi_hostadapter ata_piix
> alias sound-slot-0 i810_audio
> post-install sound-slot-0 /bin/aumix-minimal -f /etc/.aumixrc -L >/dev/null 2>&1 || :
> pre-remove sound-slot-0 /bin/aumix-minimal -f /etc/.aumixrc -S >/dev/null 2>&1 || :
> alias usb-controller usb-uhci
> alias usb-controller1 ehci-hcd
> # Turn off mcdx modules
> alias block-major-20 off
> alias char-major-195 nvidia
> 
> Does it mean that I need to create node 195 instead of 134?

No, that's not the problem.  The system was specifically whining about
device major 10, minor 134 (which is the apm_bios device under the V2.4
kernel).  Since nvidia's module does link in with apm (advanced power
management) to blank the screen and such, I suspect that's what
happened.  As to the major device 195, that is the major device number
assigned to nvidia and should be created on-the-fly when X fires up the
nvidia module.

> Once again, thank you for your help.

Don't thank me until we solve this!  :-)

----------------------------------------------------------------------
- Rick Stevens, Senior Systems Engineer     rstevens at vitalstream.com -
- VitalStream, Inc.                       http://www.vitalstream.com -
-                                                                    -
-            I'm afraid my karma just ran over your dogma            -
----------------------------------------------------------------------




More information about the Redhat-install-list mailing list