Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 10120 - hotplug/pcmcia fails to stop/start device, inconsistent behavior
Summary: hotplug/pcmcia fails to stop/start device, inconsistent behavior
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: x86-kernel@gentoo.org (DEPRECATED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-11-02 21:51 UTC by Dave Andruczyk
Modified: 2003-10-10 16:14 UTC (History)
3 users (show)

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 Dave Andruczyk 2002-11-02 21:51:15 UTC
On my freshly (re)built Gentoo 1.2 system on a Dell Inspiron 7000 (Mobile PII 366)
I'm seeing all sorts of inconsistencies when swapping NICS on the pcmcia bus.

Hotplug and pcmcia are BOTH enabled. (only way I could get it to work,  not sure
if its the "right way")

Inserting the card, USUALLY works, by usually I mean the module for it loads
(3c59x in my case) and dhcp gets an address.   In some instances I don't get the
pcmcia beep and nothing seems to happen, like cardmgr never saw the insertion..
The problem is with removal,  After removing in many cases the interface does
NOT get shutdown, because of this reinserting this nic or any other will no
longer initialize becuase the system says "net.eth0" is already started.  I have
to manually run /etc/init.d/net.eth0 restart to get things behaving again.

kernel is 2.4.19-gentoo-r9, pcmcia is 3.2.1 hotplug is the latest non-masked
release as of this bugreport.  the nics in question are a 3com 3ccf575bt (3c59x
driver), and a Lucent Orinoco silver (orinoco_cs driver)

Removing of the pc-card nic results in the pcmcia "beep", insertion in many
cases is SILENT (some cases work, some don't)  I see warnings on the logs
regarding /etc/init.d/net.eth0 is already started.  

the solution as I see it is to alter the behavior of the "restart" funtion in
the init scripts, to restart a STARTED device OR start a stopped device.  This
way I'd just set the net.agent file in hotplug to "RESTART" the device instead
of jsut starting.    But I guess you guys are thinking of things I'm
not(dependancies), so there should be a cleaner solution...
Comment 1 Daniel Robbins (RETIRED) gentoo-dev 2003-06-11 17:19:17 UTC
No one asked this person what version of hotplug they were using. Version of hotplug please?
Comment 2 Seemant Kulleen (RETIRED) gentoo-dev 2003-09-14 00:14:33 UTC
dave, this still an issue?
Comment 3 Tim Yamin (RETIRED) gentoo-dev 2003-10-10 16:14:16 UTC
Closing bug as we've not got any responses. Please reopen this bug if this
problem still persists.