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

Newegg Daily Deals

Reply
 
Thread Tools
Old 04-24-03, 09:10 PM   #1
bengiswex
Registered User
 
Join Date: Apr 2003
Posts: 3
Exclamation failed to initialize kernel module

warning: im somewhat of a newbie to linux.

i downloaded the newest nvidia drivers so i could run games that need opengl/glx stuff. the install script ran fine and i changed the xf8config-4 file, but when i try and start my xserver i get:
"(EE) NVIDIA(0): Failed to initialize the NVIDIA kernel module!
(EE) NVIDIA(0): *** Aborting ***
(II) UnloadModule: "nvidia"
(II) UnloadModule: "vgahw"
(II) Unloading /usr/X11R6/lib/modules/libvgahw.a
(EE) Screen(s) found, but none have a usable configuration.

Fatal server error:
no screens found
" and the xserver wont load. If i change my xf86 config settings back, it returns to loading normally.

Background info:
Video card: riva tnt2
Computer: Dell Dimension 8100 1.3ghz, 256 MB RAM.
NVIDIA driver installation file: NVIDIA-Linux-x86-1.0-4363.run

I have included my xf86 error log and my xf86ocnfig-4 file in the attached file

Does anyone know what the deal is here?

Thanks a million.

James Wexler
Attached Files
File Type: txt xf-nvidia-problems.txt (20.1 KB, 133 views)
bengiswex is offline   Reply With Quote
Old 04-26-03, 04:08 AM   #2
LordMorgul
Electrical Engineer
 
LordMorgul's Avatar
 
Join Date: Dec 2002
Location: San Luis Obispo, CA
Posts: 872
Default

------------------------------------------
Section "Device"
Identifier "Generic VGA"
Driver "vga"
EndSection

Section "Device"
Identifier "RIVA TNT2"
VendorName "Unknown"
BoardName "Unknown"
#Driver "nv"
Driver "nvidia"
# VideoRam 32768
# Clock lines

-------------------------------------------

remove the first "Device" above and define only one video device here, the X server is failing to start when it attempts to load a generic vga driver and attach it to your card already being controlled by the nvidia driver. Two drivers, one card.

If you have two cards and intended to do this, its not configured properly.
__________________
"..the triumph of evil is for good men to do nothing." (Edmond Burke)
nVIDIA video driver RPMs for Fedora :: see yum repo at livna.org.
LordMorgul is offline   Reply With Quote
Old 04-26-03, 07:27 AM   #3
bwkaz
Registered User
 
Join Date: Sep 2002
Posts: 2,262
Default Re: failed to initialize kernel module

Quote:
Originally posted by bengiswex
"(EE) NVIDIA(0): Failed to initialize the NVIDIA kernel module!
(EE) NVIDIA(0): *** Aborting ***
Yay, this error again!

First, check to see that the "nvidia" kernel module is loaded, with an /sbin/lsmod. If you don't see nvidia listed, then /sbin/modprobe nvidia as root, and try X again (but don't reboot before trying X again; just startx as your normal user).

If it still does that after modprobe'ing nvidia, or if the nvidia module is loaded to begin with, then check the last bit of the output of dmesg. Most of the time, the problem is described there. And most of the time, the problem is your BIOS settings -- PnP OS should be off, and Assign IRQ to VGA should be on.
__________________
Registered Linux User #219692
bwkaz is offline   Reply With Quote
Old 04-27-03, 02:43 PM   #4
bengiswex
Registered User
 
Join Date: Apr 2003
Posts: 3
Smile

woohoo, the modprobing worked! thanks for the help. so now how do i get nvidia to load automattically on startup instead of having to modprobe every time i restart?? thanks again!

james
bengiswex is offline   Reply With Quote
Old 04-27-03, 04:15 PM   #5
bwkaz
Registered User
 
Join Date: Sep 2002
Posts: 2,262
Default

Depends on the distro. What did you say you were using, again?

Also, which files out of /etc/modules, /etc/rc.modules, and /etc/modules.conf exist on your system? You'll probably have to change one of those files.

And last, what does [ -c /dev/.devfsd ] ; echo $? print, 1 or 0?
__________________
Registered Linux User #219692
bwkaz is offline   Reply With Quote
Old 04-27-03, 07:24 PM   #6
bengiswex
Registered User
 
Join Date: Apr 2003
Posts: 3
Default

im running mandrake 8.2.
/etc/modules and /etc/modules.conf exist on my system. here are their contents:

/etc/modules:
scsi_hostadapter

/etc/modules.conf:
alias usb-interface usb-uhci
alias sound-slot-0 emu10k1
probeall scsi_hostadapter ide-scsi
alias eth0 3c59x
alias char-major-195 nvidia

Im not sure what exactly the first command of your last question is, but echo $? returns a 0.

thanks again.

james
bengiswex is offline   Reply With Quote
Old 04-27-03, 07:33 PM   #7
Soul-Crusher
Leadtek 6800GT
 
Join Date: Aug 2002
Location: Albuquerque, NM, USA
Posts: 195
Send a message via ICQ to Soul-Crusher Send a message via AIM to Soul-Crusher Send a message via Yahoo to Soul-Crusher
Default

Add nvidia to your /etc/modules file on a new line under scsi_hostadapter. Reboot and do lsmod (Or /sbin/lsmod) and see if the nvidia module is inserted.

It's sort of confusing as some distros do it differently. Gentoo, for example, uses /etc/modules.autoload instead.
__________________
"Floating in a dream-like state, I am the emporer of a parallel universe." --Arch Enemy
My xorg.conf file
Soul-Crusher is offline   Reply With Quote
Old 04-27-03, 08:46 PM   #8
bwkaz
Registered User
 
Join Date: Sep 2002
Posts: 2,262
Default

^
|
|

Do what he said.
__________________
Registered Linux User #219692
bwkaz 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
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
X Failed to load NVdriver c00lr4c3r NVIDIA Linux 13 10-22-02 01:44 PM
GForce drivers installed...but dont work tomfullery NVIDIA Linux 6 09-22-02 08:23 AM

All times are GMT -5. The time now is 01:27 AM.


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