Kernel issue causes wifi interface failure

Bug #1824023 reported by dn
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
linux-signed-hwe (Ubuntu)
New
Undecided
Unassigned

Bug Description

Hardware: Lenovo yoga 920

PCI and Wifi interface errors cause wifi kernel driver to failure which requires restarting networkmanager and a power management suspend/wakeup for the wifi interface to work up. Occasionally it requires a full reboot as it won't work at all or it crashes the system.

A smattering of the common errors:
Apr 9 13:19:11 videodrome kernel: [94618.356210] pcieport 0000:00:1c.4: PCIe Bus Error: severity=Corrected, type=Data Link Layer, (Transmitter ID)
Apr 9 13:19:11 videodrome kernel: [94618.356220] pcieport 0000:00:1c.4: device [8086:9d14] error status/mask=00001000/00002000
Apr 9 13:19:11 videodrome kernel: [94618.356227] pcieport 0000:00:1c.4: [12] Replay Timer Timeout
Apr 9 13:19:13 videodrome kernel: [94619.790915] pcieport 0000:00:1c.4: AER: Corrected error received: 0000:00:1c.4

Apr 9 09:25:58 videodrome kernel: [80623.389220] WARNING: CPU: 1 PID: 702 at /build/linux-hwe-4PejID/linux-hwe-4.18.0/net/mac80211/sta_info.c:1004 __sta_info_destroy_part2+0x16e/0x180 [mac80211]
Apr 9 09:25:58 videodrome kernel: [80623.389221] Modules linked in: ccm rfcomm thunderbolt hid_sensor_accel_3d hid_sensor_als hid_sensor_trigger industrialio_triggered_buffer kfifo_buf hid_sensor_iio_common industrialio hid_sensor_custom joydev wacom usbhid hid_multitouch hid_sensor_hub bnep snd_hda_codec_hdmi snd_hda_codec_realtek snd_hda_codec_generic 8250_dw hid_generic arc4 nls_iso8859_1 snd_soc_skl snd_soc_skl_ipc snd_soc_sst_ipc snd_soc_sst_dsp snd_hda_ext_core snd_soc_acpi snd_soc_core snd_compress ac97_bus snd_pcm_dmaengine snd_hda_intel snd_hda_codec snd_hda_core snd_hwdep snd_pcm intel_rapl x86_pkg_temp_thermal intel_powerclamp intel_wmi_thunderbolt wmi_bmof coretemp kvm snd_seq_midi snd_seq_midi_event irqbypass snd_rawmidi crct10dif_pclmul crc32_pclmul ghash_clmulni_intel pcbc i915 snd_seq aesni_intel snd_seq_device aes_x86_64
Apr 9 09:25:58 videodrome kernel: [80623.389287] crypto_simd ath10k_pci cryptd glue_helper snd_timer ath10k_core drm_kms_helper intel_cstate drm btusb intel_rapl_perf btrtl ath btbcm btintel uvcvideo mac80211 bluetooth i2c_algo_bit snd input_leds videobuf2_vmalloc videobuf2_memops serio_raw videobuf2_v4l2 fb_sys_fops videobuf2_common idma64 videodev mei_me syscopyarea virt_dma media cfg80211 ucsi_acpi sysfillrect ideapad_laptop processor_thermal_device ecdh_generic soundcore intel_lpss_pci typec_ucsi sparse_keymap mei intel_pch_thermal sysimgblt intel_lpss intel_soc_dts_iosf typec wmi int3403_thermal int340x_thermal_zone video mac_hid int3400_thermal acpi_pad acpi_thermal_rel sch_fq_codel parport_pc ppdev lp parport ip_tables x_tables autofs4 nvme nvme_core i2c_hid hid
Apr 9 09:25:58 videodrome kernel: [80623.389370] CPU: 1 PID: 702 Comm: wpa_supplicant Not tainted 4.18.0-17-generic #18~18.04.1-Ubuntu
Apr 9 09:25:58 videodrome kernel: [80623.389372] Hardware name: LENOVO 80Y7/LNVNB161216, BIOS 5NCN36WW 12/24/2017
Apr 9 09:25:58 videodrome kernel: [80623.389399] RIP: 0010:__sta_info_destroy_part2+0x16e/0x180 [mac80211]
Apr 9 09:25:58 videodrome kernel: [80623.389401] Code: bb 0c 01 00 00 00 0f 84 2e ff ff ff 45 31 c0 b9 01 00 00 00 48 89 da 4c 89 ee 4c 89 e7 e8 ca a9 ff ff 85 c0 0f 84 10 ff ff ff <0f> 0b e9 09 ff ff ff 90 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00
Apr 9 09:25:58 videodrome kernel: [80623.389465] RSP: 0018:ffff992e420f77e0 EFLAGS: 00010282
Apr 9 09:25:58 videodrome kernel: [80623.389469] RAX: 00000000ffffff94 RBX: ffff8cff231a8000 RCX: 0000000000000000
Apr 9 09:25:58 videodrome kernel: [80623.389471] RDX: ffff8cff1ea28000 RSI: 00000000fffffe01 RDI: 0000000000000000
Apr 9 09:25:58 videodrome kernel: [80623.389473] RBP: ffff992e420f7800 R08: 0000000000000000 R09: 0000000000000004
Apr 9 09:25:58 videodrome kernel: [80623.389475] R10: ffffdf460fa0ba00 R11: 0000000000000000 R12: ffff8cff27b40760
Apr 9 09:25:58 videodrome kernel: [80623.389477] R13: ffff8cff2b1c4900 R14: ffff8cff2b1c4900 R15: ffff8cff27b40cb0
Apr 9 09:25:58 videodrome kernel: [80623.389481] FS: 00007fad72992800(0000) GS:ffff8cff41c40000(0000) knlGS:0000000000000000
Apr 9 09:25:58 videodrome kernel: [80623.389483] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
Apr 9 09:25:58 videodrome kernel: [80623.389485] CR2: 00007f15d5172020 CR3: 00000004aa95a002 CR4: 00000000003606e0
Apr 9 09:25:58 videodrome kernel: [80623.389487] Call Trace:
Apr 9 09:25:58 videodrome kernel: [80623.389515] __sta_info_flush+0x12b/0x180 [mac80211]
Apr 9 09:25:58 videodrome kernel: [80623.389552] ieee80211_set_disassoc+0xbd/0x5d0 [mac80211]
Apr 9 09:25:58 videodrome kernel: [80623.389561] ? __kmalloc+0x210/0x250
Apr 9 09:25:58 videodrome kernel: [80623.389595] ieee80211_mgd_auth+0x258/0x3a0 [mac80211]
Apr 9 09:25:58 videodrome kernel: [80623.389625] ieee80211_auth+0x18/0x20 [mac80211]
Apr 9 09:25:58 videodrome kernel: [80623.389668] cfg80211_mlme_auth+0x103/0x210 [cfg80211]
Apr 9 09:25:58 videodrome kernel: [80623.389696] nl80211_authenticate+0x2f0/0x350 [cfg80211]
Apr 9 09:25:58 videodrome kernel: [80623.389706] genl_family_rcv_msg+0x1fe/0x3f0
Apr 9 09:25:58 videodrome kernel: [80623.389712] genl_rcv_msg+0x4c/0x90
Apr 9 09:25:58 videodrome kernel: [80623.389717] ? genl_family_rcv_msg+0x3f0/0x3f0
Apr 9 09:25:58 videodrome kernel: [80623.389721] netlink_rcv_skb+0x54/0x130
Apr 9 09:25:58 videodrome kernel: [80623.389726] genl_rcv+0x28/0x40
Apr 9 09:25:58 videodrome kernel: [80623.389731] netlink_unicast+0x1ab/0x250
Apr 9 09:25:58 videodrome kernel: [80623.389735] netlink_sendmsg+0x2d1/0x3d0
Apr 9 09:25:58 videodrome kernel: [80623.389741] sock_sendmsg+0x3e/0x50
Apr 9 09:25:58 videodrome kernel: [80623.389745] ___sys_sendmsg+0x2a0/0x2f0
Apr 9 09:25:58 videodrome kernel: [80623.389750] ? sock_destroy_inode+0x2f/0x40
Apr 9 09:25:58 videodrome kernel: [80623.389755] ? destroy_inode+0x3e/0x60
Apr 9 09:25:58 videodrome kernel: [80623.389760] ? __check_object_size+0xac/0x1a0
Apr 9 09:25:58 videodrome kernel: [80623.389764] ? sock_ioctl+0x1e8/0x340
Apr 9 09:25:58 videodrome kernel: [80623.389771] ? __dentry_kill+0x12d/0x170
Apr 9 09:25:58 videodrome kernel: [80623.389776] __sys_sendmsg+0x63/0xa0
Apr 9 09:25:58 videodrome kernel: [80623.389780] ? __sys_sendmsg+0x63/0xa0
Apr 9 09:25:58 videodrome kernel: [80623.389786] __x64_sys_sendmsg+0x1f/0x30
Apr 9 09:25:58 videodrome kernel: [80623.389792] do_syscall_64+0x5a/0x120
Apr 9 09:25:58 videodrome kernel: [80623.389798] entry_SYSCALL_64_after_hwframe+0x44/0xa9
Apr 9 09:25:58 videodrome kernel: [80623.389801] RIP: 0033:0x7fad71167d04
Apr 9 09:25:58 videodrome kernel: [80623.389802] Code: 00 f7 d8 64 89 02 48 c7 c0 ff ff ff ff eb b5 0f 1f 80 00 00 00 00 48 8d 05 01 dc 2c 00 8b 00 85 c0 75 13 b8 2e 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 54 f3 c3 66 90 41 54 55 41 89 d4 53 48 89 f5
Apr 9 09:25:58 videodrome kernel: [80623.389866] RSP: 002b:00007fff608bbf78 EFLAGS: 00000246 ORIG_RAX: 000000000000002e
Apr 9 09:25:58 videodrome kernel: [80623.389870] RAX: ffffffffffffffda RBX: 0000563ac5352b70 RCX: 00007fad71167d04
Apr 9 09:25:58 videodrome kernel: [80623.389872] RDX: 0000000000000000 RSI: 00007fff608bbfb0 RDI: 0000000000000006
Apr 9 09:25:58 videodrome kernel: [80623.389874] RBP: 0000563ac53c71e0 R08: 0000000000000000 R09: 00007fad71430c40
Apr 9 09:25:58 videodrome kernel: [80623.389876] R10: 0000000000000007 R11: 0000000000000246 R12: 0000563ac5352a80
Apr 9 09:25:58 videodrome kernel: [80623.389878] R13: 00007fff608bbfb0 R14: 0000000000000000 R15: 00000000ffffffff
Apr 9 09:25:58 videodrome kernel: [80623.389882] ---[ end trace 4e8d2874ec42d9d9 ]---

Apr 9 10:29:29 videodrome kernel: [84435.567997] WARNING: CPU: 7 PID: 20625 at /build/linux-hwe-4PejID/linux-hwe-4.18.0/net/mac80211/driver-ops.c:39 drv_stop+0xed/0x100 [mac80211]
Apr 9 10:29:29 videodrome kernel: [84435.567997] Modules linked in: ccm rfcomm thunderbolt hid_sensor_accel_3d hid_sensor_als hid_sensor_trigger industrialio_triggered_buffer kfifo_buf hid_sensor_iio_common industrialio hid_sensor_custom joydev wacom usbhid hid_multitouch hid_sensor_hub bnep snd_hda_codec_hdmi snd_hda_codec_realtek snd_hda_codec_generic 8250_dw hid_generic arc4 nls_iso8859_1 snd_soc_skl snd_soc_skl_ipc snd_soc_sst_ipc snd_soc_sst_dsp snd_hda_ext_core snd_soc_acpi snd_soc_core snd_compress ac97_bus snd_pcm_dmaengine snd_hda_intel snd_hda_codec snd_hda_core snd_hwdep snd_pcm intel_rapl x86_pkg_temp_thermal intel_powerclamp intel_wmi_thunderbolt wmi_bmof coretemp kvm snd_seq_midi snd_seq_midi_event irqbypass snd_rawmidi crct10dif_pclmul crc32_pclmul ghash_clmulni_intel pcbc i915 snd_seq aesni_intel snd_seq_device aes_x86_64
Apr 9 10:29:29 videodrome kernel: [84435.568019] crypto_simd ath10k_pci cryptd glue_helper snd_timer ath10k_core drm_kms_helper intel_cstate drm btusb intel_rapl_perf btrtl ath btbcm btintel uvcvideo mac80211 bluetooth i2c_algo_bit snd input_leds videobuf2_vmalloc videobuf2_memops serio_raw videobuf2_v4l2 fb_sys_fops videobuf2_common idma64 videodev mei_me syscopyarea virt_dma media cfg80211 ucsi_acpi sysfillrect ideapad_laptop processor_thermal_device ecdh_generic soundcore intel_lpss_pci typec_ucsi sparse_keymap mei intel_pch_thermal sysimgblt intel_lpss intel_soc_dts_iosf typec wmi int3403_thermal int340x_thermal_zone video mac_hid int3400_thermal acpi_pad acpi_thermal_rel sch_fq_codel parport_pc ppdev lp parport ip_tables x_tables autofs4 nvme nvme_core i2c_hid hid
Apr 9 10:29:29 videodrome kernel: [84435.568047] CPU: 7 PID: 20625 Comm: kworker/7:0 Tainted: G W 4.18.0-17-generic #18~18.04.1-Ubuntu
Apr 9 10:29:29 videodrome kernel: [84435.568047] Hardware name: LENOVO 80Y7/LNVNB161216, BIOS 5NCN36WW 12/24/2017
Apr 9 10:29:29 videodrome kernel: [84435.568055] Workqueue: events_freezable ieee80211_restart_work [mac80211]
Apr 9 10:29:29 videodrome kernel: [84435.568063] RIP: 0010:drv_stop+0xed/0x100 [mac80211]
Apr 9 10:29:29 videodrome kernel: [84435.568063] Code: 09 00 4d 85 e4 74 1e 49 8b 04 24 49 8b 7c 24 08 49 83 c4 18 48 89 de e8 01 77 af e7 49 8b 04 24 48 85 c0 75 e6 e9 51 ff ff ff <0f> 0b 5b 41 5c 5d c3 66 90 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44
Apr 9 10:29:29 videodrome kernel: [84435.568087] RSP: 0018:ffff992e47527c30 EFLAGS: 00010246
Apr 9 10:29:29 videodrome kernel: [84435.568089] RAX: 0000000000000000 RBX: ffff8cff27b40760 RCX: 0000000000000000
Apr 9 10:29:29 videodrome kernel: [84435.568090] RDX: ffff8cfe3a3c4680 RSI: 0000000000000286 RDI: ffff8cff27b40760
Apr 9 10:29:29 videodrome kernel: [84435.568090] RBP: ffff992e47527c40 R08: 0000000000000000 R09: 0000000000000000
Apr 9 10:29:29 videodrome kernel: [84435.568091] R10: ffff992e47527c50 R11: 0000000000000000 R12: ffff8cff27b40ff0
Apr 9 10:29:29 videodrome kernel: [84435.568092] R13: ffff8cff27b40ee8 R14: ffff8cff27b40760 R15: ffff8cff2b1c53d0
Apr 9 10:29:29 videodrome kernel: [84435.568093] FS: 0000000000000000(0000) GS:ffff8cff41dc0000(0000) knlGS:0000000000000000
Apr 9 10:29:29 videodrome kernel: [84435.568094] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
Apr 9 10:29:29 videodrome kernel: [84435.568094] CR2: 00007f97218d3000 CR3: 0000000285a0a003 CR4: 00000000003606e0
Apr 9 10:29:29 videodrome kernel: [84435.568095] Call Trace:
Apr 9 10:29:29 videodrome kernel: [84435.568105] ieee80211_stop_device+0x43/0x50 [mac80211]
Apr 9 10:29:29 videodrome kernel: [84435.568115] ieee80211_do_stop+0x4c9/0x7f0 [mac80211]
Apr 9 10:29:29 videodrome kernel: [84435.568123] ieee80211_stop+0x1a/0x20 [mac80211]
Apr 9 10:29:29 videodrome kernel: [84435.568125] __dev_close_many+0xa5/0x120
Apr 9 10:29:29 videodrome kernel: [84435.568126] dev_close_many+0x8c/0x140
Apr 9 10:29:29 videodrome kernel: [84435.568128] ? do_invalid_op+0x20/0x30
Apr 9 10:29:29 videodrome kernel: [84435.568129] dev_close.part.92+0x4a/0x70
Apr 9 10:29:29 videodrome kernel: [84435.568131] dev_close+0x19/0x20
Apr 9 10:29:29 videodrome kernel: [84435.568139] cfg80211_shutdown_all_interfaces+0x77/0xd0 [cfg80211]
Apr 9 10:29:29 videodrome kernel: [84435.568150] ieee80211_handle_reconfig_failure+0x98/0xb0 [mac80211]
Apr 9 10:29:29 videodrome kernel: [84435.568159] ieee80211_reconfig+0x230/0xfd0 [mac80211]
Apr 9 10:29:29 videodrome kernel: [84435.568167] ieee80211_restart_work+0xc0/0xf0 [mac80211]
Apr 9 10:29:29 videodrome kernel: [84435.568169] process_one_work+0x1fd/0x3f0
Apr 9 10:29:29 videodrome kernel: [84435.568171] worker_thread+0x34/0x410
Apr 9 10:29:29 videodrome kernel: [84435.568173] kthread+0x121/0x140
Apr 9 10:29:29 videodrome kernel: [84435.568175] ? process_one_work+0x3f0/0x3f0
Apr 9 10:29:29 videodrome kernel: [84435.568176] ? kthread_create_worker_on_cpu+0x70/0x70
Apr 9 10:29:29 videodrome kernel: [84435.568178] ret_from_fork+0x35/0x40
Apr 9 10:29:29 videodrome kernel: [84435.568179] ---[ end trace 4e8d2874ec42da17 ]---

