Discussion:
Systemd crash when trying to boot Angstrom image with systemd enabled
(too old to reply)
Sonu Abraham
2017-05-29 02:40:55 UTC
Permalink
Raw Message
Hi ,

I get the following kernel panic when trying to using system-console image from Angstrom distribution on imx28evk board

[ 9.506682] UBIFS (ubi0:0): FS size: 236302336 bytes (225 MiB, 1861 LEBs), journal size 9023488 bytes (8 MiB, 72 LEBs)
[ 9.517600] UBIFS (ubi0:0): reserved for root: 0 bytes (0 KiB)
[ 9.523667] UBIFS (ubi0:0): media format: w4/r0 (latest is w4/r0), UUID 1E931B3C-5F0D-4F1E-B289-76950FFCF30B, small LPT model
[ 9.546773] VFS: Mounted root (ubifs filesystem) readonly on device 0:13.
[ 9.564543] devtmpfs: mounted
[ 9.570181] Freeing unused kernel memory: 296K (c0836000 - c0880000)
[ 9.576590] This architecture does not have kernel memory protection.
[ 10.736655] systemd[1]: System time before build time, advancing clock.
Mounting cgroup to /sys/fs/cgroup/blkio of type cgroup with options blkio.
Mounting cgroup to /sys/fs/cgroup/devices of type cgroup with options devices.
Mounting cgroup to /sys/fs/cgroup/freezer of type cgroup with options freezer.
Mounting cgroup to /sys/fs/cgroup/pids of type cgroup with options pids.
Mounting cgroup to /sys/fs/cgroup/debug of type cgroup with options debug.
Mounting cgroup to /sys/fs/cgroup/cpu,cpuacct of type cgroup with options cpu,cpuacct.
Mounting cgroup to /sys/fs/cgroup/perf_event of type cgroup with options perf_event.
Mounting cgroup to /sys/fs/cgroup/memory of type cgroup with options memory.
Mounting cgroup to /sys/fs/cgroup/cpuset of type cgroup with options cpuset.
systemd 230 running in system mode. (+PAM -AUDIT -SELINUX +IMA -APPARMOR +SMACK +SYSVINIT +UTMP -LIBCRYPTSETUP -GCRYPT -GNUTLS +ACL -XZ +LZ4 -SECCOMP +BLKID -ELFUTILS +KMOD +IDN)
No virtualization found in DMI
No virtualization found in CPUID
Virtualization XEN not found, /proc/xen/capabilities does not exist
No virtualization found in /proc/device-tree/*
No virtualization found in /proc/cpuinfo.
This platform does not support /proc/sysinfo
Found VM virtualization none
Detected architecture arm.

Welcome to The Ångström Distribution v2016.12!

Set hostname to <imx28evk>.
Initializing machine ID from random generator.
Installed transient /etc/machine-id file.
[ 12.502389] Kernel panic - not syncing: Attempted to kill init! exitcode=0x0000008b
[ 12.502389]
[ 12.511603] CPU: 0 PID: 1 Comm: systemd Not tainted 4.8.17-fslc+g35ef795 #1
[ 12.518592] Hardware name: Freescale MXS (Device Tree)
[ 12.523819] [<c000fba4>] (unwind_backtrace) from [<c000dbe8>] (show_stack+0x10/0x14)
[ 12.531638] [<c000dbe8>] (show_stack) from [<c00d0c1c>] (panic+0xbc/0x23c)
[ 12.538588] [<c00d0c1c>] (panic) from [<c001bfd8>] (do_exit+0xa30/0xa7c)
[ 12.545347] [<c001bfd8>] (do_exit) from [<c001c08c>] (do_group_exit+0x38/0xbc)
[ 12.552634] [<c001c08c>] (do_group_exit) from [<c0027cb8>] (get_signal+0x1ec/0x890)
[ 12.560342] [<c0027cb8>] (get_signal) from [<c000d098>] (do_signal+0xb4/0x44c)
[ 12.567615] [<c000d098>] (do_signal) from [<c000d600>] (do_work_pending+0xc0/0xd8)
[ 12.575231] [<c000d600>] (do_work_pending) from [<c000a288>] (slow_work_pending+0xc/0x20)
[ 12.583506] ---[ end Kernel panic - not syncing: Attempted to kill init! exitcode=0x0000008b
[ 12.583506]

Please let me know if I am missing out any changes in kernel configuration or do i need to pass any specific command line parameters to kernel command line.


Regards,

Sonu Abraham
Software Engineer



[RFI LOGO] P: +612 8814 2300 (Switch)
P: +612 8814 2383 (Direct)
F: +61 2 9630 0844
E: ***@rfi.com.au
W: www.rfi.com.au<http://www.rfi.com.au>

Please consider our environment before printing this email. This email and any file attachments are for the named person's use only. It may contain confidential or legally privileged information or both. No confidentiality or privilege is waived or lost by any mistransmission. If you have received this correspondence in error please immediately delete it from your system and notify the sender. Any views expressed in this message are those of the individual sender, except where the sender expressly, and with authority, states them to be the views of RFI. Please note that emails to and from individual recipients at RFI may be monitored as a part of our ongoing infrastructure management process. All emails and attachments sent to and from this server are scanned for viruses using McAfee VirusScan but due to the dynamics of computer viruses, we are unable to guarantee that emails are virus free
Lennart Poettering
2017-05-29 09:09:14 UTC
Permalink
Raw Message
Post by Sonu Abraham
Hi ,
I get the following kernel panic when trying to using system-console image from Angstrom distribution on imx28evk board
[ 9.506682] UBIFS (ubi0:0): FS size: 236302336 bytes (225 MiB, 1861 LEBs), journal size 9023488 bytes (8 MiB, 72 LEBs)
[ 9.517600] UBIFS (ubi0:0): reserved for root: 0 bytes (0 KiB)
[ 9.523667] UBIFS (ubi0:0): media format: w4/r0 (latest is w4/r0), UUID 1E931B3C-5F0D-4F1E-B289-76950FFCF30B, small LPT model
[ 9.546773] VFS: Mounted root (ubifs filesystem) readonly on device 0:13.
[ 9.564543] devtmpfs: mounted
[ 9.570181] Freeing unused kernel memory: 296K (c0836000 - c0880000)
[ 9.576590] This architecture does not have kernel memory protection.
[ 10.736655] systemd[1]: System time before build time, advancing clock.
Mounting cgroup to /sys/fs/cgroup/blkio of type cgroup with options blkio.
Mounting cgroup to /sys/fs/cgroup/devices of type cgroup with options devices.
Mounting cgroup to /sys/fs/cgroup/freezer of type cgroup with options freezer.
Mounting cgroup to /sys/fs/cgroup/pids of type cgroup with options pids.
Mounting cgroup to /sys/fs/cgroup/debug of type cgroup with options debug.
Mounting cgroup to /sys/fs/cgroup/cpu,cpuacct of type cgroup with options cpu,cpuacct.
Mounting cgroup to /sys/fs/cgroup/perf_event of type cgroup with options perf_event.
Mounting cgroup to /sys/fs/cgroup/memory of type cgroup with options memory.
Mounting cgroup to /sys/fs/cgroup/cpuset of type cgroup with options cpuset.
systemd 230 running in system mode. (+PAM -AUDIT -SELINUX +IMA -APPARMOR +SMACK +SYSVINIT +UTMP -LIBCRYPTSETUP -GCRYPT -GNUTLS +ACL -XZ +LZ4 -SECCOMP +BLKID -ELFUTILS +KMOD +IDN)
No virtualization found in DMI
No virtualization found in CPUID
Virtualization XEN not found, /proc/xen/capabilities does not exist
No virtualization found in /proc/device-tree/*
No virtualization found in /proc/cpuinfo.
This platform does not support /proc/sysinfo
Found VM virtualization none
Detected architecture arm.
Welcome to The Ångström Distribution v2016.12!
Set hostname to <imx28evk>.
Initializing machine ID from random generator.
Installed transient /etc/machine-id file.
[ 12.502389] Kernel panic - not syncing: Attempted to kill init! exitcode=0x0000008b
[ 12.502389]
[ 12.511603] CPU: 0 PID: 1 Comm: systemd Not tainted 4.8.17-fslc+g35ef795 #1
[ 12.518592] Hardware name: Freescale MXS (Device Tree)
[ 12.523819] [<c000fba4>] (unwind_backtrace) from [<c000dbe8>] (show_stack+0x10/0x14)
[ 12.531638] [<c000dbe8>] (show_stack) from [<c00d0c1c>] (panic+0xbc/0x23c)
[ 12.538588] [<c00d0c1c>] (panic) from [<c001bfd8>] (do_exit+0xa30/0xa7c)
[ 12.545347] [<c001bfd8>] (do_exit) from [<c001c08c>] (do_group_exit+0x38/0xbc)
[ 12.552634] [<c001c08c>] (do_group_exit) from [<c0027cb8>] (get_signal+0x1ec/0x890)
[ 12.560342] [<c0027cb8>] (get_signal) from [<c000d098>] (do_signal+0xb4/0x44c)
[ 12.567615] [<c000d098>] (do_signal) from [<c000d600>] (do_work_pending+0xc0/0xd8)
[ 12.575231] [<c000d600>] (do_work_pending) from [<c000a288>] (slow_work_pending+0xc/0x20)
[ 12.583506] ---[ end Kernel panic - not syncing: Attempted to kill init! exitcode=0x0000008b
[ 12.583506]
Please let me know if I am missing out any changes in kernel configuration or do i need to pass any specific command line parameters to kernel command line.
The required kernel options are documented in README, please have a
look.

Consider booting in debug mode (just add "debug" to the kernel command
line), to see more information on what is going on.

Lennart
--
Lennart Poettering, Red Hat
Loading...