linux_dsm_epyc7002/arch/ia64
Takao Indoh 072f042df3 [IA64] kdump: Add crash_save_vmcoreinfo for INIT
This patch fixes the problem that kdump by INIT does not work if we use
makedumpfile. The problem is that after INIT is issued, 2nd kernel
starts and makedumpfile fails with the following error message.

/proc/vmcore doesn't contain vmcoreinfo.
'-x' or '-i' must be specified.

makedumpfile Failed.

The cause of this problem is that kernel does not call
crash_save_vmcoreinfo. When kdump starts by panic or sysrq-trigger,
crash_save_vmcoreinfo is called by crash_kexec. But this function is not
called when kdump starts by INIT. The Attached patch fixes this.

This patch just adds crash_save_vmcoreinfo into machine_kdump_on_init so
that crash_save_vmcoreinfo can be called when kdump starts by INIT.
I tested this patch with linux-2.6.25-rc9 and I confirmed it worked.

Signed-off-by: Takao Indoh <indou.takao@jp.fujitsu.com>
Signed-off-by: Tony Luck <tony.luck@intel.com>
2008-04-15 11:20:53 -07:00
..
configs [IA64] move defconfig to arch/ia64/configs/ 2008-03-04 14:19:06 -08:00
dig [PATCH] tty: Remove include of screen_info.h from tty.h 2006-07-10 13:24:16 -07:00
hp [IA64] make IOMMU respect the segment boundary limits 2008-04-09 10:37:21 -07:00
ia32 [IA64] remove unnecessary nfs includes from sys_ia32.c 2008-03-06 09:18:12 -08:00
kernel [IA64] kdump: Add crash_save_vmcoreinfo for INIT 2008-04-15 11:20:53 -07:00
lib [IA64] export copy_page() to modules 2007-12-07 16:10:19 -08:00
mm [IA64] Fix NUMA configuration issue 2008-04-11 15:21:35 -07:00
oprofile Combine instrumentation menus in kernel/Kconfig.instrumentation 2007-10-19 11:53:54 -07:00
pci [IA64] use dev_printk in video quirk 2008-03-06 09:20:07 -08:00
scripts [IA64] don't assume that unwcheck.py is executable 2007-12-07 14:42:08 -08:00
sn [IA64] Replace explicit jiffies tests with time_* macros. 2008-04-09 10:28:10 -07:00
install.sh Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
Kconfig [IA64] make IOMMU respect the segment boundary limits 2008-04-09 10:37:21 -07:00
Kconfig.debug [PATCH] Move Kprobes and Oprofile to "Instrumentation Support" menu 2005-11-07 07:53:35 -08:00
Makefile [IA64] move defconfig to arch/ia64/configs/ 2008-03-04 14:19:06 -08:00
module.lds Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00