Display failure after plugging into thunderbolt dock
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
linux-signed-oem-6.1 (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
I'm left with a black screen after connecting a laptop into a thunderbolt dock.
The primary kernel error is logged "Failed to create MST payload for port", followed by a proper oops:
"BUG: kernel NULL pointer dereference, address: 0000000000000008"
The dock screens remain in power-save and the laptop screen remains black (usually it is blank when connected to dock).
After unplugging from dock the laptop screen does not recover.
I'm on 6.1-oem due to issues with AMD GPU not waking from sleep after the the HWE kernel update from 23.04 -> 22.04
kernel: amdgpu 0000:04:00.0: [drm] Failed to create MST payload for port 000000000a2b5491: -5
kernel: BUG: kernel NULL pointer dereference, address: 0000000000000008
kernel: #PF: supervisor read access in kernel mode
kernel: #PF: error_code(0x0000) - not-present page
kernel: PGD 0 P4D 0
kernel: Oops: 0000 [#1] PREEMPT SMP NOPTI
kernel: CPU: 5 PID: 3215 Comm: gnome-shell Not tainted 6.1.0-1010-oem #10-Ubuntu
kernel: Hardware name: LENOVO 82UD/LNVNB161216, BIOS JECN11WW(V1.04) 03/14/2022
kernel: RIP: 0010:drm_
kernel: Code: e8 87 22 82 ff 44 89 f0 5b 41 5c 41 5d 41 5e 5d 31 d2 89 d1 89 d6 89 d7 41 89 d0 41 89 d1 e9 e9 80 08 d0 48 8b 80 58 05 00 0>
kernel: RSP: 0018:ffffab9590
kernel: RAX: ffff8c77e8506000 RBX: ffff8c77e8506000 RCX: 0000000000000000
kernel: RDX: ffff8c7a1e8e7740 RSI: 0000000000000000 RDI: ffff8c77f0f14540
kernel: RBP: ffffab9590f1b568 R08: 0000000000000000 R09: 0000000000000000
kernel: R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000001
kernel: R13: ffff8c77f0f14000 R14: ffff8c780885a0c0 R15: 0000000000000006
kernel: FS: 00007f9dbdddb5c
kernel: CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
kernel: CR2: 0000000000000008 CR3: 000000014b8d8000 CR4: 0000000000350ee0
kernel: Call Trace:
kernel: <TASK>
kernel: dm_helpers_
kernel: dc_link_
kernel: core_link_
kernel: apply_single_
kernel: ? free_large_
kernel: dce110_
kernel: ? dcn10_wait_
kernel: ? dcn20_prepare_
kernel: dc_commit_
kernel: ? dc_validate_
kernel: dc_commit_
kernel: amdgpu_
kernel: ? sugov_update_
kernel: ? newidle_
kernel: ? psi_group_
kernel: ? raw_spin_
kernel: ? finish_
kernel: ? __schedule+
kernel: ? krc_this_
kernel: ? kvfree_
kernel: ? schedule_
kernel: ? wait_for_
kernel: commit_
kernel: ? drm_atomic_
kernel: drm_atomic_
kernel: drm_atomic_
kernel: ? drm_plane_
kernel: drm_mode_
kernel: ? drm_atomic_
kernel: drm_ioctl_
kernel: drm_ioctl+
kernel: ? drm_atomic_
kernel: amdgpu_
kernel: __x64_sys_
kernel: do_syscall_
kernel: ? do_syscall_
kernel: ? exit_to_
kernel: ? exit_to_
kernel: ? irqentry_
kernel: ? irqentry_
kernel: ? exc_page_
kernel: entry_SYSCALL_
kernel: RIP: 0033:0x7f9dc2d1aaff
kernel: Code: 00 48 89 44 24 18 31 c0 48 8d 44 24 60 c7 04 24 10 00 00 00 48 89 44 24 08 48 8d 44 24 20 48 89 44 24 10 b8 10 00 00 00 0f 0>
kernel: RSP: 002b:00007fff7f
kernel: RAX: ffffffffffffffda RBX: 00007fff7fa9fd90 RCX: 00007f9dc2d1aaff
kernel: RDX: 00007fff7fa9fd90 RSI: 00000000c03864bc RDI: 0000000000000009
kernel: RBP: 00000000c03864bc R08: 0000000000000012 R09: 0000000000000012
kernel: R10: 0000000000000007 R11: 0000000000000246 R12: 000056543cb14ea0
kernel: R13: 0000000000000009 R14: 000056543ff88a80 R15: 0000565441c22a50
kernel: </TASK>
kernel: Modules linked in: rfcomm xt_conntrack nft_chain_nat xt_MASQUERADE nf_nat nf_conntrack_
kernel: snd_rpl_pci_acp6x snd_acp_pci snd_rawmidi rc_core btrtl sha512_ssse3 videobuf2_common btbcm mac80211 snd_pci_acp6x snd_seq aesni_>
kernel: i2c_hid_acpi xhci_pci_renesas sdhci nvme_common video i2c_hid wmi hid
kernel: CR2: 0000000000000008
kernel: ---[ end trace 0000000000000000 ]---
ProblemType: Bug
DistroRelease: Ubuntu 22.04
Package: linux-image-
ProcVersionSign
Uname: Linux 6.1.0-1010-oem x86_64
ApportVersion: 2.20.11-0ubuntu82.4
Architecture: amd64
CasperMD5CheckR
Date: Sun May 14 14:14:06 2023
InstallationDate: Installed on 2022-09-16 (239 days ago)
InstallationMedia: Ubuntu 22.04.1 LTS "Jammy Jellyfish" - Release amd64 (20220809.1)
SourcePackage: linux-signed-
UpgradeStatus: No upgrade log present (probably fresh install)
I got similar symptom, but with NVIDIA driver and Lenovo Thunderbolt 4 dock. Looks like for it happens after connecting dock back, but screen goes black already when disconnecting from the dock.
System info:
Linux mopo 6.2.0-33-generic #33~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Thu Sep 7 10:33:52 UTC 2 x86_64 x86_64 x86_64 GNU/Linux
Backtrace:
marras 01 14:03:15 mopo kernel: BUG: kernel NULL pointer dereference, address: 0000000000000000 20YRS21300, BIOS N37ET46W (1.27 ) 07/12/2023 acpi_async_ write+0x31/ 0x60 [ucsi_acpi] a37d10 EFLAGS: 00010282 0(0000) GS:ffffa0a1ef6c 0000(0000) knlGS:000000000 0000000 oops+0x79/ 0x190 addr_fault+ 0x30c/0x640 fault+0x81/ 0x1b0 page_fault+ 0x27/0x30 async_write+ 0x31/0x60 [ucsi_acpi] command+ 0xd9/0xf0 [typec_ucsi] command+ 0x4b/0xf0 [typec_ucsi] altmodes+ 0xd7/0x210 [typec_ucsi] altmodes+ 0x1c/0xb0 [typec_ucsi] 0x13/0x50 worker+ 0x3c/0x. ..
marras 01 14:03:15 mopo kernel: #PF: supervisor read access in kernel mode
marras 01 14:03:15 mopo kernel: #PF: error_code(0x0000) - not-present page
marras 01 14:03:15 mopo kernel: PGD 0 P4D 0
marras 01 14:03:15 mopo kernel: Oops: 0000 [#1] PREEMPT SMP NOPTI
marras 01 14:03:15 mopo kernel: CPU: 11 PID: 1589 Comm: kworker/u32:11 Tainted: P O 6.2.0-33-generic #33~22.04.1-Ubuntu
marras 01 14:03:15 mopo kernel: Hardware name: LENOVO 20YRS21300/
marras 01 14:03:15 mopo kernel: Workqueue: USBC000:00-con1 ucsi_poll_worker [typec_ucsi]
marras 01 14:03:15 mopo kernel: RIP: 0010:ucsi_
marras 01 14:03:15 mopo kernel: Code: 89 e5 41 56 49 89 ce 41 55 49 89 d5 41 54 53 89 f3 e8 73 8b 2a 00 4c 89 f2 4c 89 ee 89 df 48 03 78 10 49 89 c4 e8 7f 3c cc d8 <49> 8b 45 00 4c 89 e7 be 01 00 00 00 49 89 44 24 50 e8 b9 fc ff ff
marras 01 14:03:15 mopo kernel: RSP: 0018:ffffb685c2
marras 01 14:03:15 mopo kernel: RAX: ffffb685c00f5002 RBX: 0000000000000002 RCX: 0000000000000000
marras 01 14:03:15 mopo kernel: RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffffb685c00f5002
marras 01 14:03:15 mopo kernel: RBP: ffffb685c2a37d30 R08: 0000000000000000 R09: 0000000000000000
marras 01 14:03:15 mopo kernel: R10: 0000000000000000 R11: 0000000000000000 R12: ffffa096c33074a8
marras 01 14:03:15 mopo kernel: R13: 0000000000000000 R14: 0000000000000000 R15: 000000000000000c
marras 01 14:03:15 mopo kernel: FS: 000000000000000
marras 01 14:03:15 mopo kernel: CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
marras 01 14:03:15 mopo kernel: CR2: 0000000000000000 CR3: 0000000a80410005 CR4: 0000000000770ee0
marras 01 14:03:15 mopo kernel: PKRU: 55555554
marras 01 14:03:15 mopo kernel: Call Trace:
marras 01 14:03:15 mopo kernel: <TASK>
marras 01 14:03:15 mopo kernel: ? show_regs+0x72/0x90
marras 01 14:03:15 mopo kernel: ? __die+0x25/0x80
marras 01 14:03:15 mopo kernel: ? page_fault_
marras 01 14:03:15 mopo kernel: ? do_user_
marras 01 14:03:15 mopo kernel: ? exc_page_
marras 01 14:03:15 mopo kernel: ? asm_exc_
marras 01 14:03:15 mopo kernel: ? ucsi_acpi_
marras 01 14:03:15 mopo kernel: ucsi_exec_
marras 01 14:03:15 mopo kernel: ucsi_send_
marras 01 14:03:15 mopo kernel: ucsi_register_
marras 01 14:03:15 mopo kernel: ucsi_check_
marras 01 14:03:15 mopo kernel: ? mutex_lock+
marras 01 14:03:15 mopo kernel: ucsi_poll_