Skip to content
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

FS#3881 - Kernel crash in wireless stack (mac80211/ath9k) #8874

Closed
openwrt-bot opened this issue Jun 16, 2021 · 4 comments
Closed

FS#3881 - Kernel crash in wireless stack (mac80211/ath9k) #8874

openwrt-bot opened this issue Jun 16, 2021 · 4 comments
Labels

Comments

@openwrt-bot
Copy link

vampik:

  • Device problem occurs on
    x86-64 KVM virtual machine with Qualcomm Atheros AR9462 Wireless Network Adapter (ath9k kernel driver)
  • Software versions of OpenWrt/LEDE release, packages, etc.
    OpenWrt SNAPSHOT r16957-3d026d2425
  • Steps to reproduce
  1. Enable Wi-Fi access point
  2. Connect a Wi-Fi client to this access point
  3. After a few seconds the crash occurs

I'm encountering kernel crashes after updating from OpenWrt SNAPSHOT r16915-bb749e49a6 to OpenWrt SNAPSHOT r16957-3d026d2425. The crash occurs a few seconds after a client is connected to Wi-Fi access point. The crash doesn't occur if Wi-Fi is disabled or if there is no clients connected to AP.
The system stops responding after the crash so I'm not able to provide the full crash log. I can only provide the screenshot of the virtual machine console after the crash which contains the last few lines (see the attached file).

@openwrt-bot
Copy link
Author

vampik:

After some investigation I've found that there were 2 commits to mac80211 between r16915-bb749e49a6 and r16957-3d026d2425:

7dd8829 mac80211: improve rate control performance
f2c6d89 mac80211: add support for 802.3 encap offload with software rate control

After reverting these commits everything works fine - no crashes!

I'll try to figure out which of these 2 commits causes the crash. But it will take some time.

@openwrt-bot
Copy link
Author

vampik:

I've made some tests and found that the crash is caused by this commit:

7dd8829 mac80211: improve rate control performance

@openwrt-bot
Copy link
Author

vampik:

I also want to note that it seems to be hardware or driver specific.

Router with Qualcomm Atheros AR9462 (ath9k driver) crashes.
But router with a Mediatek Wi-Fi chip (mt76 driver) doesn't crash.

@openwrt-bot
Copy link
Author

nbd:

I was able to reproduce the issue and fixed it in latest master: a603e82

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant