From owner-freebsd-mobile Wed Jan 26 12:51:40 2000 Delivered-To: freebsd-mobile@freebsd.org Received: from tasogare.imasy.or.jp (tasogare.imasy.or.jp [202.227.24.5]) by hub.freebsd.org (Postfix) with ESMTP id 7BE541532B for ; Wed, 26 Jan 2000 12:51:34 -0800 (PST) (envelope-from iwasaki@jp.FreeBSD.org) Received: from localhost (isdnb39.imasy.or.jp [202.227.24.167]) by tasogare.imasy.or.jp (8.9.3+3.2W/3.7W-tasogare/smtpfeed 1.01) with ESMTP id FAA29546; Thu, 27 Jan 2000 05:51:31 +0900 (JST) (envelope-from iwasaki@jp.FreeBSD.org) Message-Id: <200001262051.FAA29546@tasogare.imasy.or.jp> To: gallatin@cs.duke.edu Cc: iwasaki@jp.FreeBSD.org, freebsd-mobile@freebsd.org Subject: Re: pc card removal lockup In-Reply-To: Your message of "Wed, 26 Jan 2000 11:02:12 -0500 (EST)" <14479.6481.98047.430229@grasshopper.cs.duke.edu> References: <14479.6481.98047.430229@grasshopper.cs.duke.edu> X-Mailer: Mew version 1.93 on Emacs 19.34 / Mule 2.3 (SUETSUMUHANA) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Date: Thu, 27 Jan 2000 05:51:30 +0900 From: Mitsuru IWASAKI X-Dispatcher: imput version 980905(IM100) Lines: 40 Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > > Please try again enabling COM2 on BIOS setting if you disable it. > > This machine doesn't have a COM2 as such -- it has an infrared port > that you can put on COM2. It was disabled previously. I enabled it & > put it on COM2 and I still see the same symptoms. I see. I have a patch for pccard_event() in pccard driver. I hope this solve this problem... > Should I try putting pcic0 on a different irq? 9 or 11? I think all > the rest are in use. Maybe no. > BTW -- I have found that if I suspend the machine, remove a card, and > awaken the machine, removal works. Also, I can then insert a card > while the machine is awake. On first removal failure, it seems our driver lost interrupt, then regain it by suspending/resuming... just guess. Anyway, could you try this patch? Index: pccard.c =================================================================== RCS file: /home/ncvs/src/sys/pccard/pccard.c,v retrieving revision 1.104 diff -u -r1.104 pccard.c --- pccard.c 2000/01/16 06:44:45 1.104 +++ pccard.c 2000/01/26 20:29:26 @@ -338,7 +338,10 @@ */ if (slt->state == filled) { slt->state = empty; +#if 0 disable_slot_spl0(slt); +#endif + disable_slot_to(slt); } break; case card_inserted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-mobile" in the body of the message