making PANIC_REBOOT_WAIT_TIME a tunable

Allan Jude freebsd at allanjude.com
Mon Dec 2 17:11:51 UTC 2013


On 2013-12-02 03:26, Colin Percival wrote:
> Hi all,
>
> It seems that PANIC_REBOOT_WAIT_TIME has been a compile-time setting forever;
> and I can't see any reason for this, but I assume there was one... at some
> point in the distant past.
>
> The attached patch makes it a loader tunable and sysctl.  My reason for wanting
> this is to make EC2 images reboot faster after a panic (not that it happens
> very often, of course) -- there's no point waiting for a key press at the
> console because the EC2 console is output-only.
>
> Any objections?
>
>
>
> _______________________________________________
> freebsd-current at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-current
> To unsubscribe, send any mail to "freebsd-current-unsubscribe at freebsd.org"

This would be very useful for me as well, we almost always run GENERIC,
so being able to set this via loader/sysctl would allow us to make a
panic'd box wait a reasonable amount of time for me to view the console.

-- 
Allan Jude

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 899 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freebsd.org/pipermail/freebsd-current/attachments/20131202/0df7e892/attachment.sig>


More information about the freebsd-current mailing list