PANIC - SWBMISS (9.0-CURRENT)
Edgar Martinez
emartinez at kbcnetworks.com
Thu Sep 29 02:41:37 UTC 2011
ath0: <Atheros 5413> mem 0xe0040000-0xe004ffff irq 9 at device 12.0 on pci0
ath0: AR5413 mac 10.5 RF5413 phy 6.1
ath1: <Atheros 5413> mem 0xe0080000-0xe008ffff irq 11 at device 14.0 on pci0
ath1: AR5413 mac 10.5 RF5413 phy 6.1
Jan 1 00:04:18 wlanmon: [00:c0:ca:1a:6c:95] RTM_IEEE80211_ASSOC
Jan 1 00:04:26 wlanmon: [dc:05:00:00:00:00] RTM_IEEE80211_DISASSOC
panic: wrong state 1
KDB: stack backtrace:
db_trace_self_wrapper(c07b59cc) at 0xc047d1c5 = db_trace_self_wrapper+0x25
kdb_backtrace(c57f2c30,c5a75000,c5a75404,c57f2c38,c0663480,...) at 0xc059fff8 = kdb_backtrace+0x28
panic(c07d2053,1,c584c5a0,c57f2cac,c0586f3a,...) at 0xc0576262 = panic+0xa2
ieee80211_swbmiss(c5a75000) at 0xc0663480 = ieee80211_swbmiss+0x20
softclock(c08486a0) at 0xc0586f3a = softclock+0x20a
intr_event_execute_handlers(c584a588,c5863200) at 0xc0554675 = intr_event_execute_handlers+0xe5
ithread_loop(c5807b90,c57f2d28) at 0xc0555226 = ithread_loop+0x96
fork_exit(c0555190,c5807b90,c57f2d28) at 0xc05520f0 = fork_exit+0xb0
fork_trampoline() at 0xc0747af4 = fork_trampoline+0x8
--- trap 0, eip = 0, esp = 0xc57f2d60, ebp = 0 ---
KDB: enter: panic
[ thread pid 12 tid 100004 ]
Stopped at 0xc059fe04 = kdb_enter+0x34: movl $0,0xc08553d4 = kdb_why
pid ppid pgrp uid state wmesg wchan cmd
1102 1100 1100 0 S lockf 0xc5ac51c0 httpd
1101 1100 1100 0 S select 0xc5a1a4e4 httpd
1100 1 1100 0 Ss select 0xc595a124 httpd
1099 20 1099 0 S+ ttyin 0xc589c670 sh
1083 1 1083 0 Ss select 0xc595ace4 wpa_supplicant
1066 1 1066 0 Ss select 0xc5a1a1e4 hostapd
689 1 689 0 Ss sbwait 0xc5a40738 wlanmon
548 1 548 0 Ss select 0xc595a4e4 devd
20 1 20 0 Ss+ wait 0xc589eb10 sh
19 0 0 0 DL - 0xc0847464 [schedcpu]
18 0 0 0 DL c_flowcl 0xc09b0eb0 [flowcleaner]
17 0 0 0 DL sdflush 0xc09bd9a0 [softdepflush]
16 0 0 0 DL syncer 0xc09b0c94 [syncer]
15 0 0 0 DL vlruwt 0xc5a0bb10 [vnlru]
9 0 0 0 DL psleep 0xc09b0928 [bufdaemon]
8 0 0 0 DL pgzero 0xc09be83c [pagezero]
7 0 0 0 DL pollid 0xc0846b5c [idlepoll]
6 0 0 0 DL psleep 0xc09be410 [pagedaemon]
5 0 0 0 DL mdwait 0xc59d4000 [md0]
4 0 0 0 DL pftm 0xc0458240 [pfpurge]
3 0 0 0 DL crypto_r 0xc09bce6c [crypto returns]
2 0 0 0 DL crypto_w 0xc09bce48 [crypto]
14 0 0 0 DL - 0xc0847464 [yarrow]
13 0 0 0 DL (threaded) [geom]
100010 D - 0xc08447a8 [g_down]
100009 D - 0xc08447a4 [g_up]
100008 D - 0xc084479c [g_event]
12 0 0 0 RL (threaded) [intr]
100032 I [swi1: pfsync]
100030 I [swi0: uart]
100029 I [irq15: ata1]
100028 I [irq14: ata0]
100025 I [irq11: ath1]
100022 I [irq9: ath0]
100021 I [irq10: vr0]
100019 I [swi6: Giant taskq]
100017 I [swi5: +]
100015 I [swi6: task queue]
100006 I [swi3: vm]
100005 RunQ [swi1: netisr 0]
100004 Run CPU 0 [swi4: clock]
11 0 0 0 RL [idle]
1 0 1 0 SLs wait 0xc584ab10 [init]
10 0 0 0 DL audit_wo 0xc09bd0c0 [audit]
0 0 0 0 DLs (threaded) [kernel]
100027 D - 0xc590d300 [ath1 taskq]
100026 D - 0xc590d480 [ath1 taskq]
100024 D scan 0xc58bb464 [ath0 taskq]
100023 D - 0xc58d0480 [ath0 taskq]
100020 D - 0xc58cb180 [glxsb0 taskq]
100018 D - 0xc58c3740 [thread taskq]
100016 D - 0xc58c3800 [kqueue taskq]
100014 D - 0xc58868c0 [ffs_trim taskq]
100007 D - 0xc582db40 [firmware taskq]
100000 D sched 0xc0844d00 [swapper]
db> show all locks
Process 689 (wlanmon) thread 0xc5a18000 (100051)
exclusive sx so_rcv_sx (so_rcv_sx) r = 0 (0xc5a4070c) locked @ /usr/src/sys/kern/uipc_sockbuf.c:148
144: if (flags & SBL_WAIT) {
143: if ((sb->sb_flags & SB_NOINTR) ||
144: (flags & SBL_NOINTR)) {
145: sx_xlock(&sb->sb_sx);
146: return (0);
147: }
148: return (sx_xlock_sig(&sb->sb_sx));
149: } else {
150: if (sx_try_xlock(&sb->sb_sx) == 0)
151: return (EWOULDBLOCK);
152: return (0);
153: }
0xc0663480 is in ieee80211_swbmiss (/usr/src/sys/net80211/ieee80211_proto.c:1447).
1442
1443 /* XXX sleep state? */
1444 KASSERT(vap->iv_state == IEEE80211_S_RUN,
1445 ("wrong state %d", vap->iv_state));
1446
1447 if (ic->ic_flags & IEEE80211_F_SCAN) {
1448 /*
1449 * If scanning just ignore and reset state. If we get a
1450 * bmiss after coming out of scan because we haven't had
1451 * time to receive a beacon then we should probe the AP
More information about the freebsd-wireless
mailing list