Re: making PANIC_REBOOT_WAIT_TIME a tunable

From: Allan Jude <freebsd_at_allanjude.com>
Date: Mon, 02 Dec 2013 12:11:47 -0500
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


Received on Mon Dec 02 2013 - 16:11:51 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:44 UTC