Closed Zahrun closed 11 months ago
My few tips for debugging this:
first, you should reduce your setup to the absolute minimum to reproduce. Your setup looks quite complicated. You seem to use the Archer T2U with an out-of-tree module, 88XXau. This is probably not from raspberrypi kernel nor linux-mainline, so there will probably not be much motivation in this repo.
This leads to the question, does it ever happen without this usb dongle? It suggests it happens when the dongle, (wlan1) tries to reconnect after CTRL-EVENT-SSID-REENABLED. When you look further up your logs, why is it even (temp) disabled?
Then you could turn to increasing wpa_supplicant verbosity, compile kernel with debug info (line numbers), ...
Thank you for the helpful answer. I am using the driver from https://github.com/aircrack-ng/rtl8812au. I understand that the issue should probably be raised there.
I am pretty sure that the issue would not happen without the USB dongle, but I might confirm this later.
When looking further up in the logs, the temp disabled event happens due to authentification failure. I am getting a lot of these and I think sometimes it is due to my local university Wi-Fi just becoming impossible to connect to. Maybe other times it is something related to my setup. It so happenned that after a reboot, the pi could connect again. But sometimes also no device can connect, whatever be the OS.
My take away from now is to avoid devices which don’t have support in the linux kernel. I found this interesting ressource about that: https://github.com/morrownr/USB-WiFi/tree/main. I didn’t get the issue in 5 days now. Maybe that is since I changed the USB extension cable to a much shorter one. I will keep monitoring the situation and act accordingly. I may want to try the alternative driver at https://github.com/morrownr/8821au-20210708/tree/main.
I think this issue can be closed. Thank you for the support.
Describe the bug
Internal error: Oops: 0000000096000005 [#1] PREEMPT SMP
Networking is lost. System cannot reconnect unless hard reboot.Steps to reproduce the behaviour
I’m using a Raspberry Pi 3 B+ with a Archer T2U+ USB Wi-Fi dongle as a Wi-Fi router. The Wi-Fi dongle connects to my local university Wi-Fi. I use the Raspberry’s internal Wi-Fi to create an access point. The kernel error happens about once every 24 hours, the RPi becomes unresponsive, and I need to hard reboot it.
Device (s)
Raspberry Pi 3 Mod. B+
System
Raspberry Pi reference 2023-05-03 Generated using pi-gen, https://github.com/RPi-Distro/pi-gen, 7c750947a959fb626a70c09fd17c65815df192ac, stage4
Sep 21 2023 18:44:30 Copyright (c) 2012 Broadcom version 3094eda5aadf2c719edd2c68d1900884abc3dbca (clean) (release) (start)
Linux love 6.1.57-v8+ #1688 SMP PREEMPT Thu Oct 12 15:14:26 BST 2023 aarch64 GNU/Linux
Logs
Additional context
See a similar issue https://github.com/raspberrypi/linux/issues/5491 That one was fixed, so I updated the kernel to one that has the fix included but that didn’t work.