Wind River Support Network

HomeDefectsLIN5-19224
Fixed

LIN5-19224 : [cav-octeon2] kexec can't be run and print 'Killed'(Only cgl kernel)

Created: Aug 12, 2014    Updated: Dec 19, 2017
Resolved Date: Aug 18, 2014
Found In Version: 5.0.1
Fix Version: 5.0.1.18
Severity: Standard
Applicable for: Wind River Linux 5
Component/s: BSP - Async

Description

root@cav6100:~# cat /proc/version
Linux version 3.4.88-grsec-WR5.0.1.0_cgl  (gcc version 4.6.3 (Wind River Linux Sourcery CodeBench 4.6a-136) ) #1 SMP PREEMPT Thu Aug 7 15:35:50 CST 2014
root@cav6100:~# cat /proc/cmdline
 bootoctlinux 0x20000000 root=/dev/nfs rw nfsroot=128.224.162.210:/tftpboot/octeon2/rootfs ip=128.224.162.111:128.224.162.210:128.224.162.1:255.255.255.0:cav6100:mgmt0:off numcores=4 console=ttyS0,115200
root@cav6100:~#
root@cav6100:~# kexec -h
Killed
root@cav6100:~# kexec
Killed
root@cav6100:~# which kexec
/usr/sbin/kexec
root@cav6100:~# file /usr/sbin/kexec
/usr/sbin/kexec: ELF 64-bit MSB executable, MIPS, MIPS64 rel2 version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.34, with unknown capability 0x410000000f676e75 = 0x1000000070403, stripped
root@cav6100:~#
root@cav6100:~# kexec -l ./vmlinux --command-line="`cat /proc/cmdline`"
Killed
root@cav6100:~#

Steps to Reproduce

1) configure --enable-board=cav-octeon2 --enable-kernel=cgl --enable-rootfs=glibc-cgl --with-template=feature/kexec --enable-parallel-pkgbuilds=24 --enable-jobs=24
2) make all
3) deploy images and boot target.
4) run 'kexec -l ./vmlinux --append="`cat /proc/cmdline`" '
    or 'kexec -h'

Check the logs.

Other Downloads


Live chat
Online