Question about forcing kernel panic on PowerMac G5 by kexec command
suchada.pitchayasamanya at toshiba.co.jp
Tue Apr 22 20:41:17 EDT 2008
Thank you very much for your reply.
> What kernel version you are trying? Also what level of kexec-tools you
I've tried kernel 2.6.24 and 2.6.25 with the kexec-tools-testing 20080324,
the both of them gave me the same result.
> I hope you are aware that you need two different kernels for kdump,
> first one is meant for normal use and another one is kdump kernel. Did
> you compile the kdump kernel with CONFIG_CRASH_DUMP?
Yes, I built 2 kernels the first one as the system kernel and the second one
as the dump-capture kernel(with CONFIG_CRASH_DUMP).
Another notice is when I pre-loaded the dump-capture kernel(kexec -p
/boot/vmlinux...), I got
Modified cmdline: elfcorehdr=41188K savemaxmem=0M ...
Why the savemaxmem=0M? since it should be some value else.
Do you have any idea about this?
From: Mohan Kumar M [mailto:mohan at in.ibm.com]
Sent: Tuesday, April 22, 2008 2:35 PM
Cc: kexec at lists.infradead.org
Subject: Re: Question about forcing kernel panic on PowerMac G5 by kexec
> Hello all,
> I'm working on PowerMac G5 complied with CONFIG_KEXEC = y.
> It's work fine with Kexec command option l ( kexec -l /boot/vmlinux. )
> but after the capture kernel pre-loading ( by kexec -p /boot/vmlinux. ),
What kernel version you are trying? Also what level of kexec-tools you use?
I hope you are aware that you need two different kernels for kdump,
first one is meant for normal use and another one is kdump kernel. Did
you compile the kdump kernel with CONFIG_CRASH_DUMP?
> when I forced kernel panic by "echo c > /proc/sysrq-trigger" the console
> kept showing "Sending IPI to other CPU" and did not go to the next step.
> According to this list there was some problem about kdump in ppc970 based
CPU which PowerMac's CPU are.
There was a interrupt routing problem with specific ppc970 cpu type, but
that problem is fixed now.
More information about the kexec