[systemd-devel] GPT generator errors

Colin Guthrie gmane at colin.guthr.ie
Wed Sep 18 09:26:51 PDT 2013


Hi,

I seem to encounter an error on my system with the GPT generator.

It complains that my /dev/block/8:2 device is missing. When the system
fully boots this symlink exists happily:

[colin at jimmy ~]$ ls -l /dev/block/8:2
lrwxrwxrwx 1 root root 7 Sep 18 12:26 /dev/block/8:2 -> ../sda2

Doing a daemon reload on systemd works fine and the generator then runs
successfully.

This is for my / partition with a PARTUUID of
e571c4e9-3165-40d2-a5a7-da5375b05c91

All my non-EFI partitions are using the GUID code of:
Partition GUID code: EBD0A0A2-B9E5-4433-87C0-68B6B72699C7 (Microsoft
basic data) which is likely wrong (I guess I should be using
933ac7e12eb44f13b8440e14e2aef915 for my /home?) but it shouldn't be
affecting things here I guess.

Anyway, this error appears to lead to a ~2min delay in booting.

Could there be some kind of race between the gpt-generator and udev
doing it's device enumeration and symlink creation that's tripping
things up here?

If I kill the generator, the boot seems to work fine without any delays.

Any thoughts? Isn't it inherently racy to run a generator that needs to
access devices like this? I thought we were aiming towards
hotplug-friendly rather than the whole theoretical point in time where
things are "ready"?

Col


-- 

Colin Guthrie
gmane(at)colin.guthr.ie
http://colin.guthr.ie/

Day Job:
  Tribalogic Limited http://www.tribalogic.net/
Open Source:
  Mageia Contributor http://www.mageia.org/
  PulseAudio Hacker http://www.pulseaudio.org/
  Trac Hacker http://trac.edgewall.org/



More information about the systemd-devel mailing list