There is one stack trace in the log but that is a warning (should not
cause the system hang directly). Extracting the relevant data here for
reference:

WARNING: CPU: 7 PID: 5030 at drivers/usb/typec/class.c:311 
typec_altmode_update_active+0x101/0x110 [typec]
  dmi_sysfs autofs4 aesni_intel
] CPU: 7 UID: 0 PID: 5030 Comm: kworker/u32:8 Kdump: loaded Not tainted 
6.17.0-14-generic #14-Ubuntu PREEMPT(voluntary) 
 Hardware name: Dell Inc. XPS 13 7390 2-in-1/06CDVY, BIOS 1.35.0 12/17/2024
 Workqueue: USBC000:00-con1 ucsi_poll_worker [typec_ucsi]
 RIP: 0010:typec_altmode_update_active+0x101/0x110 [typec]
  ucsi_altmode_update_active+0xac/0x190 [typec_ucsi]
  ucsi_check_altmodes+0x69/0xb0 [typec_ucsi]
  ucsi_poll_worker+0x3d/0x100 [typec_ucsi]
  process_one_work+0x18b/0x370
  worker_thread+0x317/0x450
  kthread+0x108/0x220
  ret_from_fork+0x131/0x150
  ret_from_fork_asm+0x1a/0x30
  </TASK>

In typec_altmode_update_active() this warning is triggered when getting
a reference to a module (driver) fails. And the system seems to be still
active once this happened. But at the end the connection gets lost and I
suspect that is where the crash happens.

One thing to try before other things, I vaguely recalled something like
panic_on_oops but seems that got renamed since. So it might help to add
"oops=panic" to the list of grub arguments and see whether that causes a
dump.

Otherwise, if non-secureboot is a temporary option, you could attempt to
step through v6.17.9, v6.17.12, v6.18.7, and v6.19-rc8 from
https://kernel.ubuntu.com/mainline/dashboard.html. Those are raw
upstream kernels without any changes from Ubuntu. That would tell us
whether it is something wrong in our delta (v6.17.9). whether it might
be fixed in pending upstream fixes (v6.17.12) or future kernel versions.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2141225

Title:
  Kernel panic when connecting USB-C Dell monitors on Ubuntu kernel
  6.17.0-14-generic

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux-hwe-6.17/+bug/2141225/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to