LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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
 
Search this Thread
Old 05-11-2010, 12:43 AM   #1
WonderLlama
LQ Newbie
 
Registered: Apr 2010
Location: Across town
Distribution: Slackware 11; Ubuntu 9.10 (netbook)
Posts: 24

Rep: Reputation: 15
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
 
Old 05-11-2010, 01:01 AM   #2
ajeetsinghraina
Member
 
Registered: May 2010
Location: India
Distribution: Ubuntu 7.04/8.04/8.10/10.04, RHEL 6, OpenSUSE,Mandriva,Fedora, CentOS, XandrOS, Slackware, OpenSolar
Posts: 155

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

Same story.
 
Old 05-11-2010, 01:13 AM   #3
WonderLlama
LQ Newbie
 
Registered: Apr 2010
Location: Across town
Distribution: Slackware 11; Ubuntu 9.10 (netbook)
Posts: 24

Original Poster
Rep: Reputation: 15
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?
 
Old 05-11-2010, 01:19 AM   #4
ajeetsinghraina
Member
 
Registered: May 2010
Location: India
Distribution: Ubuntu 7.04/8.04/8.10/10.04, RHEL 6, OpenSUSE,Mandriva,Fedora, CentOS, XandrOS, Slackware, OpenSolar
Posts: 155

Rep: Reputation: 55
May be this gonna help http://tldp.org/HOWTO/pdf/PCMCIA-HOWTO.pdf
 
Old 05-11-2010, 02:14 AM   #5
WonderLlama
LQ Newbie
 
Registered: Apr 2010
Location: Across town
Distribution: Slackware 11; Ubuntu 9.10 (netbook)
Posts: 24

Original Poster
Rep: Reputation: 15
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.
 
Old 05-15-2010, 12:40 AM   #6
WonderLlama
LQ Newbie
 
Registered: Apr 2010
Location: Across town
Distribution: Slackware 11; Ubuntu 9.10 (netbook)
Posts: 24

Original Poster
Rep: Reputation: 15
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!
 
  


Reply

Tags
slackware


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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Modules loading at startup badlife69 Linux - Newbie 1 04-14-2005 10:23 AM
stop loading modules at startup..please help GSX Linux - Newbie 5 03-23-2005 10:19 AM
loading modules at kernel startup linux_lover2005 Linux - Software 2 12-21-2004 10:43 AM
Loading modules on startup badmofo666 Linux - Software 4 08-12-2004 06:35 PM
error loading modules at startup archish Slackware 7 05-01-2004 01:52 AM


All times are GMT -5. The time now is 05:13 PM.

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