Wind River Support Network

HomeDefectsLIN5-7148
Fixed

LIN5-7148 : [Feature Testing][networking]: kexec-test.sh in CUT failed on BSP: cav-octeon2

Created: May 21, 2013    Updated: Dec 19, 2017
Resolved Date: May 30, 2013
Found In Version: 5.0.1
Fix Version: 5.0.1.4
Severity: Severe
Applicable for: Wind River Linux 5
Component/s: BSP

Description

Problem Description
======================
kexec-test.sh in CUT failed on BSP: cav-octeon2

Expected Behavior
======================
test case pass.

Observed Behavior
======================
root@CN68xx_2:/opt/cut# cat testlog-May-18-13-05\:03.log 

----------------------------------------
Start testcase  kexec basic test
----------------------------------------
Testing kexec, this test will reboot your target(rebooting indicate PASS)....: /boot
vmlinux
Overlapping memory segments at 0x1c5c000
****************************************
Automatic kexec failed.
Manual execution required.
----------------------------------------
1. load the kernel to kexec into
   > kexec -l <kernel> --append="\'cat /proc/cmdline`"
2. execute the kernel
   > kexec -e
If successful, the new kernel will start without
the target having to reboot through the BIOS.
****************************************
Error step : test failed
Test Result : [ FAILED ]
kexec basic test
root@CN68xx_2:/opt/cut#
root@CN68xx_2:/opt/cut# cat /proc/cmdline 
bootoctlinux 0x20000000 =root=/dev/nfs rw nfsroot=128.224.165.20:/export/pxeboot/vlm-boards/21256/rootfs ip=128.224.178.86:128.224.178.20:128.224.178.1:255.255.254.0:CN68xx_2:mgmt0:off numcores=32 console=ttyS0,115200
root@CN68xx_2:/opt/cut# kexec -l /boot/vmlinux --append="bootoctlinux 0x20000000 =root=/dev/nfs rw nfsroot=128.224.165.20:/export/pxeboot/vlm-boards/21256/rootfs ip=128.224.178.86:128.224.178.20:128.224.178.1:255.255.254.0:CN68xx_2:mgmt0:off numcores=32 console=ttyS0,115200"
Overlapping memory segments at 0x1c5c000
root@CN68xx_2:/opt/cut# kexec -e
Nothing has been loaded!
root@CN68xx_2:/opt/cut# 

Steps to Reproduce

1 configure a project
/wrlinux-x/wrlinux/configure --enable-board=cav-octeon2 --enable-kernel=cgl --enable-rootfs=glibc-cgl --enable-parallel-pkgbuilds=16 --enable-jobs=8 --with-layer=/wr-testing/cgl,/buildarea2/fyan/wr-testing/networking --with-template=feature/cut
2. make fs
3. start the target with the kernel and rootfs
4. on target run: cd /opt/cut; ./cgl_test.sh -e avl.22.0; cat /proc/cmdline; kexec -l /boot/vmlinux --append="bootoctlinux 0x20000000 =root=/dev/nfs rw nfsroot=128.224.165.20:/export/pxeboot/vlm-boards/21256/rootfs ip=128.224.178.86:128.224.178.20:128.224.178.1:255.255.254.0:CN68xx_2:mgmt0:off numcores=32 console=ttyS0,115200";kexec -e

Other Downloads


Live chat
Online