[systemd-devel] Issues with parallelised early boot

Michal Koutný mkoutny at suse.com
Thu Dec 1 16:50:58 UTC 2022


Hello Naïm.

On Sat, Nov 26, 2022 at 01:59:53PM +0100, Naïm Favier <n+systemd at monade.li> wrote:
> When using systemd as PID 1 in the initrd, there is no sequencing between loading kernel modules
> (systemd-modules-load.service) and starting udev (systemd-udevd.service).
> I load my graphics driver (amdgpu) with systemd-modules-load, which takes about three seconds,
> so it finishes loading after udev has started and picked up the initial events, and while the
> LUKS passphrase prompt is waiting for my input.

Perhaps a slightly different angle -- is the graphics driver necessary
to mount the main root FS? (IIUC, you can enter the passphrase even
without it? Then you could build a smaller initrd and load the driver
later (when visual artifacts won't be hopefully distracting))

Michal
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 228 bytes
Desc: Digital signature
URL: <https://lists.freedesktop.org/archives/systemd-devel/attachments/20221201/65d32820/attachment.sig>


More information about the systemd-devel mailing list