DPDK usage discussions
 help / color / mirror / Atom feed
From: 廖書華 <sim860927@gmail.com>
To: users@dpdk.org
Subject: pdump error : failed to send to (/var/run/dpdk/rte/mp_socket) due to Connection refused
Date: Fri, 1 Oct 2021 15:10:41 +0800
Message-ID: <CANq=q42abKjHkY52_RPA2KpwDBhPMUFRm+iJ4y8jhK4c7zyTrQ@mail.gmail.com> (raw)

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

             reply	other threads:[~2021-10-01  7:11 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-10-01  7:10 廖書華 [this message]
2021-10-01 15:14 ` Stephen Hemminger

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CANq=q42abKjHkY52_RPA2KpwDBhPMUFRm+iJ4y8jhK4c7zyTrQ@mail.gmail.com' \
    --to=sim860927@gmail.com \
    --cc=users@dpdk.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

DPDK usage discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://inbox.dpdk.org/users/0 users/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 users users/ http://inbox.dpdk.org/users \
		users@dpdk.org
	public-inbox-index users

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://inbox.dpdk.org/inbox.dpdk.users


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git