Ubuntu 18.04 Lenovo X1 Carbon 5th fails to suspend after detaching dock station (NULL pointer dereference)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
linux (Ubuntu) |
Incomplete
|
Medium
|
Unassigned |
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_
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_
Jun 4 12:09:33 ya-x1 kernel: [ 375.194335] thinkpad_acpi btrtl btbcm intel_wmi_
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/
Jun 4 12:09:33 ya-x1 kernel: [ 375.194372] Workqueue: kacpi_hotplug acpi_hotplug_
Jun 4 12:09:33 ya-x1 kernel: [ 375.194375] RIP: 0010:tty_
Jun 4 12:09:33 ya-x1 kernel: [ 375.194376] RSP: 0018:ffffa93584
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: 000000000000000
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_
Jun 4 12:09:33 ya-x1 kernel: [ 375.194399] xhci_dbc_
Jun 4 12:09:33 ya-x1 kernel: [ 375.194402] xhci_stop+
Jun 4 12:09:33 ya-x1 kernel: [ 375.194404] usb_remove_
Jun 4 12:09:33 ya-x1 kernel: [ 375.194407] usb_hcd_
Jun 4 12:09:33 ya-x1 kernel: [ 375.194409] xhci_pci_
Jun 4 12:09:33 ya-x1 kernel: [ 375.194412] pci_device_
Jun 4 12:09:33 ya-x1 kernel: [ 375.194415] device_
Jun 4 12:09:33 ya-x1 kernel: [ 375.194417] device_
Jun 4 12:09:33 ya-x1 kernel: [ 375.194420] pci_stop_
Jun 4 12:09:33 ya-x1 kernel: [ 375.194422] pci_stop_
Jun 4 12:09:33 ya-x1 kernel: [ 375.194424] pci_stop_
Jun 4 12:09:33 ya-x1 kernel: [ 375.194426] pci_stop_
Jun 4 12:09:33 ya-x1 kernel: [ 375.194429] trim_stale_
Jun 4 12:09:33 ya-x1 kernel: [ 375.194432] trim_stale_
Jun 4 12:09:33 ya-x1 kernel: [ 375.194434] trim_stale_
Jun 4 12:09:33 ya-x1 kernel: [ 375.194436] ? get_slot_
Jun 4 12:09:33 ya-x1 kernel: [ 375.194438] acpiphp_
Jun 4 12:09:33 ya-x1 kernel: [ 375.194440] acpiphp_
Jun 4 12:09:33 ya-x1 kernel: [ 375.194443] ? free_bridge+
Jun 4 12:09:33 ya-x1 kernel: [ 375.194445] acpi_device_
Jun 4 12:09:33 ya-x1 kernel: [ 375.194447] acpi_hotplug_
Jun 4 12:09:33 ya-x1 kernel: [ 375.194450] process_
Jun 4 12:09:33 ya-x1 kernel: [ 375.194452] worker_
Jun 4 12:09:33 ya-x1 kernel: [ 375.194455] kthread+0x121/0x140
Jun 4 12:09:33 ya-x1 kernel: [ 375.194456] ? process_
Jun 4 12:09:33 ya-x1 kernel: [ 375.194459] ? kthread_
Jun 4 12:09:33 ya-x1 kernel: [ 375.194462] ret_from_
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_
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/
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=
ProcVersionSign
RelatedPackageV
linux-
linux-
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.
dmi.board.name: 20HQS47H00
dmi.board.vendor: LENOVO
dmi.board.version: SDK0J40697 WIN
dmi.chassis.
dmi.chassis.type: 10
dmi.chassis.vendor: LENOVO
dmi.chassis.
dmi.modalias: dmi:bvnLENOVO:
dmi.product.family: ThinkPad X1 Carbon 5th
dmi.product.name: 20HQS47H00
dmi.product.
dmi.sys.vendor: LENOVO
summary: |
- Lenovo X1 Carbon 5th fails to suspend after detaching dock station + Ubuntu 18.04 Lenovo X1 Carbon 5th fails to suspend after detaching dock + station |
summary: |
Ubuntu 18.04 Lenovo X1 Carbon 5th fails to suspend after detaching dock - station + station (NULL pointer dereference) |
tags: | added: kernel-bug |
Changed in linux (Ubuntu): | |
importance: | Undecided → Medium |
status: | Confirmed → Incomplete |
This bug is missing log files that will aid in diagnosing the problem. While running an Ubuntu kernel (not a mainline or third-party kernel) please enter the following command in a terminal window:
apport-collect 1775875
and then change the status of the bug to 'Confirmed'.
If, due to the nature of the issue you have encountered, you are unable to run this command, please add a comment stating that fact and change the bug status to 'Confirmed'.
This change has been made by an automated script, maintained by the Ubuntu Kernel Team.