Re: 3.5.0 iwlagn AP crash...

From: Daniel J Blueman
Date: Sun Jul 22 2012 - 06:10:17 EST


On 22 July 2012 17:15, Daniel J Blueman <daniel@xxxxxxxxx> wrote:
> Hi Johannes et al,
>
> When running my Centrino Wireless-N 130 BGN (rev 0xb0) card in nl80211
> AP mode with hostapd on linux 3.5.0, I immediately hit this fatal
> pagefault [1].
>
> I can cook a debug kernel, reproduce, disassemble the code and do some
> quick analysis, if that helps get the ball rolling?
>
> Thanks!
> Daniel
>
> --- [1]
>
> BUG: unable to handle kernel NULL pointer dereference at (null)
> IP: [<ffffffffa02e869d>] ieee80211_ave_rssi+0xd/0x50 [mac80211]

>From my debug kernel, sdata is clearly NULL:

(gdb) list *0xffffffff815b74f8
0xffffffff815b74f8 is in ieee80211_ave_rssi (net/mac80211/util.c:1801).
1796 int ieee80211_ave_rssi(struct ieee80211_vif *vif)
1797 {
1798 struct ieee80211_sub_if_data *sdata = vif_to_sdata(vif);
1799 struct ieee80211_if_managed *ifmgd = &sdata->u.mgd;
1800
1801 if (WARN_ON_ONCE(sdata->vif.type != NL80211_IFTYPE_STATION)) {
1802 /* non-managed type inferfaces */
1803 return 0;
1804 }
1805 return ifmgd->ave_beacon_signal;
--
Daniel J Blueman
--
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/