-current panics when usb device is detached

From: Maksim Yevmenkin <maksim.yevmenkin_at_savvis.net>
Date: Tue, 28 Feb 2006 11:56:33 -0800
Hello,

is usb in -current broken? my laptop panics when i detach usb device.

beetle% uname -a
FreeBSD beetle.digisle.com 7.0-CURRENT FreeBSD 7.0-CURRENT #2: Mon Feb 
27 15:49:18 PST 2006 
max_at_beetle.digisle.com:/usr/obj/usr/src/sys/GENERIC  i386

==

beetle# ums0: <Logitech USB-PS/2 Mouse, class 0/0, rev 1.00/1.20, addr 
2> on uhub2
ums0: 3 buttons and Z dir.

==

beetle# ums0: at uhub2 port 1 (addr 2) disconnected
ums0: detached
panic: free: address 0xe35e784c(0xe35e7000) has not been allocated.

cpuid = 0
KDB: enter: panic
[thread pid 26 tid 100018 ]
Stopped at      kdb_enter+0x2b: nop

db> bt
Tracing pid 26 tid 100018 td 0xc4adc4e0
kdb_enter(c0888e5f) at kdb_enter+0x2b
panic(c0886fec,e35e784c,e35e7000,c4ffe1c0,c5004580) at panic+0x127
free(e35e784c,c090e9e0,c4e44a80,c4e44a80,c087f009) at free+0x8e
usb_disconnect_port(c4c3a630,c4bfac00,100,c4c0e6d0,c4c3a608) at 
usb_disconnect_p
ort+0xa8
uhub_explore(c4bfad00) at uhub_explore+0x16b
usb_discover(c4c2b4c0,c4b51890,e35e7d24,c064b730,c4c2b4c0) at 
usb_discover+0x2f
usb_event_thread(c4c2b4c0,e35e7d38) at usb_event_thread+0x4a
fork_exit(c05fdf40,c4c2b4c0,e35e7d38) at fork_exit+0xa4
fork_trampoline() at fork_trampoline+0x8
--- trap 0x1, eip = 0, esp = 0xe35e7d6c, ebp = 0 ---
db>

thanks,
max
Received on Tue Feb 28 2006 - 18:56:37 UTC

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