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


Groups > linux.kernel > #1354417 > unrolled thread

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

Started byAaro Koskinen <aaro.koskinen@iki.fi>
First post2016-03-09 21:10 +0100
Last post2016-03-10 01:10 +0100
Articles 2 — 2 participants

Back to article view | Back to linux.kernel


Contents

  [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

#1354417 — [PATCH 0/2] MIPS/PA-RISC: panic immediately when panic_on_oops

FromAaro Koskinen <aaro.koskinen@iki.fi>
Date2016-03-09 21:10 +0100
Subject[PATCH 0/2] MIPS/PA-RISC: panic immediately when panic_on_oops
Message-ID<raSAF-4vK-7@gated-at.bofh.it>
Hi,

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.

Aaro Koskinen (2):
  MIPS: panic immediately when panic_on_oops
  PA-RISC: panic immediately when panic_on_oops

 arch/mips/kernel/traps.c   | 5 +----
 arch/parisc/kernel/traps.c | 5 +----
 2 files changed, 2 insertions(+), 8 deletions(-)

-- 
2.4.0

[toc] | [next] | [standalone]


#1354703

FromRalf Baechle <ralf@linux-mips.org>
Date2016-03-10 01:10 +0100
Message-ID<raWkX-7mX-31@gated-at.bofh.it>
In reply to#1354417
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

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web