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

C1: before C1 boots, there is a 30-45 seconds wait state that does nothing, even though the device starts blinking #36

Open
star-buck opened this issue Feb 8, 2019 · 3 comments
Assignees
Labels

Comments

@star-buck
Copy link
Contributor

1701 img for C1 booted immediately.

@llelectronics
Copy link

On first glance it does not seem to be the libnss-systemd issue we hit before once as that package shouldn't be installed.
For some reason my debug output is not working (its detecting the usb serial debug but I don't get any output).
Maybe systemd-analyze blame might tell us what is keeping it waiting.

@star-buck
Copy link
Contributor Author

i think it happens before systemd is even involved... more like when initilaizing the bios takes too long or the sdcard doesnt respond right away.

@star-buck star-buck changed the title C1: before C1 boots, there is a 45 seconds wait state that does nothing, even though the device starts blinking C1: before C1 boots, there is a 30-45 seconds wait state that does nothing, even though the device starts blinking Feb 9, 2019
@llelectronics
Copy link

llelectronics commented Feb 11, 2019

Found out that systemd-analyze blame cannot run as "bootup did not finish". The culprits for this are the apt-daily and apt-daily-upgrade services.
After 14 Minutes I get a systemd-analyze output.
I think we should disable both of those services as all they do is run apt update and apt upgrade if defined for unattended security updates in the background.

For the record I am not saying that those are the ones delaying your start. But an observation I made during the debugging of this problem. And of course disabling those services has consequences even if they are a bit minor to the overall boot time aswell.

edit: Removing exim4 packages makes bootup time even faster. Exim4 is not used anyway on those zeroboxes and can be removed safely.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants