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


Groups > linux.debian.kernel > #86647

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

From Ben Hutchings <ben@decadent.org.uk>
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-28 01:40 +0100
Message-ID <Kv5Vn-9cH9-11@gated-at.bofh.it> (permalink)
References (11 earlier) <Ku0bp-8uFV-33@gated-at.bofh.it> <Ku0bp-8uFV-31@gated-at.bofh.it> <Kv5Vn-9cH9-13@gated-at.bofh.it> <KnimJ-42as-1@gated-at.bofh.it> <Kv5Vn-9cH9-13@gated-at.bofh.it>
Organization linux.* mail to news gateway

Cross-posted to 2 groups.

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

On Thu, 2025-03-27 at 16:46 +0100, Eric Valette wrote:
> On 25/03/2025 01:12, Ben Hutchings wrote:
> > 
> > Hi Eric,
> 
> > - The *complete* kernel config that you were using (before enabling
> > CONFIG_MODULE_DECOMPRESS).
> 
> I switched tp 6.12.20 but same problem. Config attached.
> > 
> > - All the error messages from the initramfs when using this kernel and
> > initramfs-tools 0.146.  (A photograph of the screen is fine, if it's
> > readable.)
> 
> Photo attached
> 
> 
> No module loaded at all.

Indeed.  But the root device is there anyway, presumably because the
nvme driver is built-in.  So I think the "No such device" error is
actually because the *filesystem* module fails to load.

So I have more questions:

- Your kernel config has ext4 enabled as a module.  Is that the root
  filesystem type?
- What does the command "/usr/lib/klibc/bin/fstype /dev/nvme0n1p5"
  print?
- Using the bad initramfs, in the rescue shell:
  - What does "echo $ROOTFSTYPE" print?
  - What does "cat /proc/filesystems" print?
  - What does "modprobe fs-ext4" print, if anything?
  - If you then exit the rescue shell, does the boot process succeed?

Ben.

-- 
Ben Hutchings
If at first you don't succeed, you're doing about average.

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