Date: Thu, 8 Sep 2011 23:18:55 +0200 From: Joel Dahl <joel@vnode.se> To: Adrian Chadd <adrian@freebsd.org> Cc: freebsd-wireless@freebsd.org, weongyo@freebsd.org, Bernhard Schmidt <bschmidt@freebsd.org> Subject: Re: BETA2 panic Message-ID: <20110908211855.GS52426@goofy03.vnode.local> In-Reply-To: <CAJ-Vmomg1N5VoEeqpvs5fTGnn9w9Hw--vi6eZKNvzm-UbqPpbg@mail.gmail.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> <CAAgh0_Y6HEGmqW9-FXig5F5fQ%2B6HSz_j9SY0DupUjZidkMFRLA@mail.gmail.com> <20110907174755.GR52426@goofy03.vnode.local> <CAJ-Vmomg1N5VoEeqpvs5fTGnn9w9Hw--vi6eZKNvzm-UbqPpbg@mail.gmail.com>
index | next in thread | previous in thread | raw e-mail
On 08-09-2011 12:35, Adrian Chadd wrote: > Hi, > > Please try this patch. > > I bet what's happening is: > > * transition is going from RUN -> ! RUN; > * the state is changed before the swbmiss timer is cancelled; > * the callout gets called in another process context; > * bang! > > This patch: > > * changes the order of things so the callout is cancelled -before- the > state is changed; > * grabs the ic lock in the swbmiss task just to make sure nothing else > is fiddling with it. I've been using this patch for 9 hours and I haven't seen any panics so far. Do you still want me to try without the ieee80211_swbmiss locks (as discussed on irc)? -- Joelhelp
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20110908211855.GS52426>
