Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1354703

Re: [PATCH 0/2] MIPS/PA-RISC: panic immediately when panic_on_oops

From Ralf Baechle <ralf@linux-mips.org>
Newsgroups linux.kernel
Subject Re: [PATCH 0/2] MIPS/PA-RISC: panic immediately when panic_on_oops
Date 2016-03-10 01:10 +0100
Message-ID <raWkX-7mX-31@gated-at.bofh.it> (permalink)
References <raSAF-4vK-7@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Wed, Mar 09, 2016 at 10:08:41PM +0200, Aaro Koskinen wrote:

> MIPS and PA-RISC want to sleep 5 seconds before panicking when
> panic_on_oops is set, with no apparent reason. We should remove
> this feature, since some users may want their systems to fail as
> quickly as possible.
> 
> Users who want to delay reboot after panic can use PANIC_TIMEOUT.
> 
> Also, this change will unify the behaviour with other architectures.

I did a bit of dumpster diving, commit cea6a4ba8acfba6f59cc9ed71e0d05cb770b9d9c
("[PATCH] panic_on_oops: remove ssleep()") removed the 5 second delay
from ARM, i386, ia64, powerpc, x86_64 and xtensa on 2006-03-07.

The idea once upon a time probably was to keep the panic message on the
console long enough so somebody has _maybe_ a chance to read it.  Which
is a pretty weak solution.

  Ralf

Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread


Thread

[PATCH 0/2] MIPS/PA-RISC: panic immediately when panic_on_oops Aaro Koskinen <aaro.koskinen@iki.fi> - 2016-03-09 21:10 +0100
  Re: [PATCH 0/2] MIPS/PA-RISC: panic immediately when panic_on_oops Ralf Baechle <ralf@linux-mips.org> - 2016-03-10 01:10 +0100

csiph-web