-   Linux - Newbie (
-   -   rc.modules not loading modules at startup (

WonderLlama 05-11-2010 01:43 AM

rc.modules not loading modules at startup
Hi all. I've been trying to load my pcmcia network card driver "xirc2ps_cs" at startup with no success. I have added "modprobe xirc2ps_cs" to the rc.modules file but it doesn't load at startup.

Curiously, though, if I execute rc.modules AFTER the machine has booted it will load the modules just fine. Just not during the boot up process.

Thinking that hotstart might have been causing problems I've disabled hotstart (chmod -x) temporarilly to remove it from the picture, but there was no change.

Any ideas on how to get this module loaded at startup?

Slackware 11 (


ajeetsinghraina 05-11-2010 02:01 AM

Same story.

WonderLlama 05-11-2010 02:13 AM

ajeetsinghraina, I don't really see it as the same story. My issue is that rc.modules doesn't load the modules at boot time, but will load them when I invoke the script after logging in.

I don't have any error messages at startup or in my log files. It's as though rc.S is invoking a different rc.modules file, but close examination reveals that it's the same file. Not sure why it's not loading at boot. Any other ideas?

ajeetsinghraina 05-11-2010 02:19 AM

May be this gonna help

WonderLlama 05-11-2010 03:14 AM

Well ajeetsinghraina, indirectly it seemed to help. While reading the how-to I decided to try the '/sbin/cardmgr' and it worked...sort of. Now I'm trying to figure out how to do it at startup. Modify the rc.S and/or rc.M? We'll see.

WonderLlama 05-15-2010 01:40 AM

Turns out the problem was that the rc.S script was calling a different rc.modules file. Took a while for me to figure that one out, but once I did I made the changes to the correct file (rc.modules-(release) (not -smp) and it came right up. So now I've got the pcmcia network card and drivers loading at boot! Woo Hoo!

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