Bug#567301: mdadm: boot failure

Laurent Bonnaud Laurent.Bonnaud at inpg.fr
Thu Jan 28 11:30:16 UTC 2010


Package: mdadm
Version: 3.1.1-1+incremental
Justification: renders package unusable
Severity: grave


Hi,

after upgrading to this experimental version, my system does not boot
any longer.  Here is the error message I see:

/scripts/local-top/mdadm: line 100: MD_DEVS: parameter not set

Note that the kernel I generally use is 2.6.32-trunk-686-bigmem and that
the amd64 flavor is only used as a backup kernel, that I am only using
to report this bug.


-- Package-specific info:
--- mount output
/dev/md0 on / type ext4 (rw,relatime,barrier=1,acl,user_xattr,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)
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)
rpc_pipefs on /var/lib/nfs/rpc_pipefs type rpc_pipefs (rw)
xeelee:/local on /usr/local type nfs4 (rw,user=root,nosuid,nodev,intr,soft,addr=192.168.1.106,clientaddr=192.168.1.100)
xeelee:/donnees on /donnees type nfs4 (rw,user=root,nosuid,nodev,intr,soft,addr=192.168.1.106,clientaddr=192.168.1.100)
fusectl on /sys/fs/fuse/connections type fusectl (rw)
binfmt_misc on /proc/sys/fs/binfmt_misc type binfmt_misc (rw,noexec,nosuid,nodev)

--- 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 partitions

# 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 num-devices=2 UUID=f707a320:20d7e89d:e368bf24:bd0fce41
#ARRAY /dev/md1 level=raid5 num-devices=5 metadata=00.90 UUID=82bbb78c:4c6dd69e:0570ac16:8594963e

# This file was auto-generated on Wed, 04 Apr 2007 06:37:29 +0000
# by mkconf $Id: mkconf 261 2006-11-09 13:32:35Z madduck $

--- /proc/mdstat:
Personalities : [raid1] 
md0 : active raid1 sda3[0] sdb1[1]
      488480320 blocks [2/2] [UU]
      
unused devices: <none>

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

   8        0  976762584 sda
   8        1     102400 sda1
   8        2  488175616 sda2
   8        3  488480422 sda3
   8       16  976762584 sdb
   8       17  488480422 sdb1
   9        0  488480320 md0

--- initrd.img-2.6.32-trunk-amd64:
48229 blocks
23d40aabe71181e5507620f87e1508c7  ./etc/mdadm/mdadm.conf
9f51b8f3e2d74da337123618e6fe9513  ./lib/modules/2.6.32-trunk-amd64/kernel/drivers/md/raid456.ko
d94e180d20a37cf51660bb05048d1ab9  ./lib/modules/2.6.32-trunk-amd64/kernel/drivers/md/raid1.ko
278ed06f2310967953d7adc3251ad955  ./lib/modules/2.6.32-trunk-amd64/kernel/drivers/md/raid0.ko
00b92a71ad400848b2d6bd220c97dfb1  ./lib/modules/2.6.32-trunk-amd64/kernel/drivers/md/raid10.ko
01bc5c24d8510aef6a51250229137489  ./lib/modules/2.6.32-trunk-amd64/kernel/drivers/md/raid6_pq.ko
ebbfe87fc9d56c01aec56e0f978f7f90  ./lib/modules/2.6.32-trunk-amd64/kernel/drivers/md/md-mod.ko
0a4e89ace4d80496dafd2bc416783cd6  ./lib/modules/2.6.32-trunk-amd64/kernel/drivers/md/multipath.ko
3b8ae47cacd61617c28289335398ebf9  ./lib/modules/2.6.32-trunk-amd64/kernel/drivers/md/linear.ko
6b782ae76f866914ec236b2d14b43f24  ./scripts/local-top/mdadm
3c7cd6ab83359d5349e7dcae4d2b1a8d  ./sbin/mdadm

--- /proc/modules:
dm_crypt 10427 0 - Live 0xffffffffa027f000
dm_mod 53098 1 dm_crypt, Live 0xffffffffa03f8000
raid1 17967 1 - Live 0xffffffffa01d0000
md_mod 72944 2 raid1, Live 0xffffffffa01b4000

--- /var/log/syslog:

--- volume detail:
/dev/sda is not recognised by mdadm.
/dev/sda1 is not recognised by mdadm.
/dev/sda2 is not recognised by mdadm.
/dev/sda3:
          Magic : a92b4efc
        Version : 0.90.00
           UUID : f707a320:20d7e89d:e368bf24:bd0fce41
  Creation Time : Sun Oct 18 14:14:31 2009
     Raid Level : raid1
  Used Dev Size : 488480320 (465.85 GiB 500.20 GB)
     Array Size : 488480320 (465.85 GiB 500.20 GB)
   Raid Devices : 2
  Total Devices : 2
