Bug 1783763 - Unable to run the testpmd program using dpdk-18.11.2 package
Summary: Unable to run the testpmd program using dpdk-18.11.2 package
Keywords:
Status: CLOSED DUPLICATE of bug 1785933
Alias: None
Product: Red Hat Enterprise Linux Fast Datapath
Classification: Red Hat
Component: DPDK
Version: RHEL 8.0
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: ---
Assignee: Jens Freimann
QA Contact: liting
URL:
Whiteboard:
Depends On:
Blocks: 1771572
TreeView+ depends on / blocked
 
Reported: 2019-12-15 12:26 UTC by Sebastian Scheinkman
Modified: 2023-01-23 09:25 UTC (History)
9 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-01-13 12:54:51 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker FD-360 0 None None None 2023-01-23 09:25:30 UTC

Description Sebastian Scheinkman 2019-12-15 12:26:39 UTC
Description of problem:

Unable to run the testpmd program using dpdk-18.11.2

testpmd -l 70,72,74,76,78 -w 0000:19:00.5 -- -i --portmask=0x1 --nb-cores=2 --forward-mode=macswap --port-topology=loop
EAL: Detected 80 lcore(s)
EAL: Detected 2 NUMA nodes
EAL: Multi-process socket /var/run/dpdk/rte/mp_socket
EAL: Probing VFIO support...
EAL: Cannot obtain physical addresses: No such file or directory. Only vfio will function.
error allocating rte services array
EAL: FATAL: rte_service_init() failed
EAL: rte_service_init() failed
PANIC in main():
Cannot init EAL
5: [testpmd(_start+0x2e) [0x56436aae6b5e]]
4: [/lib64/libc.so.6(__libc_start_main+0xf3) [0x7f7bde26c873]]
3: [testpmd(+0x4ddf1) [0x56436aae5df1]]
2: [/lib64/librte_eal.so.9(__rte_panic+0xc1) [0x7f7bdf4721e6]]
1: [/lib64/librte_eal.so.9(rte_dump_stack+0x32) [0x7f7bdf47ee32]]
Aborted (core dumped)


Version-Release number of selected component (if applicable):


How reproducible:
100%

Steps to Reproduce:
1. install latest dpdk from red hat Fast Datapath repo
2. run the testpmd program

Actual results:
core dump

Expected results:
be able to run the application

Additional info:

Comment 1 Adrián Moreno 2019-12-16 09:23:45 UTC
Hi Sebastian,
It seems your application is defaulting to IOVA_PA mode. Can you please check:
- You have enough permissions to access physical addresses (i.e: running as root)?
- The issue is not reproducible with "--iova-mode va" in the EAL parameters
- There is no other dpdk application (including ovs) running in the system.
- Does it always fail in the same point? i.e: just after "error allocating rte services array"

Thanks.

Comment 2 Marcin Mirecki 2019-12-17 08:30:50 UTC
Let me add more information on the issue.
- we are running on an openshift environment with mellanox sriov nic's.
- dpdk is running inside a container, build from ubi8, with the dpdk (downstream) package installed on it.
- inside the container we are working on a VF from the sriov nic, passed to the container by means of the Sriov CNI
- we are using the mlx5_core driver for the nic.

We also tried this with a custom build upstream version of dpdk, and it works fine.

Comment 3 David Marchand 2020-01-07 12:32:58 UTC
It should be a fairly similar issue to bz1785933.
I put a scratch build of the 18.11 dpdk package in it, can you have a try?
Thanks.

Comment 4 David Marchand 2020-01-13 10:23:33 UTC
Sebastian, Marcin,

Can you confirm this is the same issue than bz1785933?
Thanks.

Comment 5 Sebastian Scheinkman 2020-01-13 12:20:39 UTC
Hi David,

Yes, this is the same issue.
I was able to run the container without the privileged=true using the scratch build

Comment 6 Jens Freimann 2020-01-13 12:54:51 UTC

*** This bug has been marked as a duplicate of bug 1785933 ***

Comment 7 Marcin Mirecki 2023-01-23 09:09:30 UTC
Closed, clearing needinfo


Note You need to log in before you can comment on or make changes to this bug.