A DPDK application with several runtime dependent libraries are compiled on one machine
Binaries and libraries are copied from that machine to another machine with similar specs and environment
Running the DPDK application with the parameters as given below, but the application crashes during rte_eal_init()
App-binary -l 1 -a 0000:02:00.0 -a 0000:03:00.0 -d /opt/upf/lib/ --proc-type=primary --file-prefix=.app_0000:02:00.0
#0 0x00007faaa0ead337 in raise () from /lib64/libc.so.6
#1 0x00007faaa0eaea28 in abort () from /lib64/libc.so.6
#2 0x00007faaa125104f in __rte_panic () from /opt/upf/lib/librte_eal.so.21
#3 0x00007faa9e228e1c in tailqinitfn_rte_ring_tailq () from /opt/upf/lib/librte_ring.so.21.0
#4 0x00007faaa278a973 in _dl_init_internal () from /lib64/ld-linux-x86-64.so.2
#5 0x00007faaa278f54e in dl_open_worker () from /lib64/ld-linux-x86-64.so.2
#6 0x00007faaa278a784 in _dl_catch_error () from /lib64/ld-linux-x86-64.so.2
#7 0x00007faaa278eb3b in _dl_open () from /lib64/ld-linux-x86-64.so.2
#8 0x00007faaa0c73eeb in dlopen_doit () from /lib64/libdl.so.2
#9 0x00007faaa278a784 in _dl_catch_error () from /lib64/ld-linux-x86-64.so.2
#10 0x00007faaa0c744ed in _dlerror_run () from /lib64/libdl.so.2
#11 0x00007faaa0c73f81 in dlopen@@GLIBC_2.2.5 () from /lib64/libdl.so.2
#12 0x00007faaa125bc55 in eal_plugins_init () from /opt/upf/lib/librte_eal.so.21
#13 0x00007faaa126f2ba in rte_eal_init () from /opt/upf/lib/librte_eal.so.21
#14 0x000000000041414a in Dpdk_LibTask (arg=<optimized out>) at /root/5g_upf/core/service/common/dpdk/dpdk.c:1244
#15 0x00007faaa2566e65 in start_thread () from /lib64/libpthread.so.0
#16 0x00007faaa0f7588d in clone () from /lib64/libc.so.6
Updates:
0000:01:00.0 '82574L Gigabit Network Connection 10d3' drv=uio_pci_generic unused=e1000e
0000:07:00.0 '82574L Gigabit Network Connection 10d3' drv=uio_pci_generic unused=e1000e
0000:08:00.0 '82574L Gigabit Network Connection 10d3' drv=uio_pci_generic unused=e1000e
0000:02:00.0 '82574L Gigabit Network Connection 10d3' drv=uio_pci_generic unused=e1000e
0000:03:00.0 '82574L Gigabit Network Connection 10d3' drv=uio_pci_generic unused=e1000e
0000:04:00.0 '82574L Gigabit Network Connection 10d3' drv=uio_pci_generic unused=e1000e
[Based on the live debug with Sumesh].
Application background:
docker run
where root permission is shared and and copies these over to a local folder (same machine).What caused the issues:
How to fix the issue:
docker-run
share the permission to access the /usr/lib/lib64
which houses DPDK, 3rd party and GNU Libraries.Note: