[net80211] if_wi crashed in adhoc mode
Tai-hwa Liang
avatar at mmlab.cse.yzu.edu.tw
Thu Dec 16 00:06:04 PST 2004
Thinkpad R40, builtin Prism2.5 WLAN mini PCI module. -CURRENT cvsup'ed
on Dec-14-2004. SCHED_4BSD, without PREEMPTION. The crash never happened
before recent net80211 update.
Steps to reproduce:
ifconfig wi0 10.0.0.1 ssid ibsstest channel 3 mediaopt adhoc up
#
# if the kernel does not panic, proceed with following steps
#
wicontrol -L # disaply IBSS information, join the IBSS
ping 10.0.0.3 # send something to the IBSS creator
#
# the kernel should panic after a couple of sendings
#
Fatal trap 12: page fault while in kernel mode
fault virtual address = 0x20
fault code = supervisor write, page not present
instruction pointer = 0x8:0xc04c9a22
stack pointer = 0x10:0xcba8cc18
.
.
.
[thread pid 21 tid 100018 ]
Stopped at _mtx_lock_flags+0x12: cmpxchgl %edx,0x1c(%ecx)
db> where
Tracing pid 21 tid 100018 td 0xc10fec00
_mtx_lock_flags(4,0,c0743a71,42b,c13e0430) at _mtx_lock_flags+0x12
ieee80211_find_rxnode(c120b24,c13e0430,c120b254,8001,c1102d80) at ieee80211_find_rxnode+0x43
wi_intr(c120b000,c10fec00,0,0,c1101dc8) at wi_intr+0xdae
ithread_loop
fork_exit
fork_trampoline
db> show reg
cs 0x8
ds 0x10
es 0xc05e0010 atpic_disable_source+0xb8
fs 0xcba80018
ss 0x10
eax 0xf
ecx 0x4
edx 0xc10fec00
ebx 0
esp 0xcba8cc18
ebp 0xcba8cc18
esi 0x4
edi 0xc13e0430
eip 0xc04c9a22 _mtx_lock_flags+0x12
efl 0x10246
dr0 0
dr1 0
dr2 0
dr3 0
dr4 0xffff0ff0
dr5 0x400
dr6 0xffff0ff0
dr7 0x400
More information about the freebsd-current
mailing list