Wind River Support Network

HomeDefectsLIN5-19138
Fixed

LIN5-19138 : [wrLinux501 Async BSP intel-atom-avoton-64 ] Fail to invoke DPDK testpmd On intel-atom-avoton-64 cgl kernel

Created: Jul 30, 2014    Updated: Dec 19, 2017
Resolved Date: Jul 31, 2014
Found In Version: 5.0.1.18
Fix Version: 5.0.1.18
Severity: Severe
Applicable for: Wind River Linux 5
Component/s: BSP - Async

Description

On wrLinux501 Async BSP intel-atom-avoton-64, fail to invoke DPDK testpmd On intel-atom-avoton-64 cgl kernel as follows:

NOTE: The result is the same even disable the kernel option CONFIG_GRKERNSEC

root@localhost:/opt/ltp# modprobe igb_uio
root@localhost:/opt/ltp# /opt/dpdk/tools/dpdk_nic_bind.py --bind=igb_uio 07:00.1
root@localhost:/opt/ltp# /opt/dpdk/tools/dpdk_nic_bind.py --bind=igb_uio 0c:00.0
root@localhost:/opt/ltp# 
root@localhost:/opt/ltp# 
root@localhost:/opt/ltp# 
root@localhost:/opt/ltp# mkdir -p /mnt/huge
root@localhost:/opt/ltp# mount -t hugetlbfs nodev /mnt/huge
root@localhost:/opt/ltp# echo 512 > /proc/sys/vm/nr_hugepages
root@localhost:/opt/ltp# 
root@localhost:/opt/ltp# 
root@localhost:/opt/ltp# /opt/dpdk/app/testpmd -c7 -n3 -- -i --nb-cores=2 --nb-ports=2
EAL: Cannot read numa node link for lcore 0 - using physical package id instead
EAL: Detected lcore 0 as core 0 on socket 0
EAL: Cannot read numa node link for lcore 1 - using physical package id instead
EAL: Detected lcore 1 as core 1 on socket 0
EAL: Cannot read numa node link for lcore 2 - using physical package id instead
EAL: Detected lcore 2 as core 2 on socket 0
EAL: Cannot read numa node link for lcore 3 - using physical package id instead
EAL: Detected lcore 3 as core 3 on socket 0
EAL: Cannot read numa node link for lcore 4 - using physical package id instead
EAL: Detected lcore 4 as core 4 on socket 0
EAL: Cannot read numa node link for lcore 5 - using physical package id instead
EAL: Detected lcore 5 as core 5 on socket 0
EAL: Cannot read numa node link for lcore 6 - using physical package id instead
EAL: Detected lcore 6 as core 6 on socket 0
EAL: Cannot read numa node link for lcore 7 - using physical package id instead
EAL: Detected lcore 7 as core 7 on socket 0
EAL: Support maximum 64 logical core(s) by configuration.
EAL: Detected 8 lcore(s)
EAL: Setting up memory...
EAL: rte_mem_virt2phy(): cannot open /proc/self/pagemap: No such file or directory
EAL: Failed to find phys addr for 2 MB pages
PANIC in rte_eal_init():
Cannot init memory
6: [/opt/dpdk/app/testpmd() [0x423875]]
5: [/lib64/libc.so.6(__libc_start_main+0xed) [0x3c0d02145d]]
4: [/opt/dpdk/app/testpmd(main+0x14) [0x423194]]
3: [/opt/dpdk/app/testpmd(rte_eal_init+0x1b2d) [0x47aded]]
2: [/opt/dpdk/app/testpmd(__rte_panic+0xc1) [0x4230e4]]
1: [/opt/dpdk/app/testpmd(rte_dump_stack+0x23) [0x4806b3]]
Aborted
root@localhost:/opt/ltp# 
root@localhost:/opt/ltp# 
root@localhost:/opt/ltp# 
root@localhost:/opt/ltp# uname -a
Linux localhost 3.4.88-grsec-WR5.0.1.0_cgl #2 SMP PREEMPT Wed Jul 30 08:31:28 CST 2014 x86_64 GNU/Linux
root@localhost:/opt/ltp# 
root@localhost:/opt/ltp# 
root@localhost:/opt/ltp# 
root@localhost:/opt/ltp# cat /proc/cmdline 
BOOT_IMAGE=/bzImage-atom-avoton-64-cgl-nosec.efi LABEL=boot rootwait rw root=/dev/nfs nfsroot=128.224.162.227:/export/nfsboot/intel-atom-avoton-64/cgl-nosec/rootfs rw ip=dhcp console=tty0 selinux=0 enforcing=0
root@localhost:/opt/ltp# 
root@localhost:/opt/ltp# zcat /proc/config.gz | grep "CONFIG_GRKERNSEC"
# CONFIG_GRKERNSEC is not set
root@localhost:/opt/ltp# 

Steps to Reproduce

1. configure and build project

--enable-board=intel-atom-avoton-64 --enable-kernel=cgl --enable-rootfs=glibc_cgl --enable-jobs=8 --enable-parallel-pkgbuilds=8 --enable-test --with-layer=wr-dpdk --with-template=feature/dpdk-1.7

2. boo the target and repeat the test steps in test log

Other Downloads


Live chat
Online