[PlanetCCRMA] FIX: pcmcia not loading after recompiling or upgrade

marsel@phatcom.net marsel@phatcom.net
Fri Aug 8 16:27:01 2003


All,

This problem bugged me for two straight weeks.  I found the source of my
frustration and will now share it with you because I see that others have
experienced the same.

Description of problem:  After upgrading and compiling the kernel, I get
messages in /var/log/messages from modprobe reporting it can't find
pcmcia_core.o, yenta_socket.o, and ds.o.  PCMCIA services fail to load
automagically, however, manually loading with 'modprobe pcmcia_core' works
like a charm.

Solution:  Edit the file /etc/init.d/pcmcia with your favorite text editor
(mine is mc).  Go to line 107 or thereabout.  You will see 3 lines that
look like this:

/sbin/modprobe pcmcia_core.o $CORE_OPTS
/sbin/modprobe $PCIC.o $PCIC_OPTS
/sbin/modprobe ds.o

Do you see the .o extension?  That is the culprit.  Comment those lines
out, copy them, then make them look like this (or just delete the .o to
make them look like this):

/sbin/modprobe pcmcia_core $CORE_OPTS
/sbin/modprobe $PCIC $PCIC_OPTS
/sbin/modprobe ds

Save and exit the file. Type 'service pcmcia restart' and viola.
happy-happy joy-joy!

This is in the new RH 9 beta severn as well as RH 9.

Dave



-----------------------------------------
This email sent by Open Source Software!
   "Phatcom.net :: Phat pipes"
http://www.phatcom.net/