-
Notifications
You must be signed in to change notification settings - Fork 600
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Kernel panic for some Wifis only #417
Comments
Obviously, the AP settings are different. Unfortunately, about all I can read from your screen shots is that you got a NULL pointer dereference crash. I'm not sure what facilities you have for scanning for wireless networks. If you have iw, then 'sudo iw dev <net_device> scan' will show you what the AP is offering. You do not need to be connected for this to work. Please post the results for the AP that works, and the one that fails. |
Thanks @lwfinger . Am a few days on vacation now but will get back with the scan details here after. Thanks for the quick reply! |
Hi @lwfinger , I've done a scan from my Windows machine as
Here's what I have at my home wifi, where the Raspberry with the Wifi dongle is working fine:
I guess the main difference is the wifi standard, with my home wifi being on the more recent wifi 5 while the problematic AP still uses wifi 4. On my home network the wifi dongle connects via 2.4 GHz by the way, while on the problematic AP I'm not sure because of the crash it doesn't show up in my wifi router's overview). |
The availability of the 5 GHz band does not depend on wifi 5. In general, the 2.4 GHz band will be more crowded than is the 5 GHz band, which could also be a problem. |
So I split the networks now via the router into a 5 GHz and 2.4 GHz band to check whether it's related to that. After that, when connecting to the 2.4 GHz I keep receiving a kernel panic. When selecting the 5 GHz band, the Pi starts, but it doesn't connect to the Wifi AP. When I run
Not sure what else to try from here, other than trying a different OS or driver version. |
As the rtl8188eu only has a 2.4 GHz radio, you can hardly expect it to connect to a 5GHz band on the AP. I cannot read your posted photos, thus I have no way of seeing why the PI should panic when x86_64 systems do not. It also works on PowerPC 32-bit processors, thus it is not a 32- versus 64-bit problem. If you can either provide a clearer screen shot, or transcribe the Backtrace information following the register dump, then I might be able to help you. |
Well, that explains why it wasn't connecting to the 5GHz point 😄 I could swear the vendor's website where I bought it some time back listed it as 5GHz compatible, but anyway. Not sure where you're coming from regarding the processor architecture. The dongle actually works fine on that very same Raspberry when I'm using it at my wifi AP at home. It's just when using it on that other wifi AP that it crashes. Both APs use entirely different routers. I'll try to get you a bit clearer screenshots next time I have a chance. Thanks again for your efforts here, really appreciate it. |
First of all, thanks for providing this driver as an open-source project, really appreciate all the effort it takes in developing and maintaining such a project.
I've done a fresh installation of Raspberry Pi OS Lite today on my Raspberry Model B+ (2014) that I'm planning to use for some home automation project. The full OS details are below:
After the initial installation, I've installed the drivers for the TP-Link Wifi adapter following the instructions here (using the master branch). Everything worked fine, so I was able to setup the Wifi connection and connect to the Raspberry via wireless network.
Then the fun started. After moving the Raspberry to a different physical location, having a different Wifi Router, it crashed with a Kernel panic as shown below on startup. After a bit forth and back, I realized that it's related to the Wifi, so without the wifi adapter it started up fine, and also when removing the
network
within thewpa_supplicant.conf
it worked fine. But as soon as I add it (either manually or viaraspi-config
, I'll receive a Kernel panic shortly.Any ideas why this is working for one wifi, but not for another?
The text was updated successfully, but these errors were encountered: