Wind River Support Network

HomeDefectsLIN1021-59
Not to be fixed

LIN1021-59 : [LTP] vma05 vdso bug not patched

Created: May 17, 2021    Updated: Aug 18, 2021
Resolved Date: Aug 18, 2021
Found In Version: 10.21.20.1
Severity: Standard
Applicable for: Wind River Linux LTS 21
Component/s: Kernel

Description

setup.sh --machines=xilinx-zynq --templates feature/docker --distro wrlinux --accept-eula=yes --dl-layers
add ltp to image
bitbake wrlinux-image-std

Boot zc706/zc702 by NFS:
...
Kernel command line: console=ttyPS0,115200n8 root=/dev/nfs rw nfsroot=128.224.178.20:/export/pxeboot/vlm-boards/28661/rootfs,tcp ip=128.224.179.49:128.224.178.20:128.224.178.1:255.255.254.0:zc706:eth0:off ignore_loglevel earlyprintk noinitrd selinux=0 enforcing=0 kmemleak=on
...

Boot the target by sda1:
umount /dev/mmcblk0p*
mkfs.ext4 -F /dev/mmcblk0p3; sleep 2
mount /dev/mmcblk0p3 /mnt && cd /mnt && tar --numeric-owner
cd /;umount /mnt

Kernel command line: root=/dev/mmcblk0p3 rw console=ttyPS0,115200n8 rootwait ip=128.224.179.49:128.224.165.20:128.224.178.1:255.255.254.0:zc706:eth0:off earlyprintk noinitrd rootfstype=ext4 selinux=0 enforcing=0

On the target:
runltp -f mm




lx_project = LINCD

kernel_version = Linux xilinx-zynq 5.4.54-yocto-standard #1 SMP PREEMPT Sun Aug 9 23:45:44 UTC 2020 armv7l armv7l armv7l GNU/Linux
found_in_versions = 10.20.33.0
ltp_version = 20200515

test_images = http://pek-lpgtest7302.wrs.com/buildarea1/SharedImage/LINCD_STD/LTP/xilinx-zynq_standard_glibc-std/20200806_053029/

test_target = 28661

debugging = N/A

Complete logs:
http://pek-lpgtest3.wrs.com/lpg-build/cdc/publiclog/WRLinuxCDStandard/lxCD---S13/2020WW33/WRLINUX_CI/LTP/xilinx-zynq_standard_glibc-std/ZYNQ-ZC702_OE_systemd/ltp_mm/target_28655.platform_B0E1R0_20200810_053535.log

Key Logs:

<<<test_start>>>
tag=vma05 stime=1597029321
cmdline="vma05.sh"
contacts=""
analysis=exit
<<<test_output>>>
vma05 1 TINFO: timeout per run is 0h 5m 0s
vma05 1 TFAIL: [vdso] bug not patched

Summary:
passed   0
failed   1
skipped  0
warnings 0
LTP: starting overcommit_memory01 (overcommit_memory)
<<<execution_status>>>
initiation_status="ok"
duration=1 termination_type=exited termination_id=1 corefile=no
cutime=21 cstime=34
<<<test_end>>>

Steps to Reproduce

Build:
MASTER_WR_GIT/wrlinux-10/setup.sh --machines=xilinx-zynq --templates feature/docker --distro wrlinux --accept-eula=yes --dl-layers
itbake-layers add-layer /lpg-build/cdc/WASSP_LINUX_MASTER_WR/testcases/wrlinux/wr-testing/kts-dev && echo require templates/feature/ltp/template.conf >> conf/local.conf
bitbake wrlinux-image-std

Boot zc706/zc702 by NFS:
...
Kernel command line: console=ttyPS0,115200n8 root=/dev/nfs rw nfsroot=128.224.178.20:/export/pxeboot/vlm-boards/28661/rootfs,tcp ip=128.224.179.49:128.224.178.20:128.224.178.1:255.255.254.0:zc706:eth0:off ignore_loglevel earlyprintk noinitrd selinux=0 enforcing=0 kmemleak=on
...

Boot the target by sda1:
umount /dev/mmcblk0p*
mkfs.ext4 -F /dev/mmcblk0p3; sleep 2
mount /dev/mmcblk0p3 /mnt && cd /mnt && tar --numeric-owner  
cd /;umount /mnt

Kernel command line: root=/dev/mmcblk0p3 rw console=ttyPS0,115200n8 rootwait ip=128.224.179.49:128.224.165.20:128.224.178.1:255.255.254.0:zc706:eth0:off earlyprintk noinitrd rootfstype=ext4 selinux=0 enforcing=0

On the target:
/opt/ltp/wrLinux_ltp/wr-runltp -f mm
Live chat
Online