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

Make the system stop auto-rebooting for 10 seconds when a core crashes at boot time. #461

Closed
louies0623 opened this issue Feb 2, 2023 · 3 comments

Comments

@louies0623
Copy link
Contributor

louies0623 commented Feb 2, 2023

Let the system stop automatically restarting for 10 seconds when the core crashes during startup, so that users can have time to record startup errors, and you can analyze the problem.
e.g BSOD

#455
#457
#413
#335

@probonopd
Copy link
Member

probonopd commented Feb 5, 2023

You can change the following line to the /etc/sysctl.conf file to increase the number of seconds:

kern.panic_reboot_wait_time=600

Does this work for you?

@probonopd
Copy link
Member

We have this:

sysctl kern.panic_reboot_wait_time=30

So, when booting in verbose or single user mode, it should wait 30 seconds before rebooting. Please comment here if it doesn't work.

@louies0623
Copy link
Contributor Author

louies0623 commented Sep 2, 2023

In A1278 #335, it will not restart immediately when there is self-suspend for the first time, but it will restart immediately when it is used next time. Version:0.9.0

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