Bug 1650442 - Usb HID kbd/mouse doesn't work with 4.19.2-300.fc29.x86_64
Summary: Usb HID kbd/mouse doesn't work with 4.19.2-300.fc29.x86_64
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: kernel
Version: 29
Hardware: x86_64
OS: Linux
unspecified
high
Target Milestone: ---
Assignee: Kernel Maintainer List
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
: 1650054 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-11-16 08:00 UTC by Tore H. Larsen
Modified: 2019-02-20 14:48 UTC (History)
19 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-02-20 14:48:07 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
output from journalctl --no-hostname -k >log-4.19.2-300.txt (181.13 KB, text/plain)
2018-11-16 08:00 UTC, Tore H. Larsen
no flags Details
HID devices failing on 4.19.4 fc29, but works on 4.18.18. (4.65 MB, text/plain)
2018-11-26 08:53 UTC, Tore H. Larsen
no flags Details
HID devices failing on 4.19.8 fc29, but works on 4.18.18 (14.30 KB, text/plain)
2018-12-11 15:08 UTC, Tore H. Larsen
no flags Details
dmesg HID devices failing on 4.19.8 fc29, but works on 4.18.18 (135.03 KB, text/plain)
2018-12-11 15:09 UTC, Tore H. Larsen
no flags Details

Description Tore H. Larsen 2018-11-16 08:00:10 UTC
Created attachment 1506341 [details]
output from journalctl --no-hostname -k >log-4.19.2-300.txt

Description of problem:
USB keyboard connected to Dell TB16 connected to Dell 5530 locks up.  

	Vendor: Dell Inc.
	Version: 1.5.0
	Release Date: 09/03/2018

Previous kernel 4.18.18-300.fc29.x86_64 works fine. Attached is output from "journalctl --no-hostname -k >log-4.19.2-300.txt"

Version-Release number of selected component (if applicable):
kernel-4.19.2-300.fc29.x86_64

How reproducible:
Every boot

Steps to Reproduce:
1. Install kernel-4.19.2-300.fc29.x86_64
2. reboot
3.  

Actual results:
USB kbd/mouse locks up.


Expected results:
No issues.

WorkARound:
Previous kernel(s)   4.18.18-300.fc29.x86_64


# lspci | grep -i thunder
02:00.0 PCI bridge: Intel Corporation JHL6340 Thunderbolt 3 Bridge (C step) [Alpine Ridge 2C 2016] (rev 02)
03:00.0 PCI bridge: Intel Corporation JHL6340 Thunderbolt 3 Bridge (C step) [Alpine Ridge 2C 2016] (rev 02)
03:01.0 PCI bridge: Intel Corporation JHL6340 Thunderbolt 3 Bridge (C step) [Alpine Ridge 2C 2016] (rev 02)
03:02.0 PCI bridge: Intel Corporation JHL6340 Thunderbolt 3 Bridge (C step) [Alpine Ridge 2C 2016] (rev 02)
04:00.0 System peripheral: Intel Corporation JHL6340 Thunderbolt 3 NHI (C step) [Alpine Ridge 2C 2016] (rev 02)
05:00.0 PCI bridge: Intel Corporation DSL6540 Thunderbolt 3 Bridge [Alpine Ridge 4C 2015]
06:01.0 PCI bridge: Intel Corporation DSL6540 Thunderbolt 3 Bridge [Alpine Ridge 4C 2015]
06:04.0 PCI bridge: Intel Corporation DSL6540 Thunderbolt 3 Bridge [Alpine Ridge 4C 2015]
08:00.0 PCI bridge: Intel Corporation DSL6540 Thunderbolt 3 Bridge [Alpine Ridge 4C 2015]
09:01.0 PCI bridge: Intel Corporation DSL6540 Thunderbolt 3 Bridge [Alpine Ridge 4C 2015]
09:04.0 PCI bridge: Intel Corporation DSL6540 Thunderbolt 3 Bridge [Alpine Ridge 4C 2015]

# modinfo intel_wmi_thunderbolt
filename:       /lib/modules/4.18.18-300.fc29.x86_64/kernel/drivers/platform/x86/intel-wmi-thunderbolt.ko.xz
license:        GPL
description:    Intel WMI Thunderbolt force power driver
author:         Mario Limonciello <mario.limonciello>
alias:          wmi:86CCFD48-205E-4A77-9C48-2021CBEDE341
depends:        wmi
retpoline:      Y
intree:         Y
name:           intel_wmi_thunderbolt
vermagic:       4.18.18-300.fc29.x86_64 SMP mod_unload 
sig_id:         PKCS#7
signer:         
sig_key:        
sig_hashalgo:   md4

Comment 1 Tore H. Larsen 2018-11-16 08:34:51 UTC
On 4.18.18 i.e. working: 

# lsusb -t
/:  Bus 06.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/2p, 5000M
    |__ Port 1: Dev 2, If 0, Class=Hub, Driver=hub/7p, 5000M
        |__ Port 1: Dev 3, If 0, Class=Hub, Driver=hub/5p, 5000M
        |__ Port 2: Dev 4, If 0, Class=Vendor Specific Class, Driver=r8152, 5000M
