UMASS: fatal trap while unplugging floppy drive

From: Antony T Curtis <antony.t.curtis_at_ntlworld.com>
Date: Sun, 28 Sep 2003 11:34:39 +0100
Hi

I cvsupped this morning and rebuilt world and kernel...

When I unplug the USB floppy drive, I get the following

> umass0: at uhub1 port 1 (addr 2) disconnected
> (da0:umass-sim0:0:0:0): lost device
> (da0:umass-sim0:0:0:0): removing device entry
> GEOM: destroy disk da0 dp=0xc40b6450
> 
> 
> Fatal trap 12: page fault while in kernel mode
> fault virtual address   = 0x2c
> fault code              = supervisor read, page not present
> instruction pointer     = 0x8:0xc05fc8b7
> stack pointer           = 0x10:0xd7151b68
> frame pointer           = 0x10:0xd7151b70
> code segment            = base 0x0, limit 0xfffff , type 0x1b
>                         = DPL 0, pres 1, def32 1, gran 1
> processor eflags        = interrupt enabled, resume, IOPL = 0
> current process         = 29 (usb1)
> kernel: type 12 trap, code=0
> Stopped at      cam_periph_invalidate_0xc:      testb   $0x8,0x2c(%bx)
> db> trace
> cam_periph_invalidate(0,c06205b5,0,ffffffff,ffffffff) at cam_periph_invalidate+0xc
> targbhasync(0,40,d7151c1c,0,0) at targbhasync_0xdd
> xpt_async_bcast(c150de70,40,d7151c1c,0,0) at xpt_async_bcast+0x3c
> xpt_bus_deregister(0,d7151c4c,c44390a8,d7151c5c,c44a9d7f) at xpt_bus_deregister+0x6e
> umass_cam_detach_sim(c4450000,c44390a8,c442b200,c442b200,d7151cb0) at umass_cam_detach_sim+0x21
> umass_detach(c442b200,c44390a8,c02ff818,c442b200,0) at umass_detach+0x31
> device_detach(c3fde8b0,c3fdec00,11,186,c018505b) at device_detach+0x6e
> uhub_explore(c3fde980,c3fcdd00,d7151d18,c04046d7,c3fcdd00) at uhub_explore+0x17c
> usb_discover(c3fcdd00,0,5c,c0416ce8,1770) at usb_discover+0x36
> usb_event_thread(c3fcdd00,d7151d48,c02c47bb,314,c3fcdd00) at usb_event_thread+0x62
> fork_exit() at fork_exit+0xaf


-- 
Antony T Curtis BSc     Unix Analyst Programmer
http://homepage.ntlworld.com/antony.t.curtis/

Received on Sun Sep 28 2003 - 01:37:12 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:23 UTC