Bug#422624: postinst failure starting mdadm-raid

Laurent Bonnaud Laurent.Bonnaud at inpg.fr
Mon May 7 12:25:04 UTC 2007


Package: mdadm
Version: 2.6.1-1
Severity: grave
Justification: renders package unusable


Hi,

here is the problem:

# apt-get install mdadm
Reading package lists... Done
Building dependency tree... Done
The following NEW packages will be installed:
  mdadm
0 upgraded, 1 newly installed, 0 to remove and 6 not upgraded.
Need to get 240kB of archives.
After unpacking 696kB of additional disk space will be used.
Get:1 http://ftp.fr.debian.org sid/main mdadm 2.6.1-1 [240kB]
Fetched 240kB in 0s (312kB/s)
Reading package fields... Done
Reading package status... Done
Retrieving bug reports... Done
Parsing Found/Fixed information... Done
Preconfiguring packages ...
Selecting previously deselected package mdadm.
(Reading database ... 1604487 files and directories currently installed.)
Unpacking mdadm (from .../mdadm_2.6.1-1_i386.deb) ...
Setting up mdadm (2.6.1-1) ...
Generating mdadm.conf... done (failed to scan arrays; /proc probably not mounted).
update-initramfs: Generating /boot/initrd.img-2.6.20-1-686
W: mdadm: /etc/mdadm/mdadm.conf defines no arrays.
W: mdadm: no arrays defined in configuration file.
W: mdadm: falling back to emergency procedure in initramfs.
 * Starting MD monitoring service mdadm --monitor                                                        [ ok ]
 * Assembling MD arrays...                                                                               [fail]
invoke-rc.d: initscript mdadm-raid, action "start" failed.
dpkg: error processing mdadm (--configure):
 subprocess post-installation script returned error exit status 1
Errors were encountered while processing:
 mdadm
E: Sub-process /usr/bin/dpkg returned an error code (1)


This is an initial installation with default debconf answers.  And /proc/
is really mounted.


-- Package-specific info:
--- mount output
/dev/sda1 on / type ext3 (rw,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)
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)
bacchus:/home/chercheur on /home/chercheur type nfs (rw,bg,intr,addr=195.220.21.8)
bacchus:/home/ITA on /home/ITA type nfs (rw,bg,intr,addr=195.220.21.21)
bacchus:/home/thesard on /home/thesard type nfs (rw,bg,intr,addr=195.220.21.8)
bacchus:/home/DEA on /home/DEA type nfs (rw,bg,intr,addr=195.220.21.21)
bacchus:/home/stage on /home/stage type nfs (rw,bg,intr,addr=195.220.21.8)
bacchus:/public-lis on /public-lis type nfs (rw,bg,intr,addr=195.220.21.21)
www:/var/www/pages_perso on /pages_perso type nfs (rw,bg,intr,addr=195.220.21.23)
intranet:/var/www2/symlis_dev on /symlis_dev type nfs (rw,bg,intr,addr=195.220.21.13)
intranet:/var/www/symlis on /symlis type nfs (rw,bg,intr,addr=195.220.21.13)
bacchus:/donnees/donnees_scientifiques on /donnees_scientifiques type nfs (rw,bg,intr,addr=195.220.21.8)
bacchus:/donnees/donnees_scientifiques/sequences_video on /donnees_scientifiques/sequences_video type nfs (rw,bg,intr,addr=195.220.21.21)
nfsd on /proc/fs/nfsd type nfsd (rw)
binfmt_misc on /proc/sys/fs/binfmt_misc type binfmt_misc (rw,noexec,nosuid,nodev)
/dev/scsi/host4/bus0/target0/lun0/part1 on /data type ext3 (rw,errors=remount-ro)
fusectl on /sys/fs/fuse/connections type fusectl (rw)
rpc_pipefs on /var/lib/nfs/rpc_pipefs type rpc_pipefs (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 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


--- /proc/mdstat:
Personalities : [linear] [multipath] [raid0] [raid1] [raid6] [raid5] [raid4] [raid10] 
unused devices: <none>

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

   8     0  117187500 sda
   8     1  117186111 sda1
   8    16  312571224 sdb
   8    17  312568641 sdb1

--- initrd.img-2.6.20-1-686:
31736 blocks
lib/modules/2.6.20-1-686/kernel/drivers/md/raid0.ko
lib/modules/2.6.20-1-686/kernel/drivers/md/dm-mirror.ko
lib/modules/2.6.20-1-686/kernel/drivers/md/dm-crypt.ko
lib/modules/2.6.20-1-686/kernel/drivers/md/md-mod.ko
lib/modules/2.6.20-1-686/kernel/drivers/md/dm-mod.ko
lib/modules/2.6.20-1-686/kernel/drivers/md/xor.ko
lib/modules/2.6.20-1-686/kernel/drivers/md/raid456.ko
lib/modules/2.6.20-1-686/kernel/drivers/md/linear.ko
lib/modules/2.6.20-1-686/kernel/drivers/md/multipath.ko
lib/modules/2.6.20-1-686/kernel/drivers/md/dm-snapshot.ko
lib/modules/2.6.20-1-686/kernel/drivers/md/raid1.ko
lib/modules/2.6.20-1-686/kernel/drivers/md/raid10.ko
etc/mdadm
etc/mdadm/mdadm.conf
scripts/local-top/mdadm
sbin/mdadm

--- /proc/modules:
dm_crypt 12968 0 - Live 0xf8b94000
dm_round_robin 3392 0 - Live 0xf89db000
dm_multipath 17544 1 dm_round_robin, Live 0xf89e2000
dm_mirror 20340 0 - Live 0xf89d5000
dm_snapshot 16580 0 - Live 0xf89cf000
dm_mod 52812 4 dm_crypt,dm_multipath,dm_mirror,dm_snapshot, Live 0xf8a07000
raid10 22656 0 - Live 0xf89c8000
raid456 119568 0 - Live 0xf89e8000
xor 14504 1 raid456, Live 0xf89c3000
raid1 22144 0 - Live 0xf89bc000
raid0 8096 0 - Live 0xf8992000
multipath 8576 0 - Live 0xf899c000
linear 5984 0 - Live 0xf8995000
md_mod 71828 7 raid10,raid456,raid1,raid0,multipath,linear, Live 0xf89a9000

--- volume detail:

--- /proc/cmdline
root=/dev/sda1 ro 

--- grub:
kernel		/boot/vmlinuz-2.6.20-1-686 root=/dev/sda1 ro 
kernel		/boot/vmlinuz-2.6.20-1-686 root=/dev/sda1 ro single


-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (100, 'unstable'), (99, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.20-1-686 (SMP w/1 CPU core)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages mdadm depends on:
ii  debconf [debconf-2.0]         1.5.13     Debian configuration management sy
ii  libc6                         2.5-5      GNU C Library: Shared libraries
ii  lsb-base                      3.1-23.1   Linux Standard Base 3.1 init scrip
ii  makedev                       3.3.8.2-0  Creates device files in /dev

Versions of packages mdadm recommends:
ii  module-init-tools             3.3-pre4-2 tools for managing Linux kernel mo
ii  ssmtp [mail-transport-agent]  2.61-12    extremely simple MTA to get mail o

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




More information about the pkg-mdadm-devel mailing list