/:  Bus 05.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/2p, 480M
    |__ Port 1: Dev 2, If 0, Class=Hub, Driver=hub/7p, 480M
        |__ Port 1: Dev 3, If 0, Class=Hub, Driver=hub/5p, 480M
            |__ Port 4: Dev 8, If 0, Class=Vendor Specific Class, Driver=, 480M
            |__ Port 5: Dev 9, If 0, Class=Human Interface Device, Driver=usbhid, 480M
            |__ Port 3: Dev 6, If 0, Class=Human Interface Device, Driver=usbhid, 1.5M
            |__ Port 1: Dev 5, If 0, Class=Hub, Driver=hub/4p, 480M
                |__ Port 4: Dev 7, If 0, Class=Human Interface Device, Driver=usbhid, 1.5M
                |__ Port 4: Dev 7, If 1, Class=Human Interface Device, Driver=usbhid, 1.5M
        |__ Port 5: Dev 4, If 0, Class=Audio, Driver=snd-usb-audio, 480M
        |__ Port 5: Dev 4, If 1, Class=Audio, Driver=snd-usb-audio, 480M
        |__ Port 5: Dev 4, If 2, Class=Audio, Driver=snd-usb-audio, 480M
        |__ Port 5: Dev 4, If 3, Class=Audio, Driver=snd-usb-audio, 480M
/:  Bus 04.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/2p, 10000M
/:  Bus 03.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/2p, 480M
/:  Bus 02.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/10p, 10000M
/:  Bus 01.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/16p, 480M
    |__ Port 4: Dev 2, If 1, Class=Wireless, Driver=btusb, 12M
    |__ Port 4: Dev 2, If 0, Class=Wireless, Driver=btusb, 12M
    |__ Port 12: Dev 3, If 0, Class=Video, Driver=uvcvideo, 480M
    |__ Port 12: Dev 3, If 1, Class=Video, Driver=uvcvideo, 480M

Comment 2 Jeremy Cline 2018-11-16 15:16:37 UTC
Hmm. So there's a ton of soft lockups logged and it looks like a bunch of different things are crashing. Can you reproduce this without the nvidia drivers? I see there's a traceback from that module and I suspect it's causing the lockups.

Comment 3 Fred New 2018-11-22 20:25:39 UTC
I'm having a similar problem with my Fujitsu wireless mouse and keyboard with the 4.19 kernels on entirely different hardware - AMD Ryzen 7 1700. The keyboard and mouse use the same USB dongle. The mouse doesn't lock up, but soon after rebooting it becomes very delayed and jerky. Similarly, the keyboard starts repeating keystrokes a lot. And the monitor flickers every few seconds. I booted into the latest 4.19 kernel a few minutes ago, but I used a virtual console to make the log dump. It doesn't look like I captured anything meaningful. Will try again tomorrow. Suggestions as to what to try to dump or document about hardware? Or perhaps there is an updates-testing kernel I can try? Meanwhile, maybe SSH can give me a way to diagnose things.

Comment 4 Fred New 2018-11-23 17:43:13 UTC
Never mind. My problem looks like it's related to nouveau. tldr;

journalctl --no-hostname -k > log-4.19.2-301.txt

ends with

Nov 23 19:13:18 kernel: rfkill: input handler disabled
Nov 23 19:19:49 kernel: nouveau 0000:08:00.0: disp: chid 0 mthd 0000 data 00000000 00001000 00000001
Nov 23 19:19:51 kernel: nouveau: evo channel stalled
Nov 23 19:20:02 kernel: nouveau 0000:08:00.0: DRM: core notifier timeout
Nov 23 19:20:04 kernel: nouveau 0000:08:00.0: DRM: base-0: timeout

The mouse and keyboard become unreliable and the clock at the top of my Gnome desktop updates every 6 seconds. Meanwhile, my SSH session is still functional.

Comment 5 Tore H. Larsen 2018-11-26 08:53:15 UTC
Created attachment 1508511 [details]
HID devices failing on 4.19.4 fc29, but works on 4.18.18.

Comment 6 Tore H. Larsen 2018-11-26 08:56:35 UTC
Dell Precision 5530 w/TB16 and kbd/mouse HID devices connected to docking. With kernel 4.19.4-300.fc29.x86_64 kbd/mouse falls out after a few seconds. Reverted to 4.18.18-300 which works fine.

Comment 7 Tore H. Larsen 2018-11-29 19:49:54 UTC
Still seeing the same with 4.19.5-300.fc29.x86_64.

Comment 8 Jeremy Cline 2018-12-03 16:38:35 UTC
*** Bug 1650054 has been marked as a duplicate of this bug. ***

Comment 9 Tore H. Larsen 2018-12-06 08:42:27 UTC
How is 1650054 is a duplicate of this? Wasn't 1650054 a dracut bug related to the fact that dracut didn't include (pre)dependent modules of kvmgt correctly when building initramfs?

Anyway, upgraded bios to 1.6.0 and tested 4.19.7-300.fc29.x86_64. Kbd/mouse works fine for a while, then both drops out. The mouse then re-surfaces after some time and works from then on out. Kbd, however, does not work, even after hotplugging it to ext monitor. Any ideas?

Reverting to 4.18.18-300 and kbd/mouse connected to monitor works fine.

Comment 10 Tore H. Larsen 2018-12-11 15:07:49 UTC
Is it only me? Still seeing this with 4.19.8-300.fc29.x86_64. Both kbd and mouse falls out some time boot.
Mouse repeatedly false in and out after that, kbd is permanently lost. Any ideas?
kbd/mouse is connected to the USB hub on the monitor.  Ref attached logs.

