Re: 2.6.36-rc4/iwl: warning triggered in net/mac80211/scan.c:266

From: Johannes Berg
Date: Tue Sep 14 2010 - 10:36:58 EST


On Tue, 2010-09-14 at 16:28 +0200, Michael S. Tsirkin wrote:
> I am running 2.6.36-rc4 on T60 with an iwlagn wireless card:
> 03:00.0 Network controller: Intel Corporation PRO/Wireless 5100 AGN [Shiloh] Network Connection
>
> I was compiling a large file which stressed the box heavily, and the
> following warning in net/mac80211/scan.c triggered:
>
> /*
> * It's ok to abort a not-yet-running scan (that
> * we have one at all will be verified by checking
> * local->scan_req next), but not to complete it
> * successfully.
> */
> if (WARN_ON(!local->scanning && !aborted))
> aborted = true;
>
> dmesg below:
>
> [84379.361297] ------------[ cut here ]------------
> [84379.361307] WARNING: at net/mac80211/scan.c:266 ieee80211_scan_completed+0x43/0x17f()

> Should this happen? Does anyone care?
> I am not sure how reproducible this is.

No, it shouldn't happen. But there are various races in iwlwifi that can
cause this. Stanislaw has fixed them recently, but it's a fairly large
patchset. I'm not sure, but I don't think this is really new in .36.

johannes

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/