You are not logged in.

#1 2012-12-14 16:43:20

leniviy
Member
Registered: 2009-05-23
Posts: 177

[SOLVED] dmraid "Timed out waiting for device" at boot

Created a bug report with solution proposal: https://bugs.archlinux.org/task/33166

I created a virtual machine to demonstrate the problem
https://docs.google.com/open?id=0B40Hp1 … WZUQ21xZk0

The root and the other mount points are all on one raid disk. Although the root mounts quickly, other mount points cause timeouts at boot time.
dmraid prints that all /dev/mapper/isw_* devices are created.
I think /dev/disk/by-uuid/* links are created too, but for some reason systemd doesn't see them.

After boot I can execute "mount -a" without errors.


here's my fstab:

tmpfs		/tmp	tmpfs	nodev,nosuid	0	0
UUID=e89249d8-49a5-415b-8f9b-97de5cfbe82d / ext3 defaults
UUID=c37f8bdd-3d6c-495f-bf8a-5ef059e55254 swap swap defaults 0 0
UUID=91988343-dd89-43b9-8975-babb0b9510a2 /media/ARCHLINUXNEW ext4 nofail 0 1
UUID=62C813E9C813B9ED                     /media/distrpart ntfs-3g rw,nofail
UUID=E0A1-D623                    /media/realboot vfat rw,codepage=866,iocharset=utf8,umask=002,noatime,nofail

# journalctl -b

Dec 15 00:25:24 localhost kernel: firewire_core 0000:05:03.0: created device fw0: GUID 0011d800017a5dd7, S400
Dec 15 00:26:50 localhost systemd[1]: Job dev-disk-by\x2duuid-E0A1\x2dD623.device/start timed out.
Dec 15 00:26:50 localhost systemd[1]: Timed out waiting for device dev-disk-by\x2duuid-E0A1\x2dD623.device.
Dec 15 00:26:50 localhost systemd[1]: Dependency failed for /media/realboot.
Dec 15 00:26:50 localhost systemd[1]: Job media-realboot.mount/start failed with result 'dependency'.
Dec 15 00:26:50 localhost systemd[1]: Job dev-disk-by\x2duuid-E0A1\x2dD623.device/start failed with result 'timeout'.
Dec 15 00:26:50 localhost systemd[1]: Job dev-disk-by\x2duuid-62C813E9C813B9ED.device/start timed out.
Dec 15 00:26:50 localhost systemd[1]: Timed out waiting for device dev-disk-by\x2duuid-62C813E9C813B9ED.device.
Dec 15 00:26:50 localhost systemd[1]: Dependency failed for /media/distrpart.
Dec 15 00:26:50 localhost systemd[1]: Job media-distrpart.mount/start failed with result 'dependency'.
Dec 15 00:26:50 localhost systemd[1]: Job dev-disk-by\x2duuid-62C813E9C813B9ED.device/start failed with result 'timeout'.
Dec 15 00:26:50 localhost systemd[1]: Job dev-disk-by\x2duuid-91988343\x2ddd89\x2d43b9\x2d8975\x2dbabb0b9510a2.device/start timed out.
Dec 15 00:26:50 localhost systemd[1]: Timed out waiting for device dev-disk-by\x2duuid-91988343\x2ddd89\x2d43b9\x2d8975\x2dbabb0b9510a2.device.
Dec 15 00:26:50 localhost systemd[1]: Dependency failed for /media/ARCHLINUXNEW.
Dec 15 00:26:50 localhost systemd[1]: Job media-ARCHLINUXNEW.mount/start failed with result 'dependency'.
Dec 15 00:26:50 localhost systemd[1]: Dependency failed for File System Check on /dev/disk/by-uuid/91988343-dd89-43b9-8975-babb0b9510a2.
Dec 15 00:26:50 localhost systemd[1]: Job systemd-fsck@dev-disk-by\x2duuid-91988343\x2ddd89\x2d43b9\x2d8975\x2dbabb0b9510a2.service/start failed with result 'dependency
Dec 15 00:26:50 localhost systemd[1]: Job dev-disk-by\x2duuid-91988343\x2ddd89\x2d43b9\x2d8975\x2dbabb0b9510a2.device/start failed with result 'timeout'.
Dec 15 00:26:50 localhost systemd[1]: Dependency failed for /dev/disk/by-uuid/c37f8bdd-3d6c-495f-bf8a-5ef059e55254.
Dec 15 00:26:50 localhost systemd[1]: Reached target Swap.

Note the 1.5 minute pause


# mount | grep /dev/mapper
/dev/mapper/isw_ebaifefjbf_Volume0p9 on / type ext3 (rw,relatime,stripe=64,data=ordered)
/dev/mapper/isw_ebaifefjbf_Volume0p1 on /media/realboot type vfat (rw,noatime,fmask=0002,dmask=0002,allow_utime=0020,codepage=cp866,iocharset=utf8,shortname=mixed,errors=remount-ro)
/dev/mapper/isw_ebaifefjbf_Volume0p8 on /media/ARCHLINUXNEW type ext4 (rw,relatime,stripe=64,data=ordered)
/dev/mapper/isw_ebaifefjbf_Volume0p5 on /media/distrpart type fuseblk (rw,nosuid,nodev,relatime,user_id=0,group_id=0,allow_other,blksize=4096)

Last edited by leniviy (2012-12-22 16:06:25)


Arch 64, xfce4

Offline

#2 2012-12-21 02:38:23

madmack
Member
Registered: 2012-05-06
Posts: 13

Re: [SOLVED] dmraid "Timed out waiting for device" at boot

Oh man, same issue here. Were you able to figure it out?

Offline

#3 2012-12-21 07:35:36

leniviy
Member
Registered: 2009-05-23
Posts: 177

Re: [SOLVED] dmraid "Timed out waiting for device" at boot

nope.


Arch 64, xfce4

Offline

#4 2012-12-21 22:34:00

leniviy
Member
Registered: 2009-05-23
Posts: 177

Re: [SOLVED] dmraid "Timed out waiting for device" at boot

bump


Arch 64, xfce4

Offline

#5 2012-12-22 04:55:37

madmack
Member
Registered: 2012-05-06
Posts: 13

Re: [SOLVED] dmraid "Timed out waiting for device" at boot

fixed.

remove dmraid from hooks and rebuild your ramfs.
enable dmraid.service
use /dev/dm* in fstab instead of uuid or any other method.

I was having the same problems but this fixed it for me now.

Offline

#6 2012-12-22 07:58:54

leniviy
Member
Registered: 2009-05-23
Posts: 177

Re: [SOLVED] dmraid "Timed out waiting for device" at boot

madmack, is your root FS on the raid? Then how are you able to boot without the dmraid hook?

Last edited by leniviy (2012-12-22 07:59:12)


Arch 64, xfce4

Offline

#7 2012-12-22 13:48:30

madmack
Member
Registered: 2012-05-06
Posts: 13

Re: [SOLVED] dmraid "Timed out waiting for device" at boot

it is not. raid is simply a data drive for me.

Offline

#8 2012-12-22 16:06:50

leniviy
Member
Registered: 2009-05-23
Posts: 177

Re: [SOLVED] dmraid "Timed out waiting for device" at boot

solved, see 1st message


Arch 64, xfce4

Offline

#9 2015-05-14 21:51:57

mmmk
Member
Registered: 2015-05-14
Posts: 1

Re: [SOLVED] dmraid "Timed out waiting for device" at boot

I've ran into exactly same problem lately, but finally solved it.

Setup: Intel Fake RAID, mirror, partitioned as:

/dev/mapper/isw_dfjeffgfaj_rootvol1 /boot
/dev/mapper/isw_dfjeffgfaj_rootvol2 /
/dev/mapper/isw_dfjeffgfaj_rootvol3 /home (dm-crypted)

In /etc/fstab i had following mountpoints:

# file /etc/fstab
/dev/mapper/isw_dfjeffgfaj_rootvolp2           /               ext4            rw,relatime,data=ordered        0 1
/dev/mapper/isw_dfjeffgfaj_rootvolp1           /boot           ext4            rw,relatime,data=ordered        0 2

and boot hung on waiting for /dev/mapper/isw_dfjeffgfaj_rootvolp1. Solution involves changing dev path to UUID:

# file /etc/fstab
/dev/mapper/isw_dfjeffgfaj_rootvolp2            /               ext4            rw,relatime,data=ordered        0 1
UUID=44809529-11d9-4f53-9652-7b97ed077225       /boot           ext4            rw,relatime,data=ordered        0 2

For some reason symlinks /dev/mapper/isw* are not present during systemd mount.

Offline

#10 2015-05-14 22:28:07

WorMzy
Forum Moderator
From: Scotland
Registered: 2010-06-16
Posts: 11,787
Website

Re: [SOLVED] dmraid "Timed out waiting for device" at boot

Hi mmmk, welcome to Arch. Please take a moment to get acquainted with the forum etiquette, paying particular attention the section about necrobumping.

As this thread is three years old, and marked as solved, I am going to lock it now.


Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Offline

Board footer

Powered by FluxBB