DPDK usage discussions
 help / color / mirror / Atom feed
* pdump error : failed to send to (/var/run/dpdk/rte/mp_socket) due to Connection refused
@ 2021-10-01  7:10 廖書華
  2021-10-01 15:14 ` Stephen Hemminger
  0 siblings, 1 reply; 2+ messages in thread
From: 廖書華 @ 2021-10-01  7:10 UTC (permalink / raw)
  To: users

Dear,

I'm the new for using DPDK.
I met the problem while trying to use pdump to capture the packet from my
own application, but it bumps into some error as below. Do you have any
suggestions?

[oai@localhost pdump]$ sudo ./dpdk-pdump -- --pdump
'port=0,queue=*,tx-dev=/tmp/tx.pcap,rx-dev=/tmp/rx.pcap' EAL: Detected 72
lcore(s) EAL: Detected 2 NUMA nodes EAL: Multi-process socket
/var/run/dpdk/rte/mp_socket_10018_2d422b12bdfd4 EAL: failed to send to
(/var/run/dpdk/rte/mp_socket) due to Connection refused EAL: Fail to send
request /var/run/dpdk/rte/mp_socket:bus_vdev_mp vdev_scan(): Failed to
request vdev from primary EAL: Selected IOVA mode 'VA' EAL: Probing VFIO
support... EAL: failed to send to (/var/run/dpdk/rte/mp_socket) due to
Connection refused EAL: Fail to send request
/var/run/dpdk/rte/mp_socket:eal_vfio_mp_sync EAL: cannot request default
container fd EAL: VFIO support could not be initialized EAL: Could not map
memory from primary process EAL: FATAL: Cannot init memory EAL: Cannot init
memory PANIC in main(): Cannot init EAL 4: [./dpdk-pdump() [0x480929]] 3:
[/lib64/libc.so.6(__libc_start_main+0xf5) [0x7ffff6aa2555]] 2:
[./dpdk-pdump(main+0x52e) [0x480f1e]] 1: [./dpdk-pdump(__rte_panic+0xe0)
[0xe0f600]] Aborted

P.S.
The DPDK version in our lab is for 19.11.
After modifying CONFIG_RTE_LIBRTE_PMD_PCAP=y & CONFIG_RTE_LIBRTE_PDUMP=y,I
try to use ICC for the compilation.
Also, I already add function rte_pdump_init() in my application.

Best Regards,
Shu-hua, Liao

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-10-01 15:14 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-10-01  7:10 pdump error : failed to send to (/var/run/dpdk/rte/mp_socket) due to Connection refused 廖書華
2021-10-01 15:14 ` Stephen Hemminger

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).