BETA2 panic

Joel Dahl joel at vnode.se
Thu Sep 8 21:19:02 UTC 2011


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)?

-- 
Joel


More information about the freebsd-wireless mailing list