[systemd-devel] udevadm: Failed to scan devices: Input/output error

Lennart Poettering lennart at poettering.net
Thu Mar 31 09:26:08 UTC 2022


On Do, 31.03.22 08:53, Belal, Awais (Awais_Belal at mentor.com) wrote:

> Hi Lennart,
>
> > Which udevadm command is this from? The udevadm trigger invocation we
> > do during boot?
>
> This is a Yocto based build and the boot flow is using an initramfs. After setting up /sys /proc and other related specifics the initramfs calls
>
> $_UDEV_DAEMON --daemon
> udevadm trigger --action=add
> udevadm settle

No distro from the last 10y should use "udevadm settle" in the clean
boot path. Please work with your distro to fix that. It doesn't do
what people think it does, and clean-written software really doesn't
need that in the boot path. It just slows down boot.

Lennart

--
Lennart Poettering, Berlin


More information about the systemd-devel mailing list