Bug#1100733: initramfs: first boot after new image initrd fails to loca
From
js@21:1/5 to
All on Tue Mar 18 01:00:01 2025
XPost: linux.debian.kernel
Package: initramfs-tools
Version: 0.145
Severity: normal
File: initramfs
Dear Maintainer,
==========================================================================
* What led up to the situation?
In the last few months, everytime a new initrd is built, the next
reboot fails:
- initramfs gets stuck in: Begin running Scripts/lookup-boot ...
and then falls into an initramfs shell
* What exactly did you do (or not do) that was effective (or ineffective)?
- this gets fixed with a a soft reboot: the following boot detects
the root partition and proceeds normally
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/sda3 1405328448 284451248 1049416696 22% / <<<<< not detected
/dev/sda4 8547556 426112 7665664 6% /boot
/dev/sdb1 1921742316 170891856 1653158404 10% /usr3
/dev/sda1 2113583904 212259320 1793886352 11% /usr2
/dev/sda2 2113584928 271991080 1734155564 14% /usr1
When the system reboots but the initrd is unchanged, the boot works
fine, it's only when a new initrd has been built that there's a
problem.
It's still disturbing that the system won't reboot normally after
initrd is rebuilt.
==========================================================================
-- Package-specific info:
-- initramfs sizes
34M -rw-r--r-- 1 root root 34M Sep 22 2021 /boot/initrd.img-5.10.0-2-amd64
31M -rw-r--r-- 1 root root 31M Jun 19 2022 /boot/initrd.img-5.10.0-8-amd64
37M -rw-r--r-- 1 root root 37M Jan 5 2023 /boot/initrd.img-5.17.0-1-amd64
27M -rw-r--r-- 1 root root 27M Feb 1 2021 /boot/initrd.img-5.9.0-4-amd64
39M -rw-r--r-- 1 root root 39M Jan 22 2023 /boot/initrd.img-6.0.0-6-amd64
41M -rw-r--r-- 1 root root 41M May 30 2023 /boot/initrd.img-6.1.0-1-amd64
39M -rw-r--r-- 1 root root 39M Jan 6 2024 /boot/initrd.img-6.1.0-9-amd64
49M -rw-r--r-- 1 root root 49M Mar 17 15:37 /boot/initrd.img-6.11.10-amd64
42M -rw-r--r-- 1 root root 42M Dec 16 09:29 /boot/initrd.img-6.5.0-5-amd64
-- /proc/cmdline
BOOT_IMAGE=/vmlinuz-6.11.10-amd64 root=/dev/sda3 ro splash nomodeset loglevel=5 fsck.mode=force video=HDMI-0:e loglevel=5
-- resume
RESUME=UUID=891b5526-a5b9-49b0-908f-dd29383419c9
-- /proc/filesystems
fuseblk
ext3
ext2
ext4
-- lsmod
Module Size Used by
nvidia_uvm 1773568 0
sunrpc 872448 1
binfmt_misc 28672 1
nvidia_drm 94208 2
drm_kms_helper 249856 1 nvidia_drm
nvidia_modeset 1552384 3 nvidia_drm
video 81920 1 nvidia_modeset
snd_hda_codec_realtek 208896 1
snd_hda_codec_generic 114688 1 snd_hda_codec_realtek
snd_hda_codec_hdmi 98304 1
snd_hda_scodec_component 20480 1 snd_hda_codec_realtek
intel_powerclamp 16384 0
snd_hda_intel 61440 0
nvidia 62857216 84 nvidia_uvm,nvidia_modeset
snd_intel_dspcfg 40960 1 snd_hda_intel
snd_intel_sdw_acpi 16384 1 snd_intel_dspcfg
snd_hda_codec 217088 4 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec_realtek
snd_hda_core 143360 5 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec,snd_hda_codec_realtek
joydev 24576 0
snd_hwdep 20480 1 snd_hda_codec
snd_ctxfi 184320 0
snd_pcm_oss 73728 0
coretemp 16384 0
snd_mixer_oss 28672 1 snd_pcm_oss
crct10dif_pclmul 12288 1
ghash_clmulni_intel 16384 0
sha512_ssse3 53248 0
snd_pcm 188416 6 snd_ctxfi,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec,snd_pcm_oss,snd_hda_core
sha256_ssse3 32768 0
snd_timer 53248 1 snd_pcm
sha1_ssse3 32768 0
snd 155648 11 snd_hda_codec_generic,snd_ctxfi,snd_hda_codec_hdmi,snd_hwdep,snd_hda_intel,snd_hda_codec,snd_hda_codec_realtek,snd_timer,snd_pcm_oss,snd_pcm,snd_mixer_oss
aesni_intel 122880 0
iTCO_wdt 16384 0
gf128mul 16384 1 aesni_intel
crypto_simd 16384 1 aesni_intel
soundcore 16384 1 snd
cryptd 28672 2 crypto_simd,ghash_clmulni_intel
intel_pmc_bxt 16384 1 iTCO_wdt
iTCO_vendor_support 12288 1 iTCO_wdt
watchdog 49152 1 iTCO_wdt
serio_raw 16384 0
evdev 28672 27
intel_cstate 24576 0
pcspkr 12288 0
intel_uncore 258048 0
acpi_cpufreq 32768 0
sg 45056 0
i7core_edac 32768 0
i5500_temp 12288 0
mxm_wmi 12288 0
asus_atk0110 28672 0
button 24576 0
firewire_sbp2 28672 0
msr 12288 0
drivetemp 16384 0
drm 765952 6 drm_kms_helper,nvidia,nvidia_drm
parport_pc 40960 1
ppdev 24576 0
lp 20480 0
efi_pstore 12288 0
parport 81920 3 parport_pc,lp,ppdev
configfs 69632 1
nfnetlink 20480 1
ip_tables 28672 0
x_tables 53248 1 ip_tables
autofs4 57344 3
ext4 1142784 5
crc16 12288 1 ext4
mbcache 16384 1 ext4
jbd2 200704 1 ext4
crc32c_generic 12288 0
hid_logitech_hidpp 69632 0
uas 32768 0
usb_storage 90112 1 uas
hid_logitech_dj 40960 0
hid_logitech 49152 0
ff_memless 16384 1 hid_logitech
hid_generic 12288 0
usbhid 77824 3 hid_logitech,hid_logitech_dj,hid_logitech_hidpp hid 262144 5 hid_logitech,usbhid,hid_generic,hid_logitech_dj,hid_logitech_hidpp
sr_mod 28672 0
sd_mod 81920 6
cdrom 81920 1 sr_mod
ata_generic 12288 0
ahci 49152 0
uhci_hcd 61440 0
ata_piix 45056 6
libahci 61440 1 ahci
xhci_pci 24576 0
libata 458752 4 ata_piix,libahci,ahci,ata_generic
xhci_hcd 364544 1 xhci_pci
firewire_ohci 65536 0
ehci_pci 16384 0
ehci_hcd 110592 1 ehci_pci
e1000e 368640 0
psmouse 212992 0
scsi_mod 327680 8 sd_mod,usb_storage,drivetemp,firewire_sbp2,uas,libata,sg,sr_mod
firewire_core 245760 2 firewire_ohci,firewire_sbp2
usbcore 405504 11 xhci_hcd,ehci_pci,usbhid,usb_storage,ehci_hcd,xhci_pci,uas,uhci_hcd,hid_logitech_hidpp
crc32_pclmul 12288 0
crc32c_intel 16384 10
i2c_i801 36864 0
crc_itu_t 12288 1 firewire_core
lpc_ich 28672 0
i2c_smbus 16384 1 i2c_i801
usb_common 16384 4 xhci_hcd,usbcore,ehci_hcd,uhci_hcd
scsi_common 16384 8 scsi_mod,sd_mod,usb_storage,firewire_sbp2,uas,libata,sg,sr_mod
wmi 32768 2 video,mxm_wmi
-- /etc/initramfs-tools/modules
-- /etc/kernel-img.conf
# Kernel image management overrides
# See kernel-img.conf(5) for details
do_symlinks = yes
do_bootloader = no
do_initrd = yes
link_in_boot = no
-- /etc/initramfs-tools/initramfs.conf
MODULES=most
BUSYBOX=auto
KEYMAP=n
COMPRESS=zstd
DEVICE=
NFSROOT=auto
RUNSIZE=10%
FSTYPE=auto
-- /etc/initramfs-tools/update-initramfs.conf
update_initramfs=yes
backup_initramfs=no
-- /etc/crypttab
# <target name> <source device> <key file> <options>
-- mkinitramfs hooks
/etc/initramfs-tools/hooks/:
total 0
/usr/share/initramfs-tools/hooks:
total 56
4 dmsetup* 4 fsck* 4 fuse* 8 intel_microcode* 4 keymap* 4 klibc-utils* 4 kmod* 4 ntfs_3g* 4 resume* 4 thermal* 4 udev* 4 zz-busybox* 4 zz_nvidia-blacklists-nouveau*
-- System Information:
Debian Release: trixie/sid
APT prefers testing
APT policy: (500, 'testing')
Architecture: amd64 (x86_64)
Kernel: Linux 6.11.10-amd64 (SMP w/12 CPU threads; PREEMPT)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_FIRMWARE_WORKAROUND, TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) (ignored: LC_ALL set to C.UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages initramfs-tools depends on:
ii initramfs-tools-core 0.145
ii linux-base 4.11
initramfs-tools recommends no packages.
Versions of packages initramfs-tools suggests:
ii bash-completion 1:2.16.0-7
-- no debconf information
--- SoupGate-Win32 v1.05
* Origin: fsxNet Usenet Gateway (21:1/5)