[lor] if_afdata and mld_mtx

From: Lucius Windschuh <lwindschuh_at_googlemail.com>
Date: Sun, 17 May 2009 20:59:00 +0200
Hi. I didn't find this one in Bjoern's list:

It happens when my uath device is pulled from its USB port while it is running.

lock order reversal:
1st 0xc5a00214 if_afdata (if_afdata) _at_ /usr/src/sys/net/if.c:990
2nd 0xc0b166a8 mld_mtx (mld_mtx) _at_ /usr/src/sys/netinet6/mld6.c:577
KDB: stack backtrace:
db_trace_self_wrapper(c08fb92a,f3c4a9c0,c06693e5,c065b3db,c08fe70f,...)
at db_trace_self_wrapper+0x26
kdb_backtrace(c065b3db,c08fe70f,c5109f38,c51059c0,f3c4aa1c,...) at
kdb_backtrace+0x29
_witness_debugger(c08fe70f,c0b166a8,c08fe88b,c51059c0,c0910770,...) at
_witness_debugger+0x25
witness_checkorder(c0b166a8,9,c0910770,241,0,...) at witness_checkorder+0x839
_mtx_lock_flags(c0b166a8,0,c0910770,241,c8e79d40,...) at _mtx_lock_flags+0xc4
mld_domifdetach(c5a00000,c5a00214,c0968440,f3c4aac0,c06cf33c,...) at
mld_domifdetach+0x2c
in6_domifdetach(c5a00000,c8e79d40,3de,473,c5a00238,...) at in6_domifdetach+0x15
if_detach(c5a00000) at if_detach+0x8ec
ether_ifdetach(c5a00000,0,c858f127,24a,c8aad014,...) at ether_ifdetach+0x3d
ieee80211_vap_detach(c9133000,c09526a0,0,f3c4ab28,c06cff97,...) at
ieee80211_vap_detach+0x191
uath_vap_delete(c9133000,c5a00000,c5a00000,c8592100,f3c4ab50,...) at
uath_vap_delete+0x12
ifc_simple_destroy(c8592100,c5a00000,c0907832,d5,2d,...) at
ifc_simple_destroy+0x27
if_clone_destroyif(c8592100,c5a00000,f3c4ab74,c8569f9c,c9133000,...)
at if_clone_destroyif+0xe1
ieee80211_vap_destroy(c9133000,c84db00c,c84db000,f3c4ab9c,c84f23d8,...)
at ieee80211_vap_destroy+0x1c
ieee80211_ifdetach(c8aad000,f3c4ab94,c065b3db,c094ccb4,c5f44800,...)
at ieee80211_ifdetach+0x1c
uath_detach(c5fb9a00,c5ec3058,c094ccb4,9ed,c0651669,...) at uath_detach+0x48
device_detach(c5fb9a00,c08e2749,c5e2f2f0,2,2,...) at device_detach+0x8c
usb2_detach_device(c5f4343c,0,c08e255a,187,18f29f2,...) at
usb2_detach_device+0x178
usb2_unconfigure(c6790200,c0584830,c5eb82e0,7ba,0,...) at usb2_unconfigure+0x5a
usb2_free_device(c5f43400,3,2,10,f3c4aca8,...) at usb2_free_device+0x1be
uhub_explore(c5c05000,0,c08e10b0,cd,c58d8d34,...) at uhub_explore+0x2b2
usb2_bus_explore(c58d8d34,c58d8dac,c08ea550,51,c09a8e00,...) at
usb2_bus_explore+0xbb
usb2_process(c58d8cd4,f3c4ad38,c08f4097,336,c5be52a4,...) at usb2_process+0xde
fork_exit(c058fde0,c58d8cd4,f3c4ad38) at fork_exit+0xb8
fork_trampoline() at fork_trampoline+0x8
--- trap 0, eip = 0, esp = 0xf3c4ad70, ebp = 0 ---
Received on Sun May 17 2009 - 16:59:01 UTC

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