All of lore.kernel.org
 help / color / mirror / Atom feed
* Failed to boot kernel 5 after upgrading to Hardknott
@ 2021-08-16  4:24 JH
  2021-08-16  5:36 ` [yocto] " Zoran
  0 siblings, 1 reply; 3+ messages in thread
From: JH @ 2021-08-16  4:24 UTC (permalink / raw)
  To: yocto; +Cc: oe-core layer

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?

Thank you.

Kind regards,

- jh

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [yocto] Failed to boot kernel 5 after upgrading to Hardknott
  2021-08-16  4:24 Failed to boot kernel 5 after upgrading to Hardknott JH
@ 2021-08-16  5:36 ` Zoran
  2021-08-16  6:37   ` Khem Raj
  0 siblings, 1 reply; 3+ messages in thread
From: Zoran @ 2021-08-16  5:36 UTC (permalink / raw)
  To: JH; +Cc: yocto, oe-core layer

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 <jupiter.hce@gmail.com> wrote:
>
> 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?
>
> Thank you.
>
> Kind regards,
>
> - jh
>
> 
>

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [yocto] Failed to boot kernel 5 after upgrading to Hardknott
  2021-08-16  5:36 ` [yocto] " Zoran
@ 2021-08-16  6:37   ` Khem Raj
  0 siblings, 0 replies; 3+ messages in thread
From: Khem Raj @ 2021-08-16  6:37 UTC (permalink / raw)
  To: Zoran, JH; +Cc: yocto, oe-core layer



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 <jupiter.hce@gmail.com> wrote:
>>
>> 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


>>
>> Thank you.
>>
>> Kind regards,
>>
>> - jh
>>
>>
>>
>>
>>
>> 
>>

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2021-08-16  6:37 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-08-16  4:24 Failed to boot kernel 5 after upgrading to Hardknott JH
2021-08-16  5:36 ` [yocto] " Zoran
2021-08-16  6:37   ` Khem Raj

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.