Preferred Minor : 0

    Update Time : Thu Jan 28 12:23:38 2010
          State : clean
 Active Devices : 2
Working Devices : 2
 Failed Devices : 0
  Spare Devices : 0
       Checksum : 14dd81be - correct
         Events : 42


      Number   Major   Minor   RaidDevice State
this     0       8        3        0      active sync   /dev/sda3

   0     0       8        3        0      active sync   /dev/sda3
   1     1       8       17        1      active sync   /dev/sdb1
--
/dev/sdb is not recognised by mdadm.
/dev/sdb1:
          Magic : a92b4efc
        Version : 0.90.00
           UUID : f707a320:20d7e89d:e368bf24:bd0fce41
  Creation Time : Sun Oct 18 14:14:31 2009
     Raid Level : raid1
  Used Dev Size : 488480320 (465.85 GiB 500.20 GB)
     Array Size : 488480320 (465.85 GiB 500.20 GB)
   Raid Devices : 2
  Total Devices : 2
Preferred Minor : 0

    Update Time : Thu Jan 28 12:23:38 2010
          State : clean
 Active Devices : 2
Working Devices : 2
 Failed Devices : 0
  Spare Devices : 0
       Checksum : 14dd81ce - correct
         Events : 42


      Number   Major   Minor   RaidDevice State
this     1       8       17        1      active sync   /dev/sdb1

   0     0       8        3        0      active sync   /dev/sda3
   1     1       8       17        1      active sync   /dev/sdb1
--

--- /proc/cmdline
BOOT_IMAGE=/boot/vmlinuz-2.6.32-trunk-amd64 root=UUID=7542396e-e70d-49b6-89da-b797e4b1ca19 ro quiet

--- grub2:
insmod raid
set root=(md0)
insmod raid
set root=(md0)
insmod raid
set root=(md0)
	insmod raid
	set root=(md0)
	linux	/boot/vmlinuz-2.6.32-trunk-686-bigmem root=UUID=7542396e-e70d-49b6-89da-b797e4b1ca19 ro  quiet
	insmod raid
	set root=(md0)
	linux	/boot/vmlinuz-2.6.32-trunk-686-bigmem root=UUID=7542396e-e70d-49b6-89da-b797e4b1ca19 ro single 
	insmod raid
	set root=(md0)
	linux	/boot/vmlinuz-2.6.32-trunk-amd64 root=UUID=7542396e-e70d-49b6-89da-b797e4b1ca19 ro  quiet
	insmod raid
	set root=(md0)
	linux	/boot/vmlinuz-2.6.32-trunk-amd64 root=UUID=7542396e-e70d-49b6-89da-b797e4b1ca19 ro single 
	insmod raid
	set root=(md0)
	linux	/boot/vmlinuz-2.6.31-1-686-bigmem root=UUID=7542396e-e70d-49b6-89da-b797e4b1ca19 ro  quiet
	insmod raid
	set root=(md0)
	linux	/boot/vmlinuz-2.6.31-1-686-bigmem root=UUID=7542396e-e70d-49b6-89da-b797e4b1ca19 ro single 
	insmod raid
	set root=(md0)
	insmod raid
	set root=(md0)
	set root=(hd0,1)

--- udev:
ii  udev           150-2          /dev/ and hotplug management daemon
146a5e9a2cdc740e7baa771f1fe631f2  /lib/udev/rules.d/64-md-raid.rules

--- /dev:
brw-rw---- 1 root disk 9, 0 Jan 28 12:11 /dev/md0

