Your message dated Mon, 22 Nov 2010 12:32:15 +0000
with message-id <e1pkvz9-0001nd...@franck.debian.org>
and subject line Bug#603319: fixed in dmraid 1.0.0.rc16-4
has caused the Debian Bug report #603319,
regarding dmraid-activate does not handle DDF1-based disks properly
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 ow...@bugs.debian.org
immediately.)


-- 
603319: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=603319
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: dmraid
Version: 1.0.0.rc16-3
Severity: grave

Hello,

after upgrading from lenny to squeeze, I lost my DMRAID array (raid1). Since my
root partition is on DMRAID+LVM, LVM automatically picked up /dev/sdb as PV
desynching it from /dev/sda both disks. It was a pure luck I noticed this
problem...

Since it is not possible to start DMRAID after LVM (/ has already been brought
up by initramfs) , kernel kept complaining with bogus ambiguous error messages
when I manually ran `dmraid -ay`. This mislead me so I blamed dmraid binary at
first and wasted some time debugging it. However, later I discovered that
dmraid-activate is at fault here. It looks like dmraid-activate just does
nothing and it does not show any error messages. So I added:

dmraid -i -ay

to the bottom of /usr/share/initramfs-tools/scripts/local-top/dmraid, rebuilt
initramfs and my RAID1 array was activated just fine on the next reboot.

RAID metadata format is ddf1 and hardware is:

RAID bus controller: Intel Corporation 82801GR/GH (ICH7 Family) SATA RAID 
Controller (rev 01)

(by LSI). Therefore, this combination is affected by
19_ddf1_lsi_persistent_name.patch.

The reasons I filed this bug as RC are:

1) It's a regression from lenny. 1.0.0.rc14-7/lenny worked just fine with this
hardware. What's more, 1.0.0.rc14-7 works fine when installed on Squeeze
system.

2) Technically, this failure might leave system unbootable (which sometimes
could be considered a better option then the following).

3) It may eventually lead to data loss as it is not recommended to access disks
(/dev/sda and /dev/sdb) directly. Bad effects are not predictable.

-- Package-specific info:
--- dmraid -r -vvv output
WARN: locking /var/lock/dmraid/.lock
NOTICE: /dev/sdb: asr     discovering
NOTICE: /dev/sdb: ddf1    discovering
NOTICE: /dev/sdb: ddf1 metadata discovered
NOTICE: /dev/sdb: hpt37x  discovering
NOTICE: /dev/sdb: hpt45x  discovering
NOTICE: /dev/sdb: isw     discovering
NOTICE: /dev/sdb: jmicron discovering
NOTICE: /dev/sdb: lsi     discovering
NOTICE: /dev/sdb: nvidia  discovering
NOTICE: /dev/sdb: pdc     discovering
NOTICE: /dev/sdb: sil     discovering
NOTICE: /dev/sdb: via     discovering
NOTICE: /dev/sda: asr     discovering
NOTICE: /dev/sda: ddf1    discovering
NOTICE: /dev/sda: ddf1 metadata discovered
NOTICE: /dev/sda: hpt37x  discovering
NOTICE: /dev/sda: hpt45x  discovering
NOTICE: /dev/sda: isw     discovering
NOTICE: /dev/sda: jmicron discovering
NOTICE: /dev/sda: lsi     discovering
NOTICE: /dev/sda: nvidia  discovering
NOTICE: /dev/sda: pdc     discovering
NOTICE: /dev/sda: sil     discovering
NOTICE: /dev/sda: via     discovering
INFO: RAID devices discovered:

/dev/sdb: ddf1, ".ddf1_disks", GROUP, ok, 486326272 sectors, data@ 0
/dev/sda: ddf1, ".ddf1_disks", GROUP, ok, 486326272 sectors, data@ 0
WARN: unlocking /var/lock/dmraid/.lock

