Bug 206719
Summary: | Intel AX200 errors and kernel crash | ||
---|---|---|---|
Product: | Drivers | Reporter: | kcn |
Component: | network-wireless-intel | Assignee: | Default virtual assignee for network-wireless-intel (drivers_network-wireless-intel) |
Status: | NEW --- | ||
Severity: | normal | CC: | acs+kernel, julian, log41, syd.meyer, tsufeki |
Priority: | P1 | ||
Hardware: | Intel | ||
OS: | Linux | ||
Kernel Version: | 5.4.22 | Subsystem: | |
Regression: | No | Bisected commit-id: | |
Attachments: | dmesg output when the kernel crashs |
Description
kcn
2020-02-29 14:04:33 UTC
Do you have any updates on this issue? I think, i have the same or a similar issue. I have a Thinkpad X1 6th Gen. upgraded with a Intel AX200NGW Wireless Adapter and after about 20-40 minutes the audio stops playing while the speakers appear to be still connected. Trying to dis- and reconnect them renders the complete system unusable, i.e. requiring a hard reset to poweroff. This only started happening after i switched to original Intel 8265 card with the Intel AX200 one. Inital connection Apr 27 23:39:12 x1 systemd[1354]: Started Sound Service. Apr 27 23:39:12 x1 bluetoothd[936]: Endpoint registered: sender=:1.1217 path=/MediaEndpoint/A2DPSink/sbc Apr 27 23:39:12 x1 bluetoothd[936]: Endpoint registered: sender=:1.1217 path=/MediaEndpoint/A2DPSource/sbc Apr 27 23:39:18 x1 bluetoothd[936]: /org/bluez/hci0/dev_B8_D5_0B_79_B2_B8/sep1/fd1: fd(45) ready Apr 27 23:39:18 x1 rtkit-daemon[1576]: Supervising 7 threads of 6 processes of 1 users. Apr 27 23:39:18 x1 rtkit-daemon[1576]: Successfully made thread 8007 of process 7999 (/nix/store/kf6vah1n55ak7zsvr44zfnq3h9qpgbwk-pulseaudio-13.0/bin/pulseaudio) owned by 'sydney' RT at priority 5. Apr 27 23:39:18 x1 rtkit-daemon[1576]: Supervising 8 threads of 6 processes of 1 users. Apr 27 23:39:18 x1 kernel: input: SRS-XB20 (AVRCP) as /devices/virtual/input/input25 Apr 27 23:39:18 x1 systemd-logind[1232]: Watching system buttons on /dev/input/event18 (SRS-XB20 (AVRCP)) and after playing audio files through mpv for about 20 minutes, again 20 minutes later, the bt speakers were idle, the issue appears to begin with: Apr 28 00:19:24 x1 kernel: Bluetooth: hci0: ACL packet for unknown connection handle 0 Apr 28 00:19:24 x1 kernel: Bluetooth: hci0: ACL packet for unknown connection handle 0 Apr 28 00:19:24 x1 kernel: Bluetooth: hci0: ACL packet for unknown connection handle 0 Apr 28 00:19:24 x1 kernel: Bluetooth: hci0: ACL packet for unknown connection handle 0 Apr 28 00:19:24 x1 kernel: Bluetooth: hci0: ACL packet for unknown connection handle 0 Apr 28 00:19:24 x1 kernel: Bluetooth: hci0: corrupted ACL packet following: Apr 28 00:38:42 x1 kernel: Bluetooth: hci0: last event is not cmd complete (0x00) Apr 28 00:38:42 x1 kernel: Bluetooth: hci0: last event is not cmd complete (0x00) Apr 28 00:38:42 x1 kernel: Bluetooth: hci0: last event is not cmd complete (0x00) Apr 28 00:38:42 x1 kernel: Bluetooth: hci0: last event is not cmd complete (0x00) Apr 28 00:55:38 x1 kernel: Bluetooth: hci0: link tx timeout Apr 28 00:55:38 x1 kernel: Bluetooth: hci0: killing stalled connection b8:d5:0b:79:b2:b8 Apr 28 00:55:40 x1 kernel: Bluetooth: hci0: command 0x0406 tx timeout After (trying to) resume playback, i cannot hear any sound from the speakers but mpv plays just fine and pulseaudio believes the speakers are still connected and used. When i try to disconnect the speakers with bluetoothctl i get: Apr 28 00:56:29 x1 kernel: Bluetooth: hci0: link tx timeout Apr 28 00:56:29 x1 kernel: Bluetooth: hci0: killing stalled connection b8:d5:0b:79:b2:b8 Apr 28 00:56:31 x1 bluetoothd[936]: Disconnecting failed: already disconnected Apr 28 00:56:35 x1 bluetoothd[936]: Close: Connection timed out (110) Apr 28 00:56:35 x1 kernel: Bluetooth: hci0: link tx timeout Apr 28 00:56:35 x1 kernel: Bluetooth: hci0: killing stalled connection b8:d5:0b:79:b2:b8 Apr 28 00:56:37 x1 bluetoothd[936]: Abort: Connection timed out (110) Apr 28 00:56:37 x1 kernel: Bluetooth: hci0: link tx timeout Apr 28 00:56:37 x1 kernel: Bluetooth: hci0: killing stalled connection b8:d5:0b:79:b2:b8 Apr 28 00:56:37 x1 kernel: Bluetooth: hci0: link tx timeout Apr 28 00:56:37 x1 kernel: Bluetooth: hci0: killing stalled connection b8:d5:0b:79:b2:b8 Apr 28 00:56:37 x1 dbus-daemon[948]: [system] Rejected send message, 0 matched rules; type="method_return", sender=":1.1217" (uid=1001 pid=7999 comm="/nix/store/kf6vah1n55ak7zsvr44zfnq3h9qpgbwk-pulsea" label="kernel") interface="(unset)" member="(unset)" error name="(unset)" requested_reply="0" destination=":1.4" (uid=0 pid=936 comm="/nix/store/842s29if0psvcd5l7m8ijldldfjp6bhp-bluez-" label="kernel") Then, turning the speakers off and on again, the speakers are trying to reconnect, giving: Apr 28 00:56:52 x1 kernel: debugfs: Directory '768' with parent 'hci0' already present! Apr 28 00:56:52 x1 kernel: sysfs: cannot create duplicate filename '/devices/pci0000:00/0000:00:14.0/usb1/1-7/1-7:1.0/bluetooth/hci0/hci0:768' Apr 28 00:56:52 x1 kernel: CPU: 0 PID: 8597 Comm: kworker/u17:1 Not tainted 5.6.7 #1-NixOS Apr 28 00:56:52 x1 kernel: Hardware name: LENOVO 20KHCTO1WW/20KHCTO1WW, BIOS N23ET71W (1.46 ) 02/20/2020 Apr 28 00:56:52 x1 kernel: Workqueue: hci0 hci_rx_work [bluetooth] Apr 28 00:56:52 x1 kernel: Call Trace: Apr 28 00:56:52 x1 kernel: dump_stack+0x66/0x90 Apr 28 00:56:52 x1 kernel: sysfs_warn_dup.cold+0x17/0x2d Apr 28 00:56:52 x1 kernel: sysfs_create_dir_ns+0xb6/0xd0 Apr 28 00:56:52 x1 kernel: kobject_add_internal+0xad/0x290 Apr 28 00:56:52 x1 kernel: kobject_add+0x7e/0xb0 Apr 28 00:56:52 x1 kernel: ? kobject_move+0x140/0x170 Apr 28 00:56:52 x1 kernel: device_add+0x123/0x850 Apr 28 00:56:52 x1 kernel: hci_conn_add_sysfs+0x43/0xb0 [bluetooth] Apr 28 00:56:52 x1 kernel: hci_event_packet+0x123b/0x2a50 [bluetooth] Apr 28 00:56:52 x1 kernel: ? __switch_to_asm+0x40/0x70 Apr 28 00:56:52 x1 kernel: ? __switch_to_asm+0x40/0x70 Apr 28 00:56:52 x1 kernel: ? __switch_to_asm+0x34/0x70 Apr 28 00:56:52 x1 kernel: hci_rx_work+0x17c/0x360 [bluetooth] Apr 28 00:56:52 x1 kernel: process_one_work+0x1e3/0x3b0 Apr 28 00:56:52 x1 kernel: worker_thread+0x4d/0x3f0 Apr 28 00:56:52 x1 kernel: kthread+0xfb/0x130 Apr 28 00:56:52 x1 kernel: ? process_one_work+0x3b0/0x3b0 Apr 28 00:56:52 x1 kernel: ? kthread_park+0x90/0x90 Apr 28 00:56:52 x1 kernel: ret_from_fork+0x35/0x40 Apr 28 00:56:52 x1 kernel: kobject_add_internal failed for hci0:768 with -EEXIST, don't try to register things with the same name in the same directory. Apr 28 00:56:52 x1 kernel: Bluetooth: hci0: failed to register connection device Apr 28 00:56:53 x1 kernel: Bluetooth: hci0: link tx timeout Apr 28 00:56:53 x1 kernel: Bluetooth: hci0: killing stalled connection b8:d5:0b:79:b2:b8 Apr 28 00:56:53 x1 bluetoothd[936]: No matching connection for device Apr 28 00:56:53 x1 kernel: BUG: kernel NULL pointer dereference, address: 0000000000000020 Apr 28 00:56:53 x1 kernel: #PF: supervisor read access in kernel mode Apr 28 00:56:53 x1 kernel: #PF: error_code(0x0000) - not-present page Apr 28 00:56:53 x1 kernel: PGD 0 P4D 0 Apr 28 00:56:53 x1 kernel: Oops: 0000 [#1] SMP PTI Apr 28 00:56:53 x1 kernel: CPU: 7 PID: 9171 Comm: kworker/u17:3 Not tainted 5.6.7 #1-NixOS Apr 28 00:56:53 x1 kernel: Hardware name: LENOVO 20KHCTO1WW/20KHCTO1WW, BIOS N23ET71W (1.46 ) 02/20/2020 Apr 28 00:56:53 x1 kernel: Workqueue: hci0 hci_rx_work [bluetooth] Apr 28 00:56:53 x1 kernel: RIP: 0010:klist_next+0x12/0x100 Apr 28 00:56:53 x1 kernel: Code: 44 89 f0 5b 5d 41 5c 41 5d 41 5e c3 0f 0b e9 22 ff ff ff 0f 1f 44 00 00 41 56 41 55 41 54 55 53 48 89 fb 48 8b 3f 4c 8b 63 08 <4c> 8b 6f 20 e8 c5 10 02 00 49 89 c6 4d 85 e4 0f 84 9d 00 00 00 49 Apr 28 00:56:53 x1 kernel: RSP: 0018:ffffad8984e3bce0 EFLAGS: 00010282 Apr 28 00:56:53 x1 kernel: RAX: 0000000000000000 RBX: ffffad8984e3bd10 RCX: 0000000000000000 Apr 28 00:56:53 x1 kernel: RDX: ffffffffc09ca1e0 RSI: ffffad8984e3bd10 RDI: 0000000000000000 Apr 28 00:56:53 x1 kernel: RBP: ffffffffc09ca1e0 R08: 0000000000000000 R09: 000000007fffffff Apr 28 00:56:53 x1 kernel: R10: 0000000000000325 R11: ffff9aed8f5eb524 R12: 0000000000000000 Apr 28 00:56:53 x1 kernel: R13: 0000000000000000 R14: ffff9aece73aa800 R15: 0000000000000016 Apr 28 00:56:53 x1 kernel: FS: 0000000000000000(0000) GS:ffff9aed8f5c0000(0000) knlGS:0000000000000000 Apr 28 00:56:53 x1 kernel: CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 Apr 28 00:56:53 x1 kernel: CR2: 0000000000000020 CR3: 000000003280a006 CR4: 00000000003606e0 Apr 28 00:56:53 x1 kernel: Call Trace: Apr 28 00:56:53 x1 kernel: ? bt_link_release+0x20/0x20 [bluetooth] Apr 28 00:56:53 x1 kernel: device_find_child+0x3c/0xa0 Apr 28 00:56:53 x1 kernel: hci_conn_del_sysfs+0x4e/0xb0 [bluetooth] Apr 28 00:56:53 x1 kernel: hci_conn_cleanup+0x8e/0x130 [bluetooth] Apr 28 00:56:53 x1 kernel: hci_conn_del+0xe5/0x1d0 [bluetooth] Apr 28 00:56:53 x1 kernel: hci_event_packet+0xc27/0x2a50 [bluetooth] Apr 28 00:56:53 x1 kernel: ? syscall_return_via_sysret+0x10/0x7f Apr 28 00:56:53 x1 kernel: ? __switch_to_asm+0x40/0x70 Apr 28 00:56:53 x1 kernel: ? __switch_to_asm+0x34/0x70 Apr 28 00:56:53 x1 kernel: hci_rx_work+0x17c/0x360 [bluetooth] Apr 28 00:56:53 x1 kernel: process_one_work+0x1e3/0x3b0 Apr 28 00:56:53 x1 kernel: worker_thread+0x4d/0x3f0 Apr 28 00:56:53 x1 kernel: kthread+0xfb/0x130 Apr 28 00:56:53 x1 kernel: ? process_one_work+0x3b0/0x3b0 Apr 28 00:56:53 x1 kernel: ? kthread_park+0x90/0x90 Apr 28 00:56:53 x1 kernel: ret_from_fork+0x35/0x40 Apr 28 00:56:53 x1 kernel: Modules linked in: wireguard curve25519_x86_64 libchacha20poly1305 chacha_x86_64 poly1305_x86_64 libblake2s blake2s_x86_64 ip6_udp_tunnel udp_tunnel libcurve25519_generic libchacha libblake2s_generic uinput rfcomm hid_magicmouse fuse hid_apple hid_generic hidp xt_CHECKSUM xt_MASQUERADE ipt_REJECT nf_reject_ipv4 ip6table_mangle iptable_mangle ebtable_filter ebtables af_packet ctr snd_hda_codec_hdmi snd_hda_codec_realtek snd_hda_codec_generic ccm algif_aead joydev mousedev cbc des_generic libdes ecb bnep arc4 cmac typec_displayport msr sha512_ssse3 sha512_generic md4 algif_hash rmi_smbus rmi_core i915 snd_soc_skl snd_soc_sst_ipc snd_soc_sst_dsp snd_hda_ext_core snd_soc_acpi_intel_match snd_soc_acpi intel_pmc_core_pltdrv intel_pmc_core cec iwlmvm snd_soc_core drm_kms_helper snd_compress ac97_bus snd_pcm_dmaengine iTCO_wdt snd_hda_intel mei_hdcp watchdog intel_rapl_msr mac80211 wmi_bmof intel_wmi_thunderbolt x86_pkg_temp_thermal intel_powerclamp coretemp snd_intel_dspcfg libarc4 Apr 28 00:56:53 x1 kernel: crc32_pclmul nls_iso8859_1 ghash_clmulni_intel deflate intel_cstate efi_pstore drm intel_uncore pstore nls_cp437 iwlwifi e1000e vfat intel_rapl_perf snd_hda_codec btusb fat btrtl evdev intel_gtt psmouse ptp agpgart mac_hid snd_hda_core btbcm serio_raw efivars btintel i2c_algo_bit mei_me snd_hwdep pps_core i2c_i801 cfg80211 fb_sys_fops thunderbolt bluetooth mei thinkpad_acpi processor_thermal_device ip6table_nat ucsi_acpi intel_pch_thermal syscopyarea typec_ucsi nvram iptable_nat intel_rapl_common intel_xhci_usb_role_switch sysfillrect ecdh_generic nf_nat sysimgblt roles ecc ledtrig_audio intel_soc_dts_iosf typec thermal int3403_thermal xt_conntrack int340x_thermal_zone rfkill battery i2c_hid wmi nf_conntrack ac hid nf_defrag_ipv4 video libcrc32c int3400_thermal i2c_core backlight acpi_thermal_rel button acpi_pad ip6t_rpfilter ipt_rpfilter ip6table_raw iptable_raw xt_pkttype nf_log_ipv6 nf_log_ipv4 nf_log_common xt_LOG xt_tcpudp ip6table_filter ip6_tables sch_fq_codel Apr 28 00:56:53 x1 kernel: iptable_filter snd_pcm_oss snd_mixer_oss snd_pcm snd_timer snd soundcore loop cpufreq_powersave tap macvlan bridge stp llc tun kvm_intel kvm irqbypass efivarfs ip_tables x_tables ipv6 nf_defrag_ipv6 crc_ccitt autofs4 ext4 crc32c_generic crc16 mbcache jbd2 dm_crypt algif_skcipher af_alg input_leds led_class crc32c_intel atkbd xhci_pci nvme libps2 xhci_hcd nvme_core t10_pi crc_t10dif aesni_intel usbcore libaes crypto_simd cryptd glue_helper crct10dif_generic crct10dif_pclmul crct10dif_common usb_common i8042 rtc_cmos serio dm_snapshot dm_bufio dm_mod Apr 28 00:56:53 x1 kernel: CR2: 0000000000000020 Apr 28 00:56:53 x1 kernel: ---[ end trace 1f090a66ab09528a ]--- Apr 28 00:56:53 x1 kernel: RIP: 0010:klist_next+0x12/0x100 Apr 28 00:56:53 x1 kernel: Code: 44 89 f0 5b 5d 41 5c 41 5d 41 5e c3 0f 0b e9 22 ff ff ff 0f 1f 44 00 00 41 56 41 55 41 54 55 53 48 89 fb 48 8b 3f 4c 8b 63 08 <4c> 8b 6f 20 e8 c5 10 02 00 49 89 c6 4d 85 e4 0f 84 9d 00 00 00 49 Apr 28 00:56:53 x1 kernel: RSP: 0018:ffffad8984e3bce0 EFLAGS: 00010282 Apr 28 00:56:53 x1 kernel: RAX: 0000000000000000 RBX: ffffad8984e3bd10 RCX: 0000000000000000 Apr 28 00:56:53 x1 kernel: RDX: ffffffffc09ca1e0 RSI: ffffad8984e3bd10 RDI: 0000000000000000 Apr 28 00:56:53 x1 kernel: RBP: ffffffffc09ca1e0 R08: 0000000000000000 R09: 000000007fffffff Apr 28 00:56:53 x1 kernel: R10: 0000000000000325 R11: ffff9aed8f5eb524 R12: 0000000000000000 Apr 28 00:56:53 x1 kernel: R13: 0000000000000000 R14: ffff9aece73aa800 R15: 0000000000000016 Apr 28 00:56:53 x1 kernel: FS: 0000000000000000(0000) GS:ffff9aed8f5c0000(0000) knlGS:0000000000000000 Apr 28 00:56:53 x1 kernel: CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 Apr 28 00:56:53 x1 kernel: CR2: 0000000000000020 CR3: 00000004630f8005 CR4: 00000000003606e0 I do not see this errors in dmesg or kern log but the issue is the same. I'm using kernel 5.9 and 5.10 and just since two weeks it happens to crash the whole system. Before it was absolutely without any issue. Since then i see frequent re / disconnects and crashes / freezes. These happen together with Jan 3 02:59:47 julian-ThinkPad kernel: [ 5.267846] cma: cma_alloc: alloc failed, req-size: 8 pages, ret: -12 Jan 3 02:59:47 julian-ThinkPad kernel: [ 5.267853] cma: cma_alloc: alloc failed, req-size: 8 pages, ret: -12 Jan 3 02:59:47 julian-ThinkPad kernel: [ 5.267862] cma: cma_alloc: alloc failed, req-size: 4 pages, ret: -12 and after adding some debug kernel params: i've seen these: Jan 4 19:27:41 julian-ThinkPad kernel: [ 11.256799] cma: cma_alloc: alloc failed, req-size: 16 pages, ret: -12 Jan 4 19:27:41 julian-ThinkPad kernel: [ 11.257122] alloc_contig_range: [3aeff8, 3aeffc) PFNs busy Jan 4 19:27:41 julian-ThinkPad kernel: [ 11.257126] cma: cma_alloc: alloc failed, req-size: 4 pages, ret: -16 Jan 4 19:27:41 julian-ThinkPad kernel: [ 11.265722] cma: cma_alloc: alloc failed, req-size: 16 pages, ret: -12 Jan 4 19:27:41 julian-ThinkPad kernel: [ 11.265966] alloc_contig_range: [3aeff8, 3aeffc) PFNs busy Jan 4 19:27:41 julian-ThinkPad kernel: [ 11.265973] cma: cma_alloc: alloc failed, req-size: 4 pages, ret: -16 I was unable to track this new issue to any changes i made, no new kernel between the first occurrence of this, now new software installed no hardware added. I can confirm that disabling the wifi removes those errors and stops my machine from crashing. |