Re: making PANIC_REBOOT_WAIT_TIME a tunable
On Mon, Dec 2, 2013, at 2: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? > I tend to cheat this problem by using watchdog on my hardware servers. This sounds quite convenient as I can't use watchdog in VMs... ___ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"
Re: making PANIC_REBOOT_WAIT_TIME a tunable
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@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to "freebsd-current-unsubscr...@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 signature.asc Description: OpenPGP digital signature