1 From: Jay Lan <jlan@sgi.com>
2 Subject: Fix CONFIG_KDB_KDUMP on xSeries
3 Patch-mainline: not yet
6 This patch fixes a problem that the capture kernel crashes with various
7 backtraces after the machine has been crashed (both sysrq-trigger and panic()).
8 Machines were that problem could reproduced at SUSE were molitor.suse.de and
11 KDB was turned off in that scenarios.
13 That patch succeeds in following scenarios:
16 modprobe crasher call_panic
19 echo c > /proc/sysrq-trigger
28 modprobe crasher call_panic
30 That has to be investigated. But I think that's unrelated to that patch,
31 and it's no regression.
34 Signed-off-by: Jay Lan <jlan@sgi.com>
35 Signed-off-by: Bernhard Walle <bwalle@suse.de>
38 arch/x86/kdb/kdba_support.c | 4 +---
39 1 file changed, 1 insertion(+), 3 deletions(-)
41 --- a/arch/x86/kdb/kdba_support.c
42 +++ b/arch/x86/kdb/kdba_support.c
43 @@ -35,8 +35,6 @@ void kdba_kdump_prepare(struct pt_regs *
47 - machine_crash_shutdown_begin();
49 for (i = 1; i < NR_CPUS; ++i) {
52 @@ -44,7 +42,7 @@ void kdba_kdump_prepare(struct pt_regs *
53 KDB_STATE_SET_CPU(KEXEC, i);
56 - machine_crash_shutdown_end(regs);
57 + machine_crash_shutdown(regs);
60 extern void halt_current_cpu(struct pt_regs *);