Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 27 Aug 1998 15:46:21 +0000
From:      Mike Smith <mike@smith.net.au>
To:        "Igor Sysoev" <igor@nitek.ru>
Cc:        "Mike Smith" <mike@smith.net.au>, freebsd-hardware@FreeBSD.ORG
Subject:   Re: ThinkPad 365X and 3C589D 
Message-ID:  <199808271546.PAA00875@dingo.cdrom.com>
In-Reply-To: Your message of "Thu, 27 Aug 1998 11:44:54 %2B0400." <199808270742.LAA12074@mail.nitek.ru> 

next in thread | previous in thread | raw e-mail | index | archive | help
> > 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199808271546.PAA00875>