ProblemType: Bug
DistroRelease: Ubuntu 18.04
Package: linux-image-4.18.0-17-generic 4.18.0-17.18~18.04.1
ProcVersionSignature: Ubuntu 4.18.0-17.18~18.04.1-generic 4.18.20
Uname: Linux 4.18.0-17-generic x86_64
ApportVersion: 2.20.9-0ubuntu7.6
Architecture: amd64
CurrentDesktop: GNOME-Flashback:GNOME
Date: Tue Apr 9 14:50:36 2019
InstallationDate: Installed on 2019-03-18 (22 days ago)
InstallationMedia: Ubuntu 18.04.2 LTS "Bionic Beaver" - Release amd64 (20190210)
ProcEnviron:
 TERM=xterm-256color
 PATH=(custom, no user)
 XDG_RUNTIME_DIR=<set>
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: linux-signed-hwe
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
dn (don-neumann) wrote :
Revision history for this message
dn (don-neumann) wrote :

This bug also causes resume from suspend to fail.

Revision history for this message
dn (don-neumann) wrote :

This bug persists even after upgrade to the latest kernel updated, 4.18.0-18 and replacing the system firmware at /lib/firmware/ath10k/QCA6174/hw3.0/firmware-6.bin with the latest firmware from
the ath10k firmware github repository: https://github.com/kvalo/ath10k-firmware/tree/master/QCA6174/hw3.0/4.4.1

