You are not logged in.
Hi,
Since yesterday's update, I always get the message "mdassemble: unexpected failure opening /dev/md0" when I boot the computer. Fortunately, my root filesystem does not reside on the raid, so the system starts.
After logging in, I can see that the mdraid is open and healthy. I also can manually open the dm-crypt device on it, and LVM successfully scans it and then I can finally mount the volumes.
Checking the journal, I can see that the raid is opened, but too late, i.e. after the units that depend on it and have already timed out.
Looks like somehow the starting order of units was screwed up. How can I fix it ?
Thanks and Regards,
Markus
Offline
More detail about your setup required. Your mkinitcpio.conf, boot loader/manager config, pacman.log, etc...
Offline
OK, here it comes. I've omitted the (IMHO) non-essential parts for brevity.
/etc/mkinitcpio.conf (only comments removed)
MODULES="nls_cp437 vfat"
BINARIES=""
FILES=""
HOOKS="base udev autodetect modconf block keyboard keymap mdadm encrypt lvm2 resume filesystems fsck"/etc/mdadm.conf (only comments removed)
DEVICE partitions
MAILADDR root@localhost
ARRAY /dev/md0 metadata=1.2 name=TuxServer:0 UUID=88ea9456:f3203ee2:aa2d8ab1:07ac4d8a/boot/grub/grub.cfg (only the default menuentry)
menuentry "Arch Linux (prod) pkg-linux kernel" --class arch-linux --class arch --class gnu-linux --class gnu --class os {
if [ x$feature_all_video_module = xy ]; then
insmod all_video
fi
set gfxpayload=keep
insmod ext2
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd3,gpt2 --hint-efi=hd3,gpt2 --hint-baremetal=ahci3,gpt2 cd2a9a2e-60fa-4602-b7fd-7140df43e75d
else
search --no-floppy --fs-uuid --set=root cd2a9a2e-60fa-4602-b7fd-7140df43e75d
fi
echo 'Loading Arch Linux (Prod) pkg-linux kernel ...'
linux /vmlinuz-linux root=/dev/mapper/SystemGroup-arch_prod rw quiet ipv6.disable=1 ipv6.disable_ipv6=1 resume=LABEL=bigraidswap
echo 'Loading Arch Linux (Prod) pkg-linux kernel initramfs ...'
initrd /initramfs-linux.img
}Additional info: I have customized the encrypt hook and added the encryption parameters there (in case you wonder why they are missing in the kernel parameters). It's because I have multiple cryptdevices and the grub.cfg becomes unreadable with all of the parameters there. This customized version has been working for about 2 years now and I have just verified that everything is correct there. Another thing that proves my encrypt hook works: my root filesystem is also encrypted, and it is opened at boot, otherwise I could not use the PC right now. ![]()
The changes to the original version are minimal: I've only wrapped a loop around the part that opens the cryptdevice and used values from within the script instead of the kernel parameters.
Instead of:
if [ -n "${cryptdevice}" ]; then ... fiI have:
cryptdevice1=...
cryptdevice2=...
...
for cryptdevice in ${cryptdevice1} ${cryptdevice2} ... ; do ... donepacman.log (starting yesterday)
[2017-08-02 19:17] [PACMAN] Running 'pacman -Syu'
[2017-08-02 19:17] [PACMAN] synchronizing package lists
[2017-08-02 19:17] [PACMAN] starting full system upgrade
[2017-08-02 19:21] [ALPM] running '70-dkms-remove.hook'...
[2017-08-02 19:21] [ALPM-SCRIPTLET] ==> dkms remove vboxhost/5.1.24_OSE -k 4.9.37-1-lts
[2017-08-02 19:21] [ALPM-SCRIPTLET] ==> dkms remove vboxhost/5.1.24_OSE -k 4.11.9-1-ARCH
[2017-08-02 19:21] [ALPM] transaction started
[2017-08-02 19:21] [ALPM] upgraded lib32-glibc (2.25-4 -> 2.25-7)
[2017-08-02 19:21] [ALPM] upgraded libgcrypt (1.7.8-1 -> 1.8.0-1)
[2017-08-02 19:21] [ALPM] upgraded libsystemd (233.75-3 -> 234.11-3)
[2017-08-02 19:21] [ALPM] upgraded libutil-linux (2.29.2-2 -> 2.30.1-2)
[2017-08-02 19:21] [ALPM] upgraded avahi (0.6.32-3 -> 0.7-1)
[2017-08-02 19:21] [ALPM] upgraded openssl (1.1.0.f-1 -> 1.1.0.f-2)
[2017-08-02 19:21] [ALPM] upgraded bind-tools (9.11.1.P3-1 -> 9.11.2-2)
[2017-08-02 19:21] [ALPM] upgraded bluez-libs (5.45-1 -> 5.46-1)
[2017-08-02 19:21] [ALPM] upgraded libpng (1.6.30-1 -> 1.6.31-1)
[2017-08-02 19:21] [ALPM] upgraded gtk-update-icon-cache (3.22.16-1 -> 3.22.17-1)
[2017-08-02 19:21] [ALPM] upgraded fontconfig (2.12.3-1 -> 2.12.4-1)
[2017-08-02 19:21] [ALPM-SCRIPTLET] Rebuilding fontconfig cache... done.
[2017-08-02 19:21] [ALPM] upgraded libdrm (2.4.81-1 -> 2.4.82-1)
[2017-08-02 19:21] [ALPM] upgraded gtk3 (3.22.16-1 -> 3.22.17-1)
[2017-08-02 19:21] [ALPM] upgraded util-linux (2.29.2-2 -> 2.30.1-2)
[2017-08-02 19:21] [ALPM] upgraded device-mapper (2.02.172-2 -> 2.02.173-1)
[2017-08-02 19:21] [ALPM] upgraded systemd (233.75-3 -> 234.11-3)
[2017-08-02 19:21] [ALPM] upgraded chromium (59.0.3071.115-1 -> 60.0.3112.78-1)
[2017-08-02 19:21] [ALPM] upgraded cups-filters (1.14.1-1 -> 1.16.0-1)
[2017-08-02 19:21] [ALPM] upgraded docker (1:17.06.0-1 -> 1:17.06.0-2)
[2017-08-02 19:21] [ALPM] upgraded faac (1.28-5 -> 1.29.3-1)
[2017-08-02 19:21] [ALPM] upgraded faad2 (2.7-4 -> 2.8.1-1)
[2017-08-02 19:21] [ALPM] upgraded ghostscript (9.21-2 -> 9.21-3)
[2017-08-02 19:21] [ALPM] upgraded gptfdisk (1.0.1-2 -> 1.0.3-1)
[2017-08-02 19:21] [ALPM] upgraded gsfonts (20170501-1 -> 20170720-1)
[2017-08-02 19:21] [ALPM] upgraded libgusb (0.2.10-1 -> 0.2.11-1)
[2017-08-02 19:21] [ALPM] upgraded libproxy (0.4.15-3 -> 0.4.15-4)
[2017-08-02 19:21] [ALPM] upgraded gtk3-print-backends (3.22.16-1 -> 3.22.17-1)
[2017-08-02 19:21] [ALPM] upgraded lvm2 (2.02.172-2 -> 2.02.173-1)
[2017-08-02 19:21] [ALPM] upgraded gvfs (1.32.1+3+gd852665e-1 -> 1.32.1+5+gf0d758df-1)
[2017-08-02 19:21] [ALPM] upgraded jre8-openjdk-headless (8.u141-1 -> 8.u144-1)
[2017-08-02 19:21] [ALPM] upgraded jre8-openjdk (8.u141-1 -> 8.u144-1)
[2017-08-02 19:21] [ALPM] upgraded jdk8-openjdk (8.u141-1 -> 8.u144-1)
[2017-08-02 19:21] [ALPM] upgraded lib32-expat (2.2.0-1 -> 2.2.2-1)
[2017-08-02 19:21] [ALPM] upgraded lib32-libdrm (2.4.81-1 -> 2.4.82-1)
[2017-08-02 19:21] [ALPM] upgraded openal (1.18.0-2 -> 1.18.1-1)
[2017-08-02 19:21] [ALPM] upgraded lib32-openal (1.18.0-3 -> 1.18.1-1)
[2017-08-02 19:21] [ALPM] upgraded lib32-util-linux (2.29.2-1 -> 2.30.1-1)
[2017-08-02 19:21] [ALPM] upgraded libmwaw (0.3.11-1 -> 0.3.12-1)
[2017-08-02 19:21] [ALPM] upgraded libpipeline (1.4.1-1 -> 1.4.2-1)
[2017-08-02 19:21] [ALPM] upgraded libwps (0.4.6-1 -> 0.4.7-1)
[2017-08-02 19:21] [ALPM] installed libtommath (1.0-2)
[2017-08-02 19:21] [ALPM] installed libzmf (0.0.1-2)
[2017-08-02 19:21] [ALPM] upgraded libreoffice-still (5.2.7-1 -> 5.3.4-1)
[2017-08-02 19:21] [ALPM] upgraded libreoffice-still-sdk (5.2.7-1 -> 5.3.4-1)
[2017-08-02 19:21] [ALPM] upgraded libsrtp (1:1.5.4-1 -> 1:1.5.4-2)
[2017-08-02 19:21] [ALPM] upgraded libva (1.8.2-1 -> 1.8.3-1)
[2017-08-02 19:21] [ALPM] upgraded libwnck3 (3.24.0-1 -> 3.24.1-1)
[2017-08-02 19:21] [ALPM] upgraded linux-firmware (20170422.ade8332-1 -> 20170622.7d2c913-1)
[2017-08-02 19:21] [ALPM] upgraded linux (4.11.9-1 -> 4.12.3-1)
[2017-08-02 19:21] [ALPM-SCRIPTLET] >>> Updating module dependencies. Please wait ...
[2017-08-02 19:22] [ALPM] upgraded linux-headers (4.11.9-1 -> 4.12.3-1)
[2017-08-02 19:22] [ALPM] upgraded linux-lts (4.9.37-1 -> 4.9.40-1)
[2017-08-02 19:22] [ALPM-SCRIPTLET] >>> Updating module dependencies. Please wait ...
[2017-08-02 19:22] [ALPM] upgraded linux-lts-headers (4.9.37-1 -> 4.9.40-1)
[2017-08-02 19:22] [ALPM] upgraded man-pages (4.11-1 -> 4.12-1)
[2017-08-02 19:22] [ALPM] upgraded mkvtoolnix-cli (12.0.0-1 -> 14.0.0-1)
[2017-08-02 19:22] [ALPM] upgraded mpg123 (1.25.3-1 -> 1.25.4-1)
[2017-08-02 19:22] [ALPM] upgraded nano (2.8.5-1 -> 2.8.6-1)
[2017-08-02 19:22] [ALPM] upgraded netctl (1.12-2 -> 1.13-2)
[2017-08-02 19:22] [ALPM] warning: /etc/pacman.d/mirrorlist installed as /etc/pacman.d/mirrorlist.pacnew
[2017-08-02 19:22] [ALPM] upgraded pacman-mirrorlist (20170714-1 -> 20170729-1)
[2017-08-02 19:22] [ALPM] upgraded perl-uri (1.71-2 -> 1.72-1)
[2017-08-02 19:22] [ALPM] upgraded python-urllib3 (1.21.1-1 -> 1.22-1)
[2017-08-02 19:22] [ALPM] upgraded python-setuptools (1:36.2.2-1 -> 1:36.2.4-1)
[2017-08-02 19:22] [ALPM] upgraded python-requests (2.18.1-1 -> 2.18.3-1)
[2017-08-02 19:22] [ALPM] upgraded python2-setuptools (1:36.2.2-1 -> 1:36.2.4-1)
[2017-08-02 19:22] [ALPM] upgraded python2-cryptography (2.0-1 -> 2.0.2-1)
[2017-08-02 19:22] [ALPM] upgraded python2-pyasn1 (0.2.3-1 -> 0.3.1-1)
[2017-08-02 19:22] [ALPM] upgraded python2-pyopenssl (17.1.0-1 -> 17.2.0-1)
[2017-08-02 19:22] [ALPM] upgraded python2-urllib3 (1.21.1-1 -> 1.22-1)
[2017-08-02 19:22] [ALPM] upgraded python2-requests (2.18.1-1 -> 2.18.3-1)
[2017-08-02 19:22] [ALPM] upgraded sdl (1.2.15-8 -> 1.2.15-9)
[2017-08-02 19:22] [ALPM] upgraded systemd-sysvcompat (233.75-3 -> 234.11-3)
[2017-08-02 19:22] [ALPM] upgraded talloc (2.1.9-1 -> 2.1.10-1)
[2017-08-02 19:22] [ALPM] upgraded virtualbox-host-dkms (5.1.24-2 -> 5.1.26-1)
[2017-08-02 19:22] [ALPM] upgraded virtualbox (5.1.24-2 -> 5.1.26-1)
[2017-08-02 19:22] [ALPM] upgraded virtualbox-guest-iso (5.1.24-1 -> 5.1.26-1)
[2017-08-02 19:22] [ALPM] upgraded x11vnc (1:0.9.14-2 -> 1:0.9.14-3)
[2017-08-02 19:22] [ALPM] upgraded youtube-dl (2017.07.23-1 -> 2017.07.30.1-1)
[2017-08-02 19:22] [ALPM] transaction completed
[2017-08-02 19:22] [ALPM] running '70-dkms-install.hook'...
[2017-08-02 19:22] [ALPM-SCRIPTLET] ==> dkms install vboxhost/5.1.26_OSE -k 4.9.40-1-lts
[2017-08-02 19:22] [ALPM-SCRIPTLET] ==> dkms install vboxhost/5.1.26_OSE -k 4.12.3-1-ARCH
[2017-08-02 19:22] [ALPM] running '90-linux-lts.hook'...
[2017-08-02 19:22] [ALPM-SCRIPTLET] ==> Building image from preset: /etc/mkinitcpio.d/linux-lts.preset: 'default'
[2017-08-02 19:22] [ALPM-SCRIPTLET] -> -k /boot/vmlinuz-linux-lts -c /etc/mkinitcpio.conf -g /boot/initramfs-linux-lts.img
[2017-08-02 19:22] [ALPM-SCRIPTLET] ==> Starting build: 4.9.40-1-lts
[2017-08-02 19:22] [ALPM-SCRIPTLET] -> Running build hook: [base]
[2017-08-02 19:22] [ALPM-SCRIPTLET] -> Running build hook: [udev]
[2017-08-02 19:22] [ALPM-SCRIPTLET] -> Running build hook: [autodetect]
[2017-08-02 19:22] [ALPM-SCRIPTLET] -> Running build hook: [modconf]
[2017-08-02 19:22] [ALPM-SCRIPTLET] -> Running build hook: [block]
[2017-08-02 19:22] [ALPM-SCRIPTLET] -> Running build hook: [keyboard]
[2017-08-02 19:22] [ALPM-SCRIPTLET] -> Running build hook: [keymap]
[2017-08-02 19:22] [ALPM-SCRIPTLET] -> Running build hook: [mdadm]
[2017-08-02 19:22] [ALPM-SCRIPTLET] Custom /etc/mdadm.conf file will be used in initramfs for assembling arrays.
[2017-08-02 19:22] [ALPM-SCRIPTLET] -> Running build hook: [encrypt]
[2017-08-02 19:22] [ALPM-SCRIPTLET] -> Running build hook: [lvm2]
[2017-08-02 19:22] [ALPM-SCRIPTLET] -> Running build hook: [resume]
[2017-08-02 19:22] [ALPM-SCRIPTLET] -> Running build hook: [filesystems]
[2017-08-02 19:22] [ALPM-SCRIPTLET] -> Running build hook: [fsck]
[2017-08-02 19:22] [ALPM-SCRIPTLET] ==> Generating module dependencies
[2017-08-02 19:22] [ALPM-SCRIPTLET] ==> Creating gzip-compressed initcpio image: /boot/initramfs-linux-lts.img
[2017-08-02 19:22] [ALPM-SCRIPTLET] ==> Image generation successful
[2017-08-02 19:22] [ALPM-SCRIPTLET] ==> Building image from preset: /etc/mkinitcpio.d/linux-lts.preset: 'fallback'
[2017-08-02 19:22] [ALPM-SCRIPTLET] -> -k /boot/vmlinuz-linux-lts -c /etc/mkinitcpio.conf -g /boot/initramfs-linux-lts-fallback.img -S autodetect
[2017-08-02 19:22] [ALPM-SCRIPTLET] ==> Starting build: 4.9.40-1-lts
[2017-08-02 19:22] [ALPM-SCRIPTLET] -> Running build hook: [base]
[2017-08-02 19:22] [ALPM-SCRIPTLET] -> Running build hook: [udev]
[2017-08-02 19:22] [ALPM-SCRIPTLET] -> Running build hook: [modconf]
[2017-08-02 19:22] [ALPM-SCRIPTLET] -> Running build hook: [block]
[2017-08-02 19:22] [ALPM-SCRIPTLET] ==> WARNING: Possibly missing firmware for module: aic94xx
[2017-08-02 19:22] [ALPM-SCRIPTLET] ==> WARNING: Possibly missing firmware for module: wd719x
[2017-08-02 19:22] [ALPM-SCRIPTLET] -> Running build hook: [keyboard]
[2017-08-02 19:23] [ALPM-SCRIPTLET] -> Running build hook: [keymap]
[2017-08-02 19:23] [ALPM-SCRIPTLET] -> Running build hook: [mdadm]
[2017-08-02 19:23] [ALPM-SCRIPTLET] Custom /etc/mdadm.conf file will be used in initramfs for assembling arrays.
[2017-08-02 19:23] [ALPM-SCRIPTLET] -> Running build hook: [encryptl]
[2017-08-02 19:23] [ALPM-SCRIPTLET] -> Running build hook: [lvm2]
[2017-08-02 19:23] [ALPM-SCRIPTLET] -> Running build hook: [resume]
[2017-08-02 19:23] [ALPM-SCRIPTLET] -> Running build hook: [filesystems]
[2017-08-02 19:23] [ALPM-SCRIPTLET] -> Running build hook: [fsck]
[2017-08-02 19:23] [ALPM-SCRIPTLET] ==> Generating module dependencies
[2017-08-02 19:23] [ALPM-SCRIPTLET] ==> Creating gzip-compressed initcpio image: /boot/initramfs-linux-lts-fallback.img
[2017-08-02 19:23] [ALPM-SCRIPTLET] ==> Image generation successful
[2017-08-02 19:23] [ALPM] running '90-linux.hook'...
[2017-08-02 19:23] [ALPM-SCRIPTLET] ==> Building image from preset: /etc/mkinitcpio.d/linux.preset: 'default'
[2017-08-02 19:23] [ALPM-SCRIPTLET] -> -k /boot/vmlinuz-linux -c /etc/mkinitcpio.conf -g /boot/initramfs-linux.img
[2017-08-02 19:23] [ALPM-SCRIPTLET] ==> Starting build: 4.12.3-1-ARCH
[2017-08-02 19:23] [ALPM-SCRIPTLET] -> Running build hook: [base]
[2017-08-02 19:23] [ALPM-SCRIPTLET] -> Running build hook: [udev]
[2017-08-02 19:23] [ALPM-SCRIPTLET] -> Running build hook: [autodetect]
[2017-08-02 19:23] [ALPM-SCRIPTLET] -> Running build hook: [modconf]
[2017-08-02 19:23] [ALPM-SCRIPTLET] -> Running build hook: [block]
[2017-08-02 19:23] [ALPM-SCRIPTLET] -> Running build hook: [keyboard]
[2017-08-02 19:23] [ALPM-SCRIPTLET] -> Running build hook: [keymap]
[2017-08-02 19:23] [ALPM-SCRIPTLET] -> Running build hook: [mdadm]
[2017-08-02 19:23] [ALPM-SCRIPTLET] Custom /etc/mdadm.conf file will be used in initramfs for assembling arrays.
[2017-08-02 19:23] [ALPM-SCRIPTLET] -> Running build hook: [encrypt]
[2017-08-02 19:23] [ALPM-SCRIPTLET] -> Running build hook: [lvm2]
[2017-08-02 19:23] [ALPM-SCRIPTLET] -> Running build hook: [resume]
[2017-08-02 19:23] [ALPM-SCRIPTLET] -> Running build hook: [filesystems]
[2017-08-02 19:23] [ALPM-SCRIPTLET] -> Running build hook: [fsck]
[2017-08-02 19:23] [ALPM-SCRIPTLET] ==> Generating module dependencies
[2017-08-02 19:23] [ALPM-SCRIPTLET] ==> Creating gzip-compressed initcpio image: /boot/initramfs-linux.img
[2017-08-02 19:23] [ALPM-SCRIPTLET] ==> Image generation successful
[2017-08-02 19:23] [ALPM-SCRIPTLET] ==> Building image from preset: /etc/mkinitcpio.d/linux.preset: 'fallback'
[2017-08-02 19:23] [ALPM-SCRIPTLET] -> -k /boot/vmlinuz-linux -c /etc/mkinitcpio.conf -g /boot/initramfs-linux-fallback.img -S autodetect
[2017-08-02 19:23] [ALPM-SCRIPTLET] ==> Starting build: 4.12.3-1-ARCH
[2017-08-02 19:23] [ALPM-SCRIPTLET] -> Running build hook: [base]
[2017-08-02 19:23] [ALPM-SCRIPTLET] -> Running build hook: [udev]
[2017-08-02 19:23] [ALPM-SCRIPTLET] -> Running build hook: [modconf]
[2017-08-02 19:23] [ALPM-SCRIPTLET] -> Running build hook: [block]
[2017-08-02 19:23] [ALPM-SCRIPTLET] ==> WARNING: Possibly missing firmware for module: aic94xx
[2017-08-02 19:23] [ALPM-SCRIPTLET] ==> WARNING: Possibly missing firmware for module: wd719x
[2017-08-02 19:23] [ALPM-SCRIPTLET] -> Running build hook: [keyboard]
[2017-08-02 19:23] [ALPM-SCRIPTLET] -> Running build hook: [keymap]
[2017-08-02 19:23] [ALPM-SCRIPTLET] -> Running build hook: [mdadm]
[2017-08-02 19:23] [ALPM-SCRIPTLET] Custom /etc/mdadm.conf file will be used in initramfs for assembling arrays.
[2017-08-02 19:23] [ALPM-SCRIPTLET] -> Running build hook: [encrypt]
[2017-08-02 19:23] [ALPM-SCRIPTLET] -> Running build hook: [lvm2]
[2017-08-02 19:23] [ALPM-SCRIPTLET] -> Running build hook: [resume]
[2017-08-02 19:23] [ALPM-SCRIPTLET] -> Running build hook: [filesystems]
[2017-08-02 19:23] [ALPM-SCRIPTLET] -> Running build hook: [fsck]
[2017-08-02 19:23] [ALPM-SCRIPTLET] ==> Generating module dependencies
[2017-08-02 19:23] [ALPM-SCRIPTLET] ==> Creating gzip-compressed initcpio image: /boot/initramfs-linux-fallback.img
[2017-08-02 19:23] [ALPM-SCRIPTLET] ==> Image generation successful
[2017-08-02 19:23] [ALPM] running 'fontconfig.hook'...
[2017-08-02 19:23] [ALPM] running 'gio-querymodules.hook'...
[2017-08-02 19:23] [ALPM] running 'glib-compile-schemas.hook'...
[2017-08-02 19:23] [ALPM] running 'gtk-query-immodules-3.0.hook'...
[2017-08-02 19:23] [ALPM] running 'gtk-update-icon-cache.hook'...
[2017-08-02 19:23] [ALPM] running 'gvfsd.hook'...
[2017-08-02 19:23] [ALPM] running 'systemd-hwdb.hook'...
[2017-08-02 19:23] [ALPM] running 'systemd-sysusers.hook'...
[2017-08-02 19:23] [ALPM] running 'systemd-tmpfiles.hook'...
[2017-08-02 19:23] [ALPM] running 'systemd-update.hook'...
[2017-08-02 19:23] [ALPM] running 'texinfo-install.hook'...
[2017-08-02 19:23] [ALPM] running 'update-desktop-database.hook'...
[2017-08-02 19:23] [ALPM] running 'update-mime-database.hook'...
[2017-08-02 19:23] [ALPM-SCRIPTLET] Unknown media type in type 'all/all'
[2017-08-02 19:23] [ALPM-SCRIPTLET] Unknown media type in type 'all/allfiles'
[2017-08-02 19:23] [ALPM] running 'xorg-mkfontdir.hook'...
[2017-08-02 19:23] [PACMAN] Running 'pacman --color auto -Sy'
[2017-08-02 19:23] [PACMAN] synchronizing package lists
[2017-08-02 19:26] [PACMAN] Running 'pacman --color auto -U /tmp/yaourt-tmp-markus/PKGDEST.CmC/dropbox-31.4.24-1-x86_64.pkg.tar.xz'
[2017-08-02 19:26] [ALPM] transaction started
[2017-08-02 19:26] [ALPM] upgraded dropbox (30.4.22-1 -> 31.4.24-1)
[2017-08-02 19:26] [ALPM] transaction completed
[2017-08-02 19:26] [ALPM] running 'systemd-update.hook'...
[2017-08-02 19:26] [ALPM] running 'update-desktop-database.hook'...
[2017-08-02 19:26] [PACMAN] Running 'pacman --color auto -U /tmp/yaourt-tmp-markus/PKGDEST.q1a/libtinfo-6-24-any.pkg.tar.xz'
[2017-08-02 19:26] [ALPM] transaction started
[2017-08-02 19:26] [ALPM] upgraded libtinfo (6-23 -> 6-24)
[2017-08-02 19:26] [ALPM] transaction completed
[2017-08-02 19:26] [ALPM] running 'systemd-update.hook'...
[2017-08-02 19:29] [PACMAN] Running 'pacman --color auto -U /tmp/yaourt-tmp-markus/PKGDEST.QbF/nodejs-jpm-1.3.1-2-any.pkg.tar.xz'
[2017-08-02 19:29] [ALPM] transaction started
[2017-08-02 19:29] [ALPM] upgraded nodejs-jpm (1.3.1-1 -> 1.3.1-2)
[2017-08-02 19:29] [ALPM] transaction completed
[2017-08-02 19:29] [ALPM] running 'systemd-update.hook'...
[2017-08-02 19:40] [PACMAN] Running 'pacman --color auto -U /tmp/yaourt-tmp-markus/PKGDEST.Wd2/virtualbox-ext-oracle-5.1.26-1-any.pkg.tar.xz'
[2017-08-02 19:40] [ALPM] transaction started
[2017-08-02 19:40] [ALPM-SCRIPTLET] 0%...10%...20%...30%...40%...50%...60%...70%...80%...90%...100%
[2017-08-02 19:40] [ALPM] upgraded virtualbox-ext-oracle (5.1.24-1 -> 5.1.26-1)
[2017-08-02 19:40] [ALPM-SCRIPTLET] 0%...10%...20%...30%...40%...50%...60%...70%...80%...90%...100%
[2017-08-02 19:40] [ALPM] transaction completed
[2017-08-02 19:40] [ALPM] running 'systemd-update.hook'...
[2017-08-02 19:43] [PACMAN] Running 'pacman --color auto -Sy'
[2017-08-02 19:43] [PACMAN] synchronizing package lists
[2017-08-02 19:43] [PACMAN] Running 'pacman --color auto -S extra/python-setuptools extra/python2-setuptools'
[2017-08-02 19:43] [PACMAN] Running 'pacman -Syu'
[2017-08-02 19:43] [PACMAN] synchronizing package lists
[2017-08-02 19:43] [PACMAN] starting full system upgrade
[2017-08-02 19:43] [ALPM] transaction started
[2017-08-02 19:43] [ALPM] upgraded python-setuptools (1:36.2.4-1 -> 1:36.2.7-1)
[2017-08-02 19:43] [ALPM] upgraded python2-setuptools (1:36.2.4-1 -> 1:36.2.7-1)
[2017-08-02 19:43] [ALPM] transaction completed
[2017-08-02 19:43] [ALPM] running 'systemd-update.hook'...
[2017-08-03 22:14] [PACMAN] Running 'pacman -Syu'
[2017-08-03 22:14] [PACMAN] synchronizing package lists
[2017-08-03 22:14] [PACMAN] starting full system upgrade
[2017-08-03 22:15] [ALPM] transaction started
[2017-08-03 22:15] [ALPM] upgraded sqlite (3.19.3-1 -> 3.20.0-1)
[2017-08-03 22:15] [ALPM] upgraded chromium (60.0.3112.78-1 -> 60.0.3112.90-1)
[2017-08-03 22:15] [ALPM] upgraded poppler (0.56.0-1 -> 0.57.0-1)
[2017-08-03 22:15] [ALPM] upgraded cups-filters (1.16.0-1 -> 1.16.0-2)
[2017-08-03 22:15] [ALPM] upgraded gdal (2.1.2-2 -> 2.2.0-3)
[2017-08-03 22:15] [ALPM] upgraded git (2.13.3-2 -> 2.13.4-1)
[2017-08-03 22:15] [ALPM] upgraded gpsd (3.16-3 -> 3.16-4)
[2017-08-03 22:15] [ALPM] upgraded poppler-glib (0.56.0-1 -> 0.57.0-1)
[2017-08-03 22:15] [ALPM] upgraded inkscape (0.92.1-4 -> 0.92.1-5)
[2017-08-03 22:15] [ALPM] upgraded lib32-libpsl (0.17.0-2 -> 0.18.0-1)
[2017-08-03 22:15] [ALPM] upgraded libreoffice-still (5.3.4-1 -> 5.3.4-2)
[2017-08-03 22:16] [ALPM] upgraded libreoffice-still-sdk (5.3.4-1 -> 5.3.4-2)
[2017-08-03 22:16] [ALPM] upgraded recode (3.6-9 -> 3.6-10)
[2017-08-03 22:16] [ALPM] transaction completed
[2017-08-03 22:16] [ALPM] running 'gtk-update-icon-cache.hook'...
[2017-08-03 22:16] [ALPM] running 'systemd-update.hook'...
[2017-08-03 22:16] [ALPM] running 'texinfo-install.hook'...
[2017-08-03 22:16] [ALPM] running 'update-desktop-database.hook'...
[2017-08-03 22:16] [ALPM] running 'update-mime-database.hook'...
[2017-08-03 22:16] [ALPM-SCRIPTLET] Unknown media type in type 'all/all'
[2017-08-03 22:16] [ALPM-SCRIPTLET] Unknown media type in type 'all/allfiles'
[2017-08-03 22:16] [PACMAN] Running 'pacman --color auto -Sy'
[2017-08-03 22:16] [PACMAN] synchronizing package listsOffline
Can we also see your journalctl of the boot when this happens? Also, it might be interesting (though I don't know how interesting) to modify mdadm to print out specifically what is the error in opening the device. Looking in mdadm/mdopen.c, it calls util.c's open_dev_excl() in create_mddev(). But open_dev_excl() can either error from timing out, or from getting an error on dev_open() which is just a wrapper around open(), in which case it might be interesting to see what errno it is. *shrugs*
Offline
Over the weekend, I restored a backup, then upgraded again. Now it works again. But I'm not sure if I can mark this thread as "solved", as another person finding this tread from a web search may be disappointed about this solution without a real understanding of the problem.
Fortunately I have backups. And for the future, I will need to separate the operating system from the user data in the backups.
Offline