From owner-freebsd-mobile Fri Sep 29 6:51:14 2000 Delivered-To: freebsd-mobile@freebsd.org Received: from isds.duke.edu (davinci.isds.duke.edu [152.3.22.1]) by hub.freebsd.org (Postfix) with ESMTP id 92A6737B422 for ; Fri, 29 Sep 2000 06:51:12 -0700 (PDT) Received: from feta.isds.duke.edu (feta.isds.duke.edu [152.3.22.76]) by isds.duke.edu (8.8.8/8.8.8) with ESMTP id JAA09900; Fri, 29 Sep 2000 09:51:11 -0400 (EDT) Received: (from sto@localhost) by feta.isds.duke.edu (8.11.0/8.9.3) id e8TDpBN63943; Fri, 29 Sep 2000 09:51:11 -0400 (EDT) (envelope-from sto) Date: Fri, 29 Sep 2000 09:51:11 -0400 From: "Sean O'Connell" To: "Jose M. Alcaide" Cc: Hajimu UMEMOTO , handy@lambic.physics.montana.edu, mobile@FreeBSD.ORG Subject: Re: 4.1.1: removing an already powered off card shows "cardremoved" Message-ID: <20000929095111.A63894@stat.Duke.EDU> Reply-To: "Sean O'Connell" Mail-Followup-To: Sean O'Connell , "Jose M. Alcaide" , Hajimu UMEMOTO , handy@lambic.physics.montana.edu, mobile@FreeBSD.ORG References: <39D30C30.9DE428DE@we.lc.ehu.es> <20000929.024046.74736619.ume@mahoroba.org> <39D47048.C22351F5@we.lc.ehu.es> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <39D47048.C22351F5@we.lc.ehu.es>; from jose@we.lc.ehu.es on Fri, Sep 29, 2000 at 12:34:48PM +0200 X-Organization: Institute of Statistics and Decision Sciences Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Jose M. Alcaide stated: : Hajimu UMEMOTO wrote: : > : > On Thu, 28 Sep 2000, Jose M. Alcaide wrote: : > : > >I use to power off the PCMCIA cards (with : > >"pccardc power [01] 0") before removing them. The message : > >"pccard: card removed, slot [01]" shows up just after powering the : > >card off. However, after updating the system, the same message : > >now _also_ appears when I remove the card. I am sure that the : > >card was powered off, because its LEDs went off at that moment. : > : > It seems introdeced by merge inactive state from PAO3. We need to : > bring the code more. I'll take a look. : > : : More data: with a modem card the behavior is different: if I power : the card off ("card removed" shows up) and then I extract it, the message : does not appear again; but, if I inmediately insert the card, then : it is not detected until I type "pccardc power 0 1". Something : is broken... I noticed something interesting when testing a 4.1.1-REL install on an HP Omnibook 900. If I eject (or pccardc power [01] 0) the ethernet card (Linksys EC2T using if_ed), the system sees the event and the irq returns to the pool (or whatever the informational message is); however, if I do the same with a modem, I do not get the unloaded irq message (and I get a device allocation error on the reinsert event). I also noticed if I look at 'systat -vmstat' sio1 is still in there even if the card is ejected. I think something goofy is going on here. I am currently running the pcic in polling mode, but I will see if stealing irq 4 from the serial port (disabling it in the bios) will help. S ----------------------------------------------------------------------- Sean O'Connell Email: sean@stat.Duke.EDU Institute of Statistics and Decision Sciences Phone: (919) 684-5419 Duke University Fax: (919) 684-8594 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-mobile" in the body of the message