From owner-freebsd-questions Sat Mar 23 17:13:11 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mail1.theplanet.com (mail1.theplanet.com [216.234.234.32]) by hub.freebsd.org (Postfix) with ESMTP id 4A1BA37B400 for ; Sat, 23 Mar 2002 17:13:05 -0800 (PST) Received: from minion (mcder-233.dfw.tx.bbnow.net [24.219.233.142]) by mail1.theplanet.com (8.9.3/8.9.3) with ESMTP id TAA70297; Sat, 23 Mar 2002 19:12:55 -0600 (CST) Subject: Re: Kernel debugging question From: Justin Heath To: Giorgos Keramidas Cc: freebsd-questions@freebsd.org In-Reply-To: <20020323162130.GA64332@hades.hell.gr> References: <1016899513.1171.46.camel@minion> <20020323162130.GA64332@hades.hell.gr> Content-Type: text/plain Content-Transfer-Encoding: 7bit X-Mailer: Evolution/1.0.1 Date: 23 Mar 2002 19:08:19 -0600 Message-Id: <1016932101.1171.50.camel@minion> Mime-Version: 1.0 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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