AnsweredAssumed Answered

kexec and kdump crashkernel option

Question asked by Bandaru Lavanya on Feb 12, 2016
Latest reply on Feb 23, 2016 by Bandaru Lavanya

Hi all,

 

I am trying to take kernel crash backup log using kexec and kdump, using "kexec -l  vmlinux/uImage" i can able to load the image after that if i am giving  "kexec -e" board is rebooting immediately.

 

If i want to use "kexec -p vmlinux/uImage" it is giving like

 

root@(none) /home$ kexec -p vmlinux

Memory for crashkernel is not reserved

Please reserve memory by passing"crashkernel=X@Y" parameter to kernel

Then try to loading kdump kernel

 

I given in boot args like "crashkernel=128M@64M", Now kernel is not booting log i copied below.

 

MMC read: dev # 2, block # 2048, count 8192 ... 8192 blocks read: OK

## Booting kernel from Legacy Image at 10800000 ...

   Image Name:   Linux-3.0.35-2666-gbdde708-svn20

   Image Type:   ARM Linux Kernel Image (uncompressed)

   Data Size:    3462204 Bytes =  3.3 MB

   Load Address: 10008000

   Entry Point:  10008000

   Verifying Checksum ... OK

   Loading Kernel Image ... OK

OK

 

Starting kernel ...

 

What address i need to pass for crashkernel, can anyone help me please..

FYI : board is similar to imx6-sabresd

         DRAM:512M

          I cross compiled "kexec-tools-2.0.7" to get /sbin/kexec /sbin/kdump

 

        https://www.kernel.org/doc/Documentation/kdump/kdump.txt

 

Thanks & Regards,

Lavanya.B

Outcomes