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

Bug#579702: marked as done (mkinitramfs fails on mylex raid devices (DAC960))



Your message dated Sat, 29 May 2010 04:17:08 +0000
with message-id <E1OIDTw-0002Ka-2L@ries.debian.org>
and subject line Bug#579702: fixed in initramfs-tools 0.95
has caused the Debian Bug report #579702,
regarding mkinitramfs fails on mylex raid devices (DAC960)
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
immediately.)


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

mkinitramfs fails to generate a initrd file for root filesystems on an
old mylex raid controller (kernel module DAC960).

In my case this breaks installation for lenny (5.0.3) on a FJS Primergy
server - as this bug is not only in the mentioned version but also in
0.92 which ships on the lenny install cd: The installer can boot, as the
old kernel module is still present. But the base install step fails when
it tries to generate the initrd.

The error in detail, when invoking mkinitramfs manually with -x
-----------
(...)
+ manual_add_modules ext2
+ local mam_x firmwares firmware
++ modprobe --set-version=2.6.29.6-vs2.3.0.36.14-beng --ignore-install
--quiet --show-depends ext2
++ awk '/^insmod/ { print $2 }'
+ for mam_x in '$(modprobe --set-version="${version}" --ignore-install
--quiet
--show-depends "${1}" | awk '\''/^insmod/ { print $2 }'\'')'
+ '[' -e
/tmp/mkinitramfs_lNjzuV//lib/modules/2.6.29.6-vs2.3.0.36.14-beng/kernel/fs/mbcache.ko
']'
++ dirname /lib/modules/2.6.29.6-vs2.3.0.36.14-beng/kernel/fs/mbcache.ko
+ mkdir -p
/tmp/mkinitramfs_lNjzuV//lib/modules/2.6.29.6-vs2.3.0.36.14-beng/kernel/fs
++ dirname /lib/modules/2.6.29.6-vs2.3.0.36.14-beng/kernel/fs/mbcache.ko
+ ln -s /lib/modules/2.6.29.6-vs2.3.0.36.14-beng/kernel/fs/mbcache.ko
/tmp/mkinitramfs_lNjzuV//lib/modules/2.6.29.6-vs2.3.0.36.14-beng/kernel/fs
+ '[' n = y ']'
++ modinfo -F firmware
/lib/modules/2.6.29.6-vs2.3.0.36.14-beng/kernel/fs/mbcache.ko
+ firmwares=
+ '[' -z '' ']'
+ continue
+ for mam_x in '$(modprobe --set-version="${version}" --ignore-install
--quiet
--show-depends "${1}" | awk '\''/^insmod/ { print $2 }'\'')'
+ '[' -e
/tmp/mkinitramfs_lNjzuV//lib/modules/2.6.29.6-vs2.3.0.36.14-beng/kernel/fs/ext2/ext2.ko
']'
++ dirname /lib/modules/2.6.29.6-vs2.3.0.36.14-beng/kernel/fs/ext2/ext2.ko
+ mkdir -p
/tmp/mkinitramfs_lNjzuV//lib/modules/2.6.29.6-vs2.3.0.36.14-beng/kernel/fs/ext2
++ dirname /lib/modules/2.6.29.6-vs2.3.0.36.14-beng/kernel/fs/ext2/ext2.ko
+ ln -s /lib/modules/2.6.29.6-vs2.3.0.36.14-beng/kernel/fs/ext2/ext2.ko
/tmp/mkinitramfs_lNjzuV//lib/modules/2.6.29.6-vs2.3.0.36.14-beng/kernel/fs/ext2
+ '[' n = y ']'
++ modinfo -F firmware
/lib/modules/2.6.29.6-vs2.3.0.36.14-beng/kernel/fs/ext2/ext2.ko
+ firmwares=
+ '[' -z '' ']'
+ continue
+ '[' /dev/rd/c0d0p1 '!=' /dev/rd/c0d0p1 ']'
+ '[' /dev/rd/c0d0p1 '!=' /dev/rd/c0d0p1 ']'
+ '[' /dev/rd/c0d0p1 '!=' /dev/rd/c0d0p1 ']'
+ '[' /dev/rd/c0d0p1 '!=' /dev/rd/c0d0p1 ']'
+ '[' /dev/rd/c0d0p1 '!=' /dev/rd/c0d0p1 ']'
+ '[' /dev/rd/c0d0p1 '!=' /dev/rd/c0d0p1 ']'
+ '[' /dev/rd/c0d0p1 '!=' /dev/rd/c0d0p1 ']'
+ '[' /dev/rd/c0d0p1 '!=' /dev/rd/c0d0p1 ']'
+ '[' /dev/rd/c0d0p1 '!=' /dev/rd/c0d0p1 ']'
+ block=rd/c0d0p1
+ block=rd/c
+ '[' -z rd/c ']'
+ '[' '!' -e /sys/block/rd/c ']'
+ echo 'mkinitramfs: for root /dev/rd/c0d0p1 missing rd/c /sys/block/ entry'
mkinitramfs: for root /dev/rd/c0d0p1 missing rd/c /sys/block/ entry
+ echo 'mkinitramfs: workaround is MODULES=most'
mkinitramfs: workaround is MODULES=most
+ echo 'mkinitramfs: Error please report the bug'
mkinitramfs: Error please report the bug
+ exit 1
-------------

