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

Bug#517072: marked as done (MODULES=dep fails w/ luks over cciss devices)

Your message dated Thu, 02 Apr 2009 11:02:04 +0000
with message-id <E1LpKgO-0004E7-9M@ries.debian.org>
and subject line Bug#517072: fixed in initramfs-tools 0.93.2
has caused the Debian Bug report #517072,
regarding MODULES=dep fails w/ luks over cciss devices
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 this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org

517072: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=517072
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: initramfs-tools
Version: 0.92o
Severity: important
Tags: patch

I needed to run update-initramfs w/ MODULES=dep (for some 15M BIOS size
limitation w/ lilo on an HP server), turns out that I found the same bug
as #507619 (please refer to it for details), except that I have a LUKS
format over the cciss device.

As bug #507619 describes:
"dep_add_modules() expects to find a /sys/block/cciss/c0d0p file, but
it should be trying /sys/block/cciss!c0d0"

It also mentions:
"fyi, I suspect this may also apply to old-style smart array devices,
where device names are similar, but use 'ida' intead of 'cciss' -
e.g. /dev/ida/c0d0p1."

The following patch fixes it for me (on cciss) and should also fix it
for ida devices:

--- /usr/share/initramfs-tools/hook-functions.orig	2009-02-25
13:59:04.000000000 +0100
+++ /usr/share/initramfs-tools/hook-functions	2009-02-25
14:00:50.000000000 +0100
@@ -259,7 +259,13 @@
 			block=$(awk "/^${block}/{print substr(\$5, 1, 4); exit}" \
-		block=${block%[0-9]*}
+		# luks or lvm on cciss or ida
+		if [ "${block#cciss}" != "${block}" ] \
+			|| [ "${block#ida}" != "${block}" ]; then
+			block="${block%p*}"
+		else
+			block=${block%[0-9]*}
+		fi
 	# md root new naming scheme /dev/md/X
 	elif [ "${root#/dev/md/}" != "${root}" ]; then

--- End Message ---
--- Begin Message ---
Source: initramfs-tools
Source-Version: 0.93.2

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.93.2.dsc
  to pool/main/i/initramfs-tools/initramfs-tools_0.93.2.tar.gz
  to pool/main/i/initramfs-tools/initramfs-tools_0.93.2_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 517072@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
maximilian attems <maks@debian.org> (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.8
Date: Thu, 02 Apr 2009 12:44:33 +0200
Source: initramfs-tools
Binary: initramfs-tools
Architecture: source all
Version: 0.93.2
Distribution: unstable
Urgency: low
Maintainer: Debian kernel team <debian-kernel@lists.debian.org>
Changed-By: maximilian attems <maks@debian.org>
 initramfs-tools - tools for generating an initramfs
Closes: 416063 427509 455876 493863 517072 521370 522030
 initramfs-tools (0.93.2) unstable; urgency=low
   [ François Delawarde ]
   * hook-functions: MODULES=dep fix for luks over cciss devices.
     (closes: #517072, #522030)
   [ maximilian attems ]
   * hook-functions: stricter match on loaded module for firmware
   * hook-functions: Add first firmware from $(uname -r) versioned
     directories. (closes: #521370)
   * hook-functions: MODULES=most add all fb modules per default.
   * update-initramfs: Cleanup run_bootloader()
   * update-initramfs: mbr_check() use /boot/grub/grub.cfg for grub2
     search. (closes: #427509)
   * update-initramfs: Run update on highest version instead of
     /initrd.img link. (closes: #493863)
   * hook-functions: MODULES=most fb add all available agp modules.
   * update-initramfs: Fix error message on wrong -k version argument.
   * hooks/thermal: Prevent inclusion of windfarm modules on PS3.
   * mkinitramfs: Allow dots in boot and script filenames.
   [ Maik Zumstrull ]
   * init-top/framebuffer: Load intel-agp for intelfb.
     (closes: #416063, #455876)
 bac2490c383e5e0f808e67ae311cb9e6ae0b3f2f 1008 initramfs-tools_0.93.2.dsc
 c8c83ff5d4f2bbc6cefaa978f95be2c2373c86d3 70266 initramfs-tools_0.93.2.tar.gz
 538cdf78766778fab2fbf8518a717e63813e9a62 77610 initramfs-tools_0.93.2_all.deb
 fe3d2424b606ebe0486349bbc5881c3673195b7c5489b98358c1bfd4e7cb2dec 1008 initramfs-tools_0.93.2.dsc
 b31983b27630b3ef99f68bd8382851a7963542c944b625bdbfd2f2ff301a02d3 70266 initramfs-tools_0.93.2.tar.gz
 ff9bc46dfd823da4bf28d129fa400efb5d33a6a99476ddaa8c31b3a529bed94f 77610 initramfs-tools_0.93.2_all.deb
 7cf511e3644815bf13eb610eded7facd 1008 utils optional initramfs-tools_0.93.2.dsc
 2ad2ae73267b926ef2a8b058185a3f26 70266 utils optional initramfs-tools_0.93.2.tar.gz
 35a2764b82cb2c4fa38b382a126b1f15 77610 utils optional initramfs-tools_0.93.2_all.deb

Version: GnuPG v1.4.9 (GNU/Linux)


--- End Message ---

Reply to: