Hello everyone,
I’m encountering a persistent boot issue on my openSUSE Tumbleweed system after compiling and installing a custom Xanmod kernel. The stock openSUSE kernel boots perfectly, but the Xanmod kernel hangs immediately after the UEFI handoff.
My System Configuration:
- OS: openSUSE Tumbleweed with KDE Plasma
- CPU: AMD Ryzen 7 7700
- Motherboard: MSI B650M MAG Mortar WiFi (BIOS is updated to the latest version)
- Bootloader: rEFInd is my primary boot manager.
- Disk & Filesystem:
- The system boots from an NVMe drive (
nvme0n1
). - The openSUSE root filesystem is BTRFS, located on the partition with UUID
4a74b645-bdf6-49c0-9ac2-15e4e5b8f410
. - I have a multi-boot setup with other Linux distributions, all sharing the same EFI partition (
nvme0n1p1
).
- The system boots from an NVMe drive (
Issue Description: When I select the custom Xanmod kernel from the boot menu, the boot process begins. I have kernel parameters set for full logging (i.e., quiet
and splash
are removed). The last message I see on screen before the system freezes completely is: EFI stub: Measured initrd data into PCR 9.
The system becomes completely unresponsive at this point, requiring a hard reset. This suggests the UEFI stub successfully loads the kernel and initramfs into memory, but the kernel itself fails to initialize or take control.
Troubleshooting Steps Performed:
- Kernel Parameters: I have verified that the kernel parameters are correct in the bootloader entry, pointing to the correct BTRFS root partition via UUID and the correct subvolume.
- BIOS/UEFI Settings: I have confirmed that Secure Boot is disabled.
- Initramfs Regeneration: I have rebuilt the initramfs for the specific Xanmod kernel version multiple times using
dracut --force --kver 6.16.0-xanmod-custom-v3-ga2e84988a665-xanmod1
. - Kernel Version Testing: I have tried this with a couple of different Xanmod versions, but the result is the same. The default kernel provided by openSUSE Tumbleweed always boots without any issues.
Given that the stock kernel works, this seems to point to a configuration difference in the Xanmod kernel’s .config
or an issue with how dracut
is building the initramfs for it.
Could anyone offer insights into what might be causing the kernel to hang at this specific point? Are there known CONFIG
options related to AMD Ryzen 7000 series, IOMMU, or BTRFS that are required but might be disabled in the standard Xanmod config? Or is there a specific dracut
module I might be missing for this custom kernel?
Thank you for your time and assistance!