From owner-cvs-all Wed Nov 28 23:45:43 2001 Delivered-To: cvs-all@freebsd.org Received: from westhost36.westhost.net (westhost36.westhost.net [216.71.84.209]) by hub.freebsd.org (Postfix) with ESMTP id 8EF8A37B416 for ; Wed, 28 Nov 2001 23:45:35 -0800 (PST) Received: from localhost (haikugeek@localhost) by westhost36.westhost.net (8.11.6/8.11.6) with ESMTP id fAT7ii013432 for ; Thu, 29 Nov 2001 01:44:44 -0600 Date: Thu, 29 Nov 2001 01:44:44 -0600 (CST) From: Jon Mini X-X-Sender: To: Subject: Re: cvs commit: src/sys/boot/common panic.c Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Wilko Bulte wrote: > On Wed, Nov 28, 2001 at 06:00:36AM -0800, Daniel C. Sobral wrote: > >>dcs 2001/11/28 06:00:36 PST >> >> Modified files: >> sys/boot/common panic.c >> Log: >> Waits for a keypress before rebooting on panic. >> > > Does this mean the system always waits? I could imagine some > people (think of colocated servers) would not like that. The original idea behind this patch was to make the loader panic act like the kernel panic does (not identically, but in the same fashion). As the kernel panic will reboot automatically after a timeout, so should the loader panic. When I saw your comment I instantly felt like an idiot. ;P The patch hidden behind the link below will make the panic pause for 10 seconds before rebooting automatically, unless a key is pressed on the console, at which point it will wait indefinately. It uses the same countdown algorithm as the autoboot code. http://www.haikugeek.com/freebsd/panic.diff (sorry about the URL, my mailer eats diffs) Daniel (dcs), please review and commit. K PLX THX. ;) -- Dizzy Cow (Jon Mini) dizzycow@haikugeek.com ... Desolation ... Despair ... Plastic Forks ... ~ ~ ~ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message