From owner-freebsd-hackers@FreeBSD.ORG Thu Jan 17 04:45:55 2013 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id E590ACB3; Thu, 17 Jan 2013 04:45:55 +0000 (UTC) (envelope-from sodynet1@gmail.com) Received: from mail-ee0-f42.google.com (mail-ee0-f42.google.com [74.125.83.42]) by mx1.freebsd.org (Postfix) with ESMTP id E3AE82BB; Thu, 17 Jan 2013 04:45:54 +0000 (UTC) Received: by mail-ee0-f42.google.com with SMTP id b47so978525eek.1 for ; Wed, 16 Jan 2013 20:45:48 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:in-reply-to:references:date:message-id :subject:from:to:cc:content-type; bh=XyKU1Aect6zJaoi4QRKjATG61QSb7X5Or0Ikdb/E0u8=; b=jYqjrSrdb5gYfUWwD+SPbslFAq2un/2Cc0hG6mi2ZaasCumXjAahyDNQIZpaY3rVQa XjaByfLpvW1ISJrFL26STmSMu06VuJj3A01b8c8y7rKjoIYwk8n9SnsITPQhADtr6Qkn nuYxyR4G6XETP/02RIbOlyBXjIGD7z9ZZGUXo+yYkW8PYi91dRd4c9SNcwLUUbaW2pNL QzcgQQVJBxOy6UAY3YtZhm3aDD260Ako5VTO63nNzHmfsTScdO6Gal64XtgOeGXZLAL8 JyOB9Rpxr5A3yemX40pKndooA/6qYfBezHANKuDbkOFyn0lYd2kUOi8JBiXFh3kwoRdG dHYw== MIME-Version: 1.0 X-Received: by 10.14.216.70 with SMTP id f46mr9752694eep.12.1358397948295; Wed, 16 Jan 2013 20:45:48 -0800 (PST) Received: by 10.14.127.67 with HTTP; Wed, 16 Jan 2013 20:45:48 -0800 (PST) Received: by 10.14.127.67 with HTTP; Wed, 16 Jan 2013 20:45:48 -0800 (PST) In-Reply-To: <1358392725.32417.179.camel@revolution.hippie.lan> References: <201301161513.27016.jhb@freebsd.org> <1358392725.32417.179.camel@revolution.hippie.lan> Date: Thu, 17 Jan 2013 06:45:48 +0200 Message-ID: Subject: Re: Failsafe on kernel panic From: Sami Halabi To: Ian Lepore Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: freebsd-hackers@freebsd.org, freebsd-stable@freebsd.org X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 17 Jan 2013 04:45:56 -0000 Its only a kernel option? There is no flag to pass to the loader? SAMI =D7=91=D7=AA=D7=90=D7=A8=D7=99=D7=9A 17 =D7=91=D7=99=D7=A0=D7=95 2013 05:18= , =D7=9E=D7=90=D7=AA "Ian Lepore" : > 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 wa= nt > # 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 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 > > > > > > > > > > > >