I'm trying to make an old xircom ethernet card to work on a old laptop. This laptop used to function perfectly with the card and since update was gonna be a lot of work, I wiped it clean and installed a new gentoo system. But now I lost the ability to use this card. After days of investigation, I realised that gentoo is missing the script /lib/udev/pcmcia-socket-startup which is supposed to be installed by pcmciautils. Also, this script is supposed to be run by the udev rule. Right now the card is not recognised by the laptop. pcmcia and yenta modules are all loaded and dmesg says that system detects inserting and removing a card into the pcmcia slots but it is not picking up the driver (xirc2ps_cs). Manually loading doesnt make any difference. No deviced are detected. I tried other distros like tiny core linux and the card works fine. The only difference I could spot is the lack of this file between the distros that it works and gentoo, where it doesnt work. I'd get an emerge --info but since no ethernet, it is hard to get anything out of this laptop at the moment. I can try to get it with a usb stick if it is necessary, which I do not really think. It is really an empty basic system functioning well except this bug. Reproducible: Always
found the bug, it was a stupid logic error: --- pcmciautils-018_p8.ebuild 2014-07-30 22:41:09.000000000 +0300 +++ pcmciautils-018_p8-r1.ebuild 2014-09-01 08:11:22.980323915 +0300 @@ -32,7 +32,7 @@ kernel_is lt 2 6 32 && ewarn "${P} requires at least kernel 2.6.32." mypcmciaopts=( - STARTUP=$(usex staticsocket true false) + STARTUP=$(usex staticsocket false true) exec_prefix=/usr UDEV=true DEBUG=false true and false wrong way around!
fixed in -r1, thanks for the report