DPDK usage discussions
 help / color / mirror / Atom feed
From: Stephen Hemminger <stephen@networkplumber.org>
To: 廖書華 <sim860927@gmail.com>
Cc: users@dpdk.org
Subject: Re: pdump error : failed to send to (/var/run/dpdk/rte/mp_socket) due to Connection refused
Date: Fri, 1 Oct 2021 08:14:15 -0700
Message-ID: <20211001081415.3e500a3e@hermes.local> (raw)
In-Reply-To: <CANq=q42abKjHkY52_RPA2KpwDBhPMUFRm+iJ4y8jhK4c7zyTrQ@mail.gmail.com>

On Fri, 1 Oct 2021 15:10:41 +0800
廖書華 <sim860927@gmail.com> wrote:

> 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

Your mailer is mangling that message. But it look like the secondary
process failed to start at all.

Is the application and pdump running in same environment?
For example is the application running in a container where the namespace
is different?

> P.S.
> The DPDK version in our lab is for 19.11.
> try to use ICC for the compilation.
> Also, I already add function rte_pdump_init() in my application.

Did you check return value from rte_pdump_init()?

It might be helpful to see the full DPDK config.

      reply	other threads:[~2021-10-01 15:14 UTC|newest]

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

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:

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

  git send-email \
    --in-reply-to=20211001081415.3e500a3e@hermes.local \
    --to=stephen@networkplumber.org \
    --cc=sim860927@gmail.com \
    --cc=users@dpdk.org \


* 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 \
	public-inbox-index users

Example config snippet for mirrors.
Newsgroup available over NNTP:

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