From owner-freebsd-stable@FreeBSD.ORG  Sat Feb  2 10:26:25 2013
Return-Path: <owner-freebsd-stable@FreeBSD.ORG>
Delivered-To: freebsd-stable@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 CEB0AAF6
 for <freebsd-stable@freebsd.org>; Sat,  2 Feb 2013 10:26:25 +0000 (UTC)
 (envelope-from andrey@zonov.org)
Received: from mail-la0-x22b.google.com (la-in-x022b.1e100.net
 [IPv6:2a00:1450:4010:c03::22b])
 by mx1.freebsd.org (Postfix) with ESMTP id 5676B93D
 for <freebsd-stable@freebsd.org>; Sat,  2 Feb 2013 10:26:25 +0000 (UTC)
Received: by mail-la0-f43.google.com with SMTP id ek20so3377428lab.2
 for <freebsd-stable@freebsd.org>; Sat, 02 Feb 2013 02:26:24 -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=Je7rCaxpQvCRqfP+Zm/OgqBKUhlDS5f6p/1OQyk+Jrq6MyNxPmREbSAijJwaQz2E0L
 SqXffus0Dn8LgOKhIzvIepDuH16b3o2HCG49bNeb7Yf9uG21DABkbUg9Cb6duoznbtMG
 +XHffyGru+726lt2973vOS7p/pR6HKm/V15nTyKgqkiX2SwmWJy+D236UqCMB99+d4Oi
 2tgFwvH2faoeExXgFgeNVVIpn9uHP2DFXm6qqBWxk04GOzMZKqUqQUJ9rDKeO1IpS/F2
 fEoY8hXLvA0tHcLagwV974eAiIo0QGIQ9tH5a87LQ7nwDg9yHRbnH0l4vAnPgXed0JkD
 kIrw==
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 <andrey@zonov.org>
Message-ID: <510CE9CB.6070901@FreeBSD.org>
Date: Sat, 02 Feb 2013 14:26:19 +0400
From: Andrey Zonov <zont@FreeBSD.org>
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 <wjw@digiware.nl>
Subject: Re: Failsafe on kernel panic
References: <CAEW+ogYvJih5nEpFWPDjfRWxeURQYp=KM=WckmKB_VB=CxEUbQ@mail.gmail.com>
 <201301161513.27016.jhb@freebsd.org>
 <CAEW+ogbQ3WD3ekVZ0GCgsd3UbL1YHzra-=jKEo6-1t11OMYkFg@mail.gmail.com>
 <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: ALoCoQlnnLWq5qSFHRmUiWHzEXaXsibcexiJSHyHzUjNgLgn5TkE57NSU2STKJcFkawDVPza3c9Z
Cc: freebsd-hackers@FreeBSD.org, Sami Halabi <sodynet1@gmail.com>,
 "freebsd-stable@freebsd.org" <freebsd-stable@FreeBSD.org>,
 Ian Lepore <ian@FreeBSD.org>
X-BeenThere: freebsd-stable@freebsd.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: Production branch of FreeBSD source code <freebsd-stable.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/options/freebsd-stable>,
 <mailto:freebsd-stable-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-stable>
List-Post: <mailto:freebsd-stable@freebsd.org>
List-Help: <mailto:freebsd-stable-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-stable>,
 <mailto:freebsd-stable-request@freebsd.org?subject=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--