Revision history for this message
dn (don-neumann) wrote :

I updated the firmware to 4.4.1.c3 from:
https://github.com/kvalo/ath10k-firmware/tree/master/QCA6174/hw3.0
and now it doesn't crash anymore.

However I will note I get these frequently:
May 29 19:48:13 videodrome kernel: [359129.946827] pcieport 0000:00:1c.4: AER: Corrected error received: 0000:00:1c.4
May 29 19:48:13 videodrome kernel: [359129.946832] pcieport 0000:00:1c.4: PCIe Bus Error: severity=Corrected, type=Data Link Layer, (Transmitter ID)
May 29 19:48:13 videodrome kernel: [359129.946836] pcieport 0000:00:1c.4: device [8086:9d14] error status/mask=00001000/00002000
May 29 19:48:13 videodrome kernel: [359129.946839] pcieport 0000:00:1c.4: [12] Replay Timer Timeout

Closing this.

Revision history for this message
Craig Harding (craigwharding) wrote :

@dn I'm having same issues with ubuntu 20.04.1 LTS and getting same 'pcieport' errors. Have you upgraded from 18.04 to something newer since your comment back in 2019?

Revision history for this message
dn (don-neumann) wrote :

@craigwharding No, haven't upgraded and I'm still using the same firmware I posted about in 2019. There are newer firmware versions available on that github which I haven't tried, so if you find a better solution or a firmware which doesn't cause errors, please let us all know.

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.