[SOLVED] rc.modules not loading modules at startup
Linux - NewbieThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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?
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?
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.
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!
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.