Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 02 Feb 2013 14:26:19 +0400
From:      Andrey Zonov <zont@FreeBSD.org>
To:        Willem Jan Withagen <wjw@digiware.nl>
Cc:        freebsd-hackers@FreeBSD.org, Sami Halabi <sodynet1@gmail.com>, "freebsd-stable@freebsd.org" <freebsd-stable@FreeBSD.org>, Ian Lepore <ian@FreeBSD.org>
Subject:   Re: Failsafe on kernel panic
Message-ID:  <510CE9CB.6070901@FreeBSD.org>
In-Reply-To: <50FBFA2C.2010504@digiware.nl>
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> <50FBFA2C.2010504@digiware.nl>

next in thread | previous in thread | raw e-mail | index | archive | help
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--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?510CE9CB.6070901>