Bug 1160826 - ath10k (qca6174) firmware failed on suspend.
ath10k (qca6174) firmware failed on suspend.
Status: NEW
Classification: openSUSE
Product: openSUSE Distribution
Classification: openSUSE
Component: Kernel
Leap 15.1
x86-64 Linux
: P5 - None : Major (vote)
: ---
Assigned To: openSUSE Kernel Bugs
E-mail List
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2020-01-14 01:52 UTC by Gary Artim
Modified: 2021-12-31 13:10 UTC (History)
4 users (show)

See Also:
Found By: ---
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---
tiwai: needinfo? (gartim)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Gary Artim 2020-01-14 01:52:46 UTC
wifi adapter crashing, included log and lspci for the card.

lspci: 

linux-e0yv:/home/gartim # lspci -v | grep -A 10 -i "Network Controller"
01:00.0 Network controller: Qualcomm Atheros QCA6174 802.11ac Wireless Network Adapter (rev 20)
	Subsystem: Samsung Electronics Co Ltd Device 4125
	Flags: bus master, fast devsel, latency 0, IRQ 48
	Memory at f7000000 (64-bit, non-prefetchable) [size=2M]
	Capabilities: [40] Power Management version 3
	Capabilities: [50] MSI: Enable+ Count=1/8 Maskable+ 64bit-
	Capabilities: [70] Express Endpoint, MSI 00
	Capabilities: [100] Advanced Error Reporting
	Capabilities: [148] Virtual Channel
	Capabilities: [168] Device Serial Number 00-00-00-00-00-00-00-00
	Capabilities: [178] Latency Tolerance Reporting

messages:

[  552.314963] wlan0: deauthenticating from f8:1a:67:32:ee:14 by local choice (Reason: 3=DEAUTH_LEAVING)
[  552.319541] ath10k_pci 0000:01:00.0: firmware crashed! (guid a015c882-8481-4578-b366-b18a3eb0bd70)
[  552.319546] ath10k_pci 0000:01:00.0: qca6174 hw2.1 target 0x05010000 chip_id 0x003405ff sub 144d:4125
[  552.319549] ath10k_pci 0000:01:00.0: kconfig debug 0 debugfs 0 tracing 0 dfs 0 testmode 0
[  552.320043] ath10k_pci 0000:01:00.0: firmware ver SW_RM.1.1.1-00157-QCARMSWPZ-1 api 5 features ignore-otp,no-4addr-pad crc32 10bf8e08
[  552.320298] ath10k_pci 0000:01:00.0: board_file api 2 bmi_id N/A crc32 ae2e275a
[  552.320302] ath10k_pci 0000:01:00.0: htt-ver 3.1 wmi-op 4 htt-op 3 cal otp max-sta 32 raw 0 hwcrypto 1
[  552.322321] ath10k_pci 0000:01:00.0: firmware register dump:
[  552.322325] ath10k_pci 0000:01:00.0: [00]: 0x05010000 0x00000000 0x0092E4DC 0xB1B4C562
[  552.322327] ath10k_pci 0000:01:00.0: [04]: 0x0092E4DC 0x00060130 0x00000018 0x0041A760
[  552.322330] ath10k_pci 0000:01:00.0: [08]: 0xB1B4C54E 0x00400000 0x00000000 0x000A5C88
[  552.322333] ath10k_pci 0000:01:00.0: [12]: 0x00000009 0x00000000 0x0096C09C 0x0096C0A7
[  552.322335] ath10k_pci 0000:01:00.0: [16]: 0x0096BDBC 0x009287BD 0x00000000 0x009287BD
[  552.322338] ath10k_pci 0000:01:00.0: [20]: 0x4092E4DC 0x0041A710 0x00000000 0x0F000000
[  552.322340] ath10k_pci 0000:01:00.0: [24]: 0x809432A7 0x0041A770 0x0040D400 0xC092E4DC
[  552.322343] ath10k_pci 0000:01:00.0: [28]: 0x80942BC4 0x0041A790 0xB1B4C54E 0x00400000
[  552.322345] ath10k_pci 0000:01:00.0: [32]: 0x80947BA7 0x0041A7B0 0x004050A8 0x0040E074
[  552.322348] ath10k_pci 0000:01:00.0: [36]: 0x809BDECC 0x0041A7D0 0x004050A8 0x0040E074
[  552.322351] ath10k_pci 0000:01:00.0: [40]: 0x8099638C 0x0041A7F0 0x004050A8 0x00000000
[  552.322353] ath10k_pci 0000:01:00.0: [44]: 0x80992076 0x0041A810 0x0044FD68 0x0046FFE8
[  552.322356] ath10k_pci 0000:01:00.0: [48]: 0x80996BD3 0x0041A830 0x0044FD68 0x00000000
[  552.322358] ath10k_pci 0000:01:00.0: [52]: 0x800B4405 0x0041A850 0x00422318 0x00005002
[  552.322361] ath10k_pci 0000:01:00.0: [56]: 0x809A6C34 0x0041A8E0 0x0042932C 0x0042CA44
[  552.322363] ath10k_pci 0000:01:00.0: Copy Engine register dump:
[  552.322372] ath10k_pci 0000:01:00.0: [00]: 0x00034400   1   1   3   3
[  552.322381] ath10k_pci 0000:01:00.0: [01]: 0x00034800  30  30 385 386
[  552.322389] ath10k_pci 0000:01:00.0: [02]: 0x00034c00  45  45 108 109
[  552.322398] ath10k_pci 0000:01:00.0: [03]: 0x00035000  13  13  14  13
[  552.322407] ath10k_pci 0000:01:00.0: [04]: 0x00035400 341 341 236 172
[  552.322433] ath10k_pci 0000:01:00.0: [05]: 0x00035800   0   0   0   0
[  552.322446] ath10k_pci 0000:01:00.0: [06]: 0x00035c00  27  27  27  27
[  552.322458] ath10k_pci 0000:01:00.0: [07]: 0x00036000   1   1   1   1
[  552.333738] ath10k_pci 0000:01:00.0: failed to create WMI vdev 0: -108
[  552.333863] ath10k_pci 0000:01:00.0: failed to update channel list: -108
Comment 1 Takashi Iwai 2020-01-14 08:36:34 UTC
Is this a regression?  If yes, could you figure out which update broke, and check whether the old kernel still works as is?
Comment 2 Gary Artim 2020-01-14 23:18:28 UTC
the current kernel:
++++++++++++++++++

