Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 9 Oct 2007 11:06:40 +0200
From:      =?ISO-8859-1?Q?Johan_Str=F6m?= <johan@stromnet.se>
To:        freebsd-current@freebsd.org
Subject:   USB crash
Message-ID:  <3B212846-8428-45A1-8B9E-7DF58423FB8C@stromnet.se>

next in thread | raw e-mail | index | archive | help
Dunno if this is where it should go but just for the record.
Updated my IPMI card firmware, and it have some virtual USB device =20
thingy (for mounting remote images etc). It detached at the beginning =20=

of the upgrade procedure, but when the upgrade was done and the =20
device reattached, the box paniced:

Fatal trap 12: page fault while in kernel mode
cpuid =3D 0; apic id =3D 00
fault virtual address =3D 0x290
fault code =3D supervisod read data, page not present
instruction pointer =3D 0x8:0xfffffffffff80401014
stack pointer: 0x10: 0xfffffffffb03e6da0
frame  pointer: 0x10: 0xfffffffffb03e6de0
code segment =3D base 0x0, limit 0xffffff, type 0x1b
  =3D dpl 0, pres 1, long 1, def32 0, gran 1
processor eflgs =3D interrupt enabled, resume, IOPL=3D0
current process =3D 42 (usb4)
[thread pid 42 tid 100046]
Stopped at usb_transfer_complete+0x1d4: movq 0x290(%r14),%r11

db> where
Tracing pid 42 tid 100046 td 0xffffff00058e46a0
usb_transfer_complete() at usb_transfer_complete+0x1d4
bus_dmamap_load() at bus_dmamap_load+0x330
usbd_transfer() at usbd_transfer+0xee
usbd_do_request_flags_pipe() at usbd_do_request_flags_pipe+0x8f
usbd_do_request_flags() at usbd_do_request_flags+0x25
usbd_get_string_desc() at usbd_get_string_desc+0x9b
usbd_get_string() at usbd_get_string+0x83
uhub_child_pnpinfo_str() at uhub_child_pnpinfo_str+0xd9
devaddq() at devaddq+0xd5
device_attach() at device_attach+0x156
usbd_new_device() at usbd_new_device+0x828
uhub_explore() at uhub_explore+0x1bd
usb_discover() at usb_discover+0x38
usb_event_thread() at usb_event_thread+0x8a
fork_exit() at fork_exit+0x11f
fork_trampoline() at fork_trampoline+0xe
--- trap 0, rip =3D 0, rsp =3D 0xffffffffb03e7d30, rbp =3D 0 ---
db>

Dont realy know what might be usefull.. I'll keep the box in the =20
debugger for a few hours now if anyone can answer quick and tell me =20
what to do to help more :)
FreeBSD-CURRENT from a few days back, GENERIC minus witness and =20
invariants, but with ULE scheduler. Box is a dual quadcore xeon.

--
Johan Str=F6m
Stromnet
johan@stromnet.se
http://www.stromnet.se/





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3B212846-8428-45A1-8B9E-7DF58423FB8C>