From owner-freebsd-mobile Tue Jan 25 22:39: 1 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 0FCF514E45 for ; Tue, 25 Jan 2000 22:38:57 -0800 (PST) (envelope-from iwasaki@jp.FreeBSD.org) Received: from localhost (isdnb07.imasy.or.jp [202.227.24.135]) by tasogare.imasy.or.jp (8.9.3+3.2W/3.7W-tasogare/smtpfeed 1.01) with ESMTP id PAA16984; Wed, 26 Jan 2000 15:38:48 +0900 (JST) (envelope-from iwasaki@jp.FreeBSD.org) Message-Id: <200001260638.PAA16984@tasogare.imasy.or.jp> To: gallatin@cs.duke.edu Cc: freebsd-mobile@freebsd.org Subject: Re: pc card removal lockup In-Reply-To: Your message of "Tue, 25 Jan 2000 21:13:45 -0500 (EST)" <14478.22223.436708.406272@grasshopper.cs.duke.edu> References: <14478.22223.436708.406272@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: Wed, 26 Jan 2000 15:38:47 +0900 From: Mitsuru IWASAKI X-Dispatcher: imput version 980905(IM100) Lines: 38 Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hi, > I have a wheezing old Dell Latitude LM that I just upgraded to the > JAN24 current snapshot. Whenever I remove my 3com 3c589d PCMCIA nic, > the machine locks solid while emitting a very loud (continuous) beep. > When I suspend the machine & awaken it, everything works just dandy. > ep0 is initially not in the interfaces list (ifconfig -a), then the > card is recognized. > > I suspect (and only suspect) that the problem might be that the system > is missing an interrupt & does not know that the nic has been removed. > I tried running in polling mode (eg, I didn't give pcic0 an irq in the > config file). When I remove a card in this configuration, the machine > locks solid (and doesn't beep). I thought that my latest commit on pccardd break something firstly, but no, the system will hang up using even old revision of pccardd. # Just my 1 Yen :) I successfully reproduce your problem here by changing BIOS setting. # My laptop is PORTEGE 3110CT. My PCIC is using irq 4 sharing COM1's irq, and disabling COM1 (irq 4) on BIOS setting, my machine also locks solid on removal. Enabling COM1 on BIOS setting again, there is no problems on insertion/removal. It seems that there is a problem around sharing irq code, but I have no idea to fix for now... > pcic: management irq 3 > pcic0: at port 0x3e0 iomem 0xd0000 irq 3 on isa0 > pccard0: on pcic0 > pccard1: on pcic0 > pcic1: not probed (disabled) > sio0: irq maps: 0x41 0x51 0x41 0x41 > sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0 > sio0: type 16550A > sio1: not probed (disabled) Please try again enabling COM2 on BIOS setting if you disable it. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-mobile" in the body of the message