From owner-freebsd-hackers@FreeBSD.ORG Sat Feb 2 10:26:25 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 631A7AF3 for ; Sat, 2 Feb 2013 10:26:25 +0000 (UTC) (envelope-from andrey@zonov.org) Received: from mail-la0-x22e.google.com (la-in-x022e.1e100.net [IPv6:2a00:1450:4010:c03::22e]) by mx1.freebsd.org (Postfix) with ESMTP id D193D93B for ; Sat, 2 Feb 2013 10:26:24 +0000 (UTC) Received: by mail-la0-f46.google.com with SMTP id fq12so3435349lab.19 for ; Sat, 02 Feb 2013 02:26:23 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-received:sender:message-id:date:from:user-agent:mime-version:to :cc:subject:references:in-reply-to:x-enigmail-version:content-type :x-gm-message-state; bh=w+XZXqq6QvkBDeRMctuoiAJsg20NV90O+w5bNf1NOE0=; b=Xut9r+3jCkFoj2v+ym7r/IzHVu2ZGlAPxgk+AAHndsGfqKbw7s//MJz56Vt6UStTt/ juBtGxk1D0aak4VXnvLYa+m7yYAvnxLgW+grkjjaCrASsxyioQ5WdV8MZiVcngv55Cm4 v2y1zDb4tAUsjZWM82/T2GMAmexB937nnI+jmmFHxJodmJ4Nn/vNUsAykd5RwXF8q0ll Qm6cCA0YIabOzN/bfIXrQLsXR/gqr3OZ0k3mUhkUHI0VAEwgf3Qptmj5xn6D2abP+MVf TzcctsI2XVybzgC6ez5xETUufYgLWjXJqoAQttFh8+xMArlgp05rpeODuqQZN24gCcXj Nn5g== X-Received: by 10.152.122.100 with SMTP id lr4mr389463lab.28.1359800783813; Sat, 02 Feb 2013 02:26:23 -0800 (PST) Received: from zont-osx.local (ppp95-165-134-17.pppoe.spdop.ru. [95.165.134.17]) by mx.google.com with ESMTPS id u5sm3361180lbm.8.2013.02.02.02.26.21 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sat, 02 Feb 2013 02:26:22 -0800 (PST) Sender: Andrey Zonov Message-ID: <510CE9CB.6070901@FreeBSD.org> Date: Sat, 02 Feb 2013 14:26:19 +0400 From: Andrey Zonov User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:17.0) Gecko/20130107 Thunderbird/17.0.2 MIME-Version: 1.0 To: Willem Jan Withagen Subject: Re: Failsafe on kernel panic References: <201301161513.27016.jhb@freebsd.org> <1358392725.32417.179.camel@revolution.hippie.lan> <50FBFA2C.2010504@digiware.nl> In-Reply-To: <50FBFA2C.2010504@digiware.nl> X-Enigmail-Version: 1.5 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="----enig2MVDUAHWIKNSFOUDCWMAO" X-Gm-Message-State: ALoCoQl7xK9VNBFQgbwBrMSZNBpkBPbdAXLTpWOmr9xSFcuFFcYCO5ehJXd7WnQ5FyPDfDiYPsD7 Cc: freebsd-hackers@FreeBSD.org, Sami Halabi , "freebsd-stable@freebsd.org" , Ian Lepore 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: Sat, 02 Feb 2013 10:26:25 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) ------enig2MVDUAHWIKNSFOUDCWMAO Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On 1/20/13 6:07 PM, Willem Jan Withagen wrote: > On 17-1-2013 4:18, Ian Lepore wrote: >> 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 occur= s? >>> >>> 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 operat= ion >> # 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. >=20 > Well it is not the magical fix-all solution. >=20 > Last night I had to drive to the colo (lucky for me a 5 min drive.) > because I could not get a system to reboot/recover from a crash. >=20 > Upon arrival the system was crashed and halted on the message: > rebooting in 15 sec. >=20 I've seen the same thing many and many times. Now I'm using ddb to save crash dump and reboot machine on panic. It's much more reliable. --=20 Andrey Zonov ------enig2MVDUAHWIKNSFOUDCWMAO Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.18 (Darwin) Comment: GPGTools - http://gpgtools.org iQEcBAEBAgAGBQJRDOnOAAoJEBWLemxX/CvTPfMH/R2X0hi913nmL1Tvrw+zMGqz MLFv+karGxYuHeQgquKv85/ShW07pCGeo0raeb+V0RAD3hoZaBpqnOYjGQdK3ju9 0bOhpHezexb6U6XmFMuLwhKRdh5aZU4DkfVOWLudKGHFIic/NUmu1JKa5XOLGo2V frmIbQnzIgaK+TLDylWwFwtA9V1AsEMWQuHxVt1LJ3MZzMcJy3Gi1GVHIieg/QhH nGE3eNYKylvmSkvlnPAdS/pQgO9du9JkxdhdSlZKwII5FuMEucinA23sarTAvKJ3 SPYTKYpyTkTu+0L9a98aR6CnSjmuV7so9gYnxDTVV1tiWONoXWpnBlioLNgu2Bo= =3ZmE -----END PGP SIGNATURE----- ------enig2MVDUAHWIKNSFOUDCWMAO--