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

Bug#339092: marked as done (initramfs-tools: check if filesystem is already present in kernel)

Your message dated Wed, 15 Mar 2006 06:47:13 -0800
with message-id <E1FJXHN-000544-Bx@spohr.debian.org>
and subject line Bug#339092: fixed in initramfs-tools 0.55b
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--- Begin Message ---
Package: initramfs-tools
Severity: minor
Tags: patch

This patch adds a separate function to load a filesystem driver which first checks if it is already compiled into the kernel which should remove some superflous modprobe error messages if it is.

Index: initramfs-tools-0.38/scripts/functions
--- initramfs-tools-0.38.orig/scripts/functions	2005-11-14 22:42:06.000000000 +0100
+++ initramfs-tools-0.38/scripts/functions	2005-11-14 22:44:11.000000000 +0100
@@ -270,3 +270,13 @@
 	mknod /dev/root b ${major} ${minor}
+	if [ -e /proc/filesystems ]; then
+		grep -q "$1" /proc/filesystems && return 0
+	fi
+	modprobe "$1" || return 1
+	return 0
Index: initramfs-tools-0.38/scripts/local
--- initramfs-tools-0.38.orig/scripts/local	2005-10-21 18:37:46.000000000 +0200
+++ initramfs-tools-0.38/scripts/local	2005-11-14 22:44:04.000000000 +0100
@@ -24,8 +24,7 @@
-	# FIXME This has no error checking
-	modprobe ${FSTYPE}
+	load_fs "${FSTYPE}" || panic "Failed to load root fs type ${FSTYPE}"
 	# FIXME This has no error checking
 	# Mount root

--- End Message ---
--- Begin Message ---
Source: initramfs-tools
Source-Version: 0.55b

We believe that the bug you reported is fixed in the latest version of
initramfs-tools, which is due to be installed in the Debian FTP archive:

  to pool/main/i/initramfs-tools/initramfs-tools_0.55b.dsc
  to pool/main/i/initramfs-tools/initramfs-tools_0.55b.tar.gz
  to pool/main/i/initramfs-tools/initramfs-tools_0.55b_all.deb

A summary of the changes between this version and the previous one is

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 339092@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
maximilian attems <maks@sternwelten.at> (supplier of updated initramfs-tools package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@debian.org)

Hash: SHA1

Format: 1.7
Date: Wed, 15 Mar 2006 13:23:51 +0100
Source: initramfs-tools
Binary: initramfs-tools
Architecture: source all
Version: 0.55b
Distribution: unstable
Urgency: low
Maintainer: Debian kernel team <debian-kernel@lists.debian.org>
Changed-By: maximilian attems <maks@sternwelten.at>
 initramfs-tools - tools for generating an initramfs
Closes: 339092 352738 354708 355162 355486 355595 356850
 initramfs-tools (0.55b) unstable; urgency=low
   * Thanks to Frederik Schüler for pointing to leftovers.
 initramfs-tools (0.55) unstable; urgency=low
   * scripts/init-premount/udev_helper: Fix modprobe args.
     Thanks Frans Pop <fjp@debian.org> for testing 0.54.
   * scripts/local: Use quiet to load the fs. (closes: #339092)
   * hook-functions: Really add the ieee1394 modules.
     Thanks to Michael Prokop <mikap@grml.org> for testing the fix.
   * update-initramfs: Run lilo on updates if no grub is around.
     Thanks Adeodato Simó <adeodato@debian.org> for finding the issue.
     (Closes: #356850)
 initramfs-tools (0.54) unstable; urgency=low
   * hooks/lvm: lvm10 has also an vgchange - exit if no lvm2 libs.
     (closes: #354708)
   * debian/copyright: Meniton current bzr archive. (closes: #352738)
   * hook-functions: Add dac960 scsi driver. (closes: #355162)
   * scripts/init-premount/udev_helper: add code by Scott James Remnant
     <scott@ubuntu.com> from the ubuntu udev hook. We now wait on scsi
     and usb devices to settle, load ide-generic on ide boot only if
     no root device appeared.
     The udev hook is adding ide.agent so no longer duplicate that code.
   * hook-functions: auto_add_modules, split 1000 char wide lines up.
     Should allow better diffing. Splitting them out in proper files with
     each modules / line costs too much initramfs generation time.
     Should allow easier diffing.
   * hook-functions: Add sata_mv thanks Kenshi Muto <kmuto@debian.org>.
     (closes: #355486)
   * hook-functions: Add dasd class to auto_add_modules and dd zfcp module.
     Thanks to s390 support Bastian Blank <waldi@debian.org>. (closes: #355595)
   * hook-functions: Add it821x. (closes #352460)
 3d0b38029dbf3b60f888f4e2661f3458 631 utils optional initramfs-tools_0.55b.dsc
 1cc9226daff1b45dfcdf88a78e0f539d 36785 utils optional initramfs-tools_0.55b.tar.gz
 03e4831d0e2aed94fa535f5a7c2114fc 42086 utils optional initramfs-tools_0.55b_all.deb

Version: GnuPG v1.4.2 (GNU/Linux)


--- End Message ---

Reply to: