Subject: Re: detaching mounted disk
To: None <netbsd-help@netbsd.org>
From: Manuel Bouyer <bouyer@antioche.eu.org>
List: netbsd-help
Date: 02/12/2004 22:46:22
On Thu, Feb 12, 2004 at 10:05:41AM +0100, Jukka Salmi wrote:
> Hi,
> 
> on -current, when I detach a USB mass storage device without unmounting
> it first, the kernel crashes:
> 
> umass0: at uhub0 port 1 (addr 2) disconnected
> sd0(umass0:0:0:0): generic HBA error
> uvm_fault(0xc079e320, 0, 0, 1) -> 0xe
> kernel: page fault trap, code=0
> Stopped in pid 5.1 (usb0) at    0:      invalid address
> db> tr
> uvm_fault(0xc079e320, 0, 0, 1) -> 0xe
> kernel: page fault trap, code=0
> Faulted in DDB; continuing...
> db> 
> 
> 
> Is this a kernel bug or just a punishment for forgetting to unmount
> the disk? ;-)

kernel bug, please send-pr 

-- 
Manuel Bouyer <bouyer@antioche.eu.org>
     NetBSD: 26 ans d'experience feront toujours la difference
--