From Bugzilla Helper: User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.7) Gecko/20011221 Description of problem: Since I upgraded my IBM Thinkpad 390X from 6.2 to 7.1 and now to 7.2, I'm having problems with the network card when I close/open (suspend/resume) my laptop. The network interface never comes up after resume. Version-Release number of selected component (if applicable): How reproducible: Always Steps to Reproduce: See Description. Actual Results: See Description. Expected Results: See Description. Additional info: Here is a fix for the problem and a few comments: 1) According to the comments in /etc/sysconfig/apmd, shouldn't the variable PCMCIARESTART also be set to "yes" like this is done for PCMCIABIOSBUG? 2) The following "if clause" for suspend in /etc/sysconfig/apm-scripts/apmscript does not look right to me: [ "$PCMCIARESTART" = "yes" ] && { if [ "$PCMCIABIOSBUG" = "yes" ]; then /sbin/cardctl eject else /sbin/cardctl suspend fi Only if both, $PCMCIARESTART _and_ $PCMCIABIOSBUG are set to "yes", the card will be ejected. Souldn't it be ejected if either $PCMCIARESTART _or_ $PCMCIABIOSBUG is set to "yes"? Changing this clause from AND to OR fixed my problem with getting the network interface (ethernet card) working again after suspend/resume. 3) Also, the following "if clause" for resume in /etc/sysconfig/apm-scripts/apmscript does not look right to me either: if [ "$PCMCIARESTART" = "yes" ] ; then if [ "$PCMCIABIOSBUG" = "yes" ]; then /sbin/cardctl insert else /sbin/cardctl resume fi fi This clause is basically doing the same like above - only if both, $PCMCIARESTART _and_ "$PCMCIABIOSBUG are set to "yes", the card will be ejected. But... 4) I also noticed that /sbin/cardctl doesn't actually need to be executed at all during resume on my laptop since the cardmgr daemon seems to notice it anyway that the card needs to be "inserted" again. I debugged the apmscript on my laptop and it has shown that suspend/resume works fine (network interfaces are coming up successfully) when -) the card gets ejected (via "/sbin/cardctl eject") by this scripts during suspend, _and_ -) when "/sbin/cardctl insert" and "/sbin/cardctl resume" do _not_ get executed during resume. So cardmgr seems to take care of it and it seems that "/sbin/cardctl insert" and "sbin/cardctl resume" are not needed during resume. Regards, Werner
Fixed in the current version.