LinuxQuestions.org
Register a domain and help support LQ
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 12-15-2011, 12:16 AM   #1
rkenneha
LQ Newbie
 
Registered: Dec 2011
Posts: 2

Rep: Reputation: Disabled
modprobe says EVERY line in modules.conf is bad


I'm trying to get modprobe to use /drivers/modules.dep

So I create a file /etc/modules.conf which contains:
path=/drivers
depfile=/drivers/modules.dep
usbmapfile=/drivers/modules.usbmap

The command
modprobe uchi
gives the error "FATAL: Could not load /lib/modules/2.6.21.5-smp/modules.dep

So when I force it by typing
modprobe -C /etc/modules.conf uchi
I get the errors
WARNING: modules.conf line 1: ignoring bad line starting with 'path=/drivers'
WARNING: modules.conf line 2: ignoring bad line starting with 'depfile=/drivers/modules.dep'
WARNING: modules.conf line 3: ignoring bad line starting with 'usbmapfile=/drivers/modules.usbmap'

Any ideas as to why every line in modules.conf is bad? And why I need to force it using modprobe's -C parameter? Thanks in advance.
 
Old 12-15-2011, 01:59 AM   #2
jhwilliams
Senior Member
 
Registered: Apr 2007
Location: Portland, OR
Distribution: Debian, Android, LFS
Posts: 1,168

Rep: Reputation: 210Reputation: 210Reputation: 210
Where did you get the idea to do that?

In my version of the modprobe.conf man page, there is no discussion of path, depfile, usbmapfile.

Read the man page.
 
Old 12-15-2011, 07:58 PM   #3
rkenneha
LQ Newbie
 
Registered: Dec 2011
Posts: 2

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by jhwilliams View Post
Where did you get the idea to do that?

In my version of the modprobe.conf man page, there is no discussion of path, depfile, usbmapfile.

Read the man page.
I DID read the man page. Its right here:
http://ccrma.stanford.edu/planetccrm...es.conf.5.html

Thanks,
rkenneha
 
Old 12-15-2011, 08:12 PM   #4
Cedrik
Senior Member
 
Registered: Jul 2004
Distribution: Slackware
Posts: 2,140

Rep: Reputation: 242Reputation: 242Reputation: 242
Hmmm have you seen the date and distro of this man page ?
Quote:
4th Berkeley Distribution 07 December 1999
Which modules do you want to load ?
 
Old 12-15-2011, 10:56 PM   #5
jhwilliams
Senior Member
 
Registered: Apr 2007
Location: Portland, OR
Distribution: Debian, Android, LFS
Posts: 1,168

Rep: Reputation: 210Reputation: 210Reputation: 210
Quote:
Originally Posted by rkenneha View Post
I DID read the man page. Its right here:
http://ccrma.stanford.edu/planetccrm...es.conf.5.html

Thanks,
rkenneha
Try the ubuntu one:

http://manpages.ubuntu.com/manpages/...be.conf.5.html
 
Old 12-16-2011, 12:15 PM   #6
selfprogrammed
Member
 
Registered: Jan 2010
Location: Minnesota, USA
Distribution: Slackware 13.37
Posts: 290

Rep: Reputation: 55
You modprobe doc might not be for Linux, it might be BSD.
Use the docs and man pages for modprobe that came with your distribution.
What modules to load, when, and how, keeps changing with every Linux release. I am sure it is entirely different on the other unix varients too.

My /etc/modprobe.conf is empty.

From the man docs dated 2004.
The current modprobe commands are much simpler than before, mostly because of
the power of install and remove in running any shell command.

My modprobe.conf manual for Linux 2.4 show the following lines available.
alias my-mod-name really-long-module-name
options modulename <options...>
install modulename <shell command>
remove modulename <shell command>
include filename

There is also the program
generate_modprobe.conf

Last edited by selfprogrammed; 12-16-2011 at 12:18 PM.
 
  


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
modprobe error with modules that are not described in modules.conf soypark Linux - Hardware 1 09-08-2010 10:44 PM
rc.modules, modprobe.conf????? nostromo Slackware 7 10-04-2005 10:53 AM
Update-modules: No longer managing /lib/modules/modprobe.conf? geekzen Debian 0 04-03-2004 07:49 PM
Re: modprobe: Note: /etc/modules.conf is more recent than lib/modules/2.4.9/modules.d Andy.M Linux - General 1 01-24-2002 02:50 AM
Re: modprobe: Note: /etc/modules.conf is more recent than lib/modules/2.4.9/modules.d Andy.M Linux - Newbie 2 01-24-2002 02:40 AM


All times are GMT -5. The time now is 06:50 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration