Wind River Support Network

HomeDefectsLIN5-6779
Fixed

LIN5-6779 : xilinx-zynq: kexec/kdump can not work

Created: Mar 5, 2013    Updated: Dec 19, 2017
Resolved Date: Mar 17, 2013
Found In Version: 5.0.1
Fix Version: 5.0.1.1
Severity: Standard
Applicable for: Wind River Linux 5
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