From owner-freebsd-hardware Thu Aug 27 00:49:04 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id AAA28255 for freebsd-hardware-outgoing; Thu, 27 Aug 1998 00:49:04 -0700 (PDT) (envelope-from owner-freebsd-hardware@FreeBSD.ORG) Received: from mail.nitek.ru (mail.nitek.ru [194.247.139.4]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id AAA28166 for ; Thu, 27 Aug 1998 00:48:31 -0700 (PDT) (envelope-from igor@nitek.ru) Received: from igor (igor.nitek.ru [194.247.139.10]) by mail.nitek.ru (8.8.4/8.8.5) with ESMTP id LAA12074; Thu, 27 Aug 1998 11:42:52 +0400 (MSD) Message-Id: <199808270742.LAA12074@mail.nitek.ru> From: "Igor Sysoev" To: "Mike Smith" Cc: Subject: Re: ThinkPad 365X and 3C589D Date: Thu, 27 Aug 1998 11:44:54 +0400 X-MSMail-Priority: Normal X-Priority: 3 X-Mailer: Microsoft Internet Mail 4.70.1161 MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hardware@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > > I had installed FreeBSD-2.2.7 on ThinkPad 365X via 3C589D using > > driver zp0. After this I build kernel with pccard support and ep0. > > (I didn't use PAO.) When I insert 3C589D, pccardd found it and > > activate ep0, run ifconfig and route. If I remove now card, > > pccardd delete route and interface, release irq. But if I remove > > card after some network activity (i.e. running ping) notebook hang. > > After network activity, or during network activity? > > 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. 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 I remove 3C589D with running 'apmconf -e' notebook hang up even I didn't run 'ifconfig ep0 ..' before - without any network activity. with best regards, Igor Sysoev To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hardware" in the body of the message