lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Wed, 12 Mar 2008 11:40:36 +0100
From:	"Bart Van Assche" <bart.vanassche@...il.com>
To:	"Jan Engelhardt" <jengelh@...putergmbh.de>
Cc:	"Prakhar Krishna" <prakhar2@...il.com>,
	linux-kernel@...r.kernel.org
Subject: Re: How to compile kernel so it automatically reboots upon a crash instead of generating stack trace and then hang.

On Wed, Mar 12, 2008 at 6:04 AM, Jan Engelhardt <jengelh@...putergmbh.de> wrote:
>
>  On Mar 11 2008 23:52, Prakhar Krishna wrote:
>  >
>  >[I did search the mailing lists archives and the Web but did not find an answer,
>  > apololgies if this is duplicate question]
>  >
>  >i need my linux box to automatically reboot if it ever runs into a
>  >kernel panic/crash etc.
>
>  panic=<timeout> boot parameter, as per
>  Documentation/kernel-parameters.txt.

The best solution in this case is a hardware watchdog. Hardware
watchdogs are present on some server motherboards, most embedded x86
CPU boards and also in PowerPC CPU's. The Linux kernel supports some
hardware watchdogs, see also Device Drivers/Watchdog Timer Support in
the Linux kernel config.

The nmi_watchdog=<timeout> parameter might be interesting too. See
also Documentation/nmi_watchdog.txt.

Bart.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