USB crash

From: Johan Ström <johan_at_stromnet.se>
Date: Tue, 9 Oct 2007 11:06:40 +0200
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  
thingy (for mounting remote images etc). It detached at the beginning  
of the upgrade procedure, but when the upgrade was done and the  
device reattached, the box paniced:

Fatal trap 12: page fault while in kernel mode
cpuid = 0; apic id = 00
fault virtual address = 0x290
fault code = supervisod read data, page not present
instruction pointer = 0x8:0xfffffffffff80401014
stack pointer: 0x10: 0xfffffffffb03e6da0
frame  pointer: 0x10: 0xfffffffffb03e6de0
code segment = base 0x0, limit 0xffffff, type 0x1b
  = dpl 0, pres 1, long 1, def32 0, gran 1
processor eflgs = interrupt enabled, resume, IOPL=0
current process = 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 = 0, rsp = 0xffffffffb03e7d30, rbp = 0 ---
db>

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

--
Johan Ström
Stromnet
johan_at_stromnet.se
http://www.stromnet.se/
Received on Tue Oct 09 2007 - 07:26:21 UTC

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