[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1112498: Info received (Bug#1112498 closed by Bastian Blank <waldi@debian.org> (Re: Bug#1112498: initramfs-tools: commit 0df1765e902e56d9698beacc1cc056f327ed58c2 halts reiser4 boot in new Trixie install))



Hello Waldi-

"To get it fixed, please provide a patch.  Please note that reverting is
not a suitable fix."

Not using _call_dracut_install -s (symbol filtering) with drivers/scsi , taking out drivers/nvme and drivers/ata from the variable $block_modules works.

Attached for Debian consideration is a patch for initramfs-tools v0.150 ; works in older (scsi) and newer (nvme) systems.

On 2025-09-07 07:01, jose.r.r@metztli.com wrote:
On 2025-08-30 02:59, Debian Bug Tracking System wrote:
Thank you for the additional information you have supplied regarding
this Bug report.

This is an automatically generated reply to let you know your message
has been received.

Your message is being forwarded to the package maintainers and other
interested parties for their attention; they will reply in due course.

Your message has been sent to the package maintainer(s):
 Debian kernel team <debian-kernel@lists.debian.org>

If you wish to submit further information on this problem, please
send it to 1112498@bugs.debian.org.

Probably an insightful observation -- or not -- but the initramfs-tools v0.146 commit of reference effectively generates a hybrid tool by including an utility from dracut.

Current Debian Trixie packaging for Dracut is version 106-6 and I took that source, modified a couple of files by adding reiser4 on relevant lines; the initrd.img- it produced booted my reiser4 -formatted root '/' partitions on the very first try. On the other hand, I have expended much time but not had any luck with initramfs-tools- v0.146+, v0.148, nor v0.150 (this last suggested/required by report-bug prior to submitting bug report), which introduce and carry on that hybrid commit of reference -- unless, of course, I strip away that commit which caused the regression.

The trivial reiser4 SFRN 4.0.2 patch for Dracut is attached in case it may be useful to anyone struggling with hybrid initramfs-tools- and an 'unsupported' file system.

--
Best Professional Regards.

--
Jose R R
http://metztli.it
---------------------------------------------------------------------------------------------
Download Metztli Reiser4: Debian Trixie w/ Linux 5.17.14-2 AMD64
---------------------------------------------------------------------------------------------
feats ZSTD compression https://sf.net/projects/metztli-reiser4/
-------------------------------------------------------------------------------------------
Official current Reiser4 resources: https://reiser4.wiki.kernel.org/
From 668c81521fc1cb1fb82c1dbdb993898f9b3bf71f Mon Sep 17 00:00:00 2001
From: Metztli Information Technology <jose@metztli.it>
Date: Sun, 21 Sep 2025 02:36:45 -0700
Subject: [PATCH] Reiser4 Software Format Release Number (SFRN) 4.0.2 patch for
 Debian Trixie initramfs-tools v0.150

---
 hook-functions | 13 +++++++++----
 1 file changed, 9 insertions(+), 4 deletions(-)

diff --git a/hook-functions b/hook-functions
index 729b7c9..0f22253 100644
--- a/hook-functions
+++ b/hook-functions
@@ -735,7 +735,7 @@ auto_add_modules()
 	for arg in "$@" ; do
 		case "$arg" in
 		base)
-			modules="$modules btrfs ext2 ext3 ext4 f2fs"
+			modules="$modules btrfs reiser4 ext2 ext3 ext4 f2fs"
 			modules="$modules isofs jfs reiserfs squashfs udf xfs"
 			modules="$modules nfs nfsv2 nfsv3 nfsv4"
 			modules="$modules af_packet atkbd i8042 psmouse"
@@ -832,18 +832,20 @@ auto_add_modules()
 			modules="$modules =drivers/mmc"
 		;;
 		scsi)
+			modules="$modules =drivers/scsi"
 			_call_dracut_install -s "${blockfuncs}|iscsi_register_transport" \
-				"=drivers/message/fusion" "=drivers/s390/scsi" "=drivers/scsi"
+				"=drivers/message/fusion" "=drivers/s390/scsi"
 			# The following modules are not covered by the symbol filter
 			# in the previous call but should be included anyway.
 			modules="$modules cxgb3i cxgb4i scsi_dh_alua scsi_dh_emc"
 			modules="$modules scsi_dh_rdac scsi_transport_srp"
 		;;
 		ata)
-			block_modules="$block_modules =drivers/ata"
+			modules="$modules =drivers/ata"
 		;;
 		block)
-			block_modules="$block_modules =drivers/block =drivers/nvme"
+			modules="$modules =drivers/nvme"
+			block_modules="$block_modules =drivers/block"
 			modules="$modules =drivers/ufs"
 			modules="$modules vmd"
 		;;
@@ -911,6 +913,9 @@ hidden_dep_add_modules()
 			btrfs)
 				echo crc32c xxhash64 sha256 blake2b-256
 				;;
+			reiser4)
+				echo crc32c reiser4
+				;;
 			f2fs)
 				echo crc32
 				;;
-- 
2.47.3


Reply to: