]> git.baikalelectronics.ru Git - kernel.git/commit
[PATCH] pause_on_oops command line option
authorAndrew Morton <akpm@osdl.org>
Thu, 23 Mar 2006 11:00:57 +0000 (03:00 -0800)
committerLinus Torvalds <torvalds@g5.osdl.org>
Thu, 23 Mar 2006 15:38:16 +0000 (07:38 -0800)
commit7ffab97b4a3b8fd19c70b4f33d0623d5a5d28a68
tree84be163fdc5fe36eb8d3f1aa5e60bfd1d794c641
parent66c2e5b467c28e4e4a384bb147aeefe6e47d8776
[PATCH] pause_on_oops command line option

Attempt to fix the problem wherein people's oops reports scroll off the screen
due to repeated oopsing or to oopses on other CPUs.

If this happens the user can reboot with the `pause_on_oops=<seconds>' option.
It will allow the first oopsing CPU to print an oops record just a single
time.  Second oopsing attempts, or oopses on other CPUs will cause those CPUs
to enter a tight loop until the specified number of seconds have elapsed.

The patch implements the infrastructure generically in the expectation that
architectures other than x86 will find it useful.

Cc: Dave Jones <davej@codemonkey.org.uk>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Documentation/kernel-parameters.txt
arch/i386/kernel/traps.c
arch/i386/mm/fault.c
include/linux/kernel.h
kernel/panic.c