• Bug#1099655: initramfs-tools 146 generates incorrect initramfs : does n

    From eric@21:1/5 to All on Thu Mar 6 13:20:01 2025
    Package: initramfs-tools
    Version: 0.146
    Severity: critical
    Justification: breaks the whole system


    After updating and generating a new initramfs, it does not find the nvme
    root fs. Booting previous kernel with previous generated initramfs (0.145) works. Downgrading to 0.145 and rebuilding initramfs makes system work again.

    Main disk is nvme disk.



    -- Package-specific info:
    -- initramfs sizes
    -rw-r--r-- 1 root root 13M Mar 1 16:03 /boot/initrd.img-6.6.79
    -rw-r--r-- 1 root root 12M Mar 6 11:42 /boot/initrd.img-6.6.80
    -- /proc/cmdline
    BOOT_IMAGE=/boot/vmlinuz-6.6.80 root=UUID=faddab1d-8b00-4ca7-b04c-e9e3bed67990 ro quiet

    -- resume
    RESUME=UUID=aafa37ff-33b1-4109-90cc-81b44d20c5bc
    -- /proc/filesystems
    fuseblk
    ext3
    ext2
    ext4
    ntfs3
    vfat

    -- lsmod
    Module Size Used by
    nls_ascii 12288 1
    nls_cp437 16384 1
    vfat 20480 1
    fat 98304 1 vfat
    ccm 20480 6
    snd_seq 110592 0
    snd_seq_device 16384 1 snd_seq
    ntfs3 331776 1
    qrtr 53248 2
    rfcomm 102400 8
    cmac 12288 3
    algif_hash 12288 1
    algif_skcipher 12288 1
    af_alg 32768 6 algif_hash,algif_skcipher
    bnep 36864 2
    uinput 20480 1
    sunrpc 851968 1
    binfmt_misc 28672 1
    amdgpu 11673600 56
    snd_hda_codec_realtek 196608 1
    snd_hda_codec_generic 114688 1 snd_hda_codec_realtek
    snd_sof_amd_rembrandt 16384 0
    snd_sof_amd_acp 61440 1 snd_sof_amd_rembrandt
    intel_rapl_msr 20480 0
    snd_sof_xtensa_dsp 16384 1 snd_sof_amd_acp
    intel_rapl_common 36864 1 intel_rapl_msr
    iwlmvm 598016 0
    snd_sof_pci 24576 1 snd_sof_amd_rembrandt
    snd_sof 262144 2 snd_sof_amd_acp,snd_sof_pci
    kvm_amd 184320 0
    mac80211 1392640 1 iwlmvm
    ledtrig_audio 12288 1 snd_hda_codec_generic
    snd_sof_utils 16384 1 snd_sof
    snd_hda_codec_hdmi 98304 1
    kvm 1339392 1 kvm_amd
    libarc4 12288 1 mac80211
    snd_soc_core 405504 1 snd_sof
    snd_hda_intel 61440 2
    snd_intel_dspcfg 20480 1 snd_hda_intel
    i2c_algo_bit 12288 1 amdgpu
    snd_compress 28672 1 snd_soc_core
    irqbypass 12288 1 kvm
    drm_ttm_helper 12288 1 amdgpu
    snd_hda_codec 212992 4 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec_realtek
    snd_pci_ps 24576 0
    crc32_pclmul 12288 0
    ttm 102400 2 amdgpu,drm_ttm_helper
    snd_hwdep 16384 1 snd_hda_codec
    btusb 86016 0
    snd_rpl_pci_acp6x 16384 0
    uvcvideo 147456 0
    drm_exec 12288 1 amdgpu
    btrtl 32768 1 btusb
    drm_suballoc_helper 12288 1 amdgpu
    snd_hda_core 139264 5 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec,snd_hda_codec_realtek
    ghash_clmulni_intel 16384 0
    btintel 57344 1 btusb
    snd_pci_acp6x 16384 0
    videobuf2_vmalloc 20480 1 uvcvideo
    amdxcp 12288 1 amdgpu
    videobuf2_memops 16384 1 videobuf2_vmalloc
    btbcm 24576 1 btusb
    sha512_ssse3 45056 0
    snd_pcm_oss 69632 0
    drm_buddy 20480 1 amdgpu
    msi_wmi 16384 0
    uvc 12288 1 uvcvideo
    btmtk 12288 1 btusb
    iwlwifi 512000 1 iwlmvm
    gpu_sched 57344 1 amdgpu
    sparse_keymap 12288 1 msi_wmi
    sha256_ssse3 32768 0
    snd_mixer_oss 28672 1 snd_pcm_oss
    videobuf2_v4l2 36864 1 uvcvideo
    gpio_keys 24576 0
    sha1_ssse3 32768 0
    bluetooth 1089536 34 btrtl,btmtk,btintel,btbcm,bnep,btusb,rfcomm snd_pcm 188416 12 snd_sof_amd_acp,snd_hda_codec_hdmi,snd_pci_acp6x,snd_hda_intel,snd_hda_codec,snd_sof,snd_compress,snd_pcm_oss,snd_soc_core,snd_sof_utils,snd_hda_core,snd_pci_ps
    drm_display_helper 221184 1 amdgpu
    cfg80211 1331200 3 iwlmvm,iwlwifi,mac80211
    aesni_intel 360448 8
    snd_pci_acp5x 16384 0
    videodev 356352 2 videobuf2_v4l2,uvcvideo
    drm_kms_helper 253952 5 drm_display_helper,amdgpu
    snd_timer 53248 2 snd_seq,snd_pcm
    crypto_simd 16384 1 aesni_intel
    snd_rn_pci_acp3x 16384 0
    cec 61440 1 drm_display_helper
    cryptd 28672 3 crypto_simd,ghash_clmulni_intel videobuf2_common 73728 4 videobuf2_vmalloc,videobuf2_v4l2,uvcvideo,videobuf2_memops
    snd_acp_config 16384 5 snd_rn_pci_acp3x,snd_pci_acp6x,snd_pci_acp5x,snd_sof_amd_rembrandt,snd_pci_ps
    snd 147456 19 snd_hda_codec_generic,snd_seq,snd_seq_device,snd_hda_codec_hdmi,snd_hwdep,snd_hda_intel,snd_hda_codec,snd_hda_codec_realtek,snd_sof,snd_timer,snd_compress,snd_pcm_oss,snd_soc_core,snd_pcm,snd_mixer_oss
    ecdh_generic 16384 2 bluetooth
    rc_core 73728 1 cec
    sp5100_tco 16384 0
    snd_soc_acpi 16384 2 snd_sof_amd_acp,snd_acp_config
    mc 94208 4 videodev,videobuf2_v4l2,uvcvideo,videobuf2_common
    soundcore 16384 1 snd
    video 73728 2 amdgpu,msi_wmi
    rfkill 40960 9 iwlmvm,bluetooth,cfg80211
    snd_pci_acp3x 16384 0
    watchdog 49152 1 sp5100_tco
    k10temp 12288 0
    rapl 20480 0
    acpi_cpufreq 32768 0
    wmi 36864 2 video,msi_wmi
    pcspkr 12288 0
    ac 16384 0
    msi_ec 28672 0
    soc_button_array 20480 0
    button 24576 0
    evdev 28672 35
    joydev 24576 0
    sg 45056 0
    serio_raw 16384 0
    battery 28672 1 msi_ec
    msr 12288 0
    parport_pc 40960 0
    ppdev 24576 0
    lp 20480 0
    parport 81920 3 parport_pc,lp,ppdev
    nvme_fabrics 28672 0
    efi_pstore 12288 0
    configfs 69632 1
    nfnetlink 20480 1
    efivarfs 24576 1
    ip_tables 28672 0
    x_tables 53248 1 ip_tables
    autofs4 57344 4
    ext4 1142784 5
    crc16 12288 2 bluetooth,ext4
    mbcache 16384 1 ext4
    jbd2 200704 1 ext4
    crc32c_generic 12288 0
    nvme 57344 8
    sd_mod 86016 1
    nvme_core 192512 10 nvme,nvme_fabrics
    usbhid 77824 0
    hid_multitouch 32768 0
    t10_pi 20480 2 sd_mod,nvme_core
    ahci 49152 1
    hid_generic 12288 0
    crc64_rocksoft 16384 1 t10_pi
    crc64 16384 1 crc64_rocksoft
    r8169 118784 0
    libahci 61440 1 ahci
    xhci_pci 24576 0
    i2c_hid_acpi 12288 0
    crc_t10dif 16384 1 t10_pi
    realtek 40960 1
    libata 454656 2 libahci,ahci
    xhci_hcd 360448 1 xhci_pci
    i2c_hid 40960 1 i2c_hid_acpi
    crct10dif_generic 12288 0
    mdio_devres 12288 1 r8169
    scsi_mod 319488 3 sd_mod,libata,sg
    usbcore 401408 5 xhci_hcd,usbhid,uvcvideo,btusb,xhci_pci crct10dif_pclmul 12288 1
    drm 753664 48 gpu_sched,i2c_hid,drm_kms_helper,drm_exec,drm_suballoc_helper,drm_display_helper,drm_buddy,amdgpu,drm_ttm_helper,ttm,amdxcp
    crc32c_intel 16384 10
    psmouse 212992 0
    libphy 221184 3 r8169,mdio_devres,realtek
    scsi_common 16384 4 scsi_mod,sd_mod,libata,sg
    i2c_piix4 28672 0
    usb_common 16384 3 xhci_hcd,usbcore,uvcvideo
    crct10dif_common 12288 3 crct10dif_generic,crc_t10dif,crct10dif_pclmul hid 163840 4 i2c_hid,usbhid,hid_multitouch,hid_generic

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

    -- mkinitramfs hooks
    /etc/initramfs-tools/hooks/:
    #add_needed_firmware#

    /usr/share/initramfs-tools/hooks:
    amd64_microcode
    dmsetup
    fsck
    fuse
    keymap
    klibc-utils
    kmod
    ntfs_3g
    resume
    thermal
    udev
    zz-busybox


    -- System Information:
    Debian Release: trixie/sid
    APT prefers stable-updates
    APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500, 'unstable'), (500, 'testing'), (500, 'stable'), (1, 'experimental')
    Architecture: amd64 (x86_64)

    Kernel: Linux 6.6.80 (SMP w/16 CPU threads; PREEMPT)
    Kernel taint flags: TAINT_OOT_MODULE
    Locale: LANG=fr_FR.UTF8, LC_CTYPE=fr_FR.UTF8 (charmap=UTF-8), LANGUAGE not set Shell: /bin/sh linked to /usr/bin/bash
    Init: systemd (via /run/systemd/system)
    LSM: AppArmor: enabled

    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)
  • From Marc Haber@21:1/5 to eric on Fri Mar 7 17:40:01 2025
    On Thu, Mar 06, 2025 at 11:52:57AM +0100, eric wrote:
    Package: initramfs-tools
    Version: 0.146
    Severity: critical
    Justification: breaks the whole system


    After updating and generating a new initramfs, it does not find the nvme
    root fs. Booting previous kernel with previous generated initramfs (0.145) works. Downgrading to 0.145 and rebuilding initramfs makes system work again.

    Just for the record, initramfs-tools 0.146 works on my Thinkpad T14
    which also has a NVME disk.

    Greetings
    Marc

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Marc Haber@21:1/5 to Eric Valette on Sat Mar 8 13:00:01 2025
    On Sat, Mar 08, 2025 at 12:29:06PM +0100, Eric Valette wrote:
    So the culprit is there. It is not set in my own kernel build (never
    been so far although config has been created via the official >linux-source-6.6) and thus I cannot load compressed modules without
    user space helpers that probably not exist in initrd busybox version.
    Of course I can load compressed modules once the
    pivot_root/switch_root is done.

    So it remains a bug because the script store compressed modules in
    initrd without checking this compilation flag and the kernel does not
    boot. If was not doing this in 145. This is the reason for the bug I
    have.

    Not being a initramfs-tools maintainer, it works with the Debian kernel.
    I'd recommend downgrading this bug to normal or minor. It doesn't
    warrant a RC severity.

    Greetings
    Marc

    -- ----------------------------------------------------------------------------- Marc Haber | "I don't trust Computers. They | Mailadresse im Header Leimen, Germany | lose things." Winona Ryder | Fon: *49 6224 1600402 Nordisch by Nature | How to make an American Quilt | Fax: *49 6224 1600421

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Debian Bug Tracking System@21:1/5 to All on Wed Mar 26 00:50:01 2025
    Processing control commands:

    severity -1 important
    Bug #1099655 [initramfs-tools] initramfs-tools 146 generates incorrect initramfs : does not boot, does not find root fs
    Severity set to 'important' from 'critical'

    --
    1099655: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1099655
    Debian Bug Tracking System
    Contact owner@bugs.debian.org with problems

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Ben Hutchings@21:1/5 to All on Wed Mar 26 00:50:01 2025
    Control: severity -1 important

    As only one person has reported this and it's not been reproducible (so
    far), I don't think this is critical.

    Ben.

    --
    Ben Hutchings
    Everything should be made as simple as possible, but not simpler.
    - Albert Einstein

    -----BEGIN PGP SIGNATURE-----

    iQIzBAABCgAdFiEErCspvTSmr92z9o8157/I7JWGEQkFAmfjP+4ACgkQ57/I7JWG EQkNtA/9GRbFRszindxBRhq4Pjz+TxD35Etit3fKIy7hr83okOwOntYOz8Aa2Ohn +atsbc8erv7JtwaoHx9pJ/yRV+WbAWxOZPSWGGDjdUO0Ev76yM/JZItEVwVRTQbe JZaAI74ha6x9v2WhS3IIPdDPYbwzvvvZnYGv086MI/VDRYipzgffMnbQo0hKjo8M tllg7y/cBdVBwbBUDKBDj8+pJdFPkSkBPutrExAFXnQUozQPcwEYKXAZcfFZ+8db sqK0jPHh1NAlDt4+E6DycuqvYbw+haK5iIR4OaTe5kMYiJpqwt3IpXn08+Y0AbK0 uU/w8v5OfMn6c1uB1GcFRPJbmMK3/LwJdAlxhIm7APnh5A0XWRqPOG0zlbanSw1v bGRo0FEaZz7cET29e6E7jl32uM6k24dOEushs2fPTOyziQ4z09TQ5WCovvycFxS7 DCtg1PwFdv98McYWx7Fi2JkFV1qX88D45WWoFFQ2S4L7crb6ohheX9F6MvWgrVLy kYCQVlr4Wo83u5hPyWZOZiO/z62GPJ3kOc99VXqyT4n5qcSokokkEuliosBIuRQV Zt7f9VeHqhpSdZ8uFAu91uOzJneRxmV7IuZgOHvsATis80481ifpQpyj8/wS20YM HYEECwy/U6ligRDNQk9WRq+MEVp/qh/QxziI81GJd5F65OX7pvE=
    =lg/r
    -----END PGP SIGNATURE-----

    --- SoupGat