ath11k-qca6390-bringup-202012140938: rebate to v5.10 and MHI M2 workaround
Justin Mazzola Paluska
jmp at justinmp.com
Fri Dec 18 16:27:45 EST 2020
Hi all,
On my Dell XPS 13 9310, the wifi card refuses to work. The card appears
in iwconfig as wlp86s0. When my desktop environment attempts to
initiate a scan, dmesg shows a "firmware crashed" error and eventually
my desktop environment reports errors with the wifi card.
I managed to get the card to work correctly once, right after compiling
and booting into the kernel with the ath11k-qca6390-bringup branch. I
was able to connect to my local access point and check my mail.
However, after that I suspended the machine (s2idle) and the card has
been misbehaving ever since—even after reboots and shutdowns.
In more detail, the crash line is "ath11k_pci 0000:56:00.0: firmware
crashed: MHI_CB_SYS_ERROR" in drivers/net/wireless/ath/ath11k/mac.c:5323
ath11k_mac_op_unassign_vif_chanctx+0x1d8/0x2e0 [ath11k]. The dmesg log
from the problem is at the end of this e-mail.
> In the reports try to include at least:
>
> * name of the bringup branch tag you used
commit 60fad49a69e7b2f896ce7b1ade4ed532227b8e22 (HEAD ->
ath11k-qca6390-bringup, tag: ath11k-qca6390-bringup-202012140938,
origin/ath11k-qca6390-bringup)
> * if there are other changes in the kernel, patches, reverts etc
None.
> * do you use the memmap kernel parameter
I get the crashes both with memmap=20$12 and without.
> * make and model of the laptop/computer (eg. Dell XPS 13 9310)
Hardware name: Dell Inc. XPS 13 9310/0F7M4C, BIOS 1.1.4 11/23/2020
> * how much testing you did
I've done my best to try to get the card to boot. It worked once, but I
haven't been able to get it to work since.
--Justin
[ 118.757840] wlp86s0: authenticate with 08:02:8e:94:ab:fc
[ 118.915328] ath11k_pci 0000:56:00.0: firmware crashed: MHI_CB_SYS_ERROR
[ 119.837308] ath11k_pci 0000:56:00.0: failed to synchronize setup for
vdev 0 start: -110
[ 119.837316] ath11k_pci 0000:56:00.0: failed to start vdev 0 addr
9c:b6:d0:3e:a1:c5 on freq 5580: -110
[ 119.837318] ath11k_pci 0000:56:00.0: failed to delay vdev start: -110
[ 119.837326] ath11k_pci 0000:56:00.0: failed to send WMI_PEER_DELETE cmd
[ 119.837331] ath11k_pci 0000:56:00.0: failed to delete peer vdev_id 0
addr 08:02:8e:94:ab:fc ret -108
[ 119.837335] ath11k_pci 0000:56:00.0: Failed to add station:
08:02:8e:94:ab:fc for VDEV: 0
[ 119.837373] wlp86s0: failed to insert STA entry for the AP (error -110)
[ 119.837418] ------------[ cut here ]------------
[ 119.837437] WARNING: CPU: 3 PID: 797 at
drivers/net/wireless/ath/ath11k/mac.c:5323
ath11k_mac_op_unassign_vif_chanctx+0x1d8/0x2e0 [ath11k]
[ 119.837439] Modules linked in: michael_mic(E) rfcomm(E)
snd_seq_dummy(E) snd_hrtimer(E) snd_seq(E) snd_seq_device(E)
apple_mfi_fastcharge(E) uvcvideo(E) videobuf2_vmalloc(E)
videobuf2_memops(E) videobuf2_v4l2(E) videobuf2_common(E) asix(E)
videodev(E) usbnet(E) mii(E) snd_soc_skl_hda_dsp(E) mc(E) libphy(E)
snd_soc_hdac_hdmi(E) cmac(E) qrtr_mhi(E) snd_soc_dmic(E) algif_hash(E)
algif_skcipher(E) af_alg(E) bnep(E) intel_rapl_msr(E) dell_laptop(E)
dell_smm_hwmon(E) x86_pkg_temp_thermal(E) intel_powerclamp(E)
coretemp(E) kvm_intel(E) kvm(E) snd_hda_codec_hdmi(E) irqbypass(E)
snd_hda_codec_realtek(E) intel_cstate(E) intel_uncore(E)
snd_hda_codec_generic(E) pcspkr(E) serio_raw(E) efi_pstore(E)
snd_sof_pci(E) snd_sof_intel_byt(E) dell_wmi(E) snd_sof_intel_ipc(E)
dell_smbios(E) snd_sof_intel_hda_common(E) dcdbas(E)
snd_sof_xtensa_dsp(E) snd_sof(E) snd_sof_intel_hda(E)
snd_soc_hdac_hda(E) snd_hda_ext_core(E) snd_soc_acpi_intel_match(E)
snd_soc_acpi(E) dell_wmi_descriptor(E) wmi_bmof(E)
[ 119.837506] snd_soc_core(E) qrtr(E) snd_compress(E) ns(E)
ledtrig_audio(E) ath11k_pci(E) snd_hda_intel(E) mhi(E)
snd_intel_dspcfg(E) snd_hda_codec(E) ath11k(E) snd_hda_core(E)
qmi_helpers(E) snd_hwdep(E) snd_pcm(E) snd_timer(E) iTCO_wdt(E)
mac80211(E) intel_pmc_bxt(E) snd(E) iTCO_vendor_support(E) watchdog(E)
soundcore(E) cfg80211(E) libarc4(E) mei_me(E) mei(E) hid_multitouch(E)
joydev(E) nls_ascii(E) hid_sensor_als(E) nls_cp437(E)
hid_sensor_trigger(E) hid_sensor_iio_common(E)
industrialio_triggered_buffer(E) processor_thermal_device(E)
kfifo_buf(E) intel_rapl_common(E) vfat(E) industrialio(E) fat(E)
intel_soc_dts_iosf(E) hci_uart(E) btqca(E) btrtl(E) btbcm(E) btintel(E)
bluetooth(E) ucsi_acpi(E) typec_ucsi(E) typec(E) tpm_crb(E)
jitterentropy_rng(E) drbg(E) ansi_cprng(E) tpm_tis(E) tpm_tis_core(E)
tpm(E) ecdh_generic(E) ecc(E) rng_core(E) rfkill(E) int3403_thermal(E)
int340x_thermal_zone(E) evdev(E) int3400_thermal(E) intel_pmc_core(E)
acpi_thermal_rel(E) intel_hid(E) ac(E) acpi_pad(E)
[ 119.837586] sparse_keymap(E) acpi_tad(E) msr(E) parport_pc(E)
ppdev(E) lp(E) parport(E) fuse(E) configfs(E) efivarfs(E) ip_tables(E)
x_tables(E) autofs4(E) ext4(E) crc32c_generic(E) crc16(E) mbcache(E)
jbd2(E) dm_crypt(E) dm_mod(E) hid_sensor_hub(E) intel_ishtp_hid(E)
wacom(E) usbhid(E) hid_generic(E) crc32_pclmul(E) crc32c_intel(E)
ghash_clmulni_intel(E) rtsx_pci_sdmmc(E) aesni_intel(E) libaes(E)
crypto_simd(E) mmc_core(E) cryptd(E) glue_helper(E) psmouse(E)
i2c_i801(E) i2c_smbus(E) i915(E) xhci_pci(E) i2c_algo_bit(E) nvme(E)
xhci_hcd(E) intel_lpss_pci(E) rtsx_pci(E) drm_kms_helper(E) nvme_core(E)
intel_lpss(E) intel_ish_ipc(E) cec(E) t10_pi(E) idma64(E) usbcore(E)
thunderbolt(E) intel_ishtp(E) crc_t10dif(E) crct10dif_generic(E)
crct10dif_pclmul(E) crct10dif_common(E) drm(E) wmi(E) button(E)
battery(E) i2c_hid(E) hid(E) video(E)
[ 119.837669] CPU: 3 PID: 797 Comm: wpa_supplicant Tainted: G W
I E 5.10.0+ #1
[ 119.837671] Hardware name: Dell Inc. XPS 13 9310/0F7M4C, BIOS 1.1.4
11/23/2020
[ 119.837684] RIP: 0010:ath11k_mac_op_unassign_vif_chanctx+0x1d8/0x2e0
[ath11k]
[ 119.837689] Code: 8b 85 d8 02 00 00 4c 89 e9 be 10 00 00 00 4c 89 e7
48 c7 c2 68 47 41 c1 e8 f5 5a 01 00 80 bd 90 03 00 00 00 0f 85 71 fe ff
ff <0f> 0b e9 6a fe ff ff f0 80 a3 d8 16 00 00 fe f6 05 82 9f 03 00 10
[ 119.837692] RSP: 0018:ffff9d1b40e27800 EFLAGS: 00010246
[ 119.837695] RAX: 0000000000000000 RBX: ffff921880d9ba80 RCX:
0000000000000000
[ 119.837696] RDX: ffff921290cd1600 RSI: ffff92185443f520 RDI:
ffff92188ea835b8
[ 119.837698] RBP: ffff92185443f520 R08: ffff92185443e940 R09:
ffff9d1b40e27650
[ 119.837699] R10: ffff9d1b40e27648 R11: ffffffffb7ec1da8 R12:
ffff921855940000
[ 119.837701] R13: ffff921880d9bad8 R14: ffff92188ea81ea0 R15:
ffff92188ea835b8
[ 119.837704] FS: 00007f0b220d91c0(0000) GS:ffff9218af6c0000(0000)
knlGS:0000000000000000
[ 119.837706] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 119.837708] CR2: 00007feaa5de06f0 CR3: 00000008103c6001 CR4:
0000000000770ee0
[ 119.837709] PKRU: 55555554
[ 119.837711] Call Trace:
[ 119.837765] ieee80211_assign_vif_chanctx+0x8b/0x420 [mac80211]
[ 119.837771] ? mutex_lock+0xe/0x30
[ 119.837783] ? ath11k_mac_op_bss_info_changed+0x3c/0xaf0 [ath11k]
[ 119.837822] __ieee80211_vif_release_channel+0x4f/0x130 [mac80211]
[ 119.837858] ieee80211_vif_release_channel+0x3a/0x50 [mac80211]
[ 119.837905] ieee80211_mgd_auth.cold+0x10a/0x164 [mac80211]
[ 119.837948] cfg80211_mlme_auth+0x127/0x210 [cfg80211]
[ 119.837978] nl80211_authenticate+0x2a1/0x2f0 [cfg80211]
[ 119.837988] genl_family_rcv_msg_doit+0xea/0x150
[ 119.837994] genl_rcv_msg+0xde/0x1d0
[ 119.838022] ? nl80211_parse_key+0x2f0/0x2f0 [cfg80211]
[ 119.838027] ? genl_get_cmd+0xd0/0xd0
[ 119.838031] netlink_rcv_skb+0x50/0xf0
[ 119.838036] genl_rcv+0x24/0x40
[ 119.838039] netlink_unicast+0x201/0x2c0
[ 119.838043] netlink_sendmsg+0x243/0x480
[ 119.838049] sock_sendmsg+0x5e/0x60
[ 119.838054] ____sys_sendmsg+0x22e/0x270
[ 119.838060] ? import_iovec+0x2d/0x30
[ 119.838063] ? sendmsg_copy_msghdr+0x7c/0xa0
[ 119.838066] ___sys_sendmsg+0x75/0xb0
[ 119.838073] ? unix_ioctl+0x56/0x70
[ 119.838077] ? sock_do_ioctl+0x3c/0x130
[ 119.838082] ? __cgroup_bpf_run_filter_setsockopt+0xbe/0x310
[ 119.838084] __sys_sendmsg+0x59/0xa0
[ 119.838090] do_syscall_64+0x33/0x80
[ 119.838094] entry_SYSCALL_64_after_hwframe+0x44/0xa9
[ 119.838098] RIP: 0033:0x7f0b22520263
[ 119.838102] Code: 64 89 02 48 c7 c0 ff ff ff ff eb b7 66 2e 0f 1f 84
00 00 00 00 00 90 64 8b 04 25 18 00 00 00 85 c0 75 14 b8 2e 00 00 00 0f
05 <48> 3d 00 f0 ff ff 77 55 c3 0f 1f 40 00 48 83 ec 28 89 54 24 1c 48
[ 119.838104] RSP: 002b:00007fff3725f588 EFLAGS: 00000246 ORIG_RAX:
000000000000002e
[ 119.838107] RAX: ffffffffffffffda RBX: 00005625b7bf2960 RCX:
00007f0b22520263
[ 119.838109] RDX: 0000000000000000 RSI: 00007fff3725f5c0 RDI:
0000000000000006
[ 119.838111] RBP: 00005625b7c49ff0 R08: 0000000000000004 R09:
00007f0b225dfbe0
[ 119.838112] R10: 00007fff3725f694 R11: 0000000000000246 R12:
00005625b7bf2870
[ 119.838114] R13: 00007fff3725f5c0 R14: 00007fff3725f694 R15:
00005625b7bed460
[ 119.838117] ---[ end trace 496446a48588ce1c ]---
[ 119.838122] ath11k_pci 0000:56:00.0: failed to submit WMI_VDEV_STOP cmd
[ 119.838125] ath11k_pci 0000:56:00.0: failed to stop WMI vdev 0: -108
[ 119.838127] ath11k_pci 0000:56:00.0: failed to stop vdev 0: -108
[ 123.944375] ath11k_warn: 8 callbacks suppressed
[ 123.944380] ath11k_pci 0000:56:00.0: failed to send WMI_START_SCAN_CMDID
[ 123.944386] ath11k_pci 0000:56:00.0: failed to start hw scan: -108
[ 124.945513] ath11k_pci 0000:56:00.0: failed to send WMI_START_SCAN_CMDID
[ 124.945522] ath11k_pci 0000:56:00.0: failed to start hw scan: -108
[ 125.947069] ath11k_pci 0000:56:00.0: failed to send WMI_START_SCAN_CMDID
[ 125.947077] ath11k_pci 0000:56:00.0: failed to start hw scan: -108
[ 126.948532] ath11k_pci 0000:56:00.0: failed to send WMI_START_SCAN_CMDID
[ 126.948538] ath11k_pci 0000:56:00.0: failed to start hw scan: -108
[ 127.949387] ath11k_pci 0000:56:00.0: failed to send WMI_START_SCAN_CMDID
[ 127.949392] ath11k_pci 0000:56:00.0: failed to start hw scan: -108
[ 128.950809] ath11k_pci 0000:56:00.0: failed to send WMI_START_SCAN_CMDID
[ 128.950816] ath11k_pci 0000:56:00.0: failed to start hw scan: -108
[ 129.952271] ath11k_pci 0000:56:00.0: failed to send WMI_START_SCAN_CMDID
[ 129.952278] ath11k_pci 0000:56:00.0: failed to start hw scan: -108
[ 130.953476] ath11k_pci 0000:56:00.0: failed to send WMI_START_SCAN_CMDID
[ 130.953484] ath11k_pci 0000:56:00.0: failed to start hw scan: -108
[ 131.954808] ath11k_pci 0000:56:00.0: failed to send WMI_START_SCAN_CMDID
[ 131.954816] ath11k_pci 0000:56:00.0: failed to start hw scan: -108
[ 132.956251] ath11k_pci 0000:56:00.0: failed to send WMI_START_SCAN_CMDID
[ 132.956258] ath11k_pci 0000:56:00.0: failed to start hw scan: -108
[ 133.957716] ath11k_pci 0000:56:00.0: failed to send WMI_START_SCAN_CMDID
[ 133.957723] ath11k_pci 0000:56:00.0: failed to start hw scan: -108
[ 134.958913] ath11k_pci 0000:56:00.0: failed to send WMI_START_SCAN_CMDID
[ 134.958919] ath11k_pci 0000:56:00.0: failed to start hw scan: -108
[ 135.960151] ath11k_pci 0000:56:00.0: failed to send WMI_START_SCAN_CMDID
[ 135.960153] ath11k_pci 0000:56:00.0: failed to start hw scan: -108
[ 136.961341] ath11k_pci 0000:56:00.0: failed to send WMI_START_SCAN_CMDID
[ 136.961347] ath11k_pci 0000:56:00.0: failed to start hw scan: -108
[ 137.962608] ath11k_pci 0000:56:00.0: failed to send WMI_START_SCAN_CMDID
[ 137.962611] ath11k_pci 0000:56:00.0: failed to start hw scan: -108
[ 138.963703] ath11k_pci 0000:56:00.0: failed to send WMI_START_SCAN_CMDID
[ 138.963704] ath11k_pci 0000:56:00.0: failed to start hw scan: -108
[ 139.964840] ath11k_pci 0000:56:00.0: failed to send WMI_START_SCAN_CMDID
[ 139.964842] ath11k_pci 0000:56:00.0: failed to start hw scan: -108
[ 140.001899] ath11k_pci 0000:56:00.0: fail to set monitor filter: -108
[ 140.001946] ath11k_pci 0000:56:00.0: failed to submit
WMI_VDEV_DELETE_CMDID
[ 140.001948] ath11k_pci 0000:56:00.0: failed to delete WMI vdev 0: -108
[ 140.001949] ath11k_pci 0000:56:00.0: removing stale peer
08:02:8e:94:ab:fc from vdev_id 0
[ 140.001985] ath11k_pci 0000:56:00.0: failed to clear rx_filter for
monitor status ring: (-108)
[ 140.025482] ath11k_pci 0000:56:00.0: failed to send
WMI_PDEV_SET_PARAM cmd
[ 140.025484] ath11k_pci 0000:56:00.0: failed to enable PMF QOS: (-108
More information about the ath11k
mailing list