At 2020-01-17 00:03 it went down again. I have restarted the device (power off - power on).
2020-01-16T23:57:00.539Z
2020-01-16T23:58:00.552Z
2020-01-16T23:59:00.565Z
2020-01-17T00:00:00.578Z
2020-01-17T00:01:00.590Z
2020-01-17T00:02:00.604Z
2020-01-17T00:03:00.607Z
2020-01-17T00:09:39.367Z
2020-01-17T00:09:55.247Z
2020-01-17T00:10:55.247Z
2020-01-17T00:11:55.254Z
2020-01-17T00:12:55.269Z
Here an extract of what is logged in journalctl around that time:
Jan 16 23:03:01 0365728 7e1ec30bd130[787]: [175B blob data]
Jan 16 23:03:07 0365728 balenad[787]: time="2020-01-16T23:03:07.871917958Z" level=info msg="shim balena-engine-containerd-shim started" address=/containerd-shim/moby/5f518a55e64d600e2f4f82f548cf5ad724453d4513419da9f
38a022c309cc4b2/shim.sock debug=false pid=19423
Jan 16 23:03:08 0365728 balenad[787]: time="2020-01-16T23:03:08.818998855Z" level=info msg="shim reaped" id=5f518a55e64d600e2f4f82f548cf5ad724453d4513419da9f38a022c309cc4b2
Jan 16 23:03:08 0365728 balenad[787]: time="2020-01-16T23:03:08.827824917Z" level=info msg="ignoring event" module=libcontainerd namespace=moby topic=/tasks/delete type="*events.TaskDelete"
Jan 16 23:03:18 0365728 b2bc00404067[787]: [api] GET /v1/healthy 200 - 8.384 ms
Jan 16 23:03:18 0365728 resin-supervisor[2818]: [api] GET /v1/healthy 200 - 8.384 ms
-- Reboot --
Jan 16 23:09:18 localhost kernel: Linux version 5.2.10-yocto-standard (oe-user@oe-host) (gcc version 8.3.0 (GCC)) #1 SMP PREEMPT Tue Dec 24 06:42:14 UTC 2019
Jan 16 23:09:18 localhost kernel: Command line: BOOT_IMAGE=/boot/bzImage root=LABEL=resin-rootA rootwait quiet loglevel=0 splash udev.log-priority=3 vt.global_cursor_default=0 intel_idle.max_cstate=1
Jan 16 23:09:18 localhost kernel: x86/fpu: Supporting XSAVE feature 0x001: 'x87 floating point registers'
Jan 16 23:09:18 localhost kernel: x86/fpu: Supporting XSAVE feature 0x002: 'SSE registers'
In the mean time I am trying to create a custom build as you proposed.
- So I have forked https://github.com/balena-os/balena-intel and integrated the 1 line change of pull request #276 in my fork: see => https://github.com/janvda/balena-intel
- I have created and run a
crops/pokycontainer on my macbook as outlined in https://github.com/crops/docker-win-mac-docs/wiki - Then I have cloned my balena-intel fork in that poky container and updated the submodule as specified in https://www.balena.io/os/docs/custom-build/ but when running
./balena-yocto-scripts/build/barys -m intelI am getting below error regardingnpmnot being installed in my poky container.
pokyuser@ae30fa5181cf:/workdir/balena-intel$ ./balena-yocto-scripts/build/barys -m intel
Building JSON manifest...
/workdir/balena-intel/balena-yocto-scripts/build/build-device-type-json.sh: line 20: npm: command not found
/workdir/balena-intel/balena-yocto-scripts/build/build-device-type-json.sh: ERROR - Please make sure the 'npm' package is installed and working before running this script.
[000000000][ERROR]Could not generate .json file(s).
pokyuser@ae30fa5181cf:/workdir/balena-intel$
I tried to install npm but I don’t have permissions to do this in my container.
So I am stuck and I am also not sure if I am doing it right.