LinuxQuestions.org
Visit Jeremy's Blog.
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
 
LinkBack Search this Thread
Old 10-06-2004, 05:33 PM   #1
m_e_perry
LQ Newbie
 
Registered: Oct 2004
Posts: 2

Rep: Reputation: 0
Question Module Auto-Load: module.conf tricks?


Sure I'm overlooking something VERY fundamental here, thanks in advance for patience and guidance

Running Familiar gpe2-v0.7.2+unstable16-h3900 / kernel 2.4.19-rmk6-pxa1-hh36 on my ipaq 5455.

I can access my SD slot/card if I modprobe mmc_h5400, can't figure out how to use modules.conf to achieve this automatically and (per the additional mountains of hard-copy documentation littering the floor) there's no rc.local with this distrib.

No idea how to use alias declarations in modules.conf - if that's the correct approach - to get all the "used by" dependencies loaded, thanks for basic guidance.

Mp
 
Old 10-07-2004, 04:14 PM   #2
m_e_perry
LQ Newbie
 
Registered: Oct 2004
Posts: 2

Original Poster
Rep: Reputation: 0
No suggestions?

Sorry to nag, but no one knows?

Figured I'd be opening myself to a frenzy of RTFM flaming, much has changed since I last spent any measurable time with Linux. I guess this is a good thing.

How 'bout automatic execution of scripts? I've made an executable containing the various iwlan/dhcpd invocations to get my WEP-enabled wlan connectivity, I could add the modprobe mmc_h5400 to this same script and so will look into how's/why's of automatic script execution. This seems kinda sloppy, please let me know if there are additional suggestions.

Thanks!
Mp
 
Old 10-07-2004, 05:04 PM   #3
comprookie2000
Gentoo Developer
 
Registered: Feb 2004
Location: Fort Lauderdale FL.
Distribution: Gentoo
Posts: 3,291
Blog Entries: 5

Rep: Reputation: 54
Every distribution seems to do this a little different from the next and I have never used (quote)Running Familiar gpe2-v0.7.2+unstable16-h3900 / kernel 2.4.19-rmk6-pxa1-hh36 on my ipaq 5455.What is it based on?
 
Old 10-07-2004, 05:45 PM   #4
dsegel
Member
 
Registered: Aug 2004
Location: Davis, California
Distribution: Gentoo, always Gentoo.
Posts: 159

Rep: Reputation: 30
There are two parts to module autoloading: the modules.conf file and the modules.dep file.

You need to make sure 'depmod -a' is running at boot time or run it yourself to update the modules.dep file once you've added the module you want to autoload to the modules.conf file.

OTOH, some distros just let you list the modules you want loaded in /etc/modules.autoload.d/kernel-2.4 (or kernel-2.6, as appropriate for the version you're running) and then have you run some kind of update script, like modules-update, that updates the modules.conf file for you.
 
  


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem with module auto-loading (load on demand) in kernel 2.6.7 (2.6.x too) Cyb3rPr0 Linux - Software 4 07-02-2004 12:57 AM
[FC2] How to write a modprobe.conf from a module.conf??? Coume Fedora 0 05-31-2004 03:40 AM
Auto loading a NIC module in RH9 MadTurki Linux - Networking 1 12-23-2003 01:21 PM
problem with auto. module load subguru Slackware 2 08-09-2003 02:28 PM
How to auto-install module? ugge Linux - General 2 02-13-2001 03:58 PM


All times are GMT -5. The time now is 02:14 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration