[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))



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 b386906d5208a7e45fd1ef369bec246d90a098bc Mon Sep 17 00:00:00 2001
From: Metztli Information Technology <jose@metztli.it>
Date: Sun, 7 Sep 2025 05:21:17 -0700
Subject: [PATCH] Ic ome (Second) commit Reiser4 Sofware Format Release Number
 (SFRN) 4.0.2 -enabling dracut-106

---
 modules.d/99fs-lib/fs-lib.sh       | 5 +++++
 modules.d/99fs-lib/module-setup.sh | 8 +++++++-
 2 files changed, 12 insertions(+), 1 deletion(-)

diff --git a/modules.d/99fs-lib/fs-lib.sh b/modules.d/99fs-lib/fs-lib.sh
index e11f3c1..abfe718 100755
--- a/modules.d/99fs-lib/fs-lib.sh
+++ b/modules.d/99fs-lib/fs-lib.sh
@@ -57,6 +57,11 @@ fsck_able() {
                 && _drv="fsck_drv_com jfs_fsck" \
                 && return 0
             ;;
+        reiser4)
+            type fsck.reiser4 > /dev/null 2>&1 \
+                && _drv="fsck_drv_com fsck.reiser4" \
+                && return 0
+            ;;
         btrfs)
             # type btrfsck >/dev/null 2>&1 &&
             # _drv="_drv=none fsck_drv_btrfs" &&
diff --git a/modules.d/99fs-lib/module-setup.sh b/modules.d/99fs-lib/module-setup.sh
index 0e611a2..9ab3e34 100755
--- a/modules.d/99fs-lib/module-setup.sh
+++ b/modules.d/99fs-lib/module-setup.sh
@@ -12,6 +12,9 @@ echo_fs_helper() {
         jfs)
             echo -n " jfs_fsck "
             ;;
+        reiser4)
+            echo -n " fsck.reiser4 "
+            ;;
         btrfs)
             echo -n " btrfsck "
             ;;
@@ -27,6 +30,9 @@ include_fs_helper_modules() {
         xfs | btrfs | ext4 | ext3)
             instmods crc32c
             ;;
+        reiser4)
+            instmods crc32c_intel reiser4
+            ;;
         f2fs)
             instmods crc32
             ;;
@@ -57,7 +63,7 @@ install() {
         _helpers=(
             /sbin/fsck* /usr/sbin/fsck*
             xfs_db xfs_check xfs_repair xfs_metadump
-            e2fsck jfs_fsck btrfsck
+            e2fsck jfs_fsck fsck.reiser4 btrfsck
         )
         if [[ $hostonly ]]; then
             read -r -a _helpers < <(for_each_host_dev_fs echo_fs_helper)
-- 
2.47.2


Reply to: