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[1]: Assertion 'sigaction(SIGCHLD, &sa, NULL) == 0' failed at c/debug/systemd/254.4/src/core/manager.c:540 #21

Open
DengkeDu opened this issue Jan 3, 2024 · 6 comments

Comments

@DengkeDu
Copy link

DengkeDu commented Jan 3, 2024

poky: master branch
meta-loongarch: master branch
machine: 3A5000

steps:
bitbake core-image-full-cmdline [this is ok]

boot:
systemd[1]: Detected architecture loongarch64.
random: systemd: uninitialized urandom read (16 bytes read)
random: systemd: uninitialized urandom read (16 bytes read)
random: crng init done

Welcome to Poky (Yocto Project Reference Distro) 4.3+snapshot-fe5d2f0b666c83e3336ea9962c8e2e4c39816e21 (nanbield)!

systemd[1]: Hostname set to .
systemd[1]: Initializing machine ID from random generator.
systemd[1]: Installed transient /etc/machine-id file.
systemd[1]: Assertion 'sigaction(SIGCHLD, &sa, NULL) == 0' failed at c/debug/systemd/254.4/src/core/manager.c:540, function manager_setup_signals(). Aborting.
Kernel panic - not syncing: Attempted to kill init! exitcode=0x00000085

CPU: 3 PID: 1 Comm: systemd Not tainted 4.19.190-rt79-ucas #4
Hardware name: Loongson Loongson-LS3A5000-7A1000-1w-V0.1-CRB/Loongson-LS3A5000-7A1000-1w-V0.1-CRB, BIOS ML5A-V3.8 07/13/2021
Stack : 9000000478a23ac8 9000000000c782a4 9000000478a20000 9000000478a23a00
0000000000000000 9000000478a23a00 0000000000000000 9000000001692f4c
0000000000000040 0000000000000000 90000000016868c2 000000000000007c
9000000000c782a4 9000000001046508 9000000001219e80 0000000000000001
000000000000007c 0000000000000090 312e30562d77312d 6f6f4c2f4252432d
000000000000020d 00000000065f4000 0000000000000088 ffff800000000000
90000000010f6ea8 0000000000000000 0000000000000000 0000000000000001
9000000001102018 9000000478a6b580 9000000478a23d98 0000000000000005
900000000020f2e4 000000fff7a595e0 00000000000000b0 0000000000000004
0000000000000000 0000000000071c1c 0000000000000000 90000000010f6ea8
...
Call Trace:
[<900000000020f2e4>] show_stack+0x34/0x140
[<9000000000c782a0>] dump_stack+0xa4/0xdc
[<9000000000c6f170>] panic+0x12c/0x28c
[<900000000023071c>] do_exit+0x9cc/0x9f0
[<90000000002307d0>] do_group_exit+0x40/0xc0
[<900000000023e094>] get_signal+0xf4/0x810
[<900000000020d760>] do_signal+0x40/0x7c0
[<900000000020e628>] do_notify_resume+0x88/0xa0
[<9000000000208a64>] work_notifysig+0x8/0x10

@DengkeDu
Copy link
Author

DengkeDu commented Jan 3, 2024

image

@DengkeDu
Copy link
Author

DengkeDu commented Jan 3, 2024

@baibaidashixiong @loongson-zjl @yetist did your meet this?

@yetist
Copy link
Contributor

yetist commented Jan 3, 2024

Why is the kernel version here 4.19?

@DengkeDu
Copy link
Author

DengkeDu commented Jan 3, 2024

I get a 4.19 kernel from loongarch team, the yocto master branch kernel version was 6.5, can't boot on 3A5000

@DengkeDu
Copy link
Author

DengkeDu commented Jan 3, 2024

Why is the kernel version here 4.19?

can you provide a kernel that can boot on 3A5000? thanks!

@DengkeDu
Copy link
Author

DengkeDu commented Jan 3, 2024

Why is the kernel version here 4.19?

when I switch to yocto master branch linux kernel, show:

EFI stub: Booting Linux Kernel...
EFI stub: Exiting boot services

ending ....

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