[Bug 1767452] Re: kernel oops when I undocked
Here's the above in an (unmunged) attachment ** Attachment added: "kern.log" https://bugs.launchpad.net/ubuntu/+source/linux-signed/+bug/1767452/+attachment/5128741/+files/kern.log -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1767452 Title: kernel oops when I undocked To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux-signed/+bug/1767452/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1767452] [NEW] kernel oops when I undocked
Public bug reported: Here's a snippet from the kernel log which I think will make the actual issue clear: Apr 27 09:49:20 caliburn kernel: [ 4558.910412] pcieport :0a:03.0: Refused to change power state, currently in D3 Apr 27 09:49:20 caliburn kernel: [ 4558.917717] xhci_hcd :0d:00.0: remove, state 1 Apr 27 09:49:20 caliburn kernel: [ 4558.917724] usb usb6: USB disconnect, device number 1 Apr 27 09:49:20 caliburn kernel: [ 4558.917725] usb 6-1: USB disconnect, device number 2 Apr 27 09:49:20 caliburn kernel: [ 4558.917774] xhci_hcd :0d:00.0: xHCI host controller not responding, assume dead Apr 27 09:49:20 caliburn kernel: [ 4558.968688] xhci_hcd :0d:00.0: USB bus 6 deregistered Apr 27 09:49:20 caliburn kernel: [ 4558.968694] xhci_hcd :0d:00.0: remove, state 1 Apr 27 09:49:20 caliburn kernel: [ 4558.968700] usb usb5: USB disconnect, device number 1 Apr 27 09:49:20 caliburn kernel: [ 4558.968701] usb 5-3: USB disconnect, device number 3 Apr 27 09:49:20 caliburn kernel: [ 4559.076020] usb 5-4: USB disconnect, device number 4 Apr 27 09:49:20 caliburn kernel: [ 4559.076023] usb 5-4.2: USB disconnect, device number 5 Apr 27 09:49:20 caliburn kernel: [ 4559.123365] usb 5-4.4: USB disconnect, device number 7 Apr 27 09:49:20 caliburn kernel: [ 4559.125340] xhci_hcd :0d:00.0: Host halt failed, -19 Apr 27 09:49:20 caliburn kernel: [ 4559.125343] xhci_hcd :0d:00.0: Host not accessible, reset failed. Apr 27 09:49:20 caliburn kernel: [ 4559.125467] xhci_hcd :0d:00.0: USB bus 5 deregistered Apr 27 09:49:21 caliburn kernel: [ 4559.146170] pcieport :0a:02.0: Refused to change power state, currently in D3 Apr 27 09:49:21 caliburn kernel: [ 4559.147809] pcieport :0a:01.0: Refused to change power state, currently in D3 Apr 27 09:49:21 caliburn kernel: [ 4559.149445] xhci_hcd :0b:00.0: remove, state 4 Apr 27 09:49:21 caliburn kernel: [ 4559.149451] usb usb4: USB disconnect, device number 1 Apr 27 09:49:21 caliburn kernel: [ 4559.149700] xhci_hcd :0b:00.0: USB bus 4 deregistered Apr 27 09:49:21 caliburn kernel: [ 4559.149706] xhci_hcd :0b:00.0: xHCI host controller not responding, assume dead Apr 27 09:49:21 caliburn kernel: [ 4559.149718] xhci_hcd :0b:00.0: remove, state 1 Apr 27 09:49:21 caliburn kernel: [ 4559.149722] usb usb3: USB disconnect, device number 1 Apr 27 09:49:21 caliburn kernel: [ 4559.149724] usb 3-1: USB disconnect, device number 2 Apr 27 09:49:21 caliburn kernel: [ 4559.206497] usb 3-2: USB disconnect, device number 3 Apr 27 09:49:21 caliburn kernel: [ 4559.462604] usb 3-4: USB disconnect, device number 4 Apr 27 09:49:21 caliburn kernel: [ 4559.464185] BUG: unable to handle kernel NULL pointer dereference at 0034 Apr 27 09:49:21 caliburn kernel: [ 4559.464193] IP: tty_unregister_driver+0xd/0x70 Apr 27 09:49:21 caliburn kernel: [ 4559.464195] PGD 0 P4D 0 Apr 27 09:49:21 caliburn kernel: [ 4559.464197] Oops: [#1] SMP PTI Apr 27 09:49:21 caliburn kernel: [ 4559.464199] Modules linked in: veth 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 overlay hid_led hid_generic snd_usb_audio snd_usbmidi_lib usbhid cdc_ether usbnet r8152 mii bnep nls_iso8859_1 snd_soc_skl snd_soc_skl_ipc snd_seq_midi snd_hda_ext_core snd_seq_midi_event arc4 snd_soc_sst_dsp intel_rapl snd_soc_sst_ipc snd_rawmidi x86_pkg_temp_thermal snd_soc_acpi intel_powerclamp snd_hda_codec_hdmi coretemp snd_hda_codec_conexant snd_hda_codec_generic kvm_intel snd_soc_core snd_compress ac97_bus kvm snd_pcm_dmaengine snd_seq irqbypass intel_cstate intel_rapl_perf snd_hda_intel joydev uvcvideo input_leds Apr 27 09:49:21 caliburn kernel: [ 4559.464233] serio_raw snd_hda_codec thinkpad_acpi videobuf2_vmalloc videobuf2_memops nvram videobuf2_v4l2 iwlmvm snd_hda_core snd_hwdep videobuf2_core wmi_bmof intel_wmi_thunderbolt snd_pcm mac80211 snd_seq_device snd_timer videodev btusb media btrtl btbcm btintel iwlwifi mei_me bluetooth cfg80211 rtsx_pci_ms memstick snd ecdh_generic mei ucsi_acpi typec_ucsi intel_pch_thermal typec shpchp soundcore tpm_crb mac_hid acpi_pad sch_fq_codel parport_pc ppdev lp parport ip_tables x_tables autofs4 algif_skcipher af_alg dm_crypt rtsx_pci_sdmmc crct10dif_pclmul crc32_pclmul ghash_clmulni_intel pcbc i915 aesni_intel i2c_algo_bit aes_x86_64 drm_kms_helper crypto_simd e1000e glue_helper cryptd syscopyarea psmouse sysfillrect sysimgblt nvme ptp fb_sys_fops pps_core thunderbolt nvme_core drm rtsx_pci wmi i2c_hid Apr 27 09:49:21 caliburn kernel: [ 4559.464273] video hid Apr 27 09:49:21 caliburn kernel: [ 4559.464276] CPU: 1 PID: 3 Comm: kworker/u8:1 Not tainted 4.15.0-20-generic #21-Ubuntu Apr 27 09:49:21 caliburn kernel: [ 4559.464278] Hardware name: LENOVO 20HR000FUS/20HR000FUS, BIOS N1MET39W (1.24 ) 09/27/2017 A
Re: [Bug 1767452] Re: kernel oops when I undocked
I do have a Thunderbolt dock, but it is not so trivially reproducable for me. Most of the time I can undock and redock just fine. I suspect I did something in an unusual order, like closed my laptop and *then* undocked, instead of undocking first. On Mon, Apr 30, 2018 at 04:49:52PM -, Anders Kvist wrote: > I assume you have a Thunderbolt dock? I see the same, happens each time > after undocking and then the dock won't work anymore until a reboot. > > It seems to be a problem with a double dereference in xhci dbgtty. Check > this bug at redhat, which describes the problem and also has a fix: > > https://bugzilla.redhat.com/show_bug.cgi?id=1565131 > > ** Bug watch added: Red Hat Bugzilla #1565131 >https://bugzilla.redhat.com/show_bug.cgi?id=1565131 > > ** Attachment added: "dmesg - thunderbolt attach and deattach" > > https://bugs.launchpad.net/ubuntu/+source/linux-signed/+bug/1767452/+attachment/5130886/+files/thunderbolt_crash > -- fREW Schmidt https://blog.afoolishmanifesto.com -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1767452 Title: kernel oops when I undocked To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux-signed/+bug/1767452/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1767452] Re: kernel oops when I undocked
I reproduced this this afternoon with the latest stable kernel (4.16.6.) See attached subset of the kernel log. I'll try with 4.17 tomorrow. ** Attachment added: "kern2.log" https://bugs.launchpad.net/ubuntu/+source/linux-signed/+bug/1767452/+attachment/5131193/+files/kern2.log -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1767452 Title: kernel oops when I undocked To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux-signed/+bug/1767452/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1767452] Re: kernel oops when I undocked
I just realized why I thought this was not predictable. The system continues to function just fine after the Oops *until* I close my laptop. Once I close my laptop the whole thing freezes and does not recover. Attaching one last kernel log and then will leave it alone till someone asks for more detail. ** Attachment added: "kern3.log" https://bugs.launchpad.net/ubuntu/+source/linux-signed/+bug/1767452/+attachment/5131578/+files/kern3.log -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1767452 Title: kernel oops when I undocked To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux-signed/+bug/1767452/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1767452] Re: kernel oops when I undocked
Same. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1767452 Title: kernel oops when I undocked To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux-signed/+bug/1767452/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1767452] Re: kernel oops when I undocked
Good news! the 4.17.0-rc3 kernel *fixed this issue*! You can get it here: http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.17-rc3/ I only tried undocking once so far but hey, I was able to undock and redock and there was no oops in dmesg. I will likely try again later throughout the day for various meetings. Will update here if I have any problems. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1767452 Title: kernel oops when I undocked To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux-signed/+bug/1767452/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
Re: [Bug 1767452] Re: kernel oops when I undocked
I intend to do this, but I expect it to eat up a few hours of time so just haven't gotten around to it. On Wed, May 30, 2018 at 01:50:18PM -, Christopher M. Penalver wrote: > Anders Kvist: > >"Christopher, I believe the solution is in the redhat bug mentioned earlier. > https://bugzilla.redhat.com/show_bug.cgi?id=1565131"; > > What is most helpful is if one confirms with their hardware via adding > and reverting the potential fix commit that it does indeed address their > issue. > -- fREW Schmidt https://blog.afoolishmanifesto.com -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1767452 Title: kernel oops when I undocked To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1767452/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs