[systemd-devel] systemd-215: could not boot, missing /dev/disk/...-part2 symlink

Lennart Poettering lennart at poettering.net
Wed Oct 22 10:32:38 PDT 2014


On Tue, 02.09.14 11:15, Alexander E. Patrakov (patrakov at gmail.com) wrote:

> Hello.
> 
> I have a Gentoo system, with btrfs on /dev/sda2 (also known as
> /dev/disk/by-id/ata-OCZ-VECTOR_OCZ-Z5CB4KC20X0ZG7F8-part2) and with dracut
> 038 with Gentoo patches that you can view here:
> 
> http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/sys-kernel/dracut/files/
> (see 0038-*)
> 
> Today, I powered the computer on (without applying any updates since the
> previous successful boot), but the boot stalled, and I was dropped into an
> emergency shell. I have saved the SOS report, see the attachment.
> 
> As you can see, /dev/sda2 exists, but the link doesn't. "udevadm trigger"
> helped it to appear, and the boot continued.
> 
> I initially thought that it might be due to locking that systemd-udevd
> applies to block devices for the period of running its IMPORT{program}
> rules. Look: if in worker_new() the lock is not acquired successfully, then
> the event processing is skipped (and this also means symlinks are not
> created). But then there should be an "Unable to flock" debug message in
> "journalctl -b -p debug", and it doesn't exist. So it must be something
> else. Any other ideas?

Have you enabled CONFIG_FHANDLE in your kernel? If not, enable it. 

Lennart

-- 
Lennart Poettering, Red Hat


More information about the systemd-devel mailing list