--- Begin Message ---
Package: mdadm
Version: 3.4-2
Severity: critical
In the initrd image your script should source the /conf/param.conf.
This brakes the boot of certain systems that depend on it (like mine).
Here is the long explanation:
In /scripts/init-premount/export_md_vars I have:
#!/bin/sh
# skip broken platform check in mdadm
echo "Setting up envvars"
if [ -d /conf ]; then
echo "export IMSM_NO_PLATFORM=1" >> /conf/param.conf
echo "Exported"
fi
That bypasses a check that is clearly wrong for my platform.
Until last patch release it was working but now the system fails to
boot.
Please correct it or suggest a better place to insert the export.
Thanks in advance,
Luben Karavelov
-- Package-specific info:
--- mdadm.conf
CREATE owner=root group=disk mode=0660 auto=yes
HOMEHOST
MAILADDR root
ARRAY metadata=imsm UUID=518b7355:90f15f1b:d74e62c6:e0c9c9da
ARRAY /dev/md/ASUS_OS container=518b7355:90f15f1b:d74e62c6:e0c9c9da member=0
UUID=6274cc4a:a22ed1d4:7a1173d6:f24c1fc7
--- /etc/default/mdadm
AUTOCHECK=true
START_DAEMON=true
DAEMON_OPTIONS="--syslog"
VERBOSE=false
--- /proc/mdstat:
Personalities : [raid0]
md126 : active raid0 sda[1] sdb[0]
500113408 blocks super external:/md127/0 128k chunks
md127 : inactive sda[1](S) sdb[0](S)
4520 blocks super external:imsm
unused devices:
--- /proc/partitions:
major minor #blocks name
8 16 250059096 sdb
8 0 250059096 sda
9 126 500113408 md126
259 0 102400 md126p1
259 1 195584 md126p2
259 2 99961856 md126p3
259 3 19992576 md126p4
259 4 7812096 md126p5
259 5 372046848 md126p6
--- LVM physical volumes:
LVM does not seem to be used.
--- mount output
sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,relatime)
proc on /proc type proc (rw,nosuid,nodev,noexec,relatime)
udev on /dev type devtmpfs
(rw,nosuid,relatime,size=3794428k,nr_inodes=948607,mode=755)
devpts on /dev/pts type devpts
(rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000)
tmpfs on /run type tmpfs (rw,nosuid,noexec,relatime,size=760956k,mode=755)
/dev/md126p3 on / type ext4
(rw,noatime,errors=remount-ro,stripe=64,data=ordered)
securityfs on /sys/kernel/security type securityfs
(rw,nosuid,nodev,noexec,relatime)
tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev)
tmpfs on /run/lock type tmpfs (rw,nosuid,nodev,noexec,relatime,size=5120k)
tmpfs on /sys/fs/cgroup type tmpfs (ro,nosuid,nodev,noexec,mode=755)
cgroup on /sys/fs/cgroup/systemd type cgroup
(rw,nosuid,nodev,noexec,relatime,xattr,release_agent=/lib/systemd/systemd-cgroups-agent,name=systemd)
pstore on /sys/fs/pstore type pstore (rw,nosuid,nodev,noexec,relatime)
efivarfs on /sys/firmware/efi/efivars type efivarfs
(rw,nosuid,nodev,noexec,relatime)
cgroup on /sys/fs/cgroup/blkio type cgroup
(rw,nosuid,nodev,noexec,relatime,blkio)
cgroup on /sys/fs/cgroup/devices type cgroup
(rw,nosuid,nodev,noexec,relatime,devices)
cgroup on /sys/fs/cgroup/net_cls,net_prio type cgroup
(rw,nosuid,nodev,noexec,relatime,net_cls,net_prio)
cgroup on /sys/fs/cgroup/perf_event type cgroup
(rw,nosuid,nodev,noexec,relatime,perf_event)
cgroup on /sys/fs/cgroup/cpuset type cgroup
(rw,nosuid,nodev,noexec,relatime,cpuset)
cgroup on /sys/fs/cgroup/cpu,cpuacct type cgroup
(rw,nosuid,nodev,noexec,relatime,cpu,cpuacct)
cgroup on /sys/fs/cgroup/pids type cgroup (rw,nosuid,nodev,noexec,relatime,pids)
cgroup on /sys/fs/cgroup/freezer type cgroup
(rw,nosuid,nodev,noexec,relatime,freezer)
systemd-1 on /proc/sys/fs/binfmt_misc type autofs
(rw,relatime,fd=27,pgrp=1,timeout=0,minproto=5,maxproto=5,direct)
hugetlbfs on /dev/hugepages type hugetlbfs (rw,relatime)
debugfs on /sys/kernel/debug type debugfs (rw,relatime)
mqueue on /dev/mqueue type mqueue (rw,relatime)
/dev/md126p4 on /var type ext4
(rw,noatime,nodiratime,discard,stripe=64,data=ordered)
/dev/md126p2 on /boot type ext4
(rw,noatime,nodiratime,discard,stripe=256,data=ordered)
/dev/md126p6 on /home type ext4
(rw,noatime,nodiratime,discard,stripe=64,data=ordered)
/dev/md126p1 on /boot/efi type vfat
(rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=utf8,shortname=mixed,errors=remount-ro)
binfmt_misc on /proc/sys/fs/binfmt_misc type binfmt_misc (rw,relatime)
tmpfs on /run/user/117 type tmpfs
(rw,nosuid,nodev,relatime,size=760956k,mode=700,uid=117,gid=124)
tmpfs on /run/user/1000 type tmpfs
(rw,nosuid,nodev,relatime,size=760956k,mode=700,uid=1000,gid=1000)
--- initrd.img-4.5.0-2-amd64:
gzip: /boot/initrd.img-4.5.0-2-amd64: not in gzip format
cpio: premature end of archive
--- initrd's /conf/conf.d/md:
no conf/md file.
--- /proc/modules:
raid0 20480 1 - Live 0xffffffffc00de000 (E)
md_mod 131072 8 raid0, Live 0xffffffffc0264000 (E)
--- /var/log/syslog:
--- volume detail:
/dev/sda:
Magic : Intel Raid ISM Cfg Sig.
Version : 1.0.00
Orig Family : fea6a127
Family : fea6a127
Generation : 000001cc
Attributes : All supported
UUID : 518b7355:90f15f1b:d74e62c6:e0c9c9da
Checksum : d040ee1a correct
MPB Sectors : 1
Disks : 2
RAID Devices : 1
Disk00 Serial : 135178400807
State : active
Id : 00000000
Usable Size : 500113672 (238.47 GiB 256.06 GB)
[ASUS_OS]:
UUID : 6274cc4a:a22ed1d4:7a1173d6:f24c1fc7
RAID Level : 0
Members : 2
Slots : [UU]
Failed disk : none
This Slot : 0
Array Size : 1000226816 (476.95 GiB 512.12 GB)
Per Dev Size : 500113672 (238.47 GiB 256.06 GB)
Sector Offset : 0
Num Stripes : 1953568
Chunk Size : 128 KiB
Reserved : 0
Migrate State : idle
Map State : normal
Dirty State : clean
Disk01 Serial : 135178400963
State : active
Id : 00000001
Usable Size : 500113672 (238.47 GiB 256.06 GB)
--
/dev/sdb:
Magic : Intel Raid ISM Cfg Sig.
Version : 1.0.00
Orig Family : fea6a127
Family : fea6a127
Generation : 000001cc
Attributes : All supported
UUID : 518b7355:90f15f1b:d74e62c6:e0c9c9da
Checksum : d040ee1a correct
MPB Sectors : 1
Disks : 2
RAID Devices : 1
Disk01 Serial : 135178400963
State : active
Id : 00000001
Usable Size : 500113672 (238.47 GiB 256.06 GB)
[ASUS_OS]:
UUID : 6274cc4a:a22ed1d4:7a1173d6:f24c1fc7
RAID Level : 0
Members : 2
Slots : [UU]
Failed disk : none
This Slot : 1
Array Size : 1000226816 (476.95 GiB 512.12 GB)
Per Dev Size : 500113672 (238.47 GiB 256.06 GB)
Sector Offset : 0
Num Stripes : 1953568
Chunk Size : 128 KiB
Reserved : 0
Migrate State : idle
Map State : normal
Dirty State : clean
Disk00 Serial : 135178400807
State : active
Id : 00000000
Usable Size : 500113672 (238.47 GiB 256.06 GB)
--
--- /proc/cmdline
BOOT_IMAGE=/vmlinuz-4.5.0-2-amd64
root=UUID=a1908697-6218-4737-a017-abf86f272aa5 ro scsi_mod.use_blk_mq=1
--- grub2:
linux /vmlinuz-4.6.0-1-amd64
root=UUID=a1908697-6218-4737-a017-abf86f272aa5 ro scsi_mod.use_blk_mq=1
linux /vmlinuz-4.6.0-1-amd64
root=UUID=a1908697-6218-4737-a017-abf86f272aa5 ro scsi_mod.use_blk_mq=1
linux /vmlinuz-4.6.0-1-amd64
root=UUID=a1908697-6218-4737-a017-abf86f272aa5 ro single
linux /vmlinuz-4.5.0-2-amd64
root=UUID=a1908697-6218-4737-a017-abf86f272aa5 ro scsi_mod.use_blk_mq=1
linux /vmlinuz-4.5.0-2-amd64
root=UUID=a1908697-6218-4737-a017-abf86f272aa5 ro single
linux /vmlinuz-4.3.0-1-amd64
root=UUID=a1908697-6218-4737-a017-abf86f272aa5 ro scsi_mod.use_blk_mq=1
linux /vmlinuz-4.3.0-1-amd64
root=UUID=a1908697-6218-4737-a017-abf86f272aa5 ro single
--- udev:
ii udev 230-5 amd64 /dev/ and hotplug management daem
aa83f41de49462d05e446cfc5e14e74b /lib/udev/rules.d/63-md-raid-arrays.rules
5de7d0b70cd948d00bb38ca75ad5f288 /lib/udev/rules.d/64-md-raid-assembly.rules
831b331e20bac0bb14e396a35a795951 /lib/udev/rules.d/99-systemd.rules
--- /dev:
brw-rw---- 1 root disk 9, 126 Jul 7 22:51 /dev/md126
brw-rw---- 1 root disk 259, 0 Jul 7 22:51 /dev/md126p1
brw-rw---- 1 root disk 259, 1 Jul 7 22:51 /dev/md126p2
brw-rw---- 1 root disk 259, 2 Jul 7 22:51 /dev/md126p3
brw-rw---- 1 root disk 259, 3 Jul 7 22:51 /dev/md126p4
brw-rw---- 1 root disk 259, 4 Jul 7 22:51 /dev/md126p5
brw-rw---- 1 root disk 259, 5 Jul 7 22:51 /dev/md126p6
brw-rw---- 1 root disk 9, 127 Jul 7 22:51 /dev/md127
/dev/disk/by-id:
total 0
lrwxrwxrwx 1 root root 9 Jul 7 22:51 ata-SanDisk_SD6SP1M256G1002_135178400807
-> ../../sda
lrwxrwxrwx 1 root root 9 Jul 7 22:51 ata-SanDisk_SD6SP1M256G1002_135178400963
-> ../../sdb
lrwxrwxrwx 1 root root 11 Jul 7 22:51
md-uuid-518b7355:90f15f1b:d74e62c6:e0c9c9da -> ../../md127
lrwxrwxrwx 1 root root 11 Jul 7 22:51
md-uuid-6274cc4a:a22ed1d4:7a1173d6:f24c1fc7 -> ../../md126
lrwxrwxrwx 1 root root 13 Jul 7 22:51
md-uuid-6274cc4a:a22ed1d4:7a1173d6:f24c1fc7-part1 -> ../../md126p1
lrwxrwxrwx 1 root root 13 Jul 7 22:51
md-uuid-6274cc4a:a22ed1d4:7a1173d6:f24c1fc7-part2 -> ../../md126p2
lrwxrwxrwx 1 root root 13 Jul 7 22:51
md-uuid-6274cc4a:a22ed1d4:7a1173d6:f24c1fc7-part3 -> ../../md126p3
lrwxrwxrwx 1 root root 13 Jul 7 22:51
md-uuid-6274cc4a:a22ed1d4:7a1173d6:f24c1fc7-part4 -> ../../md126p4
lrwxrwxrwx 1 root root 13 Jul 7 22:51
md-uuid-6274cc4a:a22ed1d4:7a1173d6:f24c1fc7-part5 -> ../../md126p5
lrwxrwxrwx 1 root root 13 Jul 7 22:51
md-uuid-6274cc4a:a22ed1d4:7a1173d6:f24c1fc7-part6 -> ../../md126p6
lrwxrwxrwx 1 root root 9 Jul 7 22:51 wwn-0x5001b44a84d7b027 -> ../../sda
lrwxrwxrwx 1 root root 9 Jul 7 22:51 wwn-0x5001b44a84d7b0c3 -> ../../sdb
/dev/disk/by-label:
total 0
lrwxrwxrwx 1 root root 13 Jul 7 22:51 SYSTEM -> ../../md126p1
lrwxrwxrwx 1 root root 13 Jul 7 22:51 boot -> ../../md126p2
/dev/disk/by-path:
total 0
lrwxrwxrwx 1 root root 9 Jul 7 22:51 pci-0000:00:1f.2-ata-1 -> ../../sda
lrwxrwxrwx 1 root root 9 Jul 7 22:51 pci-0000:00:1f.2-ata-2 -> ../../sdb
/dev/disk/by-uuid:
total 0
lrwxrwxrwx 1 root root 13 Jul 7 22:51 3e9c3d1e-9fdd-4d2c-a9b3-17bce145f494 ->
../../md126p6
lrwxrwxrwx 1 root root 13 Jul 7 22:51 3fda2043-31e6-4f5c-8220-6d2c74c5d729 ->
../../md126p5
lrwxrwxrwx 1 root root 13 Jul 7 22:51 FC96-B882 -> ../../md126p1
lrwxrwxrwx 1 root root 13 Jul 7 22:51 a1908697-6218-4737-a017-abf86f272aa5 ->
../../md126p3
lrwxrwxrwx 1 root root 13 Jul 7 22:51 b6f0a7ce-f505-4da5-bf8c-f5626cb4d52a ->
../../md126p4
lrwxrwxrwx 1 root root 13 Jul 7 22:51 bcc91169-faee-44d0-8f68-ae3cdae44695 ->
../../md126p2
/dev/md:
total 0
lrwxrwxrwx 1 root root 8 Jul 7 22:51 ASUS_OS -> ../md126
lrwxrwxrwx 1 root root 10 Jul 7 22:51 ASUS_OS1 -> ../md126p1
lrwxrwxrwx 1 root root 10 Jul 7 22:51 ASUS_OS2 -> ../md126p2
lrwxrwxrwx 1 root root 10 Jul 7 22:51 ASUS_OS3 -> ../md126p3
lrwxrwxrwx 1 root root 10 Jul 7 22:51 ASUS_OS4 -> ../md126p4
lrwxrwxrwx 1 root root 10 Jul 7 22:51 ASUS_OS5 -> ../md126p5
lrwxrwxrwx 1 root root 10 Jul 7 22:51 ASUS_OS6 -> ../md126p6
lrwxrwxrwx 1 root root 8 Jul 7 22:51 imsm0 -> ../md127
Auto-generated on Thu, 07 Jul 2016 22:56:11 +0100 by mdadm bugscript
-- System Information:
Debian Release: stretch/sid
APT prefers unstable
APT policy: (990, 'unstable'), (100, 'experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 4.5.0-2-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages mdadm depends on:
ii debconf [debconf-2.0] 1.5.59
ii libc6 2.23-1
ii lsb-base 9.20160629
ii udev 230-5
Versions of packages mdadm recommends:
ii exim4-daemon-light [mail-transport-agent] 4.87-3
ii kmod 22-1.1
mdadm suggests no packages.
-- debconf information:
mdadm/initrdstart_msg_errmd:
mdadm/mail_to: root
mdadm/initrdstart_notinconf: false
* mdadm/initrdstart: all
mdadm/initrdstart_msg_errblock:
mdadm/autocheck: true
mdadm/initrdstart_msg_intro:
mdadm/start_daemon: true
mdadm/initrdstart_msg_errexist:
mdadm/autostart: true
mdadm/initrdstart_msg_errconf:
--
Luben Karavelov
--- End Message ---