Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 521856 - Missing script from sys-apps/pcmciautils prevents xircom CE3B pcmcia ethernet card from being recognised
Summary: Missing script from sys-apps/pcmciautils prevents xircom CE3B pcmcia etherne...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Samuli Suominen (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-08-31 22:35 UTC by Mehmet Giritli
Modified: 2014-09-01 05:17 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mehmet Giritli 2014-08-31 22:35:52 UTC
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
Comment 1 Samuli Suominen (RETIRED) gentoo-dev 2014-09-01 05:15:06 UTC
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!
Comment 2 Samuli Suominen (RETIRED) gentoo-dev 2014-09-01 05:17:34 UTC
fixed in -r1, thanks for the report