copy of /proc/vmcore

WANG Cong xiyou.wangcong at
Tue Jun 14 04:07:47 EDT 2011

On Thu, 02 Jun 2011 18:34:29 -0300, Yermandu Patapitafious wrote:

> Hello,
> The /proc/vmcore is not present before or after the crash
> I load the kernel from grub pass parameter: crashkernel=256M mem=2048M
> bootmem_debug
> and then kexec -p bzImage --append="root=/dev/sda5 maxcpus=1 irqpool
> reset_devices"
> so i send request : echo c > /proc/sysrq-trigger
> ok the kernel broken is loaded
> Now i have a question:
> The system is stopped and i receive the message: Switching back to
> console
> I assume that i need force reboot in this point, because system is
> freezed.
> i dont see the /proc/vmcore , /dev/oldmem contains few datas

Do you have CONFIG_PROC_VMCORE=y in your kernel config?

And after you enable it, did you see "elfcorehdr=X" is passed to your 
second kernel?

More information about the kexec mailing list