Date: Thu, 27 Jan 2000 05:51:30 +0900 From: Mitsuru IWASAKI <iwasaki@jp.FreeBSD.org> To: gallatin@cs.duke.edu Cc: iwasaki@jp.FreeBSD.org, freebsd-mobile@freebsd.org Subject: Re: pc card removal lockup Message-ID: <200001262051.FAA29546@tasogare.imasy.or.jp> 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>
next in thread | previous in thread | raw e-mail | index | archive | help
> > 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200001262051.FAA29546>
