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


Groups > linux.debian.kernel > #89021

Bug#1110545: initramfs-tools: missing MMC modules break boot

Path csiph.com!news.mixmin.net!news2.arglkargh.de!news.in-chemnitz.de!3.eu.feeder.erje.net!feeder.erje.net!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomod
From Sascha Silbe <sascha-debian-bugs-initramfs-tools-20250807@silbe.org>
Newsgroups linux.debian.bugs.dist, linux.debian.kernel
Subject Bug#1110545: initramfs-tools: missing MMC modules break boot
Date Thu, 28 Aug 2025 11:10:01 +0200
Message-ID <LoGNP-aYSS-5@gated-at.bofh.it> (permalink)
References <LhsFX-60xV-3@gated-at.bofh.it> <LhsFX-60xV-3@gated-at.bofh.it>
X-Mailbox-Line From debian-bugs-dist-request@lists.debian.org Thu Aug 28 09:01:07 2025
Old-Return-Path <debbugs@buxtehude.debian.org>
X-Spam-Flag NO
X-Spam-Score -1.899
Reply-To Sascha Silbe <sascha-debian-bugs-initramfs-tools-20250807@silbe.org>, 1110545@bugs.debian.org
Resent-To debian-bugs-dist@lists.debian.org
Resent-Cc Debian kernel team <debian-kernel@lists.debian.org>
X-Debian-Pr-Message followup 1110545
X-Debian-Pr-Package initramfs-tools
X-Debian-Pr-Source initramfs-tools
MIME-Version 1.0
Content-Type text/plain
X-Greylist delayed 430 seconds by postgrey-1.37 at buxtehude; Thu, 28 Aug 2025 08:59:04 UTC
X-Crossassassin-Score 2
X-Debian-Message from BTS
X-Mailing-List <debian-bugs-dist@lists.debian.org> archive/latest/1921155
List-ID <debian-bugs-dist.lists.debian.org>
List-URL <https://lists.debian.org/debian-bugs-dist/>
Approved robomod@news.nic.it
Lines 38
Organization linux.* mail to news gateway
Sender robomod@news.nic.it
X-Original-Date Thu, 28 Aug 2025 10:51:44 +0200
X-Original-Message-ID <yh7rbjnz3k2n.fsf@brick.sascha.silbe.org>
X-Original-References <175464921753.226935.9019262359490965004.reportbug@twin.sascha.silbe.org> <175464921753.226935.9019262359490965004.reportbug@twin.sascha.silbe.org>
Xref csiph.com linux.debian.bugs.dist:1258534 linux.debian.kernel:89021

Cross-posted to 2 groups.

Show key headers only | View raw


reassign 1110545 src:glibc
forcemerge 1079443 1110545
found 1079443 2.41-12
affects 1079443 initramfs-tools
affects 1079443 dracut-install
thanks

Dear Maintainer,

after running into a related issue (network drivers missing as well) I
spent several days debugging this and finally figured out that it is
caused by a known bug in glibc that even had the same symptoms when it
was initially reported in Debian a year ago (the title was
"dracut-install ... -m =drivers/XXX is ignored"):

#1079443 src:glibc: fts_* calling non-LFS __readdir [1]

mkinitramfs uses dracut-install to install kernel modules in the
initramfs. dracut-install uses fts_open() + fts_read() to find the
modules in the file system. The glibc implementation of fts_open() +
fts_read() is broken when running in qemu-arm (qemu-user) on amd64 (and
possibly in other circumstances as well).

The upstream ticket glibc#23960 [2] is even older, dating back to 2018
and glibc 2.28. The reason it only started affecting initramfs-tools in
Trixie is that since initramfs-tools commit d730a393 ("Replace
copy_modules_dir by manual_add_modules calls") mkinitramfs uses
dracut-install filters instead of find (for entire directories) and
explicit module lists (for individual modules).

Given that there's been no progress on the glibc bug since 2022 it would
probably be best for dracut-install to stop using the non-POSIX (and
thus rarely used and not thoroughly tested) fts_open() + fts_read().

Sascha Silbe

[1] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1079443
[2] https://sourceware.org/bugzilla/show_bug.cgi?id=23960

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


Thread

Bug#1110545: initramfs-tools: missing MMC modules break boot Sascha Silbe <sascha-debian-bugs-initramfs-tools-20250807@silbe.org> - 2025-08-08 12:40 +0200
  Bug#1110545: initramfs-tools: missing MMC modules break boot Sascha Silbe <sascha-debian-bugs-initramfs-tools-20250807@silbe.org> - 2025-08-28 11:10 +0200

csiph-web