Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 27 Aug 1998 11:44:54 +0400
From:      "Igor Sysoev" <igor@nitek.ru>
To:        "Mike Smith" <mike@smith.net.au>
Cc:        <freebsd-hardware@FreeBSD.ORG>
Subject:   Re: ThinkPad 365X and 3C589D 
Message-ID:  <199808270742.LAA12074@mail.nitek.ru>

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



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