From owner-freebsd-hackers@FreeBSD.ORG Thu Jan 17 06:45:52 2013 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 72599297; Thu, 17 Jan 2013 06:45:52 +0000 (UTC) (envelope-from sodynet1@gmail.com) Received: from mail-ee0-f52.google.com (mail-ee0-f52.google.com [74.125.83.52]) by mx1.freebsd.org (Postfix) with ESMTP id 913B1820; Thu, 17 Jan 2013 06:45:51 +0000 (UTC) Received: by mail-ee0-f52.google.com with SMTP id b15so1015562eek.39 for ; Wed, 16 Jan 2013 22:45:50 -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=69I0/3QjPXdUaHeCFXq0MLonfVxOBlFbs3v/31VUX1Q=; b=0K3Fu1dphxP9Pzv6+GkqMoRC/HB+ihBkcTzlhrQz4KgFWiAa9ERTjc/eA3Sram6Kkx AT2P9F0RqbYAasc672XCx6WkmtuWvNR2A9yoVf7qdi4O7TjpFjkVekQ2g3Cv3zqg4hJ1 LmR9BzzkvwnVh5dZ3F3bKAw+DOT7sMRpFd+DOmpHt3yKVxxTgMxkraAzZmIQlUIL2Q27 3LmSr+yBhr2AYIeO/PV7ZJGNfTBWzX6QvMcE4DvXIxDZ7sZe2PHjIxNBoUGQzONPx0Py E/YY0E95CI4CzuVRIuhbN7esflkITFlgfk81afActnUByp3veXAuQ36Jl8dBTpPCp7Lb y9ng== MIME-Version: 1.0 X-Received: by 10.14.221.5 with SMTP id q5mr10489754eep.33.1358404739884; Wed, 16 Jan 2013 22:38:59 -0800 (PST) Received: by 10.14.127.67 with HTTP; Wed, 16 Jan 2013 22:38:59 -0800 (PST) In-Reply-To: References: <201301161513.27016.jhb@freebsd.org> <1358392725.32417.179.camel@revolution.hippie.lan> Date: Thu, 17 Jan 2013 08:38:59 +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 06:45:52 -0000 btw: i don't see any options in my kernel config for KBD / Unatteneded , th eonly thing that mention its is: device ukbd Sami On Thu, Jan 17, 2013 at 6:45 AM, Sami Halabi wrote: > 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 operatio= n >> # 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 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 cas= e >> of >> > > > psnic. >> > > >> > > man nextboot (if you are using UFS) >> > > >> > > -- >> > > John Baldwin >> > > >> > >> > >> > >> >> >> --=20 Sami Halabi Information Systems Engineer NMS Projects Expert FreeBSD SysAdmin Expert