LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This 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


Reply
  Search this Thread
Old 12-13-2004, 03:15 AM   #1
coremax
LQ Newbie
 
Registered: Dec 2004
Location: istanbul
Distribution: Mandrake
Posts: 4

Rep: Reputation: 0
Red face 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...
 
Old 12-13-2004, 03:30 AM   #2
b0uncer
LQ Guru
 
Registered: Aug 2003
Distribution: CentOS, OS X
Posts: 5,131

Rep: Reputation: Disabled
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
 
Old 01-07-2005, 09:44 PM   #3
kidcharles
LQ Newbie
 
Registered: Jan 2005
Posts: 4

Rep: Reputation: 0
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.
 
Old 01-07-2005, 10:20 PM   #4
Travers
Member
 
Registered: Jul 2004
Location: Des Moines
Distribution: Gentoo
Posts: 111

Rep: Reputation: 15
Perhaps you have the file /etc/modules.autoload.d/kernel-2.6? If so, just add "nvidia" to the list.
 
Old 01-08-2005, 02:46 AM   #5
Lakota
Member
 
Registered: Oct 2003
Location: London, ON, Canada
Distribution: Mandriva 2007 Free
Posts: 507

Rep: Reputation: 30
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.

Last edited by Lakota; 01-08-2005 at 02:53 AM.
 
Old 01-13-2005, 01:08 AM   #6
coremax
LQ Newbie
 
Registered: Dec 2004
Location: istanbul
Distribution: Mandrake
Posts: 4

Original Poster
Rep: Reputation: 0
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...
 
Old 01-21-2005, 03:57 PM   #7
kidcharles
LQ Newbie
 
Registered: Jan 2005
Posts: 4

Rep: Reputation: 0
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.
 
Old 02-04-2005, 03:53 AM   #8
infinate|staff
LQ Newbie
 
Registered: Feb 2005
Location: Dunedin, New Zealand
Distribution: Mandrake 10.1 Community
Posts: 1

Rep: Reputation: 0
great

very helpful, thanks
 
  


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
Trying to load module "ndiswrapper" with modprobe; modprobe ndiswrapper doesn't work! Benjamin Linux - Wireless Networking 30 05-25-2008 07:04 AM
Making modprobe pcspkr stick with modprobe.preload? gm4jjj Fedora 3 06-16-2004 03:27 AM
modprobe: modprobe: Couldn't locate module nvnet.o/nvaudio.o xiojqwnko Linux - Newbie 2 12-08-2003 05:41 PM
modprobe ?? mickeyboy Red Hat 0 09-11-2003 05:07 PM
modprobe: modprobe can't locate module ppp0 in redhat 7.1 while shutting down. cyberdude3k Linux - Networking 1 09-08-2003 12:01 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 11:47 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