Your message dated Wed, 13 Dec 2006 14:47:03 +0000
with message-id <[EMAIL PROTECTED]>
and subject line Bug#402106: fixed in mdadm 2.5.6-7
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: mdadm
Version: 2.5.6-6
Severity: normal

Hello,

I have errors messages when generating the initramfs with md devices.

As I can see, the problem comes from the while loop line 186 of 
/usr/share/initramfs-tools/hooks/mdadm.

the last argument of the DEVICE line is treated as md devices.

==== Start error LOG ====
# update-initramfs -v -c -k 2.6.18-3-sparc64-smp
update-initramfs: Generating /boot/initrd.img-2.6.18-3-sparc64-smp
Adding module 
/lib/modules/2.6.18-3-sparc64-smp/kernel/drivers/usb/host/ehci-hcd.ko
Adding module 
/lib/modules/2.6.18-3-sparc64-smp/kernel/drivers/usb/host/ohci-hcd.ko
[...]
Calling hook mdadm
Adding binary /sbin/mdadm
Adding module /lib/modules/2.6.18-3-sparc64-smp/kernel/drivers/md/md-mod.ko
Adding module /lib/modules/2.6.18-3-sparc64-smp/kernel/drivers/md/linear.ko
Adding module /lib/modules/2.6.18-3-sparc64-smp/kernel/drivers/md/multipath.ko
Adding module /lib/modules/2.6.18-3-sparc64-smp/kernel/drivers/md/raid0.ko
Adding module /lib/modules/2.6.18-3-sparc64-smp/kernel/drivers/md/raid1.ko
Adding module /lib/modules/2.6.18-3-sparc64-smp/kernel/drivers/md/xor.ko
Adding module /lib/modules/2.6.18-3-sparc64-smp/kernel/drivers/md/raid456.ko
Adding module /lib/modules/2.6.18-3-sparc64-smp/kernel/drivers/md/raid10.ko
I: mdadm: using configuration file: /etc/mdadm/mdadm.conf
mdadm: /dev/sdb2 does not appear to be an md device
mdadm: /dev/sdb4 does not appear to be an md device
mdadm: /dev/sdb5 does not appear to be an md device
I: mdadm: will start all available MD arrays from the initial ramdisk.
I: mdadm: use `dpkg-reconfigure --priority=low mdadm` to change this.
Calling hook thermal
==== END error LOG ====

Maybe the loop should check if the line begins with 'ARRAY' ?

Regards.


-- Package-specific info:
--- mount output
/dev/md1 on / type ext3 (rw,errors=remount-ro)
tmpfs on /lib/init/rw type tmpfs (rw,nosuid,mode=0755)
proc on /proc type proc (rw,noexec,nosuid,nodev)
sysfs on /sys type sysfs (rw,noexec,nosuid,nodev)
procbususb on /proc/bus/usb type usbfs (rw)
udev on /dev type tmpfs (rw,mode=0755)
tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev)
devpts on /dev/pts type devpts (rw,noexec,nosuid,gid=5,mode=620)
/dev/md0 on /boot type ext3 (rw)
/dev/mapper/ancalagon-home on /home type ext3 (rw)
/dev/mapper/ancalagon-tmp on /tmp type ext3 (rw)
/dev/mapper/ancalagon-usr on /usr type ext3 (rw)
/dev/mapper/ancalagon-usr--local on /usr/local type ext3 (rw)
/dev/mapper/ancalagon-usr--src on /usr/src type ext3 (rw)
/dev/mapper/ancalagon-var on /var type ext3 (rw)
/dev/mapper/ancalagon-var--cache on /var/cache type ext3 (rw)
/dev/mapper/ancalagon-var--log on /var/log type ext3 (rw)

--- mdadm.conf
# mdadm.conf
#
# Please refer to mdadm.conf(5) for information about this file.
#

# by default, scan all partitions (/proc/partitions) for MD superblocks.
# alternatively, specify devices to scan, using wildcards if desired.
DEVICE /dev/sd[ab]2
DEVICE /dev/sd[ab]4
DEVICE /dev/sd[ab]5

# auto-create devices with Debian standard permissions
CREATE owner=root group=disk mode=0660 auto=yes

