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#2427 - ath10k with QCA9984 causes reboot on first client connect #7259

Closed
openwrt-bot opened this issue Aug 5, 2019 · 5 comments
Closed
Labels

Comments

@openwrt-bot
Copy link

neilaspinall:

On a master build of OpenWrt, using kmod-ath10k (as opposed to kmod-ath10k-ct) with a device with a QCA9984 wireless chipset causes reboots of OpenWrt every time a wireless client connects.
This appears to be related to the recent bump of mac80211 to 5.2-rc7.

To reproduce:

-Run an x86 or ipq806x build from master, on a device with a QCA9984 wireless chipset (e.g. Netgear R7800)
-If already installed, remove kmod-ath10k-ct and ath10k-firmware-qca9984-ct
-Install kmod-ath10k and ath10k-firmware-qca9984 (and hostapd/wpad)
-Configure and enable wireless access point
-On first client connect, OpenWrt will reboot

@openwrt-bot
Copy link
Author

hnyman:

duplicate (with x86 evidence) of FS#2414

@openwrt-bot
Copy link
Author

ynezz:

duplicate (with x86 evidence) of FS#2414

symptoms looks same, but there's no evidence (log of the crash) as in FS#2414 so we don't know if it's duplicate (yet).

If you're able to reproduce this on x86, then it's very likely, that you can simply run the upstream kernel 5.2 or 5.3 and thus can try to reproduce it there. If the issue is present in the upstream kernel as well, then you can ask for the help on the ath10k mailing list.

@openwrt-bot
Copy link
Author

Hauke:

This branch still contains some more backports version between 4.19 and 5.2, could you please check with which version this problem started:
https://git.openwrt.org/?p=openwrt/staging/hauke.git;a=shortlog;h=refs/heads/mac80211-5.0

@openwrt-bot
Copy link
Author

hnyman:

A brief summary of my longer test report in the IPQ806X bug report.

Thanks for pointer to those intermediate commits in your staging tree. I checked it out and built minimal versions of the firmware. baseline and three first commits worked ok, but then the chrasing starts :-(

The culprit is the bump to 5.1-rc2-1:

commit ba5b3ce570ea3abb7a05d00fd6d4d4a32804b0e4
mac80211: update to version 5.0.5-1
OK

commit a9e9bdb8ba26ae3cf9df0a230d8eacd92deac821
mac80211: Update to version 5.1-rc2-1
CRASH

https://git.openwrt.org/?p=openwrt/staging/hauke.git;a=commit;h=a9e9bdb8ba26ae3cf9df0a230d8eacd92deac821

Pure guess, but that commit seems to remove some airtime related patches, and like I have said earlier, the crash always happens at:
PC is at ieee80211_sta_register_airtime+0x24/0x148 [mac80211]

@openwrt-bot
Copy link
Author

Hauke:

I proposed a patch to test in the last comment of FS#2414

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