/dev/disk/by-id:
total 0
lrwxrwxrwx 1 root root  9 Jan 28 12:11 ata-WDC_WD1001FALS-00J7B1_WD-WMATV3046235 -> ../../sda
lrwxrwxrwx 1 root root 10 Jan 28 12:11 ata-WDC_WD1001FALS-00J7B1_WD-WMATV3046235-part1 -> ../../sda1
lrwxrwxrwx 1 root root 10 Jan 28 12:11 ata-WDC_WD1001FALS-00J7B1_WD-WMATV3046235-part2 -> ../../sda2
lrwxrwxrwx 1 root root 10 Jan 28 12:11 ata-WDC_WD1001FALS-00J7B1_WD-WMATV3046235-part3 -> ../../sda3
lrwxrwxrwx 1 root root  9 Jan 28 12:11 ata-WDC_WD1001FALS-00J7B1_WD-WMATV3050762 -> ../../sdb
lrwxrwxrwx 1 root root 10 Jan 28 12:11 ata-WDC_WD1001FALS-00J7B1_WD-WMATV3050762-part1 -> ../../sdb1
lrwxrwxrwx 1 root root  9 Jan 28 12:11 md-uuid-f707a320:20d7e89d:e368bf24:bd0fce41 -> ../../md0
lrwxrwxrwx 1 root root  9 Jan 28 12:11 scsi-SATA_WDC_WD1001FALS-_WD-WMATV3046235 -> ../../sda
lrwxrwxrwx 1 root root 10 Jan 28 12:11 scsi-SATA_WDC_WD1001FALS-_WD-WMATV3046235-part1 -> ../../sda1
lrwxrwxrwx 1 root root 10 Jan 28 12:11 scsi-SATA_WDC_WD1001FALS-_WD-WMATV3046235-part2 -> ../../sda2
lrwxrwxrwx 1 root root 10 Jan 28 12:11 scsi-SATA_WDC_WD1001FALS-_WD-WMATV3046235-part3 -> ../../sda3
lrwxrwxrwx 1 root root  9 Jan 28 12:11 scsi-SATA_WDC_WD1001FALS-_WD-WMATV3050762 -> ../../sdb
lrwxrwxrwx 1 root root 10 Jan 28 12:11 scsi-SATA_WDC_WD1001FALS-_WD-WMATV3050762-part1 -> ../../sdb1
lrwxrwxrwx 1 root root  9 Jan 28 12:11 wwn-0x50014ee056dbe7fc -> ../../sdb
lrwxrwxrwx 1 root root 10 Jan 28 12:11 wwn-0x50014ee056dbe7fc-part1 -> ../../sdb1
lrwxrwxrwx 1 root root  9 Jan 28 12:11 wwn-0x50014ee0ac313061 -> ../../sda
lrwxrwxrwx 1 root root 10 Jan 28 12:11 wwn-0x50014ee0ac313061-part1 -> ../../sda1
lrwxrwxrwx 1 root root 10 Jan 28 12:11 wwn-0x50014ee0ac313061-part2 -> ../../sda2
lrwxrwxrwx 1 root root 10 Jan 28 12:11 wwn-0x50014ee0ac313061-part3 -> ../../sda3

/dev/disk/by-label:
total 0
lrwxrwxrwx 1 root root  9 Jan 28 12:11 GRENOBLE_2009 -> ../../sr0
lrwxrwxrwx 1 root root 10 Jan 28 12:11 R\xe9serv\xe9\x20au\x20syst\xe8me -> ../../sda1

/dev/disk/by-path:
total 0
lrwxrwxrwx 1 root root  9 Jan 28 12:11 pci-0000:00:1f.2-scsi-0:0:0:0 -> ../../sda
lrwxrwxrwx 1 root root 10 Jan 28 12:11 pci-0000:00:1f.2-scsi-0:0:0:0-part1 -> ../../sda1
lrwxrwxrwx 1 root root 10 Jan 28 12:11 pci-0000:00:1f.2-scsi-0:0:0:0-part2 -> ../../sda2
lrwxrwxrwx 1 root root 10 Jan 28 12:11 pci-0000:00:1f.2-scsi-0:0:0:0-part3 -> ../../sda3
lrwxrwxrwx 1 root root  9 Jan 28 12:11 pci-0000:00:1f.2-scsi-1:0:0:0 -> ../../sdb
lrwxrwxrwx 1 root root 10 Jan 28 12:11 pci-0000:00:1f.2-scsi-1:0:0:0-part1 -> ../../sdb1
lrwxrwxrwx 1 root root  9 Jan 28 12:11 pci-0000:00:1f.2-scsi-5:0:0:0 -> ../../sr0

/dev/disk/by-uuid:
total 0
lrwxrwxrwx 1 root root  9 Jan 28 12:11 7542396e-e70d-49b6-89da-b797e4b1ca19 -> ../../md0
lrwxrwxrwx 1 root root 10 Jan 28 12:11 8EC68520C68509A3 -> ../../sda1
lrwxrwxrwx 1 root root 10 Jan 28 12:11 ECCC2309CC22CDA0 -> ../../sda2

/dev/md:
total 0

Auto-generated on Thu, 28 Jan 2010 12:23:40 +0100
by mdadm bugscript 3.1.1-1+incremental

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

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

Versions of packages mdadm depends on:
ii  debconf                       1.5.28     Debian configuration management sy
ii  libc6                         2.10.2-5   Embedded GNU C Library: Shared lib
ii  lsb-base                      3.2-23     Linux Standard Base 3.2 init scrip
ii  makedev                       3.3.8.2-0  Creates device files in /dev
ii  udev                          150-2      /dev/ and hotplug management daemo

Versions of packages mdadm recommends:
ii  module-init-tools            3.12~pre1-1 tools for managing Linux kernel mo
ii  nullmailer [mail-transport-a 1:1.04-1.2  simple relay-only mail transport a

mdadm suggests no packages.

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


-- 
Laurent Bonnaud.
http://www.lis.inpg.fr/pages_perso/bonnaud/







More information about the pkg-mdadm-devel mailing list