From owner-freebsd-mobile Thu Sep 17 05:57:12 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id FAA02500 for freebsd-mobile-outgoing; Thu, 17 Sep 1998 05:57:12 -0700 (PDT) (envelope-from owner-freebsd-mobile@FreeBSD.ORG) Received: from ns.nitek.ru (nitek.east.ru [195.170.63.240]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id FAA02480; Thu, 17 Sep 1998 05:57:05 -0700 (PDT) (envelope-from igor@nitek.ru) Received: from igor (igor.nitek.ru [192.168.1.10]) by ns.nitek.ru (8.8.4/8.8.5) with ESMTP id QAA29133; Thu, 17 Sep 1998 16:53:25 +0400 (MSD) Message-Id: <199809171253.QAA29133@ns.nitek.ru> From: "Igor Sysoev" To: "Mike Smith" Cc: , Subject: Re: ThinkPad 365X and 3C589D Date: Thu, 17 Sep 1998 16:53:10 +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-mobile@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > From: Mike Smith > To: Igor Sysoev > Cc: Mike Smith ; freebsd-hardware@FreeBSD.ORG > Subject: Re: ThinkPad 365X and 3C589D > Date: 27 Aug 1998, 19:46 > > > > 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. Some days ago I'd installed PAO-980913 for FreeBSD 2.2.7 and all my problems was solved. Is the correlation between PAO and FreeBSD standard apm and pccard support ? I still have one problem - when I start X for the first time, then suspend ThinkPad, after resume screen is dark. I exit from X, then start X again and all follwing suspend/resume works fine except some times ThinkPad cannot suspend with error 96. with best regards Igor Sysoev To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-mobile" in the body of the message