Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 7 Sep 2011 10:59:33 +0200
From:      Bernhard Schmidt <bschmidt@freebsd.org>
To:        Joel Dahl <joel@vnode.se>
Cc:        freebsd-wireless@freebsd.org, current@freebsd.org
Subject:   Re: BETA2 panic
Message-ID:  <CAAgh0_bOOT2j_y4AeJHpXQty36Gb32pYq_atyf6j9QqnhqeCsA@mail.gmail.com>
In-Reply-To: <20110906204242.GP52426@goofy03.vnode.local>
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>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Sep 6, 2011 at 22:42, Joel Dahl <joel@vnode.se> wrote:
> On 05-09-2011 =A09:02, Bernhard Schmidt wrote:
>> On Mon, Sep 5, 2011 at 08:24, Joel Dahl <joel@vnode.se> wrote:
>> > On 05-09-2011 =A05:09, Adrian Chadd wrote:
>> >> On 5 September 2011 01:04, Joel Dahl <joel@vnode.se> wrote:
>> >> > Hi,
>> >> >
>> >> > I upgraded my laptop from BETA1 to rev. 225367 today, and now my la=
ptop panics just a few minutes after booting. This is 100% reproducible, it=
 panics every time.
>> >> >
>> >> > I've got a pic with the backtrace here: http://www.vnode.se/sc/pani=
c_20110904.jpg
>> >>
>> >> Hi,
>> >>
>> >> There weren't many commits between BETA1 and -HEAD in the wireless
>> >> area; would you please do a binary search of the kernel revisions (no
>> >> need to do full buildworlds) to find which commit broke it?
>> >
>> > Yes, I'll do that tonight.
>>
>> While doing so, can you enable at least some debugging?
>> wlandebug +state
>> or even better
>> wlandebug 0xffffffff
>>
>> It smells like that something is poking the SW bmiss handler while not
>> in RUN state and therefore you're hitting a KASSERT(). Question is if
>> the bmiss timer isn't stopped/drained somewhere or if there is too
>> excessive call.
>
> Exactly what in the wlandebug output are you looking for? =A0I've posted =
a pic
> at http://www.vnode.se/sc/panic_20110906.jpg showing what it looks like r=
ight
> before the panic. =A0This is with "wlandebug 0xffffffff".

Thanks, so, looks like it is scanning while the panic happens. At that
point it should actually never ever care about beacon misses.. this is
strange, really.

Can you try to comment out the call to ieee80211_beacon_miss() on line
2936 in if_iwn.c? If the panic no longer happens the issue is
somewhere in the conditions before that call.

> I've also installed kernels all the way back to revision 222980, but they=
 all
> panic, which I think is somewhat odd.

I think this is an issue related to iwn(4), which had its last commit
prior to that.

--
Bernhard



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