Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 5 Jan 2005 16:03:55 -0600
From:      Peter Schultz <pmes@bis.midco.net>
To:        current@freebsd.org
Subject:   wi lor
Message-ID:  <B16266D6-5F65-11D9-A7AD-000D936BE398@bis.midco.net>

next in thread | raw e-mail | index | archive | help
lock order reversal
  1st 0xc1421c68 wi0 (network driver) @ 
/home/admin/files/code/src/sys/dev/wi/if_
wi.c:601
  2nd 0xc07994e0 bridge (bridge) @ 
/home/admin/files/code/src/sys/net/bridge.c:77
8
KDB: stack backtrace:
witness_checkorder(c07994e0,9,c06ee9b8,30a) at witness_checkorder+0x500
_mtx_lock_flags(c07994e0,0,c06ee9b8,30a,c14210fc) at 
_mtx_lock_flags+0x40
bridge_in(c1421000,c1668d00,c1668c00,c14210fc,c141e400) at 
bridge_in+0x4b
ether_input(c1421000,c1668d00,246,c0721c04,0) at ether_input+0x13d
ieee80211_input(c1421254,c1668d00,c141e400,38,64964d6) at 
ieee80211_input+0x94b
wi_intr(c1421000,0,0,c13741f8,0) at wi_intr+0xddf
ithread_loop(c1368880,c8af4d48,c1368880,c0522d50,0) at 
ithread_loop+0x19e
fork_exit(c0522d50,c1368880,c8af4d48) at fork_exit+0x7e
fork_trampoline() at fork_trampoline+0x8
--- trap 0x1, eip = 0, esp = 0xc8af4d7c, ebp = 0 ---
acquiring duplicate lock of same type: "network driver"
  1st wi0 @ /home/admin/files/code/src/sys/dev/wi/if_wi.c:601
  2nd fxp0 @ /home/admin/files/code/src/sys/dev/fxp/if_fxp.c:1226
KDB: stack backtrace:
witness_checkorder(c1410268,9,c06d31cb,4ca) at witness_checkorder+0x500
_mtx_lock_flags(c1410268,0,c06d31cb,4ca,2a) at _mtx_lock_flags+0x40
fxp_start(c1410000,8,c14100fc,0,c06e0002) at fxp_start+0x22
bdg_forward(c1668b00,1,c1668c00,c14210fc,c141e400) at bdg_forward+0x8f0
ether_input(c1421000,c1668d00,246,c0721c04,0) at ether_input+0x13d
ieee80211_input(c1421254,c1668d00,c141e400,38,64964d6) at 
ieee80211_input+0x94b
wi_intr(c1421000,0,0,c13741f8,0) at wi_intr+0xddf
ithread_loop(c1368880,c8af4d48,c1368880,c0522d50,0) at 
ithread_loop+0x19e
fork_exit(c0522d50,c1368880,c8af4d48) at fork_exit+0x7e
fork_trampoline() at fork_trampoline+0x8
--- trap 0x1, eip = 0, esp = 0xc8af4d7c, ebp = 0 ---

The good news is the machine stays up and works as an access point.
Thanks,
Pete...



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?B16266D6-5F65-11D9-A7AD-000D936BE398>