Since 6.2.1 (and onward), running a wifi scan freezes the laptop completely. The screen is frozen, caps lock led is on, and there's nothing left to do but force reboot.
Step to reproduce:
1) iwctl station wlan0 scan
This works just fine on 6.1.12 and below.
This is 100% reproducible.
I can't find any relevant log. I tried to collect dmesg and journalctl -k while I was performing the command, but the laptop freezes before I can get anything.
Card: Qualcomm Atheros AR9462 Wireless Network Adapter (rev 01)
Let me know if you need any additional logs from other places I don't know
Can you do a git bisect to find the commit which broke this? Also setting up a netconsole to catch the logs before the crash is nice, but you need ethernet for that.
I did more tests playing with the driver parameters. What seems to cause the freeze is enabling the option btcoex_enable=1. Without this option set, scanning works as expected.
Does 6.1 work regardless of the value of the btcoex_enable parameter? In fact, nothing has really changed *at all* in the driver between those two versions apart from compile fixes. So that suggest this is a mac80211-induced regression; perhaps the same underlying issue as https://bugzilla.kernel.org/show_bug.cgi?id=217119 ?
Yes, it does work with btcoex_enable on 6.1
Hmm, okay, don't really see any obvious connection here, then. Not sure we can get any closer without a bisect and/or a kernel log when the crash happens :(
I've been having the same issue on Arch Linux. The 6.1.9 kernel works fine, but kernels 6.2 and above are unstable. The system isn't always totally unusable, though, so I was able to get the output of `journalctl -k`. I have attached it here.
The system is an Acer C720 with an Atheros AR9462 wireless interface.
Created attachment 303981 [details]
journalctl -k output on kernel 6.2.6
Ah! That stack trace did indeed narrow it down, and I'm pretty sure I see the change that caused this. Sent a fix, here: https://email@example.com
I confirm this patch fixes my issue! Thanks!
Great, thank you for testing!