--- dmraid -s -vv output
NOTICE: /dev/sdb: asr     discovering
NOTICE: /dev/sdb: ddf1    discovering
NOTICE: /dev/sdb: ddf1 metadata discovered
NOTICE: /dev/sdb: hpt37x  discovering
NOTICE: /dev/sdb: hpt45x  discovering
NOTICE: /dev/sdb: isw     discovering
NOTICE: /dev/sdb: jmicron discovering
NOTICE: /dev/sdb: lsi     discovering
NOTICE: /dev/sdb: nvidia  discovering
NOTICE: /dev/sdb: pdc     discovering
NOTICE: /dev/sdb: sil     discovering
NOTICE: /dev/sdb: via     discovering
NOTICE: /dev/sda: asr     discovering
NOTICE: /dev/sda: ddf1    discovering
NOTICE: /dev/sda: ddf1 metadata discovered
NOTICE: /dev/sda: hpt37x  discovering
NOTICE: /dev/sda: hpt45x  discovering
NOTICE: /dev/sda: isw     discovering
NOTICE: /dev/sda: jmicron discovering
NOTICE: /dev/sda: lsi     discovering
NOTICE: /dev/sda: nvidia  discovering
NOTICE: /dev/sda: pdc     discovering
NOTICE: /dev/sda: sil     discovering
NOTICE: /dev/sda: via     discovering
NOTICE: added /dev/sdb to RAID set ".ddf1_disks"
NOTICE: added /dev/sda to RAID set ".ddf1_disks"
*** Group superset .ddf1_disks
--> Active Subset
name   : ddf1_4c5349202020202010000055000000004711471100000a28
size   : 486326272
stride : 128
type   : mirror
status : ok
subsets: 0
devs   : 2
spares : 0

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

   8        0  244198584 sda
   8        1     297171 sda1
   8        2  242862637 sda2
   8       16  244198584 sdb
   8       17     297171 sdb1
   8       18  242862637 sdb2
 254        0  243163136 dm-0
 254        1     297171 dm-1
 254        2  242862637 dm-2
 254        3   14680064 dm-3
 254        4   31457280 dm-4
 254        5    4194304 dm-5
 254        6   15728640 dm-6
 254        7   41943040 dm-7

--- initrd.img-2.6.32-5-amd64:
57189 blocks
lib/modules/2.6.32-5-amd64/kernel/drivers/md/dm-region-hash.ko
lib/modules/2.6.32-5-amd64/kernel/drivers/md/dm-mirror.ko
lib/modules/2.6.32-5-amd64/kernel/drivers/md/dm-snapshot.ko
lib/modules/2.6.32-5-amd64/kernel/drivers/md/dm-mod.ko
lib/modules/2.6.32-5-amd64/kernel/drivers/md/dm-log.ko

--- /proc/modules:
dm_mirror 10923 1 - Live 0xffffffffa01bb000
dm_region_hash 6680 1 dm_mirror, Live 0xffffffffa01b3000
dm_log 7381 3 dm_mirror,dm_region_hash, Live 0xffffffffa01ab000
dm_mod 53786 26 dm_mirror,dm_log, Live 0xffffffffa0164000

--- /proc/cmdline
BOOT_IMAGE=/vmlinuz-2.6.32-5-amd64 root=/dev/mapper/main-root ro quiet


-- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (500, 'testing'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-5-amd64 (SMP w/2 CPU cores)
Locale: LANG=lt_LT.UTF-8, LC_CTYPE=lt_LT.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages dmraid depends on:
ii  dmsetup                2:1.02.48-3       The Linux Kernel Device Mapper use
ii  libc6                  2.11.2-6+squeeze1 Embedded GNU C Library: Shared lib
ii  libdmraid1.0.0.rc16    1.0.0.rc16-3      Device-Mapper Software RAID suppor
ii  libselinux1            2.0.96-1          SELinux runtime shared libraries
ii  libsepol1              2.0.41-1          SELinux library for manipulating b
ii  udev                   163-2             /dev/ and hotplug management daemo

dmraid recommends no packages.

dmraid suggests no packages.

-- no debconf information



--- End Message ---
--- Begin Message ---
Source: dmraid
Source-Version: 1.0.0.rc16-4

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

dmraid-udeb_1.0.0.rc16-4_i386.udeb
  to main/d/dmraid/dmraid-udeb_1.0.0.rc16-4_i386.udeb
dmraid_1.0.0.rc16-4.diff.gz
  to main/d/dmraid/dmraid_1.0.0.rc16-4.diff.gz
dmraid_1.0.0.rc16-4.dsc
  to main/d/dmraid/dmraid_1.0.0.rc16-4.dsc
dmraid_1.0.0.rc16-4_i386.deb
  to main/d/dmraid/dmraid_1.0.0.rc16-4_i386.deb
libdmraid-dev_1.0.0.rc16-4_i386.deb
  to main/d/dmraid/libdmraid-dev_1.0.0.rc16-4_i386.deb
libdmraid1.0.0.rc16-udeb_1.0.0.rc16-4_i386.udeb
  to main/d/dmraid/libdmraid1.0.0.rc16-udeb_1.0.0.rc16-4_i386.udeb
libdmraid1.0.0.rc16_1.0.0.rc16-4_i386.deb
  to main/d/dmraid/libdmraid1.0.0.rc16_1.0.0.rc16-4_i386.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 603...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Giuseppe Iuculano <iucul...@debian.org> (supplier of updated dmraid 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 ftpmas...@debian.org)


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

Format: 1.8
Date: Mon, 22 Nov 2010 13:02:29 +0100
Source: dmraid
Binary: dmraid dmraid-udeb libdmraid1.0.0.rc16-udeb libdmraid1.0.0.rc16 
libdmraid-dev
Architecture: source i386
Version: 1.0.0.rc16-4
Distribution: unstable
Urgency: low
Maintainer: Giuseppe Iuculano <iucul...@debian.org>
Changed-By: Giuseppe Iuculano <iucul...@debian.org>
Description: 
 dmraid     - Device-Mapper Software RAID support tool
 dmraid-udeb - Device-Mapper Software RAID support tool (udeb) (udeb)
 libdmraid-dev - Device-Mapper Software RAID support tool - header files
 libdmraid1.0.0.rc16 - Device-Mapper Software RAID support tool - shared library
 libdmraid1.0.0.rc16-udeb - Device-Mapper Software RAID support tool - shared 
library (udeb) (udeb)
Closes: 603319
Changes: 
 dmraid (1.0.0.rc16-4) unstable; urgency=low
 .
   [ Modestas Vainius ]
   * [7b2bf79] Make dmraid-activate work with DDF1 arrays by special-
     casing their handling. Similar to ISW case, there do not seem to be
     a way for getting raid subsets for the physical drive except parsing
     native log. (Closes: #603319)
Checksums-Sha1: 
 6a12f3930859a4eebbc228920dd5a11e4ea57c00 1371 dmraid_1.0.0.rc16-4.dsc
 c70d4dfb9ab83d6d5e87cc3e4ea1e18af9bea5aa 29348 dmraid_1.0.0.rc16-4.diff.gz
 8da005325f7eb7ee4f21c95bb6dbfed95cd84223 37106 dmraid_1.0.0.rc16-4_i386.deb
 262f0ed7d0abc9a8a5257f5bb0616d902483aadd 10322 
dmraid-udeb_1.0.0.rc16-4_i386.udeb
 69a3ef35d0adda0a3cd012af87af4e92380ddfaf 89492 
libdmraid1.0.0.rc16-udeb_1.0.0.rc16-4_i386.udeb
 4f988024edbf68e4efe8cea406a1ef48c044a46f 106046 
libdmraid1.0.0.rc16_1.0.0.rc16-4_i386.deb
 8dd3cdd87bffc88aa3810bca65afc60efe1b1d76 145540 
libdmraid-dev_1.0.0.rc16-4_i386.deb
Checksums-Sha256: 
 412b8e23101be7e724019454d28710a5fe9d53e71f11ad4563cb3168e50ab6c2 1371 
dmraid_1.0.0.rc16-4.dsc
 7e1b8515a0adaa9328f4e574f978c02bd6a987e3fdd50f5596a95dea64f50981 29348 
dmraid_1.0.0.rc16-4.diff.gz
 7defbb139450ed2b9d8c43fc2b20b914758e50dd4cbff0b70e625e237ef9d3ea 37106 
dmraid_1.0.0.rc16-4_i386.deb
 159ac66f1f4dfcde13076814618e313836993cc8958899b008599e4eba11d8d6 10322 
dmraid-udeb_1.0.0.rc16-4_i386.udeb
 bb2369cc34aae65f0a0b524d4658bf511a5cc03d53d3861e00a98848fd1f6e6d 89492 
libdmraid1.0.0.rc16-udeb_1.0.0.rc16-4_i386.udeb
 a2729f0d03000eb5f6784cd19d4c705de2414c2d297dcad372f27b29b33a872a 106046 
libdmraid1.0.0.rc16_1.0.0.rc16-4_i386.deb
 ef0b94e62c6b183ba932f6e76b7d5dd1a0ef7ecc9811ba93bd4dd0114a2ff09e 145540 
libdmraid-dev_1.0.0.rc16-4_i386.deb
Files: 
 abb21c8633e21a17ae4a301d0cf1492a 1371 admin optional dmraid_1.0.0.rc16-4.dsc
 0663da37caa700cf32a3663965cb80c3 29348 admin optional 
dmraid_1.0.0.rc16-4.diff.gz
 d52dcbe71800d90141d25ebc90fe89f8 37106 admin optional 
dmraid_1.0.0.rc16-4_i386.deb
 024e731f302a1c442f30a93e15b9de5f 10322 debian-installer optional 
dmraid-udeb_1.0.0.rc16-4_i386.udeb
 27871373049cd1afc129d8afe3536d1e 89492 debian-installer optional 
libdmraid1.0.0.rc16-udeb_1.0.0.rc16-4_i386.udeb
 e827c6a6603d35c0ca3aac1e4cc0cc8f 106046 libs optional 
libdmraid1.0.0.rc16_1.0.0.rc16-4_i386.deb
 f6b5e5e4c741f73333398f1929962341 145540 libdevel optional 
libdmraid-dev_1.0.0.rc16-4_i386.deb
Package-Type: udeb

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

iEYEARECAAYFAkzqXr8ACgkQNxpp46476arlTwCgi2acfG7O1mY4AMYgY10W1bw+
7PcAn2ghvRQiakUg3bvO/ex4QA4ap90N
=OkH/
-----END PGP SIGNATURE-----



--- End Message ---

Reply via email to