Subject: detaching mounted disk
To: None <netbsd-help@netbsd.org>
From: Jukka Salmi <jukka-netbsd@2003.salmi.ch>
List: netbsd-help
Date: 02/12/2004 10:05:41
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? ;-)


Jukka

-- 
bashian roulette:
$ ((RANDOM%6)) || rm -rf ~