BETA2 panic

Adrian Chadd adrian at freebsd.org
Wed Sep 7 15:15:33 UTC 2011


On 7 September 2011 22:45, Ed Maste <emaste at freebsd.org> wrote:

>> Hm, this is with bwn(4), not iwn(4). :)
>
> For what it's worth, I've seen the same panic on occasion with a rum(4)
> adapter.  Currently running r225223 + some minor local changes.

Hm.

> Console log:
>
> wlan0: link state changed to DOWN
> panic: wrong state 1
> cpuid = 0
> KDB: stack backtrace:
> db_trace_self_wrapper(c0f2d577,4,c0f2b58b,8cd,0,...) at db_trace_self_wrapper+0x26
> kdb_backtrace(c0f78b11,0,c0f48baf,c5611be4,0,...) at kdb_backtrace+0x2a
> panic(c0f48baf,1,49e5a776,4ae2b5f2,c0b2e830,...) at panic+0x117
> ieee80211_swbmiss(c65f2000,0,c0f2aafa,216,c5611c24,...) at ieee80211_swbmiss+0x28
> softclock(c10e5440,c10f2080,4,c0f27640,c598aa38,...) at softclock+0x29b
> intr_event_execute_handlers(c59bc588,c598aa00,c0f23ac4,55e,c59be5c0,...) at intr_event_execute_handlers+0x125
> ithread_loop(c5a027f0,c5611d28,c0f23730,3f9,c59bc588,...) at ithread_loop+0xa9
> fork_exit(c09fc930,c5a027f0,c5611d28) at fork_exit+0xb8
> fork_trampoline() at fork_trampoline+0x8
> --- trap 0, eip = 0, esp = 0xc5611d60, ebp = 0 ---

That's the timer firing. The reason this doesn't appear on if_ath is
likely because IEEE80211_FEXT_SWBMISS isn't set, but it is for bwn and
run.

Perhaps the callout should be reset/disabled on the state change away from RUN?



Adrian


More information about the freebsd-wireless mailing list