Linux - NewbieThis 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!
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
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?
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 :
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..
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.
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