Wind River Support Network

HomeDefectsLIN7-1285
Not to be fixed

LIN7-1285 : kexec is not working

Created: Oct 27, 2014    Updated: Apr 19, 2018
Resolved Date: Apr 17, 2018
Found In Version: 7.0
Severity: Standard
Applicable for: Wind River Linux 7
Component/s: BSP

Description

I tried to test kexec on WRL 7 for upgrading WRL7 training labs, but found it is not working. I create this defect for our training team to track.

I configured wrl7 with KEXEC, CRASH_DUMP, and RELOCATABLE enabled. Then on a QEMU target, I failed to run kexec due to memory not reserved.

In fact, I reserved 256M@64M in the boot line:
# cat /proc/cmdline 
console=ttyS0,115200 ip=dhcp root=/dev/nfs nfsroot=10.0.2.2:/home/wruser/workspace-wrl7/export/dist,nfsvers=3,port=3049,mountprog=21111,nfsprog=11111,udp,mountport=3048 rw clocksource=pit oprofile.timer=1 crashkernel=256M@64M UMA=1 

Now if I run kexec, I failed:
# kexec -p qemux86-64-bzImage-WR7.0.0.0_standard
Memory for crashkernel is not reserved
Please reserve memory by passing"crashkernel=X@Y" parameter to kernel
Then try to loading kdump kernel
Live chat
Online