Bug#381284: infinite loop in the config script

Marco d'Itri md at linux.it
Thu Aug 3 11:52:40 UTC 2006


Package: mdadm
Version: 2.5.2-9
Severity: important

While configuring the package, mdadm.config loops forever while printing
this message:

E: unrecognised device string: /dev/md/0

-- Package-specific info:
--- mount output
/dev/md/0 on / type ext3 (rw,noatime)
proc on /proc type proc (rw)
sysfs on /sys type sysfs (rw)
usbfs on /proc/bus/usb type usbfs (rw)
tmpfs on /dev/shm type tmpfs (rw)
devpts on /dev/pts type devpts (rw,gid=5,mode=620)
/dev/md/1 on /var type ext3 (rw,noatime)
/dev/md/2 on /home type ext3 (rw,user_xattr)
/dev/md/3 on /usr type ext3 (rw,noatime,check=none)
/dev/md/4 on /USR3 type ext3 (rw,noatime,data=writeback)
/dev/md/5 on /USR3/mp3 type ext3 (rw,noatime,data=writeback)
/dev/hda5 on /USR3/divx type ext3 (rw,noatime,data=writeback)
/dev/sda11 on /USR3/storage type ext3 (rw,noatime,data=writeback)
/var/tmp on /tmp type none (rw,bind)
tmpfs on /dev type tmpfs (rw,size=10M,mode=0755)
nfsd on /proc/fs/nfsd type nfsd (rw)
binfmt_misc on /proc/sys/fs/binfmt_misc type binfmt_misc (rw)

--- mdadm.conf
DEVICE partitions
ARRAY /dev/md/0 level=raid1 num-devices=2 UUID=11228a90:f464ebc3:32883007:16f334b0
ARRAY /dev/md/1 level=raid1 num-devices=2 UUID=a2223658:c73f87f4:d48405e9:24ed0418
ARRAY /dev/md/2 level=raid1 num-devices=2 UUID=9c8192bd:52a51794:34601976:6b86b44d
ARRAY /dev/md/3 level=raid1 num-devices=2 UUID=9f9fd42d:9f48a7bf:576fac88:5c8e8dec
ARRAY /dev/md/4 level=raid1 num-devices=2 UUID=c9ce9c16:555b01ee:41b5c0b3:9757a291
ARRAY /dev/md/5 level=raid1 num-devices=2 UUID=b3ca16e6:222dea95:0b35b57c:d02f5888
MAILADDR root

--- /proc/mdstat:
Personalities : [raid1] 
md1 : active raid1 sda5[1] hdb5[0]
      1952896 blocks [2/2] [UU]
      
md2 : active raid1 sda6[1] hdb6[0]
      1952896 blocks [2/2] [UU]
      
md3 : active raid1 sda7[1] hdb7[0]
      3905856 blocks [2/2] [UU]
      
md4 : active raid1 sda9[1] hdb9[0]
      4882624 blocks [2/2] [UU]
      
md5 : active raid1 sda10[0] hdb10[1]
      22964608 blocks [2/2] [UU]
      
md0 : active raid1 sda2[1] hdb2[0]
      97664 blocks [2/2] [UU]
      
unused devices: <none>

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

   3     0   80043264 hda
   3     1     195520 hda1
   3     2   36257256 hda2
   3     3          1 hda3
   3     5   43590424 hda5
   3    64   80043264 hdb
   3    65     195520 hdb1
   3    66      97776 hdb2
   3    67          1 hdb3
   3    69    1952968 hdb5
   3    70    1952968 hdb6
   3    71    3905968 hdb7
   3    72     499936 hdb8
   3    73    4882720 hdb9
   3    74   22964728 hdb10
   3    75   43590424 hdb11
   8     0  117220824 sda
   8     1     200781 sda1
   8     2     104422 sda2
   8     3          1 sda3
   8     5    1959898 sda5
   8     6    1959898 sda6
   8     7    3911796 sda7
   8     8     506016 sda8
   8     9    4883728 sda9
   8    10   22964886 sda10
   8    11   39062016 sda11
   9     0      97664 md0
   9     5   22964608 md5
   9     4    4882624 md4
   9     3    3905856 md3
   9     2    1952896 md2
   9     1    1952896 md1

--- initrd.img-2.6.17:

--- /proc/modules:

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/dash
Kernel: Linux 2.6.17
Locale: LANG=it_IT at euro, LC_CTYPE=it_IT at euro (charmap=ISO-8859-15)

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

Versions of packages mdadm recommends:
ii  postfix [mail-transport-agent 2.3.2-1    A high-performance mail transport 

-- debconf information:
* mdadm/autostart: false
  mdadm/mail_to: root
  mdadm/initrdstart: /dev/md/0
* mdadm/autocheck: false
* mdadm/warning:
* mdadm/start_daemon: false

-- 
ciao,
Marco
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://lists.alioth.debian.org/pipermail/pkg-mdadm-devel/attachments/20060803/f36787cd/attachment.pgp


More information about the pkg-mdadm-devel mailing list