There is no useful message in the log, so we may have to go with kdump and 
pstore.
I saw you already have crashkernel parameters in your kernel cmdline, so I 
think You already installed kdump on your system.

Add those to kernel cmdline, it will reboot your system 30s after kernel panic 
   crash_kexec_post_notifiers panic_print=0x7 printk_always_kmsg_dump=1 panic=30

You can check if your kdump is installed correctly
   /etc/init.d/kdump-tools status

Check and test the kdump settings
   kdump-config test

The kudmp files will be preserved in /var/crash/

You may also want to run this before doing the test if the system is not auto 
reboot, you can try using kernel magic key to reboot it
   sudo sysctl -w kernel.sysrq=1

And we also need pstore to store the log in the memory, check if the service is 
running correctly
   sudo systemctl status systemd-pstore

You can see the preserved log here if the pstore service is running
   /var/lib/systemd/pstore
If the pstore service is not running correctly, you can find the preserved log 
here
   /sys/fs/pstore

Now, we are ready to reproduce the issue. Once it hang, don't push the power 
button, wait 30 seconds to see if it auto reboot.
If not, try using kernel magic key "Alt + SysRq + b" to reboot the system.

Check if there are files appear in "/var/lib/systemd/pstore" or in 
"/sys/fs/pstore", then upload them all here.
You also can upload the kdump file stored in /var/crash. The file includes more 
other information, check the content before you upload it.

-- 
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