Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.kernel > #86385

Bug#1099655: initramfs-tools 146 generates incorrect initramfs : does not boot, does not find root fs

From Chris Hofstaedtler <zeha@debian.org>
Newsgroups linux.debian.bugs.dist, linux.debian.kernel
Subject Bug#1099655: initramfs-tools 146 generates incorrect initramfs : does not boot, does not find root fs
Date 2025-03-08 13:00 +0100
Message-ID <Ko10t-4xaw-11@gated-at.bofh.it> (permalink)
References (5 earlier) <KnLRL-4nmh-3@gated-at.bofh.it> <KnimJ-42as-1@gated-at.bofh.it> <Ko10t-4xaw-9@gated-at.bofh.it> <KnimJ-42as-1@gated-at.bofh.it> <Ko10t-4xaw-9@gated-at.bofh.it>
Organization linux.* mail to news gateway

Cross-posted to 2 groups.

Show all headers | View raw


On Sat, Mar 08, 2025 at 12:29:06PM +0100, Eric Valette wrote:
> On Fri, 7 Mar 2025 20:43:08 +0100 Marc Haber <mh+debian-bugs@zugschlus.de>
> wrote:
> > On Fri, Mar 07, 2025 at 05:44:00PM +0100, Eric Valette wrote:
> 
> > CONFIG_MODULE_DECOMPRESS=y
> 
> 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.
> 
> A second bug is that the initrd does not seems to be compressed while config
> says it should be with zstd (and the CONFIG_RD_* is ok). I can change to xz.
> 
> A third one is that compressing compressed file is not efficient in term of
> size. There has been bug opened exactly on this theme on other
> distributions.

AFAICT this is an intentional change:
https://salsa.debian.org/kernel-team/initramfs-tools/-/merge_requests/128

C.

Back to linux.debian.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Bug#1099655: initramfs-tools 146 generates incorrect initramfs : does not boot, does not find root fs Marc Haber <mh+debian-bugs@zugschlus.de> - 2025-03-07 20:50 +0100
  Bug#1099655: initramfs-tools 146 generates incorrect initramfs : does not boot, does not find root fs Chris Hofstaedtler <zeha@debian.org> - 2025-03-08 13:00 +0100
  Bug#1099655: initramfs-tools 146 generates incorrect initramfs : does not boot, does not find root fs Ben Hutchings <ben@decadent.org.uk> - 2025-03-16 20:20 +0100
    Bug#1099655: initramfs-tools 146 generates incorrect initramfs : does not boot, does not find root fs Ben Hutchings <ben@decadent.org.uk> - 2025-03-16 21:10 +0100
      Bug#1099655: initramfs-tools 146 generates incorrect initramfs : does not boot, does not find root fs Ben Hutchings <ben@decadent.org.uk> - 2025-03-25 01:20 +0100
        Bug#1099655: initramfs-tools 146 generates incorrect initramfs : does not boot, does not find root fs Ben Hutchings <ben@decadent.org.uk> - 2025-03-28 01:40 +0100
          Bug#1099655: initramfs-tools 146 generates incorrect initramfs : does not boot, does not find root fs Ben Hutchings <ben@decadent.org.uk> - 2025-04-30 03:30 +0200

csiph-web