Subject: kern/27297: netbsd crashes when a mounted block device is removed from the system
To: None <gnats-bugs@gnats.NetBSD.org>
From: None <firstname.lastname@example.org>
Date: 10/18/2004 19:42:56
>Synopsis: netbsd crashes when a mounted block device is removed from the system
>Arrival-Date: Mon Oct 18 19:44:00 UTC 2004
>Originator: Michal Suchanek
>Release: 1.6.2 to 2.0RC2
NetBSD Dell 2.0_RC2 NetBSD 2.0_RC2 (Dell) #0: Sat Oct 2 23:46:21 CEST 2004 hramrach@Dell:/scratch/obj/usr/src/sys/arch/i386/compile/Dell i386
When a mounted block device is removed (tested USB CF reader and PCMCIA CF reader) the kernel panics.
This time I mounted the CF readonly which may be the reason I got a core. I can try to extract something from it but this should be easily reproducible on any system.
Removing a floppy does not cause such problems but in that case only the medium is removed, the floppy drive stays in the system,
Attach an USB mass storage device or PCMCIA to IDE bridge, mount a device from it, remove it (detach)from the system.