Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 10 Dec 2001 10:58:51 -0500 (EST)
From:      Robert Watson <rwatson@FreeBSD.org>
To:        Sheldon Hearn <sheldonh@starjuice.net>
Cc:        cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   Re: cvs commit: src/sys/boot/common panic.c 
Message-ID:  <Pine.NEB.3.96L.1011210105714.4035B-100000@fledge.watson.org>
In-Reply-To: <54466.1007977919@axl.seasidesoftware.co.za>

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

On Mon, 10 Dec 2001, Sheldon Hearn wrote:

> On Sat, 08 Dec 2001 19:13:21 PST, "David O'Brien" wrote:
> 
> > >   Modified files:
> > >     sys/boot/common      panic.c 
> > >   Log:
> > >   Waits for a keypress before rebooting on panic.
> > 
> > This sounds scary for unattended machines.  Perhaps this should be
> > wrapped with DDB_UNATTENDED.
> 
> As was pointed out when dcs first made this change, the panic in
> question happens so early that an automatic reboot isn't going to
> achieve anything. 

And my follow-up point was that with pxeboot, it will make a
difference--I can swap out the loader and its various configuration files
at run-time on the NFS server.  I prefered solution might be to detect the
netboot case, and sleep 30 seconds or something before rebooting, but
pause on a non-netboot?  Or, simply take the same approach as
DDB_UNATTENDED -- allow some sort of configuration (maybe at compile-time)
to select the behavior.

Robert N M Watson             FreeBSD Core Team, TrustedBSD Project
robert@fledge.watson.org      NAI Labs, Safeport Network Services



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.NEB.3.96L.1011210105714.4035B-100000>