Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 17 Jan 2013 16:14:21 +0200
From:      Sami Halabi <sodynet1@gmail.com>
To:        Ian Lepore <ian@freebsd.org>
Cc:        freebsd-hackers@freebsd.org
Subject:   Re: Failsafe on kernel panic
Message-ID:  <CAEW%2BogY_SK-D0eQf-jqX3RSxpXZbVK_OmRUh=Ff2yO%2BjigNT_A@mail.gmail.com>
In-Reply-To: <1358429728.32417.193.camel@revolution.hippie.lan>
References:  <CAEW%2BogYvJih5nEpFWPDjfRWxeURQYp=KM=WckmKB_VB=CxEUbQ@mail.gmail.com> <201301161513.27016.jhb@freebsd.org> <CAEW%2BogbQ3WD3ekVZ0GCgsd3UbL1YHzra-=jKEo6-1t11OMYkFg@mail.gmail.com> <1358392725.32417.179.camel@revolution.hippie.lan> <CAEW%2BogaTKTdG=dvZfR1=E3t5v_X98bXTrGWrzp=pNexUa3aYPg@mail.gmail.com> <CAEW%2Bogb4Zj6F-usbYyCbw9yHx-DaigT2G07HTXsqT1MvY=K2Eg@mail.gmail.com> <1358429728.32417.193.camel@revolution.hippie.lan>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi,
Upon panic no auto restart occurs.
How do I know/activate these watchdogs?
Sami
=D7=91=D7=AA=D7=90=D7=A8=D7=99=D7=9A 17 =D7=91=D7=99=D7=A0=D7=95 2013 15:35=
, =D7=9E=D7=90=D7=AA "Ian Lepore" <ian@freebsd.org>:

> On Thu, 2013-01-17 at 08:38 +0200, Sami Halabi wrote:
> > btw: i don't see any options in my kernel config for KBD / Unatteneded =
,
> th
> > eonly thing that mention its
> > is: device ukbd
> >
> > Sami
>
> I think if you don't have any kdb options turned on, then a panic should
> automatically store a crashdump to swap, then reboot the machine.  If
> that's not working, perhaps it locks up trying to store the dump?
>
> If the hardware has a watchdog timer, enabling that might be the best
> way to ensure a reboot on any kind of crash or hang.
>
> -- Ian
>
>
> > On Thu, Jan 17, 2013 at 6:45 AM, Sami Halabi <sodynet1@gmail.com> wrote=
:
> >
> > > Its only a kernel option? There is no flag to pass to the loader?
> > >
> > > SAMI
>  <>  17  2013 05:18,  "Ian Lepore" <ian@freebsd.org>:
> > >
> > > 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 sti=
ll
> > >> 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
> > >> > >
> > >> >
> > >> >
> > >> >
> > >>
> > >>
> > >>
> >
> >
> > --
> > Sami Halabi
> > Information Systems Engineer
> > NMS Projects Expert
> > FreeBSD SysAdmin Expert
> > _______________________________________________
> > freebsd-hackers@freebsd.org mailing list
> > http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
> > To unsubscribe, send any mail to "
> freebsd-hackers-unsubscribe@freebsd.org"
>
>
>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAEW%2BogY_SK-D0eQf-jqX3RSxpXZbVK_OmRUh=Ff2yO%2BjigNT_A>