Wind River Support Network

HomeDefectsLIN6-3835
Not to be fixed

LIN6-3835 : xilinx-zynq: kexec/kdump can not work

Created: Mar 5, 2013    Updated: Apr 19, 2018
Resolved Date: Apr 17, 2018
Previous ID: LIN5-6783, LIN6-3050
Found In Version: 6.0
Severity: Standard
Applicable for: Wind River Linux 6
Component/s: BSP

Description

ashkernel '{print $1}'`"-p ./uImage.kdump --append="`cat /proc/cmdline|awk -F cra
Memory for crashkernel is not reserved
Please reserve memory by passing "crashkernel=X@Y" parameter to the kernel
Then try loading kdump kernel
root@localhost:/#

Workaround

Need to update kexec/kdump tools

Steps to Reproduce

1. To generate kexec boot kernel, configuration with:
  " --with-template=feature/kexec"

And build the kernel

 $ make -C build linux-windriver

2. To generate dump-capture kernel, configuration with:
  " --with-template=feature/kdump"

And build the kernel

 $ make -C build linux-windriver

3. Copy the kexec boot kernel to rootfs with name "uImage.kexec" and 
copy the dump-capture kernel to rootfs with name "uImage.kdump" 

4. Test kexec:

Boot the board with the kexec boot kernel. And execute following commands:

 $ kexec -l ./uImage.kexec --append="`cat /proc/cmdline`"
 $ kexec -e

5. Test kdump:

Boot the board with the kexec boot kernel and append "crashkernel=128M@64M"
to the end of the kernel command line. And execute following commands:

 $ kexec -p ./uImage.kdump --append="`cat /proc/cmdline|awk -F crashkernel '{print $1}'`"
 $ echo c > /proc/sysrq-trigger

Other Downloads


Live chat
Online