# automatically tag new arrays as belonging to the local system
HOMEHOST <system>

# instruct the monitoring daemon where to send mail alerts
MAILADDR root

# definitions of existing MD arrays
ARRAY /dev/md0 level=raid1 devices=/dev/sda2,/dev/sdb2 num-devices=2 
UUID=bd41c3dd:c44d13a3:83890f3c:23af010b
ARRAY /dev/md1 level=raid1 devices=/dev/sda4,/dev/sdb4 num-devices=2 
UUID=199f2696:2e917275:f2a79f4d:4abea903
ARRAY /dev/md2 level=raid1 devices=/dev/sda5,/dev/sdb5 num-devices=2 
UUID=e1f85fd5:c35a5f26:ba171253:1b9f4ea2

# This file was auto-generated on Wed, 06 Dec 2006 17:42:52 +0000
# by mkconf $Id: mkconf 261 2006-11-09 13:32:35Z madduck $

--- /proc/mdstat:
Personalities : [raid1] 
md2 : active raid1 sdb5[1] sda5[0]
      142239424 blocks [2/2] [UU]
      
md1 : active raid1 sdb4[1] sda4[0]
      497920 blocks [2/2] [UU]
      
md0 : active raid1 sdb2[1] sda2[0]
      128448 blocks [2/2] [UU]
      
unused devices: <none>

--- /proc/partitions:
major minor  #blocks  name

   8     0  143369664 sda
   8     1     498015 sda1
   8     2     128520 sda2
   8     3  143364060 sda3
   8     4     498015 sda4
   8     5  142239510 sda5
   8    16  143369664 sdb
   8    17     498015 sdb1
   8    18     128520 sdb2
   8    19  143364060 sdb3
   8    20     498015 sdb4
   8    21  142239510 sdb5
   9     0     128448 md0
   9     1     497920 md1
   9     2  142239424 md2
 253     0     262144 dm-0
 253     1    2097152 dm-1
 253     2    1048576 dm-2
 253     3    1048576 dm-3
 253     4    1048576 dm-4
 253     5    1048576 dm-5
 253     6    1048576 dm-6
 253     7    1048576 dm-7

--- initrd.img-2.6.18-3-sparc64-smp:
30205 blocs
sbin/mdadm
lib/modules/2.6.18-3-sparc64-smp/kernel/drivers/md/linear.ko
lib/modules/2.6.18-3-sparc64-smp/kernel/drivers/md/dm-mod.ko
lib/modules/2.6.18-3-sparc64-smp/kernel/drivers/md/raid0.ko
lib/modules/2.6.18-3-sparc64-smp/kernel/drivers/md/md-mod.ko
lib/modules/2.6.18-3-sparc64-smp/kernel/drivers/md/raid456.ko
lib/modules/2.6.18-3-sparc64-smp/kernel/drivers/md/multipath.ko
lib/modules/2.6.18-3-sparc64-smp/kernel/drivers/md/xor.ko
lib/modules/2.6.18-3-sparc64-smp/kernel/drivers/md/dm-snapshot.ko
lib/modules/2.6.18-3-sparc64-smp/kernel/drivers/md/raid10.ko
lib/modules/2.6.18-3-sparc64-smp/kernel/drivers/md/dm-mirror.ko
lib/modules/2.6.18-3-sparc64-smp/kernel/drivers/md/raid1.ko
etc/mdadm
etc/mdadm/mdadm.conf
scripts/local-top/mdadm

--- /proc/modules:
dm_mirror 25776 0 - Live 0x0000000010178000
dm_snapshot 20408 0 - Live 0x0000000010170000
dm_mod 64032 19 dm_mirror,dm_snapshot, Live 0x000000001015e000
raid1 27200 3 - Live 0x0000000010154000
md_mod 93024 4 raid1, Live 0x000000001013a000

--- volume detail:

--- /proc/cmdline
root=/dev/md1 ro video=atyfb:off


-- System Information:
Debian Release: 4.0
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: sparc (sparc64)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-3-sparc64-smp
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)

