Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 28 Sep 2003 11:34:39 +0100
From:      Antony T Curtis <antony.t.curtis@ntlworld.com>
To:        freebsd-current@freebsd.org
Subject:   UMASS: fatal trap while unplugging floppy drive
Message-ID:  <1064745279.23318.17.camel@pcgem.rdg.cyberkinetica.com>

next in thread | raw e-mail | index | archive | help

[-- Attachment #1 --]
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/

[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (FreeBSD)

iD8DBQA/drk/ql7dp2cddmIRAkQTAJ0aO5aygsDT9LW8MgOjLdyTa9jISACfdXBK
wR8FauMEmRxaIV+mV02IWSs=
=NK8S
-----END PGP SIGNATURE-----

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1064745279.23318.17.camel>