LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 08-09-2003, 10:17 AM   #1
Dravis
LQ Newbie
 
Registered: Aug 2003
Distribution: Slackware 9.1
Posts: 15

Rep: Reputation: 0
Question NVIDIA Drivers issue


I just installed the NVIDIA drivers for my Mandrake 9.1 computer. Everything installed fine, I edited my XF86Config-4 file then rebooted.
X began to start, but failed and sent me to the terminal login. I tried again via startx, but that failed and gave me the error "(EE) NVIDIA(0): Failed to initialize the NVIDIA kernel module!".
Eventually I found out that the module "nvidia" wasn't loaded for some reason, even thought it was in the XF86Config file. After running modprobe nvidia, X would start.

Now to my question: How can I get Linux to run "modprobe (or insmod) nvidia" before trying to start X?

Thanks in advance,
Dravis
 
Old 08-09-2003, 10:32 AM   #2
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613

Rep: Reputation: 69
Can you post up your modules.conf so we can see what's going on in there?

Welcome to LQ

Cool
 
Old 08-09-2003, 12:06 PM   #3
DrOzz
Senior Member
 
Registered: May 2003
Location: Sydney, Nova Scotia, Canada
Distribution: slackware
Posts: 4,185

Rep: Reputation: 60
add -)
alias char-major-195 nvidia
in your /etc/modules.conf file.
 
Old 08-09-2003, 02:10 PM   #4
Dravis
LQ Newbie
 
Registered: Aug 2003
Distribution: Slackware 9.1
Posts: 15

Original Poster
Rep: Reputation: 0
Hm... "alias char-major-195 nvidia: is already in my /etc/modules.conf file...
Here is a complete copy modules.conf
Code:
probeall scsi_hostadapter ide-scsi
probeall usb-interface usb-uhci
alias sound-slot-1 snd-emu10k1
above snd-emu10k1 snd-pcm-oss
alias sound-slot-0 i810_audio
alias eth0 ne2k-pci
alias char-major-195 nvidia
 
Old 08-09-2003, 02:35 PM   #5
DrOzz
Senior Member
 
Registered: May 2003
Location: Sydney, Nova Scotia, Canada
Distribution: slackware
Posts: 4,185

Rep: Reputation: 60
well go into your bios and check if two things are set:
1-) PnP OS aware is disabled
2-) assign irq to vga is enabled
if that still doesn't work, you can try to add :
modprobe nvidia
to your rc.local file if you want for it can do it for you at boot time.

i highly suggest you not take the easy way out and do my second suggestion as you should test and see if you have them two options set in your bios and then try to reboot and see if that works, this most likely will work as i have a feeling one of these options aren't set in your bios, but hey i could be wrong...if it don't then resort to option 2.
p.s. - them options i mention above may be slightly worded differently in your bios..
 
Old 08-09-2003, 02:58 PM   #6
Dravis
LQ Newbie
 
Registered: Aug 2003
Distribution: Slackware 9.1
Posts: 15

Original Poster
Rep: Reputation: 0
Assign IRQ to VGA is enabled. There is no BIOS setting that says anything about OS, the closest I oculd find to PnP OS Aware is Resources Controlled by, and it is set to Auto(ESCD). It can also be set to Manual.

BTW, Thank you for the info on how to set Linux to run modprobe on startup.

-Dravis
 
Old 08-09-2003, 03:11 PM   #7
DrOzz
Senior Member
 
Registered: May 2003
Location: Sydney, Nova Scotia, Canada
Distribution: slackware
Posts: 4,185

Rep: Reputation: 60
well thats what i was saying...it is probably slightly named a little different, and that would be it... which auto more or less means its going to start the thing , sometimes i dont' know why auto is an option to tell ya the truth..anyways...the most important one was the assign irq and if you say it is enabled, then there isnt much more you can do then put it in your startup, so if that works, then your good to go
 
Old 08-09-2003, 03:57 PM   #8
Dravis
LQ Newbie
 
Registered: Aug 2003
Distribution: Slackware 9.1
Posts: 15

Original Poster
Rep: Reputation: 0
Your help is great. Thanks a lot!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Installing nvidia drivers from nvidia website on mepis 3.3 xbennyboy Linux - Hardware 4 04-23-2005 09:19 AM
Proprietary nvidia drivers vs. generic intel sound and ethernet drivers vharishankar Linux - Hardware 2 02-22-2005 05:32 AM
NVIDIA drivers issue :( ddtemplar Linux - Hardware 4 10-23-2004 06:53 AM
Fedora2 issue with NVIDIA Drivers lhiggins Linux - Newbie 1 05-22-2004 08:33 AM
nvidia drivers / nv vs nvidia & TNT2 trekk Fedora 0 01-26-2004 01:11 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 03:40 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration