apport information ** Attachment added: "ProcCpuinfoMinimal.txt" https://bugs.launchpad.net/bugs/1775875/+attachment/5150547/+files/ProcCpuinfoMinimal.txt
-- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu. https://bugs.launchpad.net/bugs/1775875 Title: Ubuntu 18.04 Lenovo X1 Carbon 5th fails to suspend after detaching dock station (NULL pointer dereference) Status in linux package in Ubuntu: Confirmed Bug description: lsb_release -a No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 18.04 LTS Release: 18.04 Codename: bionic uname -r 4.15.0-22-generic How to reproduce: 1) connect dock station 2) disconnect dock station 3) type: systemctl suspend Result: system doesn't respond. Only Alt + Print Screen + SUB works. There is a workaround for this issue - disable USB for thunderbolt 3 in BIOS. But this is slightly an overkill. Error from kern.log: Jun 4 12:09:33 ya-x1 kernel: [ 375.060038] pcieport 0000:0a:03.0: Refused to change power state, currently in D3 Jun 4 12:09:33 ya-x1 kernel: [ 375.061527] xhci_hcd 0000:0d:00.0: remove, state 1 Jun 4 12:09:33 ya-x1 kernel: [ 375.061532] usb usb6: USB disconnect, device number 1 Jun 4 12:09:33 ya-x1 kernel: [ 375.061533] usb 6-1: USB disconnect, device number 2 Jun 4 12:09:33 ya-x1 kernel: [ 375.061572] xhci_hcd 0000:0d:00.0: xHCI host controller not responding, assume dead Jun 4 12:09:33 ya-x1 kernel: [ 375.061578] r8152 6-1:1.0 enx0050b68eac7d: Stop submitting intr, status -108 Jun 4 12:09:33 ya-x1 kernel: [ 375.116210] xhci_hcd 0000:0d:00.0: USB bus 6 deregistered Jun 4 12:09:33 ya-x1 kernel: [ 375.116217] xhci_hcd 0000:0d:00.0: remove, state 1 Jun 4 12:09:33 ya-x1 kernel: [ 375.116220] usb usb5: USB disconnect, device number 1 Jun 4 12:09:33 ya-x1 kernel: [ 375.116222] usb 5-3: USB disconnect, device number 3 Jun 4 12:09:33 ya-x1 kernel: [ 375.117197] xhci_hcd 0000:0d:00.0: Host halt failed, -19 Jun 4 12:09:33 ya-x1 kernel: [ 375.117199] xhci_hcd 0000:0d:00.0: Host not accessible, reset failed. Jun 4 12:09:33 ya-x1 kernel: [ 375.117307] xhci_hcd 0000:0d:00.0: USB bus 5 deregistered Jun 4 12:09:33 ya-x1 kernel: [ 375.147887] pcieport 0000:0a:02.0: Refused to change power state, currently in D3 Jun 4 12:09:33 ya-x1 kernel: [ 375.149415] pcieport 0000:0a:01.0: Refused to change power state, currently in D3 Jun 4 12:09:33 ya-x1 kernel: [ 375.150959] xhci_hcd 0000:0b:00.0: remove, state 4 Jun 4 12:09:33 ya-x1 kernel: [ 375.150965] usb usb4: USB disconnect, device number 1 Jun 4 12:09:33 ya-x1 kernel: [ 375.151217] xhci_hcd 0000:0b:00.0: USB bus 4 deregistered Jun 4 12:09:33 ya-x1 kernel: [ 375.151223] xhci_hcd 0000:0b:00.0: xHCI host controller not responding, assume dead Jun 4 12:09:33 ya-x1 kernel: [ 375.151230] xhci_hcd 0000:0b:00.0: remove, state 1 Jun 4 12:09:33 ya-x1 kernel: [ 375.151233] usb usb3: USB disconnect, device number 1 Jun 4 12:09:33 ya-x1 kernel: [ 375.151234] usb 3-1: USB disconnect, device number 2 Jun 4 12:09:33 ya-x1 kernel: [ 375.192843] usb 3-4: USB disconnect, device number 3 Jun 4 12:09:33 ya-x1 kernel: [ 375.194286] BUG: unable to handle kernel NULL pointer dereference at 0000000000000034 Jun 4 12:09:33 ya-x1 kernel: [ 375.194294] IP: tty_unregister_driver+0xd/0x70 Jun 4 12:09:33 ya-x1 kernel: [ 375.194295] PGD 0 P4D 0 Jun 4 12:09:33 ya-x1 kernel: [ 375.194298] Oops: 0000 [#1] SMP PTI Jun 4 12:09:33 ya-x1 kernel: [ 375.194300] Modules linked in: cdc_ether usbnet r8152 mii hid_generic snd_usb_audio usbhid snd_usbmidi_lib ccm thunderbolt bnep snd_hda_codec_hdmi snd_hda_codec_conexant snd_hda_codec_generic nls_iso8859_1 intel_rapl x86_pkg_temp_thermal intel_powerclamp coretemp arc4 kvm_intel snd_soc_skl kvm snd_soc_skl_ipc snd_hda_ext_core snd_soc_sst_dsp irqbypass snd_soc_sst_ipc crct10dif_pclmul snd_soc_acpi crc32_pclmul snd_soc_core ghash_clmulni_intel snd_compress ac97_bus pcbc snd_pcm_dmaengine snd_seq_midi snd_hda_intel snd_hda_codec snd_seq_midi_event snd_hda_core snd_hwdep aesni_intel uvcvideo snd_rawmidi aes_x86_64 input_leds crypto_simd glue_helper snd_pcm videobuf2_vmalloc cryptd intel_cstate intel_rapl_perf videobuf2_memops iwlmvm videobuf2_v4l2 joydev mac80211 serio_raw btusb videobuf2_core snd_seq Jun 4 12:09:33 ya-x1 kernel: [ 375.194335] thinkpad_acpi btrtl btbcm intel_wmi_thunderbolt wmi_bmof btintel nvram iwlwifi rtsx_pci_ms videodev bluetooth snd_seq_device snd_timer media cfg80211 memstick snd ecdh_generic mei_me mei intel_pch_thermal ucsi_acpi shpchp typec_ucsi typec soundcore mac_hid acpi_pad tpm_crb sch_fq_codel parport_pc ppdev lp parport ip_tables x_tables autofs4 rtsx_pci_sdmmc i915 i2c_algo_bit drm_kms_helper syscopyarea sysfillrect sysimgblt fb_sys_fops e1000e psmouse ptp nvme pps_core nvme_core drm rtsx_pci wmi i2c_hid video hid Jun 4 12:09:33 ya-x1 kernel: [ 375.194366] CPU: 0 PID: 4588 Comm: kworker/u8:3 Not tainted 4.15.0-22-generic #24-Ubuntu Jun 4 12:09:33 ya-x1 kernel: [ 375.194367] Hardware name: LENOVO 20HQS47H00/20HQS47H00, BIOS N1MET46W (1.31 ) 03/02/2018 Jun 4 12:09:33 ya-x1 kernel: [ 375.194372] Workqueue: kacpi_hotplug acpi_hotplug_work_fn Jun 4 12:09:33 ya-x1 kernel: [ 375.194375] RIP: 0010:tty_unregister_driver+0xd/0x70 Jun 4 12:09:33 ya-x1 kernel: [ 375.194376] RSP: 0018:ffffa935841afaf0 EFLAGS: 00010246 Jun 4 12:09:33 ya-x1 kernel: [ 375.194378] RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000000 Jun 4 12:09:33 ya-x1 kernel: [ 375.194379] RDX: ffff9c5c59261780 RSI: ffffef381192a880 RDI: 0000000000000000 Jun 4 12:09:33 ya-x1 kernel: [ 375.194381] RBP: ffffa935841afaf8 R08: ffff9c5c64aa2c38 R09: 00000001801e000e Jun 4 12:09:33 ya-x1 kernel: [ 375.194382] R10: ffffef380fcb4200 R11: 0000000000000000 R12: ffff9c5bf79ce230 Jun 4 12:09:33 ya-x1 kernel: [ 375.194383] R13: ffff9c5bf79ce27c R14: ffff9c5bf79ce390 R15: 0000000000000060 Jun 4 12:09:33 ya-x1 kernel: [ 375.194385] FS: 0000000000000000(0000) GS:ffff9c5ca1400000(0000) knlGS:0000000000000000 Jun 4 12:09:33 ya-x1 kernel: [ 375.194387] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 Jun 4 12:09:33 ya-x1 kernel: [ 375.194388] CR2: 0000000000000034 CR3: 000000033340a004 CR4: 00000000003606f0 Jun 4 12:09:33 ya-x1 kernel: [ 375.194390] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 Jun 4 12:09:33 ya-x1 kernel: [ 375.194391] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Jun 4 12:09:33 ya-x1 kernel: [ 375.194392] Call Trace: Jun 4 12:09:33 ya-x1 kernel: [ 375.194397] xhci_dbc_tty_unregister_driver+0x15/0x30 Jun 4 12:09:33 ya-x1 kernel: [ 375.194399] xhci_dbc_exit+0x2e/0x50 Jun 4 12:09:33 ya-x1 kernel: [ 375.194402] xhci_stop+0x5b/0x1e0 Jun 4 12:09:33 ya-x1 kernel: [ 375.194404] usb_remove_hcd+0x105/0x250 Jun 4 12:09:33 ya-x1 kernel: [ 375.194407] usb_hcd_pci_remove+0x74/0x130 Jun 4 12:09:33 ya-x1 kernel: [ 375.194409] xhci_pci_remove+0x6b/0x70 Jun 4 12:09:33 ya-x1 kernel: [ 375.194412] pci_device_remove+0x3e/0xb0 Jun 4 12:09:33 ya-x1 kernel: [ 375.194415] device_release_driver_internal+0x15b/0x220 Jun 4 12:09:33 ya-x1 kernel: [ 375.194417] device_release_driver+0x12/0x20 Jun 4 12:09:33 ya-x1 kernel: [ 375.194420] pci_stop_bus_device+0x7f/0xa0 Jun 4 12:09:33 ya-x1 kernel: [ 375.194422] pci_stop_bus_device+0x30/0xa0 Jun 4 12:09:33 ya-x1 kernel: [ 375.194424] pci_stop_bus_device+0x41/0xa0 Jun 4 12:09:33 ya-x1 kernel: [ 375.194426] pci_stop_and_remove_bus_device+0x12/0x20 Jun 4 12:09:33 ya-x1 kernel: [ 375.194429] trim_stale_devices+0x11d/0x150 Jun 4 12:09:33 ya-x1 kernel: [ 375.194432] trim_stale_devices+0xa9/0x150 Jun 4 12:09:33 ya-x1 kernel: [ 375.194434] trim_stale_devices+0xbb/0x150 Jun 4 12:09:33 ya-x1 kernel: [ 375.194436] ? get_slot_status+0xa3/0xe0 Jun 4 12:09:33 ya-x1 kernel: [ 375.194438] acpiphp_check_bridge.part.7+0x100/0x140 Jun 4 12:09:33 ya-x1 kernel: [ 375.194440] acpiphp_hotplug_notify+0x18e/0x220 Jun 4 12:09:33 ya-x1 kernel: [ 375.194443] ? free_bridge+0x100/0x100 Jun 4 12:09:33 ya-x1 kernel: [ 375.194445] acpi_device_hotplug+0xa4/0x4b0 Jun 4 12:09:33 ya-x1 kernel: [ 375.194447] acpi_hotplug_work_fn+0x1e/0x30 Jun 4 12:09:33 ya-x1 kernel: [ 375.194450] process_one_work+0x1de/0x410 Jun 4 12:09:33 ya-x1 kernel: [ 375.194452] worker_thread+0x32/0x410 Jun 4 12:09:33 ya-x1 kernel: [ 375.194455] kthread+0x121/0x140 Jun 4 12:09:33 ya-x1 kernel: [ 375.194456] ? process_one_work+0x410/0x410 Jun 4 12:09:33 ya-x1 kernel: [ 375.194459] ? kthread_create_worker_on_cpu+0x70/0x70 Jun 4 12:09:33 ya-x1 kernel: [ 375.194462] ret_from_fork+0x35/0x40 Jun 4 12:09:33 ya-x1 kernel: [ 375.194463] Code: c2 1f 33 74 9f 48 c7 c7 d0 0d c4 9f e8 ed 92 ee ff 48 89 df e8 c5 c6 c6 ff 5b 5d c3 66 90 0f 1f 44 00 00 55 48 89 e5 53 48 89 fb <8b> 77 34 8b 7f 2c c1 e7 14 0b 7b 30 e8 62 14 ca ff 48 c7 c7 e0 Jun 4 12:09:33 ya-x1 kernel: [ 375.194503] RIP: tty_unregister_driver+0xd/0x70 RSP: ffffa935841afaf0 Jun 4 12:09:33 ya-x1 kernel: [ 375.194504] CR2: 0000000000000034 Jun 4 12:09:33 ya-x1 kernel: [ 375.194506] ---[ end trace 38139ba5c9de0063 ]--- Jun 4 12:09:34 ya-x1 kernel: [ 375.730916] thinkpad_acpi: EC reports that Thermal Table has changed Jun 4 12:10:00 ya-x1 kernel: [ 401.621461] wlp4s0: deauthenticating from 2c:d0:2d:6b:10:6f by local choice (Reason: 3=DEAUTH_LEAVING) Jun 4 12:10:00 ya-x1 kernel: [ 401.636505] wlp4s0: failed to remove key (1, ff:ff:ff:ff:ff:ff) from hardware (-22) Jun 4 12:10:00 ya-x1 kernel: [ 401.787737] PM: suspend entry (deep) --- ApportVersion: 2.20.9-0ubuntu7.1 Architecture: amd64 AudioDevicesInUse: USER PID ACCESS COMMAND /dev/snd/controlC0: rvmalyshev 2160 F.... pulseaudio CurrentDesktop: i3 DistroRelease: Ubuntu 18.04 InstallationDate: Installed on 2018-05-02 (37 days ago) InstallationMedia: Ubuntu 18.04 LTS "Bionic Beaver" - Release amd64 (20180426) Lsusb: Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub Bus 001 Device 004: ID 138a:0097 Validity Sensors, Inc. Bus 001 Device 003: ID 13d3:5682 IMC Networks Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub MachineType: LENOVO 20HQS47H00 Package: linux (not installed) ProcFB: 0 inteldrmfb ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-4.15.0-22-generic root=UUID=e9de3248-067a-4be6-9af3-0521ed32306a ro quiet splash vt.handoff=1 ProcVersionSignature: Ubuntu 4.15.0-22.24-generic 4.15.17 RelatedPackageVersions: linux-restricted-modules-4.15.0-22-generic N/A linux-backports-modules-4.15.0-22-generic N/A linux-firmware 1.173.1 Tags: bionic Uname: Linux 4.15.0-22-generic x86_64 UpgradeStatus: No upgrade log present (probably fresh install) UserGroups: adm cdrom dip docker lpadmin plugdev sambashare sudo _MarkForUpload: True dmi.bios.date: 03/02/2018 dmi.bios.vendor: LENOVO dmi.bios.version: N1MET46W (1.31 ) dmi.board.asset.tag: Not Available dmi.board.name: 20HQS47H00 dmi.board.vendor: LENOVO dmi.board.version: SDK0J40697 WIN dmi.chassis.asset.tag: No Asset Information dmi.chassis.type: 10 dmi.chassis.vendor: LENOVO dmi.chassis.version: None dmi.modalias: dmi:bvnLENOVO:bvrN1MET46W(1.31):bd03/02/2018:svnLENOVO:pn20HQS47H00:pvrThinkPadX1Carbon5th:rvnLENOVO:rn20HQS47H00:rvrSDK0J40697WIN:cvnLENOVO:ct10:cvrNone: dmi.product.family: ThinkPad X1 Carbon 5th dmi.product.name: 20HQS47H00 dmi.product.version: ThinkPad X1 Carbon 5th dmi.sys.vendor: LENOVO To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1775875/+subscriptions -- Mailing list: https://launchpad.net/~kernel-packages Post to : kernel-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~kernel-packages More help : https://help.launchpad.net/ListHelp