Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 16 Jan 2013 20:18:45 -0700
From:      Ian Lepore <ian@FreeBSD.org>
To:        Sami Halabi <sodynet1@gmail.com>
Cc:        freebsd-hackers@FreeBSD.org, "freebsd-stable@freebsd.org" <freebsd-stable@FreeBSD.org>
Subject:   Re: Failsafe on kernel panic
Message-ID:  <1358392725.32417.179.camel@revolution.hippie.lan>
In-Reply-To: <CAEW%2BogbQ3WD3ekVZ0GCgsd3UbL1YHzra-=jKEo6-1t11OMYkFg@mail.gmail.com>
References:  <CAEW%2BogYvJih5nEpFWPDjfRWxeURQYp=KM=WckmKB_VB=CxEUbQ@mail.gmail.com> <201301161513.27016.jhb@freebsd.org> <CAEW%2BogbQ3WD3ekVZ0GCgsd3UbL1YHzra-=jKEo6-1t11OMYkFg@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 2013-01-16 at 23:27 +0200, Sami Halabi wrote:
> Thank you for your response, very helpful.
> one question - how do i configure auto-reboot once kernel panic occurs?
> 
> Sami
> 

>From src/sys/conf/NOTES, this may be what you're looking for...

#
# Don't enter the debugger for a panic. Intended for unattended operation
# where you may want to enter the debugger from the console, but still want
# the machine to recover from a panic.
#
options 	KDB_UNATTENDED

But I think it only has meaning if you have option KDB in effect,
otherwise it should just reboot itself after a 15 second pause.

-- Ian






> 
> On Wed, Jan 16, 2013 at 10:13 PM, John Baldwin <jhb@freebsd.org> wrote:
> 
> > On Wednesday, January 16, 2013 2:25:33 pm Sami Halabi wrote:
> > > Hi everyone,
> > > I have a production box, in which I want to install new kernel without
> > any
> > > remotd kvn.
> > > my problem is its 2 hours away, and if a kernel panic occurs I got a
> > > problem.
> > > I woner if I can seg failsafe script to load the old kernel in case of
> > > psnic.
> >
> > man nextboot (if you are using UFS)
> >
> > --
> > John Baldwin
> >
> 
> 
> 





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1358392725.32417.179.camel>