Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
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.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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?
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.
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.
#
# This file should contain the names of kernel modules that are
# to be loaded at boot time, one per line. Comments begin with
# a `#', and everything on the line after them are ignored.
# this file is for module-init-tools (kernel 2.5 and above) ONLY
# for old kernel use /etc/modules
nvidia
bttv
sis-agp
Also for those new to editing config files that read this thread. Never delete lines you think you don't need, comment them out instead. If you think you may not remember what you have added, you can make a note to yourself above your additions and comment it out. Just thought I would add that as I learned the hard way by deleting some important stuff in the past and spent tons of time googling to find samples of those config files to fix them after.
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
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.