Legato on raspi rebooting


#1

Hi
i am currently working on installing and running application on legato framework on raspi. I am facing a problem, legato framework is not running after executing the command /mnt/legato/start.
Some times getting crash too.

Please find the attached with and without crash log info
pid 734] getpid() = 734
[pid 734] send(9, “<8>Aug 23 17:37:08 Legato: EMR”…, 173, MSG_NOSIGNAL) = 173
[pid 734] exit_group(1) = ?

Message from syslogd@raspberrypi at Aug 23 17:37:08 …
Legato: EMR | supervisor[734]/framework T=main | LE_FILENAME MountSubSys() 143 | Could not mount cgroup subsystem ‘memory’. No such file or directory.

Broadcast message from systemd-journald@raspberrypi (Thu 2018-08-23 17:37:08 IST):

Legato[734]: EMR | supervisor[734]/framework T=main | LE_FILENAME MountSubSys() 143 | Could not mount cgroup subsystem ‘memory’. No such file or directory.

[pid 734] +++ exited with 1 +++
[pid 732] <… poll resumed> ) = 1 ([{fd=5, revents=POLLHUP}])

rebooting log part
[pid 737] close(0) = 0
[pid 737] close(1) = 0
[pid 737] close(2) = 0
[pid 737] exit_group(0) = ?
[pid 737] +++ exited with 0 +++
[pid 735] <… wait4 resumed> [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0, NULL) = 737
[pid 735] — SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=737, si_uid=0, si_status=0, si_utime=0, si_stime=2} —
[pid 735] sigreturn({mask=[]}) = 737
[pid 735] exit_group(0) = ?
[pid 735] +++ exited with 0 +++
<… wait4 resumed> [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0, NULL) = 735
rt_sigaction(SIGINT, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=SA_RESTORER, sa_restorer=0x76d496b0}, NULL, 8) = 0
rt_sigaction(SIGQUIT, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=SA_RESTORER, sa_restorer=0x76d496b0}, NULL, 8) = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
— SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=735, si_uid=0, si_status=0, si_utime=0, si_stime=0} —
reboot(LINUX_REBOOT_MAGIC1, LINUX_REBOOT_MAGIC2, LINUX_REBOOT_CMD_RESTART
Please help me to solve this issue.


#2

hi @vijithg,
please have a look to the following page https://docs.legato.io/latest/raspbianMain.html which describes how Raspi is handled with Legato.
Unfortunately, we could not add more support on Raspi,
best regards