Versions of packages mdadm depends on:
ii  debconf [debconf-2.0]        1.5.9       Debian configuration management sy
ii  libc6                        2.3.6.ds1-8 GNU C Library: Shared libraries
ii  lsb-base                     3.1-22      Linux Standard Base 3.1 init scrip
ii  makedev                      2.3.1-83    creates device files in /dev

Versions of packages mdadm recommends:
ii  exim4-daemon-light [mail-tran 4.63-11    lightweight exim MTA (v4) daemon
ii  module-init-tools             3.3-pre3-1 tools for managing Linux kernel mo

-- debconf information:
  mdadm/initrdstart_msg_errexist:
  mdadm/initrdstart_msg_intro:
  mdadm/autostart: true
  mdadm/autocheck: true
  mdadm/initrdstart_msg_errblock:
  mdadm/mail_to: root
  mdadm/initrdstart_msg_errmd:
  mdadm/initrdstart: all
  mdadm/initrdstart_msg_errconf:
  mdadm/initrdstart_notinconf: false
  mdadm/start_daemon: true


--- End Message ---
--- Begin Message ---
Source: mdadm
Source-Version: 2.5.6-7

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

mdadm-udeb_2.5.6-7_amd64.udeb
  to pool/main/m/mdadm/mdadm-udeb_2.5.6-7_amd64.udeb
mdadm_2.5.6-7.diff.gz
  to pool/main/m/mdadm/mdadm_2.5.6-7.diff.gz
mdadm_2.5.6-7.dsc
  to pool/main/m/mdadm/mdadm_2.5.6-7.dsc
mdadm_2.5.6-7_amd64.deb
  to pool/main/m/mdadm/mdadm_2.5.6-7_amd64.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 [EMAIL PROTECTED],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
martin f. krafft <[EMAIL PROTECTED]> (supplier of updated mdadm 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 [EMAIL PROTECTED])


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

Format: 1.7
Date: Tue, 12 Dec 2006 11:49:52 +0100
Source: mdadm
Binary: mdadm mdadm-udeb
Architecture: source amd64
Version: 2.5.6-7
Distribution: unstable
Urgency: low
Maintainer: Debian mdadm maintainers <[EMAIL PROTECTED]>
Changed-By: martin f. krafft <[EMAIL PROTECTED]>
Description: 
 mdadm      - tool to administer Linux MD arrays (software RAID)
 mdadm-udeb - tool to administer Linux MD arrays (software RAID) (udeb)
Closes: 401696 402106 402457 402681
Changes: 
 mdadm (2.5.6-7) unstable; urgency=low
 .
   * Only parse ARRAY lines from configuration file when collecting the array
     pairs. Thanks to Daniel Dehennin for the bug report and suggested fix
     (closes: #402106).
   * Prevent modules from being loaded during initramfs time if no arrays are
     to be assembled at this stage.
   * Export DAEMON_OPTIONS to /etc/default/mdadm, which gets passed to the
     mdadm daemon on startup from the init.d script. The value is set to
     -y/--syslog by default, and will get incorporated into debconf in a future
     version; thanks for the idea by Alex Owen (closes: #401696).
   * Incorporate patch by upstream to fix handling of --syslog long option
     (closes: #402457).
   * Added logcheck filters for new syslog entries by mdadm monitoring daemon.
   * Added Spanish debconf translation by Javier Fernández-Sanguino
     (closes: #402681).
Files: 
 09e8e8d00aec550a2a0eca07575d67e7 765 admin optional mdadm_2.5.6-7.dsc
 8d8b11cce0934d62ea8447da94fdb5e9 106544 admin optional mdadm_2.5.6-7.diff.gz
 fae6d305b157e761d41415c8370e8ccd 228010 admin optional mdadm_2.5.6-7_amd64.deb
 705e50e5084f687eb9d05945b353f5be 70936 debian-installer optional 
mdadm-udeb_2.5.6-7_amd64.udeb
Package-Type: udeb

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

iD8DBQFFgBDEIgvIgzMMSnURAkIXAJ93CRxW8JyG2jiOPJ+mCY8+tpJtZgCg3YjR
VGqh32ZjmSxChcXOwbbpyYs=
=0aS+
-----END PGP SIGNATURE-----


--- End Message ---

Reply via email to