ath10k_pci QCA6174 firmware crash on suspend

Bug #1933201 reported by Yvan Masson
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

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
---
ProblemType: Bug
ApportVersion: 2.20.11-0ubuntu27.18
Architecture: amd64
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC1: lucille 1116 F.... pulseaudio
 /dev/snd/controlC0: lucille 1116 F.... pulseaudio
CasperMD5CheckResult: skip
DistroRelease: Linux Mint 20.1
InstallationDate: Installed on 2021-03-02 (111 days ago)
InstallationMedia: Linux Mint 20.1 "Ulyssa" - Release amd64 20210103
MachineType: Acer Aspire V3-371
Package: linux-image-generic 5.4.0.74.77 [origin: Ubuntu]
PackageArchitecture: amd64
ProcFB: 0 i915drmfb
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-5.8.0-55-generic root=UUID=f2994457-3bc7-4388-85c1-86e01392c7d7 ro quiet splash
ProcVersionSignature: Ubuntu 5.8.0-55.62~20.04.1-generic 5.8.18
PulseList: Error: command ['pacmd', 'list'] failed with exit code 1: No PulseAudio daemon running, or not running as session daemon.
RelatedPackageVersions:
 linux-restricted-modules-5.8.0-55-generic N/A
 linux-backports-modules-5.8.0-55-generic N/A
 linux-firmware 1.187.14
Tags: ulyssa third-party-packages
Uname: Linux 5.8.0-55-generic x86_64
UnreportableReason: Ce paquet n'est pas officiellement pris en charge par Linux. Veuillez désinstaller tout paquet tiers et réessayer.
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: N/A
_MarkForUpload: True
dmi.bios.date: 09/03/2015
dmi.bios.release: 1.9
dmi.bios.vendor: Insyde Corp.
dmi.bios.version: V1.29
dmi.board.asset.tag: No Asset Tag
dmi.board.name: Aspire V3-371
dmi.board.vendor: Acer
dmi.board.version: V1.29
dmi.chassis.asset.tag: No Asset Tag
dmi.chassis.type: 10
dmi.chassis.vendor: Acer
dmi.chassis.version: V1.29
dmi.ec.firmware.release: 1.23
dmi.modalias: dmi:bvnInsydeCorp.:bvrV1.29:bd09/03/2015:br1.9:efr1.23:svnAcer:pnAspireV3-371:pvrV1.29:rvnAcer:rnAspireV3-371:rvrV1.29:cvnAcer:ct10:cvrV1.29:
dmi.product.family: BDW
dmi.product.name: Aspire V3-371
dmi.product.sku: Aspire V3-371_0919_1.29
dmi.product.version: V1.29
dmi.sys.vendor: Acer

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

apport information

tags: added: apport-collected third-party-packages ulyssa
description: updated
Revision history for this message
Yvan Masson (yvan-masson) wrote : CRDA.txt

apport information

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

apport information

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

apport information

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

apport information

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

apport information

Revision history for this message
Yvan Masson (yvan-masson) wrote : Lspci-vt.txt

apport information

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

apport information

Revision history for this message
Yvan Masson (yvan-masson) wrote : Lsusb-t.txt

apport information

Revision history for this message
Yvan Masson (yvan-masson) wrote : Lsusb-v.txt

apport information

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

apport information

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

apport information

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

apport information

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

apport information

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

apport information

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

apport information

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

apport information

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

apport information

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

apport information

Revision history for this message
Ubuntu Foundations Team Bug Bot (crichton) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. It seems that your bug report is not filed about a specific source package though, rather it is just filed against Ubuntu in general. It is important that bug reports be filed about source packages so that people interested in the package can find the bugs about it. You can find some hints about determining what package your bug might be about at https://wiki.ubuntu.com/Bugs/FindRightPackage. You might also ask for help in the #ubuntu-bugs irc channel on Freenode.

To change the source package that this bug is filed about visit https://bugs.launchpad.net/ubuntu/+bug/1933201/+editstatus and add the package name in the text box next to the word Package.

[This is an automated message. I apologize if it reached you inappropriately; please just reply to this message indicating so.]

tags: added: bot-comment
affects: ubuntu → linux (Ubuntu)
Revision history for this message
Ubuntu Kernel Bot (ubuntu-kernel-bot) wrote : Status changed to Confirmed

This change was made by a bot.

Changed in linux (Ubuntu):
status: New → Confirmed
tags: added: focal
Revision history for this message
Damien Lecan (dlecan) wrote :

Same thing for me: Dell XPS 13 with QCA6174 wlan card
It often crashes after the laptop suspend

No porblem if I manually switch off the wlan before suspending.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.