[systemd-devel] udevadm: Failed to scan devices: Input/output error
Belal, Awais
Awais_Belal at mentor.com
Thu Mar 31 12:58:08 UTC 2022
Hi Lennart,
> 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.
Thanks for pointing that out. I will definitely report this and work with the distro folks to see why we're doing this and drop it if we can work without it. However, the failure I mentioned is in the invocation of udevadm triigger. Here's what strace revealed
faccessat(AT_FDCWD, "/sys/devices/virtual/devlink/platform:firmware:zynqmp-firmware:clock-controller--platform:fd4b0000.gpu/uevent", F_OK) = 0
readlinkat(AT_FDCWD, "/sys/devices/virtual/devlink/platform:firmware:zynqmp-firmware:clock-controller--platform:fd4b0000.gpu/subsystem", "../../../../class/devlink", 4096) = 25
openat(AT_FDCWD, "/sys/devices/virtual/devlink/platform:firmware:zynqmp-firmware:clock-controller--platform:fd4b0000.gpu/uevent", O_RDONLY|O_CLOEXEC) = 5
fstat(5, {st_mode=S_IFREG|0644, st_size=4096, ...}) = 0
fstat(5, {st_mode=S_IFREG|0644, st_size=4096, ...}) = 0
read(5, "", 4096) = 0
close(5) = 0
openat(AT_FDCWD, "/run/udev/data/+devlink:platform:firmware:zynqmp-firmware:clock-controller--platform:fd4b0000.gpu", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
getdents64(4, 0x1b02edd0, 32768) = -1 EIO (Input/output error)
close(4) = 0
I will try to debug this further, any additional pointers would be of much help.
BR,
Awais
More information about the systemd-devel
mailing list