-   Linux - Newbie (
-   -   Module Auto-Load: module.conf tricks? (

m_e_perry 10-06-2004 06:33 PM

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.


m_e_perry 10-07-2004 05:14 PM

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.


comprookie2000 10-07-2004 06:04 PM

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?

dsegel 10-07-2004 06:45 PM

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.

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