So the reason is that mkinitramfs fails to derive the correct block
device notation from the root device as the DAC960 driver uses a strange
format for it.

Once figured out, this is easily corrected. Please find a short patch
for /usr/share/initramfs-tools/hook-functions attached.

Thank you,
  Claus Herwig


-- 
CHECON   EDV-Consulting und Redaktion
         Claus Herwig * Barer Straße 70 * 80799 München
         +49 89 27826981 * Fax 27826982 * c.herwig@checon.de

Attachment: hook-functions.diff
Description: Binary data

Attachment: signature.asc
Description: OpenPGP digital signature


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

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:

initramfs-tools_0.95.dsc
  to main/i/initramfs-tools/initramfs-tools_0.95.dsc
initramfs-tools_0.95.tar.gz
  to main/i/initramfs-tools/initramfs-tools_0.95.tar.gz
initramfs-tools_0.95_all.deb
  to main/i/initramfs-tools/initramfs-tools_0.95_all.deb



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

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

Debian distribution maintenance software
pp.
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)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.8
Date: Fri, 28 May 2010 17:22:56 -0700
Source: initramfs-tools
Binary: initramfs-tools
Architecture: source all
Version: 0.95
Distribution: unstable
Urgency: low
Maintainer: Debian kernel team <debian-kernel@lists.debian.org>
Changed-By: maximilian attems <maks@debian.org>
Description: 
 initramfs-tools - tools for generating an initramfs
Closes: 545728 566295 575766 577253 577981 579702
Changes: 
 initramfs-tools (0.95) unstable; urgency=low
 .
   [ maximilian attems ]
   * update TODO list.
   * hook-functions: refactor copy_exec.
   * mkinitramfs: check only once for existing ldd.
   * mkinitramfs: Use eventual TMPDIR definition.
   * mkinitramfs: guard against empty EXTRA_CONF.
   * update-initramfs: Use nounset.
   * mkinitramfs: Fix several unbound variables.
   * mkinitramfs: On verbose indicate what we rm.
   * bug script: include sizes of generated initramfs.
   * debian/script: add generated resume param to bug.
   * hook-functions: manual_add_modules simplify.
   * hook-functions: copy_modules_dir() small simplifications.
   * mkinitramfs.8: Fix wrong sourcing in boot script. (Closes: #545728)
   * initramfs-tools.8: Mention /scritps/functions.
   * initramfs-tools.8: cryptopts param gone.
   * initramfs-tools.8: document BOOTIF variable.
   * configure_networking(): work with empty DEVICE string.
     (Closes: #566295, #575766)
   * hook-functions: add hid-apple. (Closes: #577253)
   * Revert "mkinitramfs: only copy modprobe conf files". (Closes: #577981)
   * initramfs-tools: change license to GPL.
   * hook-functions: re-add hid-microsoft. (Closes: #577253)
   * initramfs-tools: drop outdated breaks.
   * debian/copyright: add boilerplate to keep lintian happy.
   * hook-functions: Fix copy_modules_dir().
 .
   [ Axel Beckert ]
   * mkinitramfs.8: Add information about $TMPDIR environment variable.
 .
   [ bert schulze ]
   * mkinitramfs: add LZO support.
   * mkinitramfs: use -9 for lzop.
 .
   [ Vagrant Cascadian ]
   * configure_networking: pxelinux BOOTIF fixes.
   * init: add BOOTIF bootarg.
 .
   [ Michael Prokop ]
   * Support booting from USB 3 xHCI-based controllers.
 .
   [ Claus Herwig ]
   * mkinitramfs: fix MODULES=dep on mylex raid devices (DAC960).
     (Closes: #579702)
Checksums-Sha1: 
 9216f73b02d3b5eb006e3260b75655a6da7c45de 922 initramfs-tools_0.95.dsc
 a690ae41f9d01ff63d9997a2dba0c94d19dcd0ac 73275 initramfs-tools_0.95.tar.gz
 e7baa9731d1f5f5e0ac6314d9e2e4d6f2fd74640 79950 initramfs-tools_0.95_all.deb
Checksums-Sha256: 
 7b8954fd0a8e075a38c5c33970b475bd6e9d1c2e4b6f2f81814461d37986ec56 922 initramfs-tools_0.95.dsc
 ceafb109d8cf6240e8c5ea22cd14122c268bee30236867cc43b06b8821d37514 73275 initramfs-tools_0.95.tar.gz
 a8cab85628b927a365d9194f29a2825c1943c21c7e49a1083b5105ce1f655976 79950 initramfs-tools_0.95_all.deb
Files: 
 6b6072a0e133472eba9a27d0b257a96b 922 utils optional initramfs-tools_0.95.dsc
 c43c28e9ff65b26563ccf43079fc3d03 73275 utils optional initramfs-tools_0.95.tar.gz
 1c7793dab0a318b0a2773188f3f41fae 79950 utils optional initramfs-tools_0.95_all.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)

iEYEARECAAYFAkwAX84ACgkQeW7Lc5tEHqiDYwCgz4kG/6PcZ8KZAzpUNAKPgmKb
iy4An2v7U7LwlGo0tSJKhdjCy0xS+bwQ
=v+rR
-----END PGP SIGNATURE-----



--- End Message ---

Reply to: