Re: Kernel panic in wireless-testing-2008-09-24 with rtl8187
From: Luis R. Rodriguez <hidden>
Date: 2008-09-26 08:12:27
On Fri, Sep 26, 2008 at 1:11 AM, Tomas Winkler [off-list ref] wrote:
quoted hunk ↗ jump to hunk
On Fri, Sep 26, 2008 at 10:43 AM, Luis R. Rodriguez [off-list ref] wrote:quoted
On Fri, Sep 26, 2008 at 12:06 AM, Luis R. Rodriguez [off-list ref] wrote:quoted
On Thu, Sep 25, 2008 at 8:06 PM, Larry Finger [off-list ref] wrote:quoted
Tomas Winkler wrote:quoted
wild guess try to revert: 'mac80211: make master iface not wireless'You win the prize. Bisection shows that 84b0ba8ed0423a3c56a28e701b735daae3e15766 is first bad commit commit 84b0ba8ed0423a3c56a28e701b735daae3e15766 Author: Johannes Berg [off-list ref] Date: Tue Sep 16 14:18:59 2008 +0200 mac80211: make master iface not wireless The actual crash is in the following routine from include/net/wireless.h: /** * wiphy_priv - return priv from wiphy */ static inline void *wiphy_priv(struct wiphy *wiphy) { BUG_ON(!wiphy); return &wiphy->priv; } I'm still looking to see where it goes wrong.Actually wouldn't you get a stack trace here?Yeah not sure I tested against !wiphy on its callers and didn't find a case where it hit. I don't think this is it.u16 ieee80211_select_queue(struct net_device *dev, struct sk_buff *skb) { struct ieee80211_hdr *hdr = (struct ieee80211_hdr *) skb->data; struct ieee80211_local *local = wdev_priv(dev->ieee80211_ptr);--- this is the line
Yeah I just landed there too. Luis