Kernel 5.15 hangs at "Loading initial ramdisk"

Bug #1981590 reported by David
40
This bug affects 7 people
Affects Status Importance Assigned to Milestone
linux-signed-hwe-5.13 (Ubuntu)
Confirmed
Undecided
Unassigned
linux-signed-hwe-5.15 (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

Updated from kernel 5.13 to 5.15 today. After rebooting the system hangs at "Loading ramdisk". I reverted to 5.13 and it started properly.

More detail on the way.

ProblemType: Bug
DistroRelease: Ubuntu 20.04
Package: linux-image-5.13.0-52-generic 5.13.0-52.59~20.04.1
ProcVersionSignature: Ubuntu 5.13.0-52.59~20.04.1-generic 5.13.19
Uname: Linux 5.13.0-52-generic x86_64
NonfreeKernelModules: zfs zunicode zavl icp zcommon znvpair
ApportVersion: 2.20.11-0ubuntu27.24
Architecture: amd64
CasperMD5CheckResult: skip
CurrentDesktop: ubuntu:GNOME
Date: Wed Jul 13 14:48:42 2022
InstallationDate: Installed on 2021-01-06 (553 days ago)
InstallationMedia: Ubuntu 20.04.1 LTS "Focal Fossa" - Release amd64 (20200731)
SourcePackage: linux-signed-hwe-5.13
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
David (lofidevops) wrote :
Revision history for this message
David (lofidevops) wrote :

Result of dpkg -l | grep '^ii linux':

```
ii linux-base 4.5ubuntu3.7 all Linux image base package
ii linux-firmware 1.187.32 all Firmware for Linux kernel drivers
ii linux-generic-hwe-20.04 5.15.0.41.44~20.04.13 amd64 Complete Generic Linux kernel and headers
ii linux-headers-5.13.0-52-generic 5.13.0-52.59~20.04.1 amd64 Linux kernel headers for version 5.13.0 on 64 bit x86 SMP
ii linux-headers-5.15.0-41-generic 5.15.0-41.44~20.04.1 amd64 Linux kernel headers for version 5.15.0 on 64 bit x86 SMP
ii linux-headers-generic-hwe-20.04 5.15.0.41.44~20.04.13 amd64 Generic Linux kernel headers
ii linux-hwe-5.13-headers-5.13.0-52 5.13.0-52.59~20.04.1 all Header files related to Linux kernel version 5.13.0
ii linux-hwe-5.15-headers-5.15.0-41 5.15.0-41.44~20.04.1 all Header files related to Linux kernel version 5.15.0
ii linux-image-5.13.0-52-generic 5.13.0-52.59~20.04.1 amd64 Signed kernel image generic
ii linux-image-5.15.0-41-generic 5.15.0-41.44~20.04.1 amd64 Signed kernel image generic
ii linux-image-generic-hwe-20.04 5.15.0.41.44~20.04.13 amd64 Generic Linux kernel image
ii linux-libc-dev:amd64 5.4.0-122.138 amd64 Linux Kernel Headers for development
ii linux-modules-5.13.0-52-generic 5.13.0-52.59~20.04.1 amd64 Linux kernel extra modules for version 5.13.0 on 64 bit x86 SMP
ii linux-modules-5.15.0-41-generic 5.15.0-41.44~20.04.1 amd64 Linux kernel extra modules for version 5.15.0 on 64 bit x86 SMP
ii linux-modules-extra-5.13.0-52-generic 5.13.0-52.59~20.04.1 amd64 Linux kernel extra modules for version 5.13.0 on 64 bit x86 SMP
ii linux-modules-extra-5.15.0-41-generic 5.15.0-41.44~20.04.1 amd64 Linux kernel extra modules for version 5.15.0 on 64 bit x86 SMP
ii linux-sound-base 1.0.25+dfsg-0ubuntu5 all base package for ALSA and OSS sound systems
```

Revision history for this message
David (lofidevops) wrote :

No extra info available, once I get the following message, no keys respond (e.g. NumLock cannot switch state). The same happens for the "recovery mode" option.

Loading Linux 5.15.0-41-generic ...
Loading initial ramdisk ...
_

David (lofidevops)
summary: - Computer hangs at boot
+ Kernel 5.15 hangs at "Loading initial ramdisk"
Revision history for this message
David (lofidevops) wrote :

Tried removing modifying /etc/default/grub by setting GRUB_CMDLINE_LINUX_DEFAULT to "" (was "quiet splash")

Results:

- 5.13: spews lots of logs, no splash screen when prompted for disk encryption passphrase

- 5.15: still hangs at the same place, no logs

Revision history for this message
David (lofidevops) wrote :

$ ls -lh /boot/initrd*

lrwxrwxrwx 1 root root 28 Jul 13 07:55 /boot/initrd.img -> initrd.img-5.15.0-41-generic
-rw-r--r-- 1 root root 108M Jul 13 07:54 /boot/initrd.img-5.13.0-52-generic
-rw-r--r-- 1 root root 117M Jul 13 07:55 /boot/initrd.img-5.15.0-41-generic
lrwxrwxrwx 1 root root 28 Jul 13 07:55 /boot/initrd.img.old -> initrd.img-5.13.0-52-generic

$ df -h /boot

Filesystem Size Used Avail Use% Mounted on
/dev/nvme0n1p2 705M 267M 387M 41% /boot

Revision history for this message
David (lofidevops) wrote :
Download full text (200.2 KiB)

$ lsinitramfs /boot/initrd.img-5.15*

.
kernel
kernel/x86
kernel/x86/microcode
kernel/x86/microcode/AuthenticAMD.bin
kernel
kernel/x86
kernel/x86/microcode
kernel/x86/microcode/.enuineIntel.align.0123456789abc
kernel/x86/microcode/GenuineIntel.bin
.
bin
conf
conf/arch.conf
conf/conf.d
conf/conf.d/zz-resume-auto
conf/initramfs.conf
cryptroot
cryptroot/crypttab
etc
etc/console-setup
etc/console-setup/Uni2-Fixed16.psf.gz
etc/console-setup/cached_UTF-8_del.kmap.gz
etc/default
etc/default/console-setup
etc/default/keyboard
etc/dhcp
etc/dhcp/dhclient-enter-hooks.d
etc/dhcp/dhclient-enter-hooks.d/config
etc/dhcp/dhclient.conf
etc/fonts
etc/fonts/conf.d
etc/fonts/conf.d/60-latin.conf
etc/fonts/fonts.conf
etc/fstab
etc/ld.so.cache
etc/ld.so.conf
etc/ld.so.conf.d
etc/ld.so.conf.d/fakeroot-x86_64-linux-gnu.conf
etc/ld.so.conf.d/i386-linux-gnu.conf
etc/ld.so.conf.d/libc.conf
etc/ld.so.conf.d/x86_64-linux-gnu.conf
etc/lvm
etc/lvm/lvm.conf
etc/lvm/lvmlocal.conf
etc/lvm/profile
etc/lvm/profile/cache-mq.profile
etc/lvm/profile/cache-smq.profile
etc/lvm/profile/command_profile_template.profile
etc/lvm/profile/lvmdbusd.profile
etc/lvm/profile/metadata_profile_template.profile
etc/lvm/profile/thin-generic.profile
etc/lvm/profile/thin-performance.profile
etc/lvm/profile/vdo-small.profile
etc/modprobe.d
etc/modprobe.d/alsa-base.conf
etc/modprobe.d/amd64-microcode-blacklist.conf
etc/modprobe.d/blacklist-ath_pci.conf
etc/modprobe.d/blacklist-firewire.conf
etc/modprobe.d/blacklist-framebuffer.conf
etc/modprobe.d/blacklist-modem.conf
etc/modprobe.d/blacklist-oss.conf
etc/modprobe.d/blacklist-rare-network.conf
etc/modprobe.d/blacklist.conf
etc/modprobe.d/intel-microcode-blacklist.conf
etc/modprobe.d/iwlwifi.conf
etc/motd
etc/mtab
etc/nsswitch.conf
etc/os-release
etc/passwd
etc/plymouth
etc/udev
etc/udev/udev.conf
init
lib
lib32
lib64
libx32
run
sbin
scripts
scripts/functions
scripts/init-bottom
scripts/init-bottom/ORDER
scripts/init-bottom/lvm2
scripts/init-bottom/plymouth
scripts/init-bottom/udev
scripts/init-premount
scripts/init-premount/ORDER
scripts/init-premount/brltty
scripts/init-premount/lvm2
scripts/init-premount/plymouth
scripts/init-top
scripts/init-top/ORDER
scripts/init-top/all_generic_ide
scripts/init-top/blacklist
scripts/init-top/brltty
scripts/init-top/console_setup
scripts/init-top/framebuffer
scripts/init-top/udev
scripts/local
scripts/local-block
scripts/local-block/ORDER
scripts/local-block/cryptroot
scripts/local-block/lvm2
scripts/local-bottom
scripts/local-bottom/ORDER
scripts/local-bottom/cryptgnupg-sc
scripts/local-bottom/cryptopensc
scripts/local-bottom/cryptroot
scripts/local-bottom/ntfs_3g
scripts/local-premount
scripts/local-premount/ORDER
scripts/local-premount/fixrtc
scripts/local-premount/ntfs_3g
scripts/local-premount/resume
scripts/local-top
scripts/local-top/ORDER
scripts/local-top/cryptopensc
scripts/local-top/cryptroot
scripts/local-top/lvm2
scripts/nfs
scripts/panic
scripts/panic/ORDER
scripts/panic/console_setup
scripts/panic/plymouth
usr
usr/bin
usr/bin/cpio
usr/bin/cryptroot-unlock
usr/bin/dd
usr/bin/dmesg
usr/bin/fstype
usr/bin/halt
usr/bin/ipconfig
usr/bin/kbd_mode
usr/bin/kmod
usr/bin/loadkeys
usr/bin/losetup
usr/bin/minip...

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in linux-signed-hwe-5.13 (Ubuntu):
status: New → Confirmed
Revision history for this message
David Marshall (dmarshall) wrote :

Independent confirmation from me, with the same symptoms:

updated from kernel 5.13 to 5.15 today. After rebooting the system hangs at "Loading ramdisk". I reverted to 5.13 and it started properly.

Revision history for this message
David (lofidevops) wrote :

While experimenting with FreeDOS and Windows PE, I discovered that disabling UEFI mode (switching to Legacy mode) means I can now boot into kernel 5.15. Certainly not a solution, but at least a workaround.

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in linux-signed-hwe-5.15 (Ubuntu):
status: New → Confirmed
Revision history for this message
FAV (majfav) wrote :

Still no solutions about this bug?

Revision history for this message
David (lofidevops) wrote :

FWIW I'm now running Ubuntu 22.04 in Legacy mode and finding the workaround satisfactory.

ls -lh /boot/initrd*

lrwxrwxrwx 1 root root 28 Dec 1 13:56 /boot/initrd.img -> initrd.img-5.15.0-56-generic
-rw-r--r-- 1 root root 107M Nov 30 11:46 /boot/initrd.img-5.15.0-53-generic
-rw-r--r-- 1 root root 107M Dec 1 13:56 /boot/initrd.img-5.15.0-56-generic
lrwxrwxrwx 1 root root 28 Dec 1 13:56 /boot/initrd.img.old -> initrd.img-5.15.0-53-generic

Revision history for this message
Yosha872 (yosha) wrote (last edit ):

Same issue here. Suddenly my OS (Xubuntu 22.04) shows this issue (Kernel: 5.15.0-71-generic).
But when I boot with the previous version (5.15.0-70-generic) it is OK (!).

Note: my computer boot mode is set to Legacy (not UEFI). Motherboard: 'ASRock A320M-HDV R4.0' (BIOS v4.00).

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.