Comment 0 for bug 1933201

Revision history for this message
Yvan Masson (yvan-masson) wrote :

Hi,

Another issue with Qualcomm Atheros QCA6174 (very similar to https://bugs.launchpad.net/ubuntu/+bug/1827879), this time using Mint 20.1/Ubuntu 20.04: when suspending laptop, firmware often (80%) crashes (see kernel log at bottom). It prevents the computer from properly suspend, and many component hang (can't poweroff properly, can't use "sudo", can't "modprobe -r" or "rmmod"…), so it basically makes the computer unusable once this happens.

If I manually unload ath10k_pci module before suspend, suspend/resume works perfectly. Unfortunately, I could not find a reliable way to unload this module before suspend (either via a systemd unit or via /lib/systemd/system-sleep/ script).

If I understand properly, the issue comes from the loaded firmware (/lib/firmware/ath10k/QCA6142/hw2.1/firmware-5.bin) which is proprietary so can't be fixed. However, fixing the ath10k module or the kernel so that it can recover from such a problem would be great if possible. Note that I tried with linux-image-generic (linux-headers-5.4.0-74-generic) and linux-image-generic-hwe-20.04 (linux-image-5.8.0-55-generic). Package linux-firmware is in version 1.187.14.

Regards,
Yvan

juin 21 23:22:04 kernel: wlp2s0: deauthenticating from 38:35:fb:fa:75:64 by local choice (Reason: 3=DEAUTH_LEAVING)
juin 21 23:22:04 kernel: ath10k_pci 0000:02:00.0: firmware crashed! (guid 4f13694a-78f7-460f-95ad-ed3e8ea8ff32)
juin 21 23:22:04 kernel: ath10k_pci 0000:02:00.0: qca6174 hw2.1 target 0x05010000 chip_id 0x003405ff sub 105b:e08e
juin 21 23:22:04 kernel: ath10k_pci 0000:02:00.0: kconfig debug 0 debugfs 1 tracing 1 dfs 0 testmode 0
juin 21 23:22:04 kernel: ath10k_pci 0000:02:00.0: firmware ver SW_RM.1.1.1-00157-QCARMSWPZ-1 api 5 features ignore-otp,no-4addr-pad crc32 10bf8e08
juin 21 23:22:04 kernel: ath10k_pci 0000:02:00.0: board_file api 2 bmi_id N/A crc32 ae2e275a
juin 21 23:22:04 kernel: ath10k_pci 0000:02:00.0: htt-ver 3.1 wmi-op 4 htt-op 3 cal otp max-sta 32 raw 0 hwcrypto 1
juin 21 23:22:04 kernel: ath10k_pci 0000:02:00.0: firmware register dump:
juin 21 23:22:04 kernel: ath10k_pci 0000:02:00.0: [00]: 0x05010000 0x00000000 0x0092E4DC 0x2EB96CFB
juin 21 23:22:04 kernel: ath10k_pci 0000:02:00.0: [04]: 0x0092E4DC 0x00060130 0x00000018 0x0041A760
juin 21 23:22:04 kernel: ath10k_pci 0000:02:00.0: [08]: 0x2EB96CE7 0x00400000 0x00000000 0x000A5C88
juin 21 23:22:04 kernel: ath10k_pci 0000:02:00.0: [12]: 0x00000009 0x00000000 0x0096C09C 0x0096C0A7
juin 21 23:22:04 kernel: ath10k_pci 0000:02:00.0: [16]: 0x0096BDBC 0x0092B5C7 0x00000000 0x009287BD
juin 21 23:22:04 kernel: ath10k_pci 0000:02:00.0: [20]: 0x4092E4DC 0x0041A710 0x00000000 0x0F000000
juin 21 23:22:04 kernel: ath10k_pci 0000:02:00.0: [24]: 0x809432A7 0x0041A770 0x0040D400 0xC092E4DC
juin 21 23:22:04 kernel: ath10k_pci 0000:02:00.0: [28]: 0x80942BC4 0x0041A790 0x2EB96CE7 0x00400000
juin 21 23:22:04 kernel: ath10k_pci 0000:02:00.0: [32]: 0x80947BA7 0x0041A7B0 0x00404D88 0x0040E074
juin 21 23:22:04 kernel: ath10k_pci 0000:02:00.0: [36]: 0x809BDECC 0x0041A7D0 0x00404D88 0x0040E074
juin 21 23:22:04 kernel: ath10k_pci 0000:02:00.0: [40]: 0x8099638C 0x0041A7F0 0x00404D88 0x00000000
juin 21 23:22:04 kernel: ath10k_pci 0000:02:00.0: [44]: 0x80992076 0x0041A810 0x0044FD68 0x0046FFE8
juin 21 23:22:04 kernel: ath10k_pci 0000:02:00.0: [48]: 0x80996BD3 0x0041A830 0x0044FD68 0x00000000
juin 21 23:22:04 kernel: ath10k_pci 0000:02:00.0: [52]: 0x800B4405 0x0041A850 0x00422318 0x00005002
juin 21 23:22:04 kernel: ath10k_pci 0000:02:00.0: [56]: 0x809A6C34 0x0041A8E0 0x0042932C 0x0042CA20
juin 21 23:22:04 kernel: ath10k_pci 0000:02:00.0: Copy Engine register dump:
juin 21 23:22:04 kernel: ath10k_pci 0000:02:00.0: [00]: 0x00034400 1 1 3 3
juin 21 23:22:04 kernel: ath10k_pci 0000:02:00.0: [01]: 0x00034800 24 24 379 380
juin 21 23:22:04 kernel: ath10k_pci 0000:02:00.0: [02]: 0x00034c00 35 35 34 35
juin 21 23:22:04 kernel: ath10k_pci 0000:02:00.0: [03]: 0x00035000 20 20 21 20
juin 21 23:22:04 kernel: ath10k_pci 0000:02:00.0: [04]: 0x00035400 739 739 179 115
juin 21 23:22:04 kernel: ath10k_pci 0000:02:00.0: [05]: 0x00035800 0 0 0 0
juin 21 23:22:04 kernel: ath10k_pci 0000:02:00.0: [06]: 0x00035c00 21 21 21 21
juin 21 23:22:04 kernel: ath10k_pci 0000:02:00.0: [07]: 0x00036000 1 1 1 1
juin 21 23:22:04 kernel: ieee80211 phy0: Hardware restart was requested
juin 21 23:22:04 kernel: ath10k_pci 0000:02:00.0: failed to delete WMI vdev 1: -108