Subject: Re: Crashes when removing an usb flash reader
To: Steven M. Bellovin <smb@research.att.com>
From: MLH <mlh@goathill.org>
List: current-users
Date: 07/21/2003 13:04:03
>
> In message <20030721142858.29BA714401@tiamat.goathill.org>, MLH writes:
> >Michal 'hramrach' Suchanek wrote:
> >
> >> The first time I encountered this I got an uvm fault and was dropped to
> >> the debugger. However, the command that was supposed to give a stack trace
> >> caused one more (iirc the same) fault and sync did not finish, no coredump
> >> after reboot.
> >
> >FWIW, if I remove my flash reader before unmounting it on all of
> >the NetBSD hosts I use it on, that host completely locks up. No
> >coredump, no debugger, no remote login, it doesn't even respond to
> >a ping at that point. It has been this way since this reader was
> >first enabled (last fall - post 1.6 -current).
>
> The same is true of pcmcia cards, including ones that are removed while
> the machine is suspend. *That* is a bad misfeature.
Yes, would be really nice to fix this...
BTW, my LinkSys pci->pcmcia wireless card bus interface doesn't
cause a lock-up when I remove or insert the wireless card (it wasn't
inserted when I last booted), but appears it's a special case and
not a gp pcmcia interface ?
wi0 at pci0 dev 11 function 0: Global Sun Tech GL24110P PCI IEEE 802.11b (rev. 0x02)
wi0: interrupting at irq 5
wi0:wi0: record read mismatch, rid=fc01, got=30
could not get mac address, attach failed
wi0: failed to attach controller