From Bugzilla Helper: User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.2.1) Gecko/20030225 Description of problem: I'm using a Dell Inspiron 8200 with a TrueMobile wireless card (pcmcia). If the laptop looses power while the pcmcia card is active, the system will hang on boot-up everytime afterward, regardless of whether the pcmcia card is attached or not. I'm not sure if this is the right place to post this or not, but I did find the cause and solution and I would like to share it. When the pcmcia service starts, it checks /var/lib/pcmcia/stab to see if any cards are currently active and then tries to decativate them with the cleanup() function in /etc/init.d/pcmcia. Since the laptop had lost power (and consequently did not cleared the stab file), pcmcia services assume the card as still active and calls "/etc/pcmcia/network stop". This is where the hang actually occurs. It tries to to call ifdown ethX, which isn't initialized yet, and the system hangs. This can be easily fixed by changing the /etc/pcmcia/network file. I'm attaching a modified network script that checks to see if the interface is actually up instead of simply assuming that it is. -- Adam Jones Version-Release number of selected component (if applicable): kernel-pcmcia-cs-3.1.31-13 How reproducible: Always Steps to Reproduce: 1. activate pcmcia card 2. kill power (do not shutdown properly) 3. power on Actual Results: It will start to boot properly until it hits pcmcia services. Boot-up doesn't continue beyond this point. Expected Results: Boot-up have should coninute normally. Additional info:
Created attachment 98897 [details] /etc/pcmcia/network with bug fixed This is a modified version of /etc/pcmcia/network. It checks to make sure that interface is actually up before attempting to deactivate it. This prevents the PCMCIA service from hanging on start up after a loss of power while using a pcmcia network card.
Created attachment 98898 [details] /etc/pcmcia/network with bug fixed This is a modified version of /etc/pcmcia/network. It checks to make sure that interface is actually up before attempting to deactivate it. This prevents the PCMCIA service from hanging on start up after a loss of power while using a pcmcia network card.
Comment on attachment 98898 [details] /etc/pcmcia/network with bug fixed duplicate attachment
I'm not sure if this the exact same problem but it was similar. My comp froze and when I powered back on it stalled on PCMCIA initialization. All I had to do was boot into single mode and delete /var/run/cardmgr.pid and it worked.