LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (http://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   rc.modules not loading modules at startup (http://www.linuxquestions.org/questions/linux-newbie-8/rc-modules-not-loading-modules-at-startup-807099/)

WonderLlama 05-11-2010 12: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 (2.6.21.5)

Gene

ajeetsinghraina 05-11-2010 01:01 AM

http://www.linuxquestions.org/questi...g-boot-411092/

Same story.

WonderLlama 05-11-2010 01: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 01:19 AM

May be this gonna help http://tldp.org/HOWTO/pdf/PCMCIA-HOWTO.pdf

WonderLlama 05-11-2010 02: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 12: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 08:19 AM.