Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 29 Nov 2001 01:44:44 -0600 (CST)
From:      Jon Mini <haikugeek@haikugeek.com>
To:        <cvs-all@freebsd.org>
Subject:   Re: cvs commit: src/sys/boot/common panic.c
Message-ID:  <Pine.LNX.4.33.0111290130450.32545-100000@westhost36.westhost.net>

next in thread | raw e-mail | index | archive | help

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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.LNX.4.33.0111290130450.32545-100000>