Comment 11 Tore H. Larsen 2018-12-11 15:08:41 UTC
Created attachment 1513418 [details]
HID devices failing on 4.19.8 fc29, but works on 4.18.18

Comment 12 Tore H. Larsen 2018-12-11 15:09:58 UTC
Created attachment 1513419 [details]
dmesg HID devices failing on 4.19.8 fc29, but works on 4.18.18

Comment 13 Tore H. Larsen 2019-01-08 08:43:54 UTC
Not working with latest 4.19.13-300.fc29.x86_64. Tried moving USB hid devices from monitor directly onto Dell TB16 rear USB ports, but no. Both kbd/mouse stops working after a little while. Mouse comes and goes. Can't believe I'm the only one with this problem?   4.18.18 works fine.

Comment 14 Tore H. Larsen 2019-01-10 12:50:22 UTC
From the looks of it, 4.19.14-300.fc29.x86_64 fixes the issue for me. Was it commit f295bc9b8c9c7c0a9a49fa39538277422679a5cf ?

Comment 15 Tore H. Larsen 2019-01-11 09:01:47 UTC
Worked for a day a few hours yesterday. This intermittent problem still remains on kernels above 4.18.18.

Comment 16 Tore H. Larsen 2019-01-24 08:49:42 UTC
Still failing with kernels above 4.18.18 (last working for me with HID devices connected to USB-C docking. 

Tested with 4.20.3-200.fc29. First time I get a kernel oops.

dmesg -l err

[  869.869616] usb 3-1.1.3: device descriptor read/64, error -71
[  870.285512] usb 3-1.1.3: device descriptor read/64, error -71
[  879.432488] usb 3-1.1-port3: Cannot enable. Maybe the USB cable is bad?
[  922.871042] xhci_hcd 0000:0a:00.0: Abort failed to stop command ring: -110
[  922.989633] xhci_hcd 0000:0a:00.0: xHCI host controller not responding, assume dead
[  922.989690] xhci_hcd 0000:0a:00.0: HC died; cleaning up
[  923.399889] usb 3-1.1.3: device not accepting address 14, error -108
[  923.399922] usb 3-1.1-port3: couldn't allocate usb_device

dmesg

[  910.283071] watchdog: BUG: soft lockup - CPU#6 stuck for 22s! [chrome:19790]
[  910.283075] Modules linked in: squashfs zstd_decompress xxhash loop rfcomm tun ipt_MASQUERADE nf_conntrack_netlink xt_addrtype br_netfilter bridge stp
 llc ccm devlink nf_conntrack_netbios_ns nf_conntrack_broadcast xt_CT ip6t_rpfilter ip6t_REJECT nf_reject_ipv6 xt_conntrack ebtable_nat ip6table_nat nf_n
at_ipv6 ip6table_mangle ip6table_raw ip6table_security iptable_nat nf_nat_ipv4 nf_nat iptable_mangle iptable_raw iptable_security nf_conntrack nf_defrag_
ipv6 nf_defrag_ipv4 ip_set overlay nfnetlink ebtable_filter ebtables ip6table_filter ip6_tables vmnet(OE) ppdev parport_pc parport fuse vmw_vsock_vmci_tr
ansport vsock vmw_vmci vboxdrv(OE) vmmon(OE) cmac bnep sunrpc vfat fat dm_multipath scsi_dh_rdac scsi_dh_emc scsi_dh_alua cdc_ether usbnet snd_usb_audio 
r8152 snd_usbmidi_lib snd_rawmidi mii snd_hda_codec_hdmi wacom hid_multitouch btusb uvcvideo btrtl btbcm btintel videobuf2_vmalloc videobuf2_memops bluet
ooth videobuf2_v4l2 videobuf2_common videodev media ecdh_generic arc4 dell_rbtn
[  910.283121]  nvidia_drm(POE) nvidia_modeset(POE) nvidia_uvm(OE) intel_rapl x86_pkg_temp_thermal intel_powerclamp coretemp kvm_intel iwlmvm mac80211 me
i_wdt iTCO_wdt iTCO_vendor_support crct10dif_pclmul snd_hda_codec_realtek crc32_pclmul snd_hda_codec_generic ghash_clmulni_intel dell_laptop intel_cstate
 dell_smm_hwmon intel_uncore snd_hda_intel intel_rapl_perf snd_hda_codec snd_hda_core snd_hwdep iwlwifi dell_wmi snd_seq nvidia(POE) dell_smbios snd_seq_
device dcdbas snd_pcm cfg80211 rtsx_pci_ms joydev intel_wmi_thunderbolt dell_wmi_descriptor wmi_bmof snd_timer memstick snd idma64 soundcore i2c_i801 rfk
ill thunderbolt ipmi_devintf ipmi_msghandler mei_me mei ucsi_acpi typec_ucsi intel_lpss_pci processor_thermal_device intel_lpss typec intel_soc_dts_iosf 
intel_pch_thermal int3403_thermal int340x_thermal_zone dell_smo8800 intel_hid int3400_thermal pcc_cpufreq sparse_keymap acpi_thermal_rel acpi_pad acpi_cp
ufreq binfmt_misc xfs libcrc32c i915 kvmgt mdev vfio kvm irqbypass i2c_algo_bit
[  910.283162]  drm_kms_helper rtsx_pci_sdmmc mmc_core drm mxm_wmi nvme crc32c_intel nvme_core rtsx_pci serio_raw i2c_hid pinctrl_cannonlake wmi video pi
nctrl_intel
[  910.283172] CPU: 6 PID: 19790 Comm: chrome Tainted: P           OE     4.20.3-200.fc29.x86_64 #1
[  910.283174] Hardware name: Dell Inc. Precision 5530/0R7WY2, BIOS 1.7.0 12/25/2018
[  910.283180] RIP: 0010:smp_call_function_single+0xce/0xf0
[  910.283182] Code: 8b 4c 24 38 65 48 33 0c 25 28 00 00 00 75 34 c9 c3 48 89 d1 48 89 f2 48 89 e6 e8 7d fe ff ff 8b 54 24 18 83 e2 01 74 0b f3 90 <8b> 5
4 24 18 83 e2 01 75 f5 eb ca 8b 05 b1 15 85 01 85 c0 75 88 0f
[  910.283183] RSP: 0018:ffffb035f00d7b60 EFLAGS: 00000202 ORIG_RAX: ffffffffffffff13
[  910.283185] RAX: 0000000000000000 RBX: 0000000000000006 RCX: 0000000000000830
[  910.283187] RDX: 0000000000000001 RSI: 00000000000008fb RDI: 0000000000000830
[  910.283188] RBP: ffffb035f00d7bb8 R08: 0000000000000004 R09: ffff9ff1ea544e78
[  910.283189] R10: ffff9ff2dbc03c80 R11: 0000000000000000 R12: ffffffff92076f20
[  910.283190] R13: ffffb035f00d7c40 R14: 0000000000000001 R15: ffffffff92076f20
[  910.283192] FS:  00007f927ea2d180(0000) GS:ffff9ff2dc380000(0000) knlGS:0000000000000000
[  910.283193] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[  910.283195] CR2: 000027106da760d0 CR3: 000000068713a001 CR4: 00000000003606e0
[  910.283196] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
[  910.283197] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
[  910.283198] Call Trace:
[  910.283205]  ? flush_tlb_func_common.constprop.8+0x250/0x250
[  910.283208]  ? flush_tlb_func_common.constprop.8+0x250/0x250
[  910.283210]  on_each_cpu_mask+0x25/0x60
[  910.283213]  ? x86_configure_nx+0x40/0x40
[  910.283216]  on_each_cpu_cond_mask+0xa5/0x130
[  910.283219]  ? flush_tlb_func_common.constprop.8+0x14f/0x250
[  910.283221]  flush_tlb_mm_range+0xd3/0x130
[  910.283226]  ? page_remove_rmap+0x97/0x3b0
[  910.283252]  unmap_page_range+0xafb/0xc70
[  910.283258]  unmap_vmas+0x7f/0xb0
[  910.283262]  unmap_region+0xae/0x110
[  910.283268]  ? __vma_rb_erase+0x127/0x260
[  910.283272]  __do_munmap+0x2a7/0x450
[  910.283277]  __vm_munmap+0x68/0xc0
[  910.283282]  __x64_sys_munmap+0x27/0x30
[  910.283287]  do_syscall_64+0x5b/0x160
[  910.283293]  entry_SYSCALL_64_after_hwframe+0x44/0xa9
[  910.283296] RIP: 0033:0x7f927fecaefd
[  910.283300] Code: 00 c3 66 2e 0f 1f 84 00 00 00 00 00 90 f3 0f 1e fa 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3
d 01 f0 ff ff 73 01 c3 48 8b 0d 5b 7f 0c 00 f7 d8 64 89 01 48
[  910.283301] RSP: 002b:00007ffc6c5a8268 EFLAGS: 00000246 ORIG_RAX: 000000000000000b
[  910.283304] RAX: ffffffffffffffda RBX: 000003b2eabc5c60 RCX: 00007f927fecaefd
[  910.283306] RDX: 0000000000000000 RSI: 0000000000200000 RDI: 00007f9269524000
[  910.283308] RBP: 00007ffc6c5a82d0 R08: 5555555555555555 R09: 000003b2dedc90a8
[  910.283310] R10: 0000000000000000 R11: 0000000000000246 R12: 000003b2e3d56ce0
[  910.283312] R13: 000003b2e42e39a0 R14: 0000000000200000 R15: 00007f9269524000
[  914.283216] watchdog: BUG: soft lockup - CPU#11 stuck for 22s! [pmdalinux:10151]
[  914.283220] Modules linked in: squashfs zstd_decompress xxhash loop rfcomm tun ipt_MASQUERADE nf_conntrack_netlink xt_addrtype br_netfilter bridge stp
 llc ccm devlink nf_conntrack_netbios_ns nf_conntrack_broadcast xt_CT ip6t_rpfilter ip6t_REJECT nf_reject_ipv6 xt_conntrack ebtable_nat ip6table_nat nf_n
at_ipv6 ip6table_mangle ip6table_raw ip6table_security iptable_nat nf_nat_ipv4 nf_nat iptable_mangle iptable_raw iptable_security nf_conntrack nf_defrag_
ipv6 nf_defrag_ipv4 ip_set overlay nfnetlink ebtable_filter ebtables ip6table_filter ip6_tables vmnet(OE) ppdev parport_pc parport fuse vmw_vsock_vmci_tr
ansport vsock vmw_vmci vboxdrv(OE) vmmon(OE) cmac bnep sunrpc vfat fat dm_multipath scsi_dh_rdac scsi_dh_emc scsi_dh_alua cdc_ether usbnet snd_usb_audio 
r8152 snd_usbmidi_lib snd_rawmidi mii snd_hda_codec_hdmi wacom hid_multitouch btusb uvcvideo btrtl btbcm btintel videobuf2_vmalloc videobuf2_memops bluet
ooth videobuf2_v4l2 videobuf2_common videodev media ecdh_generic arc4 dell_rbtn
[  914.283263]  nvidia_drm(POE) nvidia_modeset(POE) nvidia_uvm(OE) intel_rapl x86_pkg_temp_thermal intel_powerclamp coretemp kvm_intel iwlmvm mac80211 me
i_wdt iTCO_wdt iTCO_vendor_support crct10dif_pclmul snd_hda_codec_realtek crc32_pclmul snd_hda_codec_generic ghash_clmulni_intel dell_laptop intel_cstate
 dell_smm_hwmon intel_uncore snd_hda_intel intel_rapl_perf snd_hda_codec snd_hda_core snd_hwdep iwlwifi dell_wmi snd_seq nvidia(POE) dell_smbios snd_seq_
device dcdbas snd_pcm cfg80211 rtsx_pci_ms joydev intel_wmi_thunderbolt dell_wmi_descriptor wmi_bmof snd_timer memstick snd idma64 soundcore i2c_i801 rfk
ill thunderbolt ipmi_devintf ipmi_msghandler mei_me mei ucsi_acpi typec_ucsi intel_lpss_pci processor_thermal_device intel_lpss typec intel_soc_dts_iosf 
intel_pch_thermal int3403_thermal int340x_thermal_zone dell_smo8800 intel_hid int3400_thermal pcc_cpufreq sparse_keymap acpi_thermal_rel acpi_pad acpi_cp
ufreq binfmt_misc xfs libcrc32c i915 kvmgt mdev vfio kvm irqbypass i2c_algo_bit
[  914.283300]  drm_kms_helper rtsx_pci_sdmmc mmc_core drm mxm_wmi nvme crc32c_intel nvme_core rtsx_pci serio_raw i2c_hid pinctrl_cannonlake wmi video pi
nctrl_intel
[  914.283311] CPU: 11 PID: 10151 Comm: pmdalinux Tainted: P           OEL    4.20.3-200.fc29.x86_64 #1
[  914.283312] Hardware name: Dell Inc. Precision 5530/0R7WY2, BIOS 1.7.0 12/25/2018
[  914.283319] RIP: 0010:smp_call_function_single+0x88/0xf0
[  914.283321] Code: 0c 9c 58 0f 1f 44 00 00 f6 c4 02 74 6e 85 c9 75 46 49 c7 c0 40 1e 02 00 65 4c 03 05 4a 45 ec 6d 41 8b 40 18 a8 01 74 0a f3 90 <41> 8
b 40 18 a8 01 75 f6 41 83 48 18 01 48 89 d1 48 89 f2 4c 89 c6
[  914.283323] RSP: 0018:ffffb035d0e17c20 EFLAGS: 00000202 ORIG_RAX: ffffffffffffff13
[  914.283325] RAX: 0000000000000001 RBX: 00000002535d0884 RCX: 0000000000000000
[  914.283326] RDX: 0000000000000000 RSI: ffffffff9203b740 RDI: 0000000000000001
[  914.283327] RBP: ffffb035d0e17c68 R08: ffff9ff2dc4e1e40 R09: 0000000000000000
[  914.283328] R10: 0000000000000000 R11: 0000000000000000 R12: 000000cfeffca057
[  914.283329] R13: 0000000000000001 R14: ffff9ff223d06550 R15: ffff9ff22947d100
[  914.283331] FS:  00007f66736d1580(0000) GS:ffff9ff2dc4c0000(0000) knlGS:0000000000000000
[  914.283333] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[  914.283334] CR2: 00001ec290fc1000 CR3: 00000007aaef4001 CR4: 00000000003606e0
[  914.283335] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
[  914.283336] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
[  914.283337] Call Trace:
[  914.283345]  ? recalibrate_cpu_khz+0x10/0x10
[  914.283347]  aperfmperf_snapshot_cpu+0x40/0x50
[  914.283350]  arch_freq_prepare_all+0x3d/0x80
[  914.283354]  cpuinfo_open+0xe/0x20
[  914.283357]  proc_reg_open+0x68/0x120
[  914.283360]  ? proc_alloc_inode+0x60/0x60
[  914.283363]  do_dentry_open+0x12f/0x340
[  914.283366]  path_openat+0x33a/0x1610
[  914.283369]  do_filp_open+0x93/0x100
[  914.283372]  ? proc_reg_read+0x44/0x60
[  914.283374]  ? __check_object_size+0x15d/0x189
[  914.283378]  do_sys_open+0x186/0x210
[  914.283381]  do_syscall_64+0x5b/0x160
[  914.283386]  entry_SYSCALL_64_after_hwframe+0x44/0xa9
[  914.283388] RIP: 0033:0x7f66744aeca2
[  914.283390] Code: 25 00 00 41 00 3d 00 00 41 00 74 4c 48 8d 05 85 7a 0d 00 8b 00 85 c0 75 6d 89 f2 b8 01 01 00 00 48 89 fe bf 9c ff ff ff 0f 05 <48> 3
d 00 f0 ff ff 0f 87 a2 00 00 00 48 8b 4c 24 28 64 48 33 0c 25
[  914.283392] RSP: 002b:00007ffe915eb0f0 EFLAGS: 00000246 ORIG_RAX: 0000000000000101
[  914.283394] RAX: ffffffffffffffda RBX: 000056393af6ce60 RCX: 00007f66744aeca2
[  914.283395] RDX: 0000000000000000 RSI: 00007ffe915eb290 RDI: 00000000ffffff9c
[  914.283396] RBP: 0000000000000008 R08: 0000000000000008 R09: 0000000000000001
[  914.283397] R10: 0000000000000000 R11: 0000000000000246 R12: 000056393a1efebd
[  914.283398] R13: 000056393a1efebd R14: 0000000000000001 R15: 00007ffe915ec370
[  915.561090] cgroup: fork rejected by pids controller in /system.slice/pmlogger.service
[  922.871042] xhci_hcd 0000:0a:00.0: Abort failed to stop command ring: -110
[  922.989630] xhci_hcd 0000:0a:00.0: Host halt failed, -110
[  922.989633] xhci_hcd 0000:0a:00.0: xHCI host controller not responding, assume dead
[  922.989668] r8152 4-1.2:1.0 ens4u1u2: Tx status -108
[  922.989672] r8152 4-1.2:1.0 ens4u1u2: Tx status -108
[  922.989690] xhci_hcd 0000:0a:00.0: HC died; cleaning up
[  922.989694] watchdog: BUG: soft lockup - CPU#4 stuck for 34s! [Chrome_IOThread:20270]
[  922.989699] Modules linked in: squashfs zstd_decompress xxhash loop rfcomm tun ipt_MASQUERADE nf_conntrack_netlink xt_addrtype br_netfilter bridge stp
 llc ccm devlink nf_conntrack_netbios_ns nf_conntrack_broadcast xt_CT ip6t_rpfilter ip6t_REJECT nf_reject_ipv6 xt_conntrack ebtable_nat ip6table_nat nf_n
at_ipv6 ip6table_mangle ip6table_raw ip6table_security iptable_nat nf_nat_ipv4 nf_nat iptable_mangle iptable_raw iptable_security nf_conntrack nf_defrag_
ipv6 nf_defrag_ipv4 ip_set overlay nfnetlink ebtable_filter ebtables ip6table_filter ip6_tables vmnet(OE) ppdev parport_pc parport fuse vmw_vsock_vmci_tr
ansport vsock vmw_vmci vboxdrv(OE) vmmon(OE) cmac bnep sunrpc vfat fat dm_multipath scsi_dh_rdac scsi_dh_emc scsi_dh_alua cdc_ether usbnet snd_usb_audio 
r8152 snd_usbmidi_lib snd_rawmidi mii snd_hda_codec_hdmi wacom hid_multitouch btusb uvcvideo btrtl btbcm btintel videobuf2_vmalloc videobuf2_memops bluet
ooth videobuf2_v4l2 videobuf2_common videodev media ecdh_generic arc4 dell_rbtn
[  922.989777]  nvidia_drm(POE) nvidia_modeset(POE) nvidia_uvm(OE) intel_rapl x86_pkg_temp_thermal intel_powerclamp coretemp kvm_intel iwlmvm mac80211 me
i_wdt iTCO_wdt iTCO_vendor_support crct10dif_pclmul snd_hda_codec_realtek crc32_pclmul snd_hda_codec_generic ghash_clmulni_intel dell_laptop intel_cstate
 dell_smm_hwmon intel_uncore snd_hda_intel intel_rapl_perf snd_hda_codec snd_hda_core snd_hwdep iwlwifi dell_wmi snd_seq nvidia(POE) dell_smbios snd_seq_
device dcdbas snd_pcm cfg80211 rtsx_pci_ms joydev intel_wmi_thunderbolt dell_wmi_descriptor wmi_bmof snd_timer memstick snd idma64 soundcore i2c_i801 rfk
ill thunderbolt ipmi_devintf ipmi_msghandler mei_me mei ucsi_acpi typec_ucsi intel_lpss_pci processor_thermal_device intel_lpss typec intel_soc_dts_iosf 
intel_pch_thermal int3403_thermal int340x_thermal_zone dell_smo8800 intel_hid int3400_thermal pcc_cpufreq sparse_keymap acpi_thermal_rel acpi_pad acpi_cp
ufreq binfmt_misc xfs libcrc32c i915 kvmgt mdev vfio kvm irqbypass i2c_algo_bit
[  922.989862]  drm_kms_helper rtsx_pci_sdmmc mmc_core drm mxm_wmi nvme crc32c_intel nvme_core rtsx_pci serio_raw i2c_hid pinctrl_cannonlake wmi video pi
nctrl_intel
[  922.989884] CPU: 4 PID: 20270 Comm: Chrome_IOThread Tainted: P           OEL    4.20.3-200.fc29.x86_64 #1
[  922.989885] Hardware name: Dell Inc. Precision 5530/0R7WY2, BIOS 1.7.0 12/25/2018
[  922.989889] RIP: 0010:_raw_spin_unlock_irqrestore+0xd/0x20
[  922.989891] Code: 00 00 8b 07 85 c0 75 0b ba 01 00 00 00 f0 0f b1 17 74 03 31 c0 c3 b8 01 00 00 00 c3 90 0f 1f 44 00 00 c6 07 00 48 89 f7 57 9d <0f> 1
f 44 00 00 c3 66 66 2e 0f 1f 84 00 00 00 00 00 66 90 0f 1f 44
[  922.989891] RSP: 0018:ffff9ff2dc303d28 EFLAGS: 00000202 ORIG_RAX: ffffffffffffff13
[  922.989893] RAX: ffff9ff15dcbb601 RBX: ffff9ff2d51b2000 RCX: 0000000000005229
[  922.989893] RDX: 0000000000005228 RSI: 0000000000000202 RDI: 0000000000000202
[  922.989894] RBP: ffff9ff15dcbba80 R08: 00000000000260c0 R09: ffffffff926d5431
[  922.989895] R10: ffffda1bdb772ec0 R11: ffffb035f084fcd8 R12: 0000000000000003
[  922.989895] R13: ffff9ff2d51b227c R14: 00000000ffffff94 R15: ffff9ff28d52f0c0
[  922.989896] FS:  00007f9270001700(0000) GS:ffff9ff2dc300000(0000) knlGS:0000000000000000
[  922.989897] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[  922.989898] CR2: 000006351de60008 CR3: 000000068713a001 CR4: 00000000003606e0
[  922.989899] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
[  922.989899] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
[  922.989900] Call Trace:
[  922.989901]  <IRQ>
[  922.989904]  xhci_urb_enqueue+0x1cf/0x5e0
[  922.989908]  usb_hcd_submit_urb+0xba/0xb30
[  922.989913]  r8152_poll+0x68a/0x1030 [r8152]
[  922.989916]  ? trigger_load_balance+0x54/0x1a0
[  922.989918]  ? tick_sched_do_timer+0x80/0x80
[  922.989920]  ? timerqueue_add+0x52/0x80
[  922.989923]  net_rx_action+0x149/0x3b0
[  922.989925]  __do_softirq+0xe3/0x30a
[  922.989927]  do_softirq_own_stack+0x2a/0x40
[  922.989928]  </IRQ>
[  922.989930]  do_softirq.part.15+0x4f/0x60
[  922.989932]  __local_bh_enable_ip+0x60/0x70
[  922.989934]  ip_finish_output2+0x1a7/0x430
[  922.989936]  ip_output+0x6c/0xe0
[  922.989937]  ? ip_append_data.part.51+0xc0/0xc0
[  922.989939]  __tcp_transmit_skb+0x532/0xa90
[  922.989941]  tcp_send_active_reset+0xf9/0x180
[  922.989943]  tcp_close+0x2a0/0x430
[  922.989944]  inet_release+0x3c/0x60
[  922.989946]  __sock_release+0x3d/0x90
[  922.989947]  sock_close+0x11/0x20
[  922.989949]  __fput+0xb4/0x220
[  922.989951]  task_work_run+0x84/0xa0
[  922.989954]  exit_to_usermode_loop+0xd3/0xe0
[  922.989955]  do_syscall_64+0x14d/0x160
[  922.989957]  entry_SYSCALL_64_after_hwframe+0x44/0xa9
[  922.989958] RIP: 0033:0x7f9281506e87
[  922.989959] Code: 12 b8 03 00 00 00 0f 05 48 3d 00 f0 ff ff 77 3b c3 66 90 53 89 fb 48 83 ec 10 e8 c4 fb ff ff 89 df 89 c2 b8 03 00 00 00 0f 05 <48> 3
d 00 f0 ff ff 77 2b 89 d7 89 44 24 0c e8 06 fc ff ff 8b 44 24
[  922.989960] RSP: 002b:00007f926fffefa0 EFLAGS: 00000293 ORIG_RAX: 0000000000000003
[  922.989961] RAX: 0000000000000000 RBX: 00000000000000d0 RCX: 00007f9281506e87
[  922.989962] RDX: 0000000000000000 RSI: 000003b2de8220d0 RDI: 00000000000000d0
[  922.989962] RBP: 00007f926ffff110 R08: 000003b2e10f11c0 R09: 0000000000000000
[  922.989963] R10: 00007f926ffff0f8 R11: 0000000000000293 R12: 000003b2eaae9940
[  922.989963] R13: 000003b2e7c7e418 R14: 000003b2dfb0f398 R15: 000003b2e34fa740
[  922.990027] r8152 4-1.2:1.0 ens4u1u2: failed tx_urb -108
[  922.990094] xhci_hcd 0000:0a:00.0: Timeout while waiting for setup device command
[  922.990111] usb 3-1: USB disconnect, device number 2
[  922.990114] usb 3-1.1: USB disconnect, device number 3
[  922.990119] usb 4-1: USB disconnect, device number 2
[  922.990121] usb 4-1.1: USB disconnect, device number 3
[  922.991029] usb 4-1.2: USB disconnect, device number 4
[  923.209267] userif-3: sent link down event.
[  923.209268] userif-3: sent link up event.
[  923.399889] usb 3-1.1.3: device not accepting address 14, error -108
[  923.399922] usb 3-1.1-port3: couldn't allocate usb_device
[  923.399929] usb 3-1.1.5: USB disconnect, device number 7
[  923.400529] usb 3-1.5: USB disconnect, device number 4
[  923.400976] usb 3-1.6: USB disconnect, device number 5
[  923.430411] usb 3-1.7: USB disconnect, device number 6
[  923.430413] usb 3-1.7.4: USB disconnect, device number 8

Comment 17 Tore H. Larsen 2019-01-24 08:53:35 UTC
4.20.4-200.fc29.x86_64 also fails for me after a few minutes.  4.18.18 is last working kernel for me.

Any ideas?  

Jan 24 08:12:14 srl-torel01 kernel: Bluetooth: RFCOMM TTY layer initialized
Jan 24 08:12:14 srl-torel01 kernel: Bluetooth: RFCOMM socket layer initialized
Jan 24 08:12:14 srl-torel01 kernel: Bluetooth: RFCOMM ver 1.11
Jan 24 08:12:16 srl-torel01 kernel: rfkill: input handler disabled
Jan 24 08:12:18 srl-torel01 kernel: loop: module loaded
Jan 24 08:12:18 srl-torel01 kernel: squashfs: version 4.0 (2009/01/31) Phillip Lougher
Jan 24 08:12:24 srl-torel01 kernel: [drm:intel_cpu_fifo_underrun_irq_handler [i915]] *ERROR* CPU pipe A FIFO underrun
Jan 24 08:12:30 srl-torel01 kernel: [drm:intel_cpu_fifo_underrun_irq_handler [i915]] *ERROR* CPU pipe A FIFO underrun
Jan 24 08:15:48 srl-torel01 kernel: usb 5-1.6: USB disconnect, device number 5
Jan 24 08:15:49 srl-torel01 kernel: usb 5-1.6: new low-speed USB device number 11 using xhci_hcd
Jan 24 08:15:49 srl-torel01 kernel: usb 5-1.6: New USB device found, idVendor=046d, idProduct=c077, bcdDevice=72.00
Jan 24 08:15:49 srl-torel01 kernel: usb 5-1.6: New USB device strings: Mfr=1, Product=2, SerialNumber=0
Jan 24 08:15:49 srl-torel01 kernel: usb 5-1.6: Product: USB Optical Mouse
Jan 24 08:15:49 srl-torel01 kernel: usb 5-1.6: Manufacturer: Logitech
Jan 24 08:15:49 srl-torel01 kernel: input: Logitech USB Optical Mouse as /devices/pci0000:00/0000:00:1b.0/0000:02:00.0/0000:03:01.0/0000:05:00.0/0000:06:
04.0/0000:08:00.0/0000:09:01.0/0000:0a:00.0/usb5/5-1/5-1.6/5-1.6:1.0/0003:046D:C077.0009/input/input39
Jan 24 08:15:49 srl-torel01 kernel: hid-generic 0003:046D:C077.0009: input,hidraw2: USB HID v1.11 Mouse [Logitech USB Optical Mouse] on usb-0000:0a:00.0-
1.6/input0

Comment 18 Tore H. Larsen 2019-02-15 08:16:10 UTC
Still a problem on 4.20.8-200.fc29.x86_64.  Still having to revert to 4.18.18 to use HID devices in the office. 

All kernels after 4.18.18 have the problem. Possibly a USB Type-C bug introduced with 4.19?  Any ideas?

Comment 19 Jeremy Cline 2019-02-15 15:49:23 UTC
Hi Tore,

I'm afraid your best option is to bisect[0] the kernel between 4.18 and 4.19. I have a TB16, but can't reproduce this. It seems very specific to your hardware since I've not seen any similar reports.

https://docs.fedoraproject.org/en-US/quick-docs/kernel/troubleshooting/index.html#_bisecting_the_kernel

Comment 20 Tore H. Larsen 2019-02-16 12:57:53 UTC
Just installed Dell TB16 firmware 1.0.2  https://www.dell.com/support/Home/us/en/04/Drivers/DriversDetails?driverId=7TJ1H
and it seems to have fixed the problem. Been running fine for 2 hours now on 4.20.8. 

[root@localhost ~]# dmesg -l err | egrep -i -e "usb|thunder|r8|xhci"
[root@localhost ~]# 

"boltctl list" showed the TB16 w/1.0.0 fw as disconnected. It has a new uuid with 1.0.2 firmware. Removed the old with "boltctl forget"

Iow, this was most likely related to firmware rather than kernel. Or possibly thunderbolt/usb-c functionality checkins into kernels >4.18.18?

Case may be closed.

Comment 21 Tore H. Larsen 2019-02-19 08:41:37 UTC
Embarrassing, turned out to be a hardware problem with my TB16 which obviously kernels above 4.18.18 wasn't to happy with. Tested a new one and it works perfectly.

Old:
dmesg-4.20.10.txt:[    7.712931] thunderbolt 0000:04:00.0: 1: drom data crc32 mismatch (expected: 0xaf438340, got: 0xaf4383c0), continuing
dmesg-4.20.10.txt:[    7.716156] thunderbolt 0-1: new device found, vendor=0xd4 device=0xb051
dmesg-4.20.10.txt:[    7.716158] thunderbolt 0-1: Dell Dell Thunderbolt Cable
dmesg-4.20.10.txt:[    8.128750] thunderbolt 0000:04:00.0: 301: drom data crc32 mismatch (expected: 0x1b3634a0, got: 0x1b363420), continuing

New: 
[root@localhost ~]# dmesg | grep -i thunder
[    7.321650] thunderbolt 0-1: new device found, vendor=0xd4 device=0xb051
[    7.321653] thunderbolt 0-1: Dell Dell Thunderbolt Cable
[    7.748456] thunderbolt 0-301: new device found, vendor=0xd4 device=0xb054
[    7.748457] thunderbolt 0-301: Dell Dell Thunderbolt Dock


Case closed.

Comment 22 Jeremy Cline 2019-02-20 14:48:07 UTC
Thanks for letting us know


Note You need to log in before you can comment on or make changes to this bug.