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

balenaos container starts but with a few lingering errors #30

Open
saket424 opened this issue May 15, 2020 · 2 comments
Open

balenaos container starts but with a few lingering errors #30

saket424 opened this issue May 15, 2020 · 2 comments

Comments

@saket424
Copy link

saket424 commented May 15, 2020

         Starting Resin init service...
[  OK  ] Started OS configuration update service.
         Starting Hostname Service...
[  OK  ] Started DNS forwarder and DHCP server.
         Starting Balena Application Container Engine...
         Starting Resin proxy configuration service...
[FAILED] Failed to start Resin init service.
See 'systemctl status resin-init.service' for details.
[  OK  ] Started Hostname Service.
[  OK  ] Started Resin proxy configuration service.
         Starting Network Manager Script Dispatcher Service...
[  OK  ] Started Network Manager Script Dispatcher Service.
[  OK  ] Started Balena Application Container Engine.
         Starting Balena supervisor...
[  OK  ] Started Balena supervisor.
[  OK  ] Started Balena supervisor updater.

[ TIME ] Timed out waiting for device /dev/ttyS0.
[DEPEND] Dependency failed for Serial Getty on ttyS0.
bash-4.4# systemctl status resin-init.service
● resin-init.service - Resin init service
   Loaded: loaded (/lib/systemd/system/resin-init.service; enabled; vendor preset: enabled)
   Active: failed (Result: exit-code) since Fri 2020-05-15 13:13:43 UTC; 2min 39s ago
  Process: 258 ExecStart=/bin/bash /usr/bin/resin-init (code=exited, status=123)
 Main PID: 258 (code=exited, status=123)

May 15 13:13:43 6fca902 bash[258]: Board specific initialization...
May 15 13:13:43 6fca902 bash[258]: lsblk: /dev/sda3[/var/snap/docker/common/var-lib-docker/volumes/balena-boot-devalien15/_data]: not a block device
May 15 13:13:43 6fca902 systemd[1]: resin-init.service: Main process exited, code=exited, status=123/n/a
May 15 13:13:43 6fca902 systemd[1]: resin-init.service: Failed with result 'exit-code'.
May 15 13:13:43 6fca902 systemd[1]: Failed to start Resin init service.
bash-4.4# 

This is the first time I am attempting to run this on my linux laptop -- are these critical errors?

@roman-mazur
Copy link

Hi @saket424
Thanks for opening the issue. Would you also give an example of how you start the container (the command line)? Information on what OS version you use on your laptop will also be helpful.

@saket424
Copy link
Author

saket424 commented May 19, 2020

Hi @roman-mazur

I saw the above output when i started the container in this manner
anand@Alienware15:~/balena-stuff/balenaos-in-container$ ./balenaos-in-container.sh --image resin/resinos:2.48.0_rev3.dev-intel-nuc --id devalien15 -c conf/FirstNUCapp.config.json

I got similar serial port errors even when i tried on a raspberry pi4

./balenaos-in-container.sh --image resin/resinos:2.47.0_rev1.dev-raspberrypi3 --id devrack9 -c conf/Firstarmv7app.config.json

TIME ] Timed out waiting for device /dev/serial1.
[DEPEND] Dependency failed for Conf…ooth Modems connected by UART.
[ TIME ] Timed out waiting for device /dev/serial0.
[DEPEND] Dependency failed for Serial Getty on serial0.

What exactly is it trying to open the serial device for?

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