From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Brownell Date: Mon, 06 Aug 2001 18:36:03 +0000 Subject: Re: Question about PCMCIA, APM and 3C3FE575CT Message-Id: List-Id: References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-hotplug@vger.kernel.org Hmm, seems like a bug of some kind in how something is treating APM operations. If the suspend takes the network down, the resume is supposed to bring it back up. I'd guess that some "resume" path isn't doing something it's expected to do. What happens if you take the card out while it's suspended, and plug it in later after the system is fully resumed? If that behaves differently, it's clear the resume path has a bug. Do you see log messages reporting that the resume path is bringin up the network interfaces? (You might need to enable debugging in the /sbin/hotplug script.) Someone recently mentioned a problem on some distro that the networking code was sometimes brought up after the bus code (such as USB or Cardbus PCI). That sequence would cause trouble, since the request to bring the network interface "up" would likely be ignored until later, when the networking code was brought up. - Dave ----- Original Message ----- From: "Tom Murphy" To: Sent: Sunday, August 05, 2001 10:01 AM Subject: Question about PCMCIA, APM and 3C3FE575CT > Hi there, > > I'm running Kernel 2.4.6 on a Debian woody system in my > IBM Thinkpad 560X (yes, I know it's ancient. :) ). > > Anyhow, I got the card to configure automatically by remove the > pcmcia scripts (I uninstalled the pcmcia package because it wouldn't > configure the card properly), I set up /etc/network/interfaces to do > DHCP, and use 3c59x as the module. The card happily inits itself with > DHCP. If I eject it, hotplug nicely unconfigures the card for me, if I > pop it back in, it re-configures it properly. > > The only problem I am having is if my laptop goes into suspend > mode, the network shuts off on the card. I then have to eject the card, > wait 10 seconds, and plug it back in and it works.. but is there a way > around having to do this every time the laptop comes back from an "apm > -s"? > > Thanks, > > Tom > > __________________________________________________ > Do You Yahoo!? > Make international calls for as low as $.04/minute with Yahoo! Messenger > http://phonecard.yahoo.com/ > > _______________________________________________ > Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net > Linux-hotplug-devel@lists.sourceforge.net > http://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel _______________________________________________ Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net Linux-hotplug-devel@lists.sourceforge.net http://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel