-
I have a Raspberry Pi 4b and a wifi USB dongle Alfa AWUS036ACM When I run:
and the Pi stops responding. Checking in dmesg, I see this:
OS information: Archlinux ARM AArch64
Some attempts at debugging this:
I don't have NetworkManager running. I tried with iwd enabled/disabled, same error. Services running (I have the same behavior when iwd is disabled):
Anything else I can try? |
Beta Was this translation helpful? Give feedback.
Replies: 13 comments
-
I've installed Linux kernel 6.9.10 and a can reproduce it:
The driver crashes immediately after the device entered promiscuous mode and tries to inject the first frame. To make sure it really isn't hcxdumptool it can be reproduced running aireplay-ng:
BTW: While the LTS kernel is still working as expected:
ALFA AWUS036ACM
Looks like a driver error because the LTS kernel is not affected. |
Beta Was this translation helpful? Give feedback.
-
Linux Kernel 5.15.150 (OpenWRT) 23.05 is also working as expected. |
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
-
Going back to the last kernel that is not broken is an excellent idea. Over the last several months, there has been an extraordinary amount of new code added to the wifi stack and we are regularly seeing bug reports caused by this modernization of the stack. Adding WiFi 7 support can cause bugs in drivers that not WiFi 7. It will take time. |
Beta Was this translation helpful? Give feedback.
-
Thanks for the answers! For anyone curious on how to do it on archlinux ARM: Or just download the |
Beta Was this translation helpful? Give feedback.
-
@olivervbk I started to bisect the Linux kernel, because this "kernel NULL pointer dereference at virtual address 0000000000000000" is a fatal error. |
Beta Was this translation helpful? Give feedback.
-
Just to mention it here: bisecting the Linux kernel is a slow process and it will take a lot of time (even on my AMD Ryzen 7 5700G):
@olivervbk mentioned that kernel 6.8 is not affected. |
Beta Was this translation helpful? Give feedback.
-
Some good news. If someone is interested, this is git bisect log:
|
Beta Was this translation helpful? Give feedback.
-
@morrownr |
Beta Was this translation helpful? Give feedback.
-
We now have a working patch: The kernel developers have done a great work!
|
Beta Was this translation helpful? Give feedback.
-
Thank you for your work in identifying, bisecting and reporting several bugs lately. |
Beta Was this translation helpful? Give feedback.
-
@morrownr
Regarding mt76, last working (monitor mode and frame injection) kernel versions are @olivervbk |
Beta Was this translation helpful? Give feedback.
-
BTW: |
Beta Was this translation helpful? Give feedback.
I've installed Linux kernel 6.9.10 and a can reproduce it:
The driver crashes immediately after the device entered promiscuous mode and tries to inject the first frame.
To make sure it really isn't hcxdumptool it can be reproduced running aireplay-ng:
BTW:
The driver crashes my entire notebook and I have to power it off (hard reset).
While the LTS kernel is still working as expected:
ALFA AWUS036ACM