[Bug 1768852] Re: Kernel bug when unplugging Thunderbolt 3 cable, leaves xHCI host controller dead
This bug was fixed in the package linux - 4.15.0-23.25 --- linux (4.15.0-23.25) bionic; urgency=medium * linux: 4.15.0-23.25 -proposed tracker (LP: #1772927) * arm64 SDEI support needs trampoline code for KPTI (LP: #1768630) - arm64: mmu: add the entry trampolines start/end section markers into sections.h - arm64: sdei: Add trampoline code for remapping the kernel * Some PCIe errors not surfaced through rasdaemon (LP: #1769730) - ACPI: APEI: handle PCIe AER errors in separate function - ACPI: APEI: call into AER handling regardless of severity * qla2xxx: Fix page fault at kmem_cache_alloc_node() (LP: #1770003) - scsi: qla2xxx: Fix session cleanup for N2N - scsi: qla2xxx: Remove unused argument from qlt_schedule_sess_for_deletion() - scsi: qla2xxx: Serialize session deletion by using work_lock - scsi: qla2xxx: Serialize session free in qlt_free_session_done - scsi: qla2xxx: Don't call dma_free_coherent with IRQ disabled. - scsi: qla2xxx: Fix warning in qla2x00_async_iocb_timeout() - scsi: qla2xxx: Prevent relogin trigger from sending too many commands - scsi: qla2xxx: Fix double free bug after firmware timeout - scsi: qla2xxx: Fixup locking for session deletion * Several hisi_sas bug fixes (LP: #1768974) - scsi: hisi_sas: dt-bindings: add an property of signal attenuation - scsi: hisi_sas: support the property of signal attenuation for v2 hw - scsi: hisi_sas: fix the issue of link rate inconsistency - scsi: hisi_sas: fix the issue of setting linkrate register - scsi: hisi_sas: increase timer expire of internal abort task - scsi: hisi_sas: remove unused variable hisi_sas_devices.running_req - scsi: hisi_sas: fix return value of hisi_sas_task_prep() - scsi: hisi_sas: Code cleanup and minor bug fixes * [bionic] machine stuck and bonding not working well when nvmet_rdma module is loaded (LP: #1764982) - nvmet-rdma: Don't flush system_wq by default during remove_one - nvme-rdma: Don't flush delete_wq by default during remove_one * Warnings/hang during error handling of SATA disks on SAS controller (LP: #1768971) - scsi: libsas: defer ata device eh commands to libata * Hotplugging a SATA disk into a SAS controller may cause crash (LP: #1768948) - ata: do not schedule hot plug if it is a sas host * ISST-LTE:pKVM:Ubuntu1804: rcu_sched self-detected stall on CPU follow by CPU ATTEMPT TO RE-ENTER FIRMWARE! (LP: #1767927) - powerpc/powernv: Handle unknown OPAL errors in opal_nvram_write() - powerpc/64s: return more carefully from sreset NMI - powerpc/64s: sreset panic if there is no debugger or crash dump handlers * fsnotify: Fix fsnotify_mark_connector race (LP: #1765564) - fsnotify: Fix fsnotify_mark_connector race * Hang on network interface removal in Xen virtual machine (LP: #1771620) - xen-netfront: Fix hang on device removal * HiSilicon HNS NIC names are truncated in /proc/interrupts (LP: #1765977) - net: hns: Avoid action name truncation * Ubuntu 18.04 kernel crashed while in degraded mode (LP: #1770849) - SAUCE: powerpc/perf: Fix memory allocation for core-imc based on num_possible_cpus() * Switch Build-Depends: transfig to fig2dev (LP: #1770770) - [Config] update Build-Depends: transfig to fig2dev * smp_call_function_single/many core hangs with stop4 alone (LP: #1768898) - cpufreq: powernv: Fix hardlockup due to synchronous smp_call in timer interrupt * Add d-i support for Huawei NICs (LP: #1767490) - d-i: add hinic to nic-modules udeb * unregister_netdevice: waiting for eth0 to become free. Usage count = 5 (LP: #1746474) - xfrm: reuse uncached_list to track xdsts * Include nfp driver in linux-modules (LP: #1768526) - [Config] Add nfp.ko to generic inclusion list * Kernel panic on boot (m1.small in cn-north-1) (LP: #1771679) - x86/xen: Reset VCPU0 info pointer after shared_info remap * CVE-2018-3639 (x86) - x86/bugs: Fix the parameters alignment and missing void - KVM: SVM: Move spec control call after restore of GS - x86/speculation: Use synthetic bits for IBRS/IBPB/STIBP - x86/cpufeatures: Disentangle MSR_SPEC_CTRL enumeration from IBRS - x86/cpufeatures: Disentangle SSBD enumeration - x86/cpufeatures: Add FEATURE_ZEN - x86/speculation: Handle HT correctly on AMD - x86/bugs, KVM: Extend speculation control for VIRT_SPEC_CTRL - x86/speculation: Add virtualized speculative store bypass disable support - x86/speculation: Rework speculative_store_bypass_update() - x86/bugs: Unify x86_spec_ctrl_{set_guest,restore_host} - x86/bugs: Expose x86_spec_ctrl_base directly - x86/bugs: Remove x86_spec_ctrl_set() - x86/bugs: Rework spec_ctrl base and mask logic - x86/speculation, KVM: Implement support for VIRT_SPEC_CTRL/LS_CFG - KVM: SVM: Implement VIRT_SPEC_CTRL support for SSBD - x86/bugs:
[Bug 1768852] Re: Kernel bug when unplugging Thunderbolt 3 cable, leaves xHCI host controller dead
This bug was fixed in the package linux - 4.15.0-23.25 --- linux (4.15.0-23.25) bionic; urgency=medium * linux: 4.15.0-23.25 -proposed tracker (LP: #1772927) * arm64 SDEI support needs trampoline code for KPTI (LP: #1768630) - arm64: mmu: add the entry trampolines start/end section markers into sections.h - arm64: sdei: Add trampoline code for remapping the kernel * Some PCIe errors not surfaced through rasdaemon (LP: #1769730) - ACPI: APEI: handle PCIe AER errors in separate function - ACPI: APEI: call into AER handling regardless of severity * qla2xxx: Fix page fault at kmem_cache_alloc_node() (LP: #1770003) - scsi: qla2xxx: Fix session cleanup for N2N - scsi: qla2xxx: Remove unused argument from qlt_schedule_sess_for_deletion() - scsi: qla2xxx: Serialize session deletion by using work_lock - scsi: qla2xxx: Serialize session free in qlt_free_session_done - scsi: qla2xxx: Don't call dma_free_coherent with IRQ disabled. - scsi: qla2xxx: Fix warning in qla2x00_async_iocb_timeout() - scsi: qla2xxx: Prevent relogin trigger from sending too many commands - scsi: qla2xxx: Fix double free bug after firmware timeout - scsi: qla2xxx: Fixup locking for session deletion * Several hisi_sas bug fixes (LP: #1768974) - scsi: hisi_sas: dt-bindings: add an property of signal attenuation - scsi: hisi_sas: support the property of signal attenuation for v2 hw - scsi: hisi_sas: fix the issue of link rate inconsistency - scsi: hisi_sas: fix the issue of setting linkrate register - scsi: hisi_sas: increase timer expire of internal abort task - scsi: hisi_sas: remove unused variable hisi_sas_devices.running_req - scsi: hisi_sas: fix return value of hisi_sas_task_prep() - scsi: hisi_sas: Code cleanup and minor bug fixes * [bionic] machine stuck and bonding not working well when nvmet_rdma module is loaded (LP: #1764982) - nvmet-rdma: Don't flush system_wq by default during remove_one - nvme-rdma: Don't flush delete_wq by default during remove_one * Warnings/hang during error handling of SATA disks on SAS controller (LP: #1768971) - scsi: libsas: defer ata device eh commands to libata * Hotplugging a SATA disk into a SAS controller may cause crash (LP: #1768948) - ata: do not schedule hot plug if it is a sas host * ISST-LTE:pKVM:Ubuntu1804: rcu_sched self-detected stall on CPU follow by CPU ATTEMPT TO RE-ENTER FIRMWARE! (LP: #1767927) - powerpc/powernv: Handle unknown OPAL errors in opal_nvram_write() - powerpc/64s: return more carefully from sreset NMI - powerpc/64s: sreset panic if there is no debugger or crash dump handlers * fsnotify: Fix fsnotify_mark_connector race (LP: #1765564) - fsnotify: Fix fsnotify_mark_connector race * Hang on network interface removal in Xen virtual machine (LP: #1771620) - xen-netfront: Fix hang on device removal * HiSilicon HNS NIC names are truncated in /proc/interrupts (LP: #1765977) - net: hns: Avoid action name truncation * Ubuntu 18.04 kernel crashed while in degraded mode (LP: #1770849) - SAUCE: powerpc/perf: Fix memory allocation for core-imc based on num_possible_cpus() * Switch Build-Depends: transfig to fig2dev (LP: #1770770) - [Config] update Build-Depends: transfig to fig2dev * smp_call_function_single/many core hangs with stop4 alone (LP: #1768898) - cpufreq: powernv: Fix hardlockup due to synchronous smp_call in timer interrupt * Add d-i support for Huawei NICs (LP: #1767490) - d-i: add hinic to nic-modules udeb * unregister_netdevice: waiting for eth0 to become free. Usage count = 5 (LP: #1746474) - xfrm: reuse uncached_list to track xdsts * Include nfp driver in linux-modules (LP: #1768526) - [Config] Add nfp.ko to generic inclusion list * Kernel panic on boot (m1.small in cn-north-1) (LP: #1771679) - x86/xen: Reset VCPU0 info pointer after shared_info remap * CVE-2018-3639 (x86) - x86/bugs: Fix the parameters alignment and missing void - KVM: SVM: Move spec control call after restore of GS - x86/speculation: Use synthetic bits for IBRS/IBPB/STIBP - x86/cpufeatures: Disentangle MSR_SPEC_CTRL enumeration from IBRS - x86/cpufeatures: Disentangle SSBD enumeration - x86/cpufeatures: Add FEATURE_ZEN - x86/speculation: Handle HT correctly on AMD - x86/bugs, KVM: Extend speculation control for VIRT_SPEC_CTRL - x86/speculation: Add virtualized speculative store bypass disable support - x86/speculation: Rework speculative_store_bypass_update() - x86/bugs: Unify x86_spec_ctrl_{set_guest,restore_host} - x86/bugs: Expose x86_spec_ctrl_base directly - x86/bugs: Remove x86_spec_ctrl_set() - x86/bugs: Rework spec_ctrl base and mask logic - x86/speculation, KVM: Implement support for VIRT_SPEC_CTRL/LS_CFG - KVM: SVM: Implement VIRT_SPEC_CTRL support for SSBD - x86/bugs:
[Bug 1768852] Re: Kernel bug when unplugging Thunderbolt 3 cable, leaves xHCI host controller dead
Thanks all for working on this. I've been trying to nail down the issues on my Thinkpad X1 Carbon for a couple of weeks and this seems to be the solution. I'm a little unclear from the bug report when this bug fix will be released, will it be in July with the 18.04.1 update? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1768852 Title: Kernel bug when unplugging Thunderbolt 3 cable, leaves xHCI host controller dead To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1768852/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1768852] Re: Kernel bug when unplugging Thunderbolt 3 cable, leaves xHCI host controller dead
I can confirm that: 1) rolling back to the latest mainstream kernel for 18.04 is broken (4.15.0-22-generic) 2) Installing the updated kernel from bionic-proposed does fix the problem (4.15.0-23-generic) ** Tags removed: verification-needed-bionic ** Tags added: verification-done-bionic -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1768852 Title: Kernel bug when unplugging Thunderbolt 3 cable, leaves xHCI host controller dead To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1768852/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1768852] Re: Kernel bug when unplugging Thunderbolt 3 cable, leaves xHCI host controller dead
This bug is awaiting verification that the kernel in -proposed solves the problem. Please test the kernel and update this bug with the results. If the problem is solved, change the tag 'verification-needed- bionic' to 'verification-done-bionic'. If the problem still exists, change the tag 'verification-needed-bionic' to 'verification-failed- bionic'. If verification is not done by 5 working days from today, this fix will be dropped from the source code, and this bug will be closed. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Thank you! ** Tags added: verification-needed-bionic -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1768852 Title: Kernel bug when unplugging Thunderbolt 3 cable, leaves xHCI host controller dead To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1768852/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1768852] Re: Kernel bug when unplugging Thunderbolt 3 cable, leaves xHCI host controller dead
Just want to confirm that this fixed the problem for me as well. And just to be absolutely clear, here are some of the problems I was having when attaching/detaching Thunderbolt 3 on my XPS 13 9360: 1) Re-attaching the dock, USB would not function 2) Unable to suspend, reboot, or shutdown after detaching the dock 3) Eventual system hang/freeze 4) Occasional black screen in KDE After running this kernel for a bit, it seems all of these problems are gone. Looking forward to having the patch merged! For what it's worth, I began having these issues on the KDE Neon distribution sometime after the 4.10 kernel was released. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1768852 Title: Kernel bug when unplugging Thunderbolt 3 cable, leaves xHCI host controller dead To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1768852/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1768852] Re: Kernel bug when unplugging Thunderbolt 3 cable, leaves xHCI host controller dead
** Also affects: linux (Ubuntu Cosmic) Importance: Medium Status: Confirmed ** Also affects: linux (Ubuntu Bionic) Importance: Undecided Status: New ** Changed in: linux (Ubuntu Bionic) Status: New => Fix Committed ** Changed in: linux (Ubuntu Cosmic) Status: Confirmed => In Progress -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1768852 Title: Kernel bug when unplugging Thunderbolt 3 cable, leaves xHCI host controller dead To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1768852/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1768852] Re: Kernel bug when unplugging Thunderbolt 3 cable, leaves xHCI host controller dead
I can also confirm that his fixes the issue. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1768852 Title: Kernel bug when unplugging Thunderbolt 3 cable, leaves xHCI host controller dead To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1768852/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1768852] Re: Kernel bug when unplugging Thunderbolt 3 cable, leaves xHCI host controller dead
** Description changed: - When unplugging the Thunderbolt 3 cable that was connected to a Lenovo - Thunderbolt 3 Dock: + ===SRU Justification=== + [Impact] + When unplugging the Thunderbolt 3 cable from the TBT controller, kernel + oops. + + [Test] + The user confirms this patch works. + + [Fix] + tty_unregister_driver may be called more than 1 time in some + hotplug cases,it will cause the kernel oops. This patch checked + dbc_tty_driver to make sure it is unregistered only 1 time. + + [Regression Potential] + Low. The change is to guard against null pointer, so it's the correct + behavior. + + ===Original Bugreport=== + When unplugging the Thunderbolt 3 cable that was connected to a Lenovo Thunderbolt 3 Dock: [78402.194718] xhci_hcd :0f:00.0: remove, state 4 [78402.194726] usb usb8: USB disconnect, device number 1 [78402.194727] usb 8-2: USB disconnect, device number 2 [78402.195072] xhci_hcd :0f:00.0: USB bus 8 deregistered [78402.195077] xhci_hcd :0f:00.0: xHCI host controller not responding, assume dead [78402.195086] xhci_hcd :0f:00.0: remove, state 1 [78402.195091] usb usb7: USB disconnect, device number 1 [78402.195092] usb 7-2: USB disconnect, device number 2 [78402.195094] usb 7-2.1: USB disconnect, device number 3 [78402.242648] usb 7-2.2: USB disconnect, device number 4 [78402.246827] xhci_hcd :0f:00.0: Host halt failed, -19 [78402.246829] xhci_hcd :0f:00.0: Host not accessible, reset failed. [78402.246917] xhci_hcd :0f:00.0: USB bus 7 deregistered [78402.247998] pcieport :0a:03.0: Refused to change power state, currently in D3 [78402.255841] xhci_hcd :0d:00.0: remove, state 1 [78402.255847] usb usb6: USB disconnect, device number 1 [78402.255849] usb 6-1: USB disconnect, device number 2 [78402.255900] xhci_hcd :0d:00.0: xHCI host controller not responding, assume dead [78402.255920] r8152 5-3.4.3:1.0 enx00e04c6814c6: Stop submitting intr, status -108 [78402.302674] xhci_hcd :0d:00.0: USB bus 6 deregistered [78402.302679] xhci_hcd :0d:00.0: remove, state 1 [78402.302685] usb usb5: USB disconnect, device number 1 [78402.302687] usb 5-3: USB disconnect, device number 2 [78402.302688] usb 5-3.4: USB disconnect, device number 3 [78402.302689] usb 5-3.4.1: USB disconnect, device number 4 [78402.430677] usb 5-3.4.2: USB disconnect, device number 5 [78402.470512] usb 5-3.4.3: USB disconnect, device number 6 [78402.506481] usb 5-3.4.4: USB disconnect, device number 7 [78402.507533] BUG: unable to handle kernel NULL pointer dereference at 0034 [78402.507540] IP: tty_unregister_driver+0xd/0x70 - [78402.507542] PGD 0 P4D 0 + [78402.507542] PGD 0 P4D 0 [78402.507544] Oops: [#1] SMP PTI [78402.507546] Modules linked in: xt_nat xt_tcpudp veth rfcomm ipt_MASQUERADE nf_nat_masquerade_ipv4 nf_conntrack_netlink nfnetlink xfrm_user xfrm_algo iptable_nat nf_conntrack_ipv4 nf_defrag_ipv4 nf_nat_ipv4 xt_addrtype iptable_filter xt_conntrack nf_nat nf_conntrack libcrc32c br_netfilter bridge stp llc ccm cmac bnep binfmt_misc nls_iso8859_1 intel_rapl x86_pkg_temp_thermal intel_powerclamp coretemp kvm_intel kvm irqbypass crct10dif_pclmul crc32_pclmul ghash_clmulni_intel pcbc arc4 aesni_intel aes_x86_64 crypto_simd glue_helper cryptd intel_cstate intel_rapl_perf snd_hda_codec_hdmi snd_soc_skl snd_soc_skl_ipc snd_hda_ext_core snd_soc_sst_dsp snd_soc_sst_ipc snd_hda_codec_conexant snd_soc_acpi snd_hda_codec_generic snd_soc_core joydev snd_compress serio_raw ac97_bus snd_pcm_dmaengine wmi_bmof intel_wmi_thunderbolt [78402.507582] snd_hda_intel snd_hda_codec snd_hda_core iwlmvm input_leds mac80211 snd_usb_audio snd_usbmidi_lib cdc_ether snd_hwdep r8152 iwlwifi snd_pcm uvcvideo videobuf2_vmalloc videobuf2_memops videobuf2_v4l2 videobuf2_core videodev thinkpad_acpi media cfg80211 nvram cdc_mbim qcserial cdc_wdm cdc_ncm snd_seq_midi usb_wwan snd_seq_midi_event usbnet rtsx_pci_ms btusb snd_rawmidi btrtl memstick btbcm usbserial mii btintel snd_seq bluetooth snd_seq_device snd_timer mei_me ucsi_acpi mei shpchp intel_pch_thermal typec_ucsi ecdh_generic snd typec soundcore acpi_pad mac_hid sch_fq_codel parport_pc ppdev lp parport ip_tables x_tables autofs4 zfs(PO) zunicode(PO) zavl(PO) icp(PO) zcommon(PO) znvpair(PO) spl(O) hid_generic usbhid rtsx_pci_sdmmc i915 psmouse i2c_algo_bit e1000e drm_kms_helper syscopyarea [78402.507629] ptp sysfillrect sysimgblt pps_core nvme rtsx_pci fb_sys_fops thunderbolt nvme_core drm wmi i2c_hid video hid [78402.507639] CPU: 0 PID: 15421 Comm: kworker/u8:3 Tainted: P O 4.15.0-20-generic #21-Ubuntu [78402.507640] Hardware name: LENOVO 20HRCTO1WW/20HRCTO1WW, BIOS N1MET38W (1.23 ) 08/30/2017 [78402.507644] Workqueue: kacpi_hotplug acpi_hotplug_work_fn [78402.507648] RIP: 0010:tty_unregister_driver+0xd/0x70 [78402.507649] RSP: 0018:a16e94de3af0 EFLAGS: 00010246 [78402.507651] RAX: RBX:
[Bug 1768852] Re: Kernel bug when unplugging Thunderbolt 3 cable, leaves xHCI host controller dead
Thank you very much, it's working great! -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1768852 Title: Kernel bug when unplugging Thunderbolt 3 cable, leaves xHCI host controller dead To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1768852/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1768852] Re: Kernel bug when unplugging Thunderbolt 3 cable, leaves xHCI host controller dead
I built a kernel with the patch. Please try it: https://people.canonical.com/~khfeng/lp1768852/ -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1768852 Title: Kernel bug when unplugging Thunderbolt 3 cable, leaves xHCI host controller dead To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1768852/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1768852] Re: Kernel bug when unplugging Thunderbolt 3 cable, leaves xHCI host controller dead
Found the following ticket in Red Hats bug tracker: https://bugzilla.redhat.com/show_bug.cgi?id=1565131 This seems to be the fix: https://patchwork.kernel.org/patch/10340045/ This is merged to torvalds/linux since v4.17-rc3. I'm assuming this is enough to mark the bug as confirmed? Would it be possible to port this back into Ubuntu 18.04? ** Bug watch added: Red Hat Bugzilla #1565131 https://bugzilla.redhat.com/show_bug.cgi?id=1565131 ** Tags added: kernel-bug-exists-upstream ** Changed in: linux (Ubuntu) Status: Incomplete => Confirmed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1768852 Title: Kernel bug when unplugging Thunderbolt 3 cable, leaves xHCI host controller dead To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1768852/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1768852] Re: Kernel bug when unplugging Thunderbolt 3 cable, leaves xHCI host controller dead
As stated in the original post, the issue started happening after the upgrade from 17.10 to 18.04. Additional info: system seems to hang up / becomes unresponsive when I trigger suspend to RAM after unplugging the TB3 cable. Will test with an upstream kernel soon. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1768852 Title: Kernel bug when unplugging Thunderbolt 3 cable, leaves xHCI host controller dead To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1768852/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1768852] Re: Kernel bug when unplugging Thunderbolt 3 cable, leaves xHCI host controller dead
Did this issue start happening after an update/upgrade? Was there a prior kernel version where you were not having this particular problem? Would it be possible for you to test the latest upstream kernel? Refer to https://wiki.ubuntu.com/KernelMainlineBuilds . Please test the latest v4.17 kernel[0]. If this bug is fixed in the mainline kernel, please add the following tag 'kernel-fixed-upstream'. If the mainline kernel does not fix this bug, please add the tag: 'kernel-bug-exists-upstream'. Once testing of the upstream kernel is complete, please mark this bug as "Confirmed". Thanks in advance. [0] http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.17-rc4 ** Changed in: linux (Ubuntu) Importance: Undecided => Medium ** Changed in: linux (Ubuntu) Status: Confirmed => Incomplete -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1768852 Title: Kernel bug when unplugging Thunderbolt 3 cable, leaves xHCI host controller dead To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1768852/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1768852] Re: Kernel bug when unplugging Thunderbolt 3 cable, leaves xHCI host controller dead
apport information ** Tags added: apport-collected bionic ** Description changed: When unplugging the Thunderbolt 3 cable that was connected to a Lenovo Thunderbolt 3 Dock: [78402.194718] xhci_hcd :0f:00.0: remove, state 4 [78402.194726] usb usb8: USB disconnect, device number 1 [78402.194727] usb 8-2: USB disconnect, device number 2 [78402.195072] xhci_hcd :0f:00.0: USB bus 8 deregistered [78402.195077] xhci_hcd :0f:00.0: xHCI host controller not responding, assume dead [78402.195086] xhci_hcd :0f:00.0: remove, state 1 [78402.195091] usb usb7: USB disconnect, device number 1 [78402.195092] usb 7-2: USB disconnect, device number 2 [78402.195094] usb 7-2.1: USB disconnect, device number 3 [78402.242648] usb 7-2.2: USB disconnect, device number 4 [78402.246827] xhci_hcd :0f:00.0: Host halt failed, -19 [78402.246829] xhci_hcd :0f:00.0: Host not accessible, reset failed. [78402.246917] xhci_hcd :0f:00.0: USB bus 7 deregistered [78402.247998] pcieport :0a:03.0: Refused to change power state, currently in D3 [78402.255841] xhci_hcd :0d:00.0: remove, state 1 [78402.255847] usb usb6: USB disconnect, device number 1 [78402.255849] usb 6-1: USB disconnect, device number 2 [78402.255900] xhci_hcd :0d:00.0: xHCI host controller not responding, assume dead [78402.255920] r8152 5-3.4.3:1.0 enx00e04c6814c6: Stop submitting intr, status -108 [78402.302674] xhci_hcd :0d:00.0: USB bus 6 deregistered [78402.302679] xhci_hcd :0d:00.0: remove, state 1 [78402.302685] usb usb5: USB disconnect, device number 1 [78402.302687] usb 5-3: USB disconnect, device number 2 [78402.302688] usb 5-3.4: USB disconnect, device number 3 [78402.302689] usb 5-3.4.1: USB disconnect, device number 4 [78402.430677] usb 5-3.4.2: USB disconnect, device number 5 [78402.470512] usb 5-3.4.3: USB disconnect, device number 6 [78402.506481] usb 5-3.4.4: USB disconnect, device number 7 [78402.507533] BUG: unable to handle kernel NULL pointer dereference at 0034 [78402.507540] IP: tty_unregister_driver+0xd/0x70 [78402.507542] PGD 0 P4D 0 [78402.507544] Oops: [#1] SMP PTI [78402.507546] Modules linked in: xt_nat xt_tcpudp veth rfcomm ipt_MASQUERADE nf_nat_masquerade_ipv4 nf_conntrack_netlink nfnetlink xfrm_user xfrm_algo iptable_nat nf_conntrack_ipv4 nf_defrag_ipv4 nf_nat_ipv4 xt_addrtype iptable_filter xt_conntrack nf_nat nf_conntrack libcrc32c br_netfilter bridge stp llc ccm cmac bnep binfmt_misc nls_iso8859_1 intel_rapl x86_pkg_temp_thermal intel_powerclamp coretemp kvm_intel kvm irqbypass crct10dif_pclmul crc32_pclmul ghash_clmulni_intel pcbc arc4 aesni_intel aes_x86_64 crypto_simd glue_helper cryptd intel_cstate intel_rapl_perf snd_hda_codec_hdmi snd_soc_skl snd_soc_skl_ipc snd_hda_ext_core snd_soc_sst_dsp snd_soc_sst_ipc snd_hda_codec_conexant snd_soc_acpi snd_hda_codec_generic snd_soc_core joydev snd_compress serio_raw ac97_bus snd_pcm_dmaengine wmi_bmof intel_wmi_thunderbolt [78402.507582] snd_hda_intel snd_hda_codec snd_hda_core iwlmvm input_leds mac80211 snd_usb_audio snd_usbmidi_lib cdc_ether snd_hwdep r8152 iwlwifi snd_pcm uvcvideo videobuf2_vmalloc videobuf2_memops videobuf2_v4l2 videobuf2_core videodev thinkpad_acpi media cfg80211 nvram cdc_mbim qcserial cdc_wdm cdc_ncm snd_seq_midi usb_wwan snd_seq_midi_event usbnet rtsx_pci_ms btusb snd_rawmidi btrtl memstick btbcm usbserial mii btintel snd_seq bluetooth snd_seq_device snd_timer mei_me ucsi_acpi mei shpchp intel_pch_thermal typec_ucsi ecdh_generic snd typec soundcore acpi_pad mac_hid sch_fq_codel parport_pc ppdev lp parport ip_tables x_tables autofs4 zfs(PO) zunicode(PO) zavl(PO) icp(PO) zcommon(PO) znvpair(PO) spl(O) hid_generic usbhid rtsx_pci_sdmmc i915 psmouse i2c_algo_bit e1000e drm_kms_helper syscopyarea [78402.507629] ptp sysfillrect sysimgblt pps_core nvme rtsx_pci fb_sys_fops thunderbolt nvme_core drm wmi i2c_hid video hid [78402.507639] CPU: 0 PID: 15421 Comm: kworker/u8:3 Tainted: P O 4.15.0-20-generic #21-Ubuntu [78402.507640] Hardware name: LENOVO 20HRCTO1WW/20HRCTO1WW, BIOS N1MET38W (1.23 ) 08/30/2017 [78402.507644] Workqueue: kacpi_hotplug acpi_hotplug_work_fn [78402.507648] RIP: 0010:tty_unregister_driver+0xd/0x70 [78402.507649] RSP: 0018:a16e94de3af0 EFLAGS: 00010246 [78402.507651] RAX: RBX: RCX: [78402.507652] RDX: 8c4e4e972f00 RSI: f687520f9380 RDI: [78402.507654] RBP: a16e94de3af8 R08: 8c4e43e4e110 R09: 0001801e0013 [78402.507655] R10: f687512bfa00 R11: R12: 8c4e43e0e230 [78402.507656] R13: 8c4e43e0e27c R14: 8c4e43e0e390 R15: 0060 [78402.507658] FS: () GS:8c4e6140() knlGS: [78402.507659] CS: 0010 DS: ES: CR0: 80050033 [78402.507661] CR2: 0034