PCMCIA Problem Kernel 2.6.11-rc4

Andreas Millinger andreas.millinger at web.de
Wed Feb 16 15:09:00 EST 2005


Hello,

>Apply the patch and add "pcmcia" to the list of possible modules in the line 
>stating "for a in ..." a few lines below "stop". Then "yenta_socket"
>shouldn't be in use any longer.
>
>  
I have done that, but it is just the same. Here is the changed 
/etc/init.d/pcmcia:

stop)
        echo -n "Shutting down PCMCIA "
        if checkproc /sbin/cardmgr && ! /sbin/cardctl eject 2>/dev/null; 
then
          echo -n "... card(s) still in use "
          rc_failed
        else
          test -x /usr/X11R6/bin/cardinfo \
            && killproc /usr/X11R6/bin/cardinfo 2>/dev/null
          sleep 1
          killproc /sbin/cardmgr
          if rc_check || test $? -eq 7; then
            rc_reset
            for a in ds i82365 yenta_socket tcic pcmcia_core pcmcia; do
              if lsmod | grep -q -s "^$a"; then
                /sbin/modprobe -r $a
                rc_check
              fi
            done
          fi
        fi
        rc_status -v
        ;;

Or have I done somthing wrong?

Best regards
Andreas



More information about the linux-pcmcia mailing list