Subject: Re: Automatic reboot after kernel panic
To: Zbigniew Baniewski <zb@ispid.com.pl>
From: Geert Hendrickx <ghen@NetBSD.org>
List: netbsd-users
Date: 09/23/2006 13:33:10
--WIyZ46R2i8wDzkSu
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

On Fri, Sep 22, 2006 at 10:41:45PM +0200, Quentin Garnier wrote:
> On Fri, Sep 22, 2006 at 10:43:52PM +0200, Zbigniew Baniewski wrote:
> > Linux kernel offers a possibility mentioned in the subject (on a
> > running system, one can put a value in /proc/sys/kernel, and the system
> > should reboot after that many seconds after a panic; it's very useful
> > for a remote system).
> >
> > I'm not sure: does there exist such functionality in NetBSD?
>
> If you set ddb.onpanic to 0, NetBSD will reboot after a panic.

Or, if you want it hard-coded in your kernel, use "options DDB_ONPANIC=0".

	Geert

--WIyZ46R2i8wDzkSu
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (NetBSD)

iQEVAwUBRRUbdoLS9urEu56fAQLXYQf/RlGr6YKpJ5MpEWtLoWHjLU0tpl260CIk
cWtDPpnGMChBQrO904qwJIErvP8V0jT9KUBoyeebTmqpDa6Ry9FOQqhznrU/577G
wTaU1MnIsZZCP2eRcv/DX4uJ5kjMmiVfmfcxYKG0R2CHUArDkBh3lld5kGmqQ455
8C39YseGoqevpKVQ19CFGX+9oXkJXcJn4XWPWaBMY5j0AtIth1fGZIjNuEs9VaNf
3MficlV3K2bALgZV4dtXbSrK708SDcJICY7f+BvUx8LChZc3idaYAADqiSGoyAVb
uzSYtpMNLcPgbi0p5kmrvwLhclXrWPZzpiZZB/6EIIifMTy56sO8Zw==
=7o67
-----END PGP SIGNATURE-----

--WIyZ46R2i8wDzkSu--