Kernel Panic / Can't Boot Qubes OS

Hello dear Qubes Community!

I bought a ThinkPad X13 Gen 4 (AMD) to use QubesOS on it.

Unfortunately, I cannot start and install Qubes properly. The computer boots the written ISO from the USB stick and receives a long cryptic error message with a kernel panic at the end.

Unfortunately, the computer shuts down again in a flash after the errors, so I couldn’t even take a photo of the errors to do troubleshooting.

I am desperate.

What’s your laptop’s CPU?
Or laptop model?

Try to add module_blacklist=ucsi_acpi to the kernel command line options in GRUB:
Kernel panic during installation on Lenovo Thinkpad P16s Gen 2 (AMD 7840U with 780M iGPU) - #5 by thinkpadfan443

You can add it like this:
Autostart troubleshooting | Qubes OS

The CPU is AMD Ryzen 7 PRO 7840U.

I will try your fix.

Thank you.

Your command worked! I was able to start and install Qubes OS from the USB! Thank you.

Unfortunately, the touchpad does not work and my internal wifi adapter is not recognized after the installation.

The computer just turns itself off when I plug in or unplug USB devices, but not always?

I’ll do a few updates now and will get back.

No USB with 4.2.0-rc5 on Framework Laptop 13 AMD · Issue #8734 · QubesOS/qubes-issues · GitHub

Try to use Fedora template instead of Debian template.
The Debian template has outdated firmware pachage.

Maybe related:
USB C dongles crash sys-usb (along with the rest of the system) · Issue #9291 · QubesOS/qubes-issues · GitHub

Many thanks for your help!

Unfortunately I could not solve my problems. I think I’m still a Linux noob and need more time and knowledge to tackle these problems better.

To fix the problem with touchpad append this line:

GRUB_CMDLINE_XEN_DEFAULT="$GRUB_CMDLINE_XEN_DEFAULT ioapic_ack=new"

At the end of /etc/default/grub file in dom0 and run this command in dom0 to regenerate GRUB config:

sudo grub2-mkconfig -o /boot/grub2/grub.cfg

What template do you use for sys-net qube?
If it’s Debian, then did you try to change it to Fedora to fix your problem with WiFi?

Thank you very much!

Unfortunately, I have already deleted Qubes OS again.

I will have another look at it when I find some time again.

In the meantime, I will upload an HCL report.

Hello,

I have reinstalled Qubes OS and tried your fixes.

The touchpad works!

I left the main template on Fedora during the installation of Qubes OS. The Net-VM runs on Fedora. Unfortunately the wifi card still does not work.

I was able to further isolate the sudden shutdown of the laptop via USB. My laptop shuts down with every USB connection that I disconnect from the computer, even when i disconnect the charging cable…

I have also noticed that the super key (Windows key) does not work/respond under Qubes.