Date: 23 Mar 2002 19:08:19 -0600 From: Justin Heath <jheath@theplanet.com> To: Giorgos Keramidas <keramida@ceid.upatras.gr> Cc: freebsd-questions@freebsd.org Subject: Re: Kernel debugging question Message-ID: <1016932101.1171.50.camel@minion> In-Reply-To: <20020323162130.GA64332@hades.hell.gr> References: <1016899513.1171.46.camel@minion> <20020323162130.GA64332@hades.hell.gr>
next in thread | previous in thread | raw e-mail | index | archive | help
Great. I would not have thought to look here. I will try this out and
let everyone know if there are any problems. Thanks again.
Justin Heath
On Sat, 2002-03-23 at 10:21, Giorgos Keramidas wrote:
> On 2002-03-23 10:05, Justin Heath wrote:
> > As far as I understand this will wait 15 seconds after dropping to
> > reboot.
> >
> > Now for my question. Is there a way to configure this 15 second timeout
> > value? I would like to configure this for a value of 10 minutes. This
> > would give me a chance to hook up a console to an affected server before
> > a reboot. Any suggestions or thoughts? Thanks.
>
> Looking at the source of /sys/kern/kern_shutdown.c here's what I found:
>
> #ifndef PANIC_REBOOT_WAIT_TIME
> #define PANIC_REBOOT_WAIT_TIME 15 /* default to 15 seconds */
> #endif
>
> So, unless I'm terribly mistaken, you can set PANIC_REBOOT_TIME to the
> number of seconds you want the delay to last.
>
> Giorgos Keramidas FreeBSD Documentation Project
> keramida@{freebsd.org,ceid.upatras.gr} http://www.FreeBSD.org/docproj/
>
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1016932101.1171.50.camel>
