Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

systemd-udevd[643]: Process '/sbin/initblockdev xxx add' failed with exit code 1. #945

Open
nicwu-cel opened this issue Jul 3, 2023 · 2 comments

Comments

@nicwu-cel
Copy link
Contributor

Hi,

After entering ONL, we saw these errors:

root@localhost:~# dmesg | grep block
...
[   19.879348] systemd-udevd[643]: Process '/sbin/initblockdev loop3 add' failed with exit code 1.
[   19.879783] systemd-udevd[644]: Process '/sbin/initblockdev loop5 add' failed with exit code 1.
[   19.879813] systemd-udevd[673]: Process '/sbin/initblockdev loop1 add' failed with exit code 1.

I couldn't find /sbin/initblockdev file on my unit.

It seems the source file locates in https://github.com/opencomputeproject/OpenNetworkLinux/blob/master/packages/base/all/initrds/loader-initrd-files/src/bin/initblockdev.

However, I can't see any steps in ONL compiling to copy this file to ONL rootfs. Could you give me some help?

@Yagami-Jiang
Copy link

Hi, any update?

@Yagami-Jiang
Copy link

I think these information cause by "/etc/udev/rules.d/60-block.rules" and "/etc/udev/rules.d/60-net.rules". They are common rules and will exist in the ONL system.

However, they depend on the "initblockdev" tool, which is not installed on the ONL system. Check the "initblockdev" code. In fact, even if this tool exists, there will be information about the abnormal exit of these processes.

I think it maybe a design flaws.
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants