Thread (1 message) 1 message, 1 author, 2021-08-16

Re: [yocto] Failed to boot kernel 5 after upgrading to Hardknott

From: Khem Raj <hidden>
Date: 2021-08-16 06:37:50
Also in: yocto


On 8/15/21 10:36 PM, Zoran wrote:
You are using systemd with the wrong defconfig setup, my best guess.

cgroup option in the config must be set to Y while using systemd:
CONFIG_CGROUP=Y .

Zee
_______

On Mon, Aug 16, 2021 at 6:24 AM JH [off-list ref] wrote:
quoted
Hi,

I upgrade Zeus to Hardknott, the kernel version is 5.10.4
(oe-user@oe-host) (arm-oe-linux-gnueabi-gcc (GCC) 10.2.0, GNU ld (GNU
Binutils) 2.36.1.20210209), it was failed to boot the kernel :

---------------

[    9.418302] systemd[1]: Failed to mount tmpfs at /sys/fs/cgroup: No
such file or directory
[    9.431805] systemd[1]: Failed to mount cgroup at
/sys/fs/cgroup/systemd: No such file or directory
[!!!!!!] Failed to mount API filesystems.
[    9.463151] systemd[1]: Freezing execution.

What could I be missing?
Look at kernel kconfig options that should be enabled here
https://cgit.freedesktop.org/systemd/systemd/tree/README#n38

quoted
Thank you.

Kind regards,

- jh





Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help