modprobe requisition...
Hi Dear Friends,
I installed Mandrake 10.1 and successfully set my nvidia fx5200. It's working if i enter that command "modprobe nvidia" after every reboot. So, of course, i don't wanna enter that command everytime :) How can i have that command automated? How can it probed every linux starts? Thank a lot... |
I'm not sure what kind of files Mandrake uses for this task (many distros use somekind of rc-files) but as a first-aid you could open /etc/rc.local if it exists and add there that modprobe line. that helps, but is perhaps not the most elegant way...so find out in which file Mandrake configures the modules to be loaded (is it somekind of rc.conf or what?) and after you've found out, remove that line from rc.local and add it to the "right" file.
adding the line to rc.local ought to work (rc.local is run after all the other startup scripts) but really, find out how Mandrake handles modules at boot :) |
I was wondering if this problem had been resolved, i.e. how can Mandrake 10.1 be set up to load the nvidia module at boot? I have the same problem where I can manually load the nvidia driver and it works fine, but it doesn't do so automatically at startup. Thanks.
|
Perhaps you have the file /etc/modules.autoload.d/kernel-2.6? If so, just add "nvidia" to the list.
|
I had to add nvidia to /etc/modprobe.preload in Mandrake 10.0 as well after I had upgraded 10.0 to a newer kernel, or it would boot with nv driver. Ignore the "bttv" entry, that is to load my tv tuner card at start up. (Some others seem to find that not to work so here is the thread I followed): http://www.linuxquestions.org/questi...hreadid=266084
This is what my modprobe.preload file looks like. Code:
# /etc/modprobe.preload: kernel modules to load at boot time. |
Actually, if we login as root and use X as root, there is no problem :) no need to enter "modprobe nvidia" command then... just i give up login as another user. I'm using root only :)
Yes, i'm newbie... :) |
I'm no expert, but you may not want to log into X as root routinely. It may give permissions to things that could alter important files accidently. I could be wrong about that though. It's usually good practice to only use the root login when necessary.
By the way, adding "nvidia" to /etc/modprobe.preload did work for me, my drivers load fine now. |
great
very helpful, thanks :)
|
All times are GMT -5. The time now is 10:58 PM. |