[systemd-devel] [uml-devel] Timed out waiting for device dev-disk-by...

Andrei Borzenkov arvidjaar at gmail.com
Fri Oct 3 08:51:30 PDT 2014


В Fri, 03 Oct 2014 13:32:09 +0200
Thomas Meyer <thomas at m3y3r.de> пишет:

> Zitat von Lennart Poettering <lennart at poettering.net>:
> 
> > On Tue, 30.09.14 21:44, Tomasz Torcz (tomek at pipebreaker.pl) wrote:
> >
> >>   Check the udev database at this moment.  In my understanding, to  
> >> have device deemed
> >> ready by systemd, two things must happen for device entry:
> >> – TAGS variable must contain ”systemd”
> >> – SYSTEMD_READY must be ”1”
> >
> > Well, the latter is not entirely correct. It's reversed: the
> > SYSTEMD_READY field must not be "0". Or in other words, either be "1"
> > or absent, for systemd to consider the device around.
> >
> > I'd really like to the the udev info output for the actual device
> > missing here, rather than an unrelated one.
> 
> Hi,
> 
> I think the confusion with the device id comes from that fact that I  
> posted the results from two different boots:
> 
> 1.) Trying to boot from the Fedora 21-Alpha with the contained initrd  
> image -> waits forever for /dev/ubdb1 resp. /dev/ubdb3, which are the  
> partitions on the ISO image
> 2.) Boot from a Fedora 21 alpha installation, which waits forever for  
> device with UUID 008af19d-2562-49bd-8907-721ea08f3e14, which is  
> /dev/ubda1, which contains the /boot partition
> 
> the error happens in both situations, so I thought I shouldn't matter  
> which one to post.
> 
> anyway, here is the info you asked for:
> # systemctl status   
> dev-disk-by\x2duuid-008af19d\x2d2562\x2d49bd\x2d8907\x2d721ea08f3e14.device
> ● dev-disk-byx2duuid-008af19dx2d2562x2d49bdx2d8907x2d721ea08f3e14.device
>     Loaded: loaded
>     Active: inactive (dead)
> 
> # ls -ld /dev/disk/by-uuid/008af19d-2562-49bd-8907-721ea08f3e14
> lrwxrwxrwx 1 root root 11 Oct  3 13:15  
> /dev/disk/by-uuid/008af19d-2562-49bd-8907-721ea08f3e14 -> ../../ubda1
> 
> # udevadm info -q path -n /dev/ubda1
> /devices/platform/uml-blkdev.0/block/ubda/ubda1
> 
> # udevadm info -q all -p /devices/platform/uml-blkdev.0/block/ubda/ubda1
> P: /devices/platform/uml-blkdev.0/block/ubda/ubda1
> N: ubda1
> S: disk/by-path/platform-uml-blkdev.0-part1
> S: disk/by-uuid/008af19d-2562-49bd-8907-721ea08f3e14
> E: DEVLINKS=/dev/disk/by-path/platform-uml-blkdev.0-part1  
> /dev/disk/by-uuid/008af19d-2562-49bd-8907-721ea08f3e14
> E: DEVNAME=/dev/ubda1
> E: DEVPATH=/devices/platform/uml-blkdev.0/block/ubda/ubda1
> E: DEVTYPE=partition
> E: ID_FS_TYPE=ext4
> E: ID_FS_USAGE=filesystem
> E: ID_FS_UUID=008af19d-2562-49bd-8907-721ea08f3e14
> E: ID_FS_UUID_ENC=008af19d-2562-49bd-8907-721ea08f3e14
> E: ID_FS_VERSION=1.0
> E: ID_PART_ENTRY_DISK=98:0
> E: ID_PART_ENTRY_FLAGS=0x80
> E: ID_PART_ENTRY_NUMBER=1
> E: ID_PART_ENTRY_OFFSET=2048
> E: ID_PART_ENTRY_SCHEME=dos
> E: ID_PART_ENTRY_SIZE=1024000
> E: ID_PART_ENTRY_TYPE=0x83
> E: ID_PART_ENTRY_UUID=73764b38-01
> E: ID_PART_TABLE_TYPE=dos
> E: ID_PART_TABLE_UUID=73764b38
> E: ID_PATH=platform-uml-blkdev.0
> E: ID_PATH_TAG=platform-uml-blkdev_0
> E: MAJOR=98
> E: MINOR=1
> E: SUBSYSTEM=block
> E: TAGS=:systemd:
> E: USEC_INITIALIZED=50322
> 

Hmm ... one of common reason for such problems recently was missing
CONFIG_FHANDLE in kernel configuration. Could you verify that all
required kernel options are set in your case?

> # cat /etc/fstab
> 
> #
> # /etc/fstab
> # Created by anaconda on Sun Sep 28 14:27:03 2014
> #
> # Accessible filesystems, by reference, are maintained under '/dev/disk'
> # See man pages fstab(5), findfs(8), mount(8) and/or blkid(8) for more info
> #
> UUID=e2bffa45-d84f-47bc-81ba-e7a395751fa6 /                       ext4  
>     defaults        1 1
> UUID=008af19d-2562-49bd-8907-721ea08f3e14 /boot                   ext4  
>     defaults        1 2
> UUID=f452f020-a446-41ed-93c0-ee5ce56d6ea4 swap                    swap  
>     defaults        0 0
> 
> >
> > Lennart
> >
> > --
> > Lennart Poettering, Red Hat
> > _______________________________________________
> > systemd-devel mailing list
> > systemd-devel at lists.freedesktop.org
> > http://lists.freedesktop.org/mailman/listinfo/systemd-devel
> 
> 
> 
> _______________________________________________
> systemd-devel mailing list
> systemd-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/systemd-devel



More information about the systemd-devel mailing list