Bug 153471
Summary: | WARNING: CPU: 1 PID: 1167 at net/wireless/sme.c:981 cfg80211_connect+0x234/0x588 [cfg80211]() | ||
---|---|---|---|
Product: | Drivers | Reporter: | Michael Vorburger (mike) |
Component: | network-wireless | Assignee: | drivers_network-wireless (drivers_network-wireless) |
Status: | NEW --- | ||
Severity: | normal | CC: | ingvarthorvald |
Priority: | P1 | ||
Hardware: | All | ||
OS: | Linux | ||
Kernel Version: | 4.4.18-v7+ | Subsystem: | |
Regression: | No | Bisected commit-id: |
Description
Michael Vorburger
2016-08-20 17:27:41 UTC
What's interesting is that this doesn't seem to happen when an Ethernet cable is plugged into the RPi 3 (and it's still on HDMI) - so seems to have something to do with... power and/or signal level? The driver presumably still should never just crash like that and take the interface down? That's a pretty old kernel. Can you try a newer mainline kernel if possible and see if it fixes your issue. ingvarthorvald tx; to upgrade from the 4.4.18 which FYI is the standard latest one distributed with raspbian as of now (as of 58567cb https://github.com/raspberrypi/firmware), I'll first have to cross-compile my first an ARM Kernel for the RPi .. will do - another night! ;-) Notes to self: I can see on https://github.com/raspberrypi/linux/branches that they currently have up to 4.8.y, and on https://www.raspberrypi.org/documentation/linux/kernel/building.md there are instructions that look feasible (on http://elinux.org/Raspberry_Pi_Kernel_Compilation it's more elaborate). PS: Having tried more, I'm meanwhile increasingly convinced that this has more to do with what cables are plugged into the RPi, and perhaps less with using hostapd for WiFi as AP instead of station, as I just saw a similar issue in dmesg while using the interface as station instead of AP... FTR to anyone reading this: The RPi v3 has a tiny on-board WiFi antenna, and on my RPi that antenna is covered by some extension shield (full size, under a separate power source; it's http://www.pololu.com/product/2755 - for a motor).. I'll retry later on another "bare" board where that antenna isn't covered, to see if that makes any difference for this problem. Covering signals for wifi is never a good idea, try on that over board without the cover. It probably won't help but always good to try and rule out hardware related issues first through :). Just for the record: This DID turn out to be somehow hardware related on the RPi v3 - that motor shield board linked to above somehow interfered with the onboard WiFi, and using an external USB WiFi dongle "solved" (worked around) this for me. For me, feel free to close to this issue, although perhaps you'd like to harden the code anyway - leaving it open for a maintainer to decide what to do. |