Linux linux-e0yv 4.12.14-lp151.28.36-default #1 SMP Fri Dec 6 13:50:27 UTC 2019 (8f4a495) x86_64 x86_64 x86_64 GNU/

additional:
++++++++++

I did a fresh install and followed all the updates. I think the errors on the wifi were happening before, don't think I ever reported it. (did the fresh install because of a dependence hell that occurred trying to get vlc to play h264 video, didn't feel comfortable with it).

Don't know if this helps? could dig further, currently running a Samsung np930x2k. Nice lightweight laptop. 

I do get, after the firmware dump:
+++++++++++++++++++++++++++++++++

[ 3063.536383] ieee80211 phy0: Hardware restart was requested
[ 3064.867439] ath10k_pci 0000:01:00.0: device successfully recovered

Thought it should be reported. g.
Comment 3 Takashi Iwai 2020-01-21 13:36:06 UTC
Thanks for the updates.  Yes, it's definitely a bug to be tracked.

Could you check whether the latest upstream kernel works in this regard?
Unless you use secure boot, just download the kernel-default package from OBS Kernel:stable repo and install on your system.
  http://download.opensuse.org/repositories/Kernel:/stable/standard/
Comment 4 Gary Artim 2020-01-21 19:03:53 UTC
Ok, will try and report back shortly. G.
Comment 5 Gary Artim 2020-01-24 18:43:09 UTC
Still get the firmware crash on suspend [see below]. 
Kernel now after upgrade:
uname -a
Linux linux-e0yv 5.4.14-1.gfc4ea7a-default #1 SMP Thu Jan 23 08:54:47 UTC 2020 (fc4ea7a) x86_64 x86_64 x86_64 GNU/Linux

2020-01-24T10:30:57.853045-08:00 linux-e0yv kernel: [  175.305822] ath10k_pci 0000:01:00.0: firmware crashed! (guid e6b8d74b-47c5-4823-a206-618857e4d642)
2020-01-24T10:30:57.853060-08:00 linux-e0yv kernel: [  175.305828] ath10k_pci 0000:01:00.0: qca6174 hw2.1 target 0x05010000 chip_id 0x003405ff sub 144d:4125
2020-01-24T10:30:57.853063-08:00 linux-e0yv kernel: [  175.305831] ath10k_pci 0000:01:00.0: kconfig debug 0 debugfs 0 tracing 0 dfs 0 testmode 0
2020-01-24T10:30:57.853064-08:00 linux-e0yv kernel: [  175.306359] ath10k_pci 0000:01:00.0: firmware ver SW_RM.1.1.1-00157-QCARMSWPZ-1 api 5 features ignore-otp,no-4addr-pad crc32 10bf8e08
2020-01-24T10:30:57.853066-08:00 linux-e0yv kernel: [  175.306637] ath10k_pci 0000:01:00.0: board_file api 2 bmi_id N/A crc32 ae2e275a
2020-01-24T10:30:57.853067-08:00 linux-e0yv kernel: [  175.306642] ath10k_pci 0000:01:00.0: htt-ver 3.1 wmi-op 4 htt-op 3 cal otp max-sta 32 raw 0 hwcrypto 1
2020-01-24T10:30:57.853068-08:00 linux-e0yv kernel: [  175.306972] ath10k_pci 0000:01:00.0: firmware register dump:
2020-01-24T10:30:57.853069-08:00 linux-e0yv kernel: [  175.306975] ath10k_pci 0000:01:00.0: [00]: 0x05010000 0x00000000 0x0092E4DC 0x5A59A9BE
2020-01-24T10:30:57.853071-08:00 linux-e0yv kernel: [  175.306978] ath10k_pci 0000:01:00.0: [04]: 0x0092E4DC 0x00060130 0x00000018 0x0041A760
2020-01-24T10:30:57.853072-08:00 linux-e0yv kernel: [  175.306981] ath10k_pci 0000:01:00.0: [08]: 0x5A59A9AA 0x00400000 0x00000000 0x000A5C88
2020-01-24T10:30:57.853073-08:00 linux-e0yv kernel: [  175.306984] ath10k_pci 0000:01:00.0: [12]: 0x00000009 0x00000000 0x0096C09C 0x0096C0A7
2020-01-24T10:30:57.853075-08:00 linux-e0yv kernel: [  175.306986] ath10k_pci 0000:01:00.0: [16]: 0x0096BDBC 0x009287BD 0x00000000 0x009287BD
2020-01-24T10:30:57.853076-08:00 linux-e0yv kernel: [  175.306988] ath10k_pci 0000:01:00.0: [20]: 0x4092E4DC 0x0041A710 0x00000000 0x0F000000
2020-01-24T10:30:57.853077-08:00 linux-e0yv kernel: [  175.306991] ath10k_pci 0000:01:00.0: [24]: 0x809432A7 0x0041A770 0x0040D400 0xC092E4DC
2020-01-24T10:30:57.853079-08:00 linux-e0yv kernel: [  175.306994] ath10k_pci 0000:01:00.0: [28]: 0x80942BC4 0x0041A790 0x5A59A9AA 0x00400000
2020-01-24T10:30:57.853080-08:00 linux-e0yv kernel: [  175.306997] ath10k_pci 0000:01:00.0: [32]: 0x80947BA7 0x0041A7B0 0x004050A8 0x0040E074
2020-01-24T10:30:57.853081-08:00 linux-e0yv kernel: [  175.306999] ath10k_pci 0000:01:00.0: [36]: 0x809BDECC 0x0041A7D0 0x004050A8 0x0040E074
2020-01-24T10:30:57.853083-08:00 linux-e0yv kernel: [  175.307001] ath10k_pci 0000:01:00.0: [40]: 0x8099638C 0x0041A7F0 0x004050A8 0x00000000
2020-01-24T10:30:57.853084-08:00 linux-e0yv kernel: [  175.307004] ath10k_pci 0000:01:00.0: [44]: 0x80992076 0x0041A810 0x0044FD68 0x0046FFE8
2020-01-24T10:30:57.853085-08:00 linux-e0yv kernel: [  175.307006] ath10k_pci 0000:01:00.0: [48]: 0x80996BD3 0x0041A830 0x0044FD68 0x00000000
2020-01-24T10:30:57.853086-08:00 linux-e0yv kernel: [  175.307009] ath10k_pci 0000:01:00.0: [52]: 0x800B4405 0x0041A850 0x00422318 0x00005002
2020-01-24T10:30:57.853087-08:00 linux-e0yv kernel: [  175.307012] ath10k_pci 0000:01:00.0: [56]: 0x809A6C34 0x0041A8E0 0x0042932C 0x0042CA44
2020-01-24T10:30:57.853088-08:00 linux-e0yv kernel: [  175.307014] ath10k_pci 0000:01:00.0: Copy Engine register dump:
2020-01-24T10:30:57.853090-08:00 linux-e0yv kernel: [  175.307025] ath10k_pci 0000:01:00.0: [00]: 0x00034400   1   1   3   3
2020-01-24T10:30:57.853091-08:00 linux-e0yv kernel: [  175.307033] ath10k_pci 0000:01:00.0: [01]: 0x00034800   4   4 295 296
2020-01-24T10:30:57.853092-08:00 linux-e0yv kernel: [  175.307043] ath10k_pci 0000:01:00.0: [02]: 0x00034c00  25  25  24  25
2020-01-24T10:30:57.853093-08:00 linux-e0yv kernel: [  175.307051] ath10k_pci 0000:01:00.0: [03]: 0x00035000  15  15  16  15
2020-01-24T10:30:57.853095-08:00 linux-e0yv kernel: [  175.307061] ath10k_pci 0000:01:00.0: [04]: 0x00035400 287 287 209 145
2020-01-24T10:30:57.853096-08:00 linux-e0yv kernel: [  175.307069] ath10k_pci 0000:01:00.0: [05]: 0x00035800   0   0   0   0
2020-01-24T10:30:57.853097-08:00 linux-e0yv kernel: [  175.307078] ath10k_pci 0000:01:00.0: [06]: 0x00035c00  13  13  13  13
2020-01-24T10:30:57.853099-08:00 linux-e0yv kernel: [  175.307087] ath10k_pci 0000:01:00.0: [07]: 0x00036000   1   1   1   1
2020-01-24T10:30:57.853100-08:00 linux-e0yv kernel: [  175.307333] ath10k_pci 0000:01:00.0: failed to create WMI vdev 0: -108
2020-01-24T10:30:57.856287-08:00 linux-e0yv kernel: [  175.308886] ath10k_pci 0000:01:00.0: failed to update channel list: -108
2020-01-24T10:30:57.856303-08:00 linux-e0yv kernel: [  175.308890] ath10k_pci 0000:01:00.0: failed to set pdev regdomain: -108
2020-01-24T10:30:57.936314-08:00 linux-e0yv kernel: [  175.388924] ieee80211 phy0: Hardware restart was requested
2020-01-24T10:30:57.946307-08:00 linux-e0yv nscd: 1139 ignored inotify event for `/etc/resolv.conf` (file exists)
2020-01-24T10:30:57.946661-08:00 linux-e0yv nscd: 1139 ignored inotify event for `/etc/resolv.conf` (file exists)
2020-01-24T10:30:59.224300-08:00 linux-e0yv kernel: [  176.679138] ath10k_pci 0000:01:00.0: unsupported HTC service id: 1536
2020-01-24T10:30:59.256634-08:00 linux-e0yv kernel: [  176.708850] ath10k_pci 0000:01:00.0: device successfully recovered
2020-01-24T10:30:59.272504-08:00 linux-e0yv systemd[1]: Reached target Sleep.
2020-01-24T10:30:59.272860-08:00 linux-e0yv systemd[1]: Starting Suspend...
2020-01-24T10:30:59.279026-08:00 linux-e0yv chronyd[1250]: Source 38.229.71.1 offline
Comment 6 Takashi Iwai 2020-01-24 18:47:58 UTC
Then could you report the issue to upstream?  e.g. bugzilla.kernel.org.

Feel free to put me (tiwai@suse.de) to Cc there in case you need assistance from the distro side.  Thanks!
Comment 7 Miroslav Beneš 2020-05-04 13:34:22 UTC
Gary, anything new here? Have you reported the problem upstream?
Comment 8 gary artim 2020-05-05 19:58:16 UTC
No change still crashes and recovers. No response upstream, thanks for the checkin.
Comment 9 Miroslav Beneš 2021-12-31 13:10:33 UTC
Gary, any news? Could you provide a link to the upstream report, please?

Also, Leap 15.1 is not supported anymore (Leap 15.3 is), so I am inclined to close the bug.