From owner-freebsd-questions Sat Mar 23 8:21:43 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mailsrv.otenet.gr (mailsrv.otenet.gr [195.170.0.5]) by hub.freebsd.org (Postfix) with ESMTP id F2CD337B419 for ; Sat, 23 Mar 2002 08:21:35 -0800 (PST) Received: from hades.hell.gr (patr530-a180.otenet.gr [212.205.215.180]) by mailsrv.otenet.gr (8.12.2/8.12.2) with ESMTP id g2NGLVIg004613; Sat, 23 Mar 2002 18:21:33 +0200 (EET) Received: from hades.hell.gr (hades [127.0.0.1]) by hades.hell.gr (8.12.2/8.12.2) with ESMTP id g2NGLUbe064360; Sat, 23 Mar 2002 18:21:31 +0200 (EET) (envelope-from keramida@freebsd.org) Received: (from charon@localhost) by hades.hell.gr (8.12.2/8.12.2/Submit) id g2NGLUTh064359; Sat, 23 Mar 2002 18:21:30 +0200 (EET) (envelope-from keramida@freebsd.org) Date: Sat, 23 Mar 2002 18:21:30 +0200 From: Giorgos Keramidas To: Justin Heath Cc: freebsd-questions@freebsd.org Subject: Re: Kernel debugging question Message-ID: <20020323162130.GA64332@hades.hell.gr> References: <1016899513.1171.46.camel@minion> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1016899513.1171.46.camel@minion> User-Agent: Mutt/1.3.28i 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 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