Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 7 Sep 2011 23:15:31 +0800
From:      Adrian Chadd <adrian@freebsd.org>
To:        Ed Maste <emaste@freebsd.org>
Cc:        Bernhard Schmidt <bschmidt@freebsd.org>, freebsd-wireless@freebsd.org, Joel Dahl <joel@vnode.se>
Subject:   Re: BETA2 panic
Message-ID:  <CAJ-VmonJu5REzQXUEfYfFSunB8Pu1yf_mJ9PF2g0y6U7ERdh7Q@mail.gmail.com>
In-Reply-To: <20110907144509.GA93951@sandvine.com>
References:  <09C13664-4FC0-41F3-8849-CE875B3A6CC0@vnode.se> <CAJ-VmokggV3r8cStQNOMRCKoWMF1tPsoXW6PhHPxSq-i8Pyf-Q@mail.gmail.com> <20110905062453.GM52426@goofy03.vnode.local> <CAAgh0_b6WKYQSyT22MegzxaEsdQBiP0huWgQC%2B9a7yAFvWdYJw@mail.gmail.com> <20110906204242.GP52426@goofy03.vnode.local> <CAAgh0_bOOT2j_y4AeJHpXQty36Gb32pYq_atyf6j9QqnhqeCsA@mail.gmail.com> <20110907105325.GQ52426@goofy03.vnode.local> <20110907144509.GA93951@sandvine.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 7 September 2011 22:45, Ed Maste <emaste@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. =A0Currently running r225223 + some minor local changes.

Hm.

> Console log:
>
> wlan0: link state changed to DOWN
> panic: wrong state 1
> cpuid =3D 0
> KDB: stack backtrace:
> db_trace_self_wrapper(c0f2d577,4,c0f2b58b,8cd,0,...) at db_trace_self_wra=
pper+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_swbm=
iss+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 =3D 0, esp =3D 0xc5611d60, ebp =3D 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAJ-VmonJu5REzQXUEfYfFSunB8Pu1yf_mJ9PF2g0y6U7ERdh7Q>