Re: pcmcia problems please advise

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, 17 Jul 2003, 23:57:01 +0200, Bryan Pershall wrote:
> My pcmcia service failed to start on my last boot, it is saying Starting
> PCMCIA services: modulesmodprobe: Can't locate module pcmcia_core.o
> modprobe: Can't locate module yenta_socket.o
> modprobe: Can't locate module ds.o
>  cardmgr.
> So I located the files that its looking for but how do I tell it where
> to look.  The files are in 
> [root@xxxxxxxxxxxx root]# locate pcmcia_core.o
> /lib/modules/2.4.20-13.9/kernel/drivers/pcmcia/pcmcia_core.o
> /lib/modules/2.4.20-18.9/kernel/drivers/pcmcia/pcmcia_core.o
> /lib/modules/2.4.20-6/kernel/drivers/pcmcia/pcmcia_core.o
> 
> Can some one tell me how to fix this.

You should apply the attached patch to the PCMCIA start script
/etc/rc.d/init.d/pcmcia

HTH, cheers.

l8er
manfred
--- ./etc/rc.d/init.d/pcmcia.orig	2003-01-25 14:47:27.000000000 +0100
+++ ./etc/rc.d/init.d/pcmcia	2003-05-24 20:31:26.000000000 +0200
@@ -104,9 +104,9 @@ for x in "1" ; do
 	    KD=/lib/modules/`uname -r`/kernel/drivers/pcmcia
 	    if [ -d $PC ] ; then
 		echo -n " modules"
-		/sbin/modprobe pcmcia_core.o $CORE_OPTS
-		/sbin/modprobe $PCIC.o $PCIC_OPTS
-		/sbin/modprobe ds.o
+		/sbin/insmod $PC/pcmcia_core.o $CORE_OPTS
+		/sbin/insmod $PC/$PCIC.o $PCIC_OPTS
+		/sbin/insmod $PC/ds.o
 	    elif [ -d $KD ] ; then
 		/sbin/modprobe pcmcia_core
 		/sbin/modprobe $PCIC

[Index of Archives]     [Fedora Users]     [Centos Users]     [Kernel Development]     [Red Hat Install]     [Red Hat Watch]     [Red Hat Development]     [Red Hat Phoebe Beta]     [Yosemite Forum]     [Fedora Discussion]     [Gimp]     [Stuff]     [Yosemite News]

  Powered by Linux