From owner-freebsd-hardware Thu Aug 27 15:50:20 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id PAA19914 for freebsd-hardware-outgoing; Thu, 27 Aug 1998 15:50:20 -0700 (PDT) (envelope-from owner-freebsd-hardware@FreeBSD.ORG) Received: from dingo.cdrom.com (dingo.cdrom.com [204.216.28.145]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id PAA19817 for ; Thu, 27 Aug 1998 15:50:02 -0700 (PDT) (envelope-from mike@dingo.cdrom.com) Received: from dingo.cdrom.com (localhost.cdrom.com [127.0.0.1]) by dingo.cdrom.com (8.9.1/8.8.8) with ESMTP id PAA00875; Thu, 27 Aug 1998 15:46:21 GMT (envelope-from mike@dingo.cdrom.com) Message-Id: <199808271546.PAA00875@dingo.cdrom.com> X-Mailer: exmh version 2.0.2 2/24/98 To: "Igor Sysoev" cc: "Mike Smith" , freebsd-hardware@FreeBSD.ORG Subject: Re: ThinkPad 365X and 3C589D In-reply-to: Your message of "Thu, 27 Aug 1998 11:44:54 +0400." <199808270742.LAA12074@mail.nitek.ru> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Thu, 27 Aug 1998 15:46:21 +0000 From: Mike Smith Sender: owner-freebsd-hardware@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > > The PCCARD standard doesn't allow for clean removal of an active card. > > Doing this is likely to cause you serious problems. > > Today I found that ThinkPad hang if 'apmconf -e' running and I try to > remove 3C589D. Ouch. This sounds like it's a different problem though. > So I disabled running 'apmconf -e' and pccardd at boot > time. So it's log: > > Aug 27 11:25:16 zx /kernel: apm0 on isa > Aug 27 11:25:16 zx /kernel: apm: found APM BIOS version 1.1 > Aug 27 11:25:16 zx /kernel: PC-Card Intel 82365 (5 mem & 2 I/O windows) > Aug 27 11:25:16 zx /kernel: pcic: controller irq 5 > Aug 27 11:25:17 zx /kernel: Initializing PC-card drivers: ep sio > > System booted, 'apmconf -e' isn't running. I started pccardd and > insert 3C589D: > > Aug 27 11:25:51 zx pccardd[173]: pccardd started > Aug 27 11:25:55 zx /kernel: Card inserted, slot 0 > Aug 27 11:26:05 zx /kernel: ep0: utp/bnc[*UTP*] address 00:60:08:95:2a:f6 > > For 3c589D pccardd runs echo only in /etc/pccard.conf. > I wait some time and remove card: > > Aug 27 11:26:17 zx /kernel: ep0: unload > Aug 27 11:26:17 zx /kernel: Return IRQ=10 > Aug 27 11:26:17 zx /kernel: Card removed, slot 0 > Aug 27 11:26:17 zx /kernel: stray irq 10 > > I wait some time and insert card again: > > Aug 27 11:27:17 zx /kernel: Card inserted, slot 0 > Aug 27 11:27:28 zx /kernel: ep0: utp/bnc[*UTP*] address 00:60:08:95:2a:f6 > > Now I run 'ifconfig ep0 inet ...' then 'ifconfig ep0 delete' then remove > card and system hang up. The single keys that working now is Fn-F7 (they > switch between LCD and external monitor). If you try alt-ctrl-esc, what happens? It sounds to me as though you're in the interrupt routine for the 'ep' driver and spinning endlessly. > If I remove 3C589D with running 'apmconf -e' notebook hang up even I > didn't run 'ifconfig ep0 ..' before - without any network activity. I think *this* may have something to do with the interaction between APM and your hardware; it seems to me that you might be getting an APM event related to the card removal. If you're able to pursue these issues a little further, I'd be interested to know if you turn anything up. Needless to say, I use APM and plug/remove cards on a regular basis (including a 3c589), so I know it's _supposed_ to work. -- \\ Sometimes you're ahead, \\ Mike Smith \\ sometimes you're behind. \\ mike@smith.net.au \\ The race is long, and in the \\ msmith@freebsd.org \\ end it's only with yourself. \\ msmith@cdrom.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hardware" in the body of the message