/etc/init.d/pcmcia start apparently starts cardmgr, and gets my netcard working (dhcpcd eth0) /etc/init.d/pcmcia stop apparently stops cardmgr This is problematic because if I accidentally pull out my network card (dongleless... it's easier than it seems :-P) and try to restart pcmcia, it can't because the device is still busy because dhcpcd is using it. it SHOULD stop net.eth0, shouldn't it? Reproducible: Always Steps to Reproduce: 1.start pcmcia 2.pull and plug in a pcmcia network card that was initiated by pcmcia 3.attempt to restart pcmcia Actual Results: # /etc/init.d/pcmcia start modprobe: Can't locate module ds * Starting pcmcia... cardmgr[7141]: open_sock(socket 0) failed: Device or resource busy cardmgr[7141]: another cardmgr is already running? * cardmgr failed to start. Make sure that you have PCMCIA * modules built or support compiled into the kernel [ !! ] Expected Results: # /etc/init.d/pcmcia restart modprobe: Can't locate module ds * Starting pcmcia... cardmgr[28206]: watching 2 sockets [ ok ] # emerge info Portage 2.0.49-r13-2 (default-x86-1.4, gcc-3.3.1, glibc-2.3.2-r6, 2.4.22-ck2) ================================================================= System uname: 2.4.22-ck2 i686 Pentium III (Coppermine) Gentoo Base System version 1.4.3.11 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CFLAGS="-O3 -march=pentium3 -funroll-loops -pipe -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /var/qmail/control /usr/share/config /usr/kde/2/share/config /usr/kde/3/share/config /usr/X11R6/lib/X11/xkb" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" CXXFLAGS="-O3 -march=pentium3 -funroll-loops -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="sandbox ccache autoaddcvs" GENTOO_MIRRORS="http://gentoo.noved.org/" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 oss apm avi crypt cups encode foomaticdb gif jpeg libg++ libwww mad mikmod motif mpeg ncurses nls pdflib png quicktime spell truetype xml2 xv zlib gdbm berkdb slang readline svga tcltk java sdl gpm tcpd pam ssl perl python esd imlib oggvorbis opengl X gtk -xmms -gnome alsa -kde -qt -arts pcmcia"
There should be no need to restart pcmcia... the error you're getting is because cardmgr is still running. cardmgr monitors the slots for insert and removals... it does not stop because you pulled out the card. It's still running so you get the error that the socket is already used because there's already a version of it running. Also the missing module ds isn't really a good error to have.
Reporter, please check if sys-apps/pcmcia-3.2.8 fixes this issue.
Closing due to lack of feedback.