From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 843DBA0032 for ; Fri, 1 Oct 2021 17:14:21 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 0455A4118A; Fri, 1 Oct 2021 17:14:21 +0200 (CEST) Received: from mail-pg1-f171.google.com (mail-pg1-f171.google.com [209.85.215.171]) by mails.dpdk.org (Postfix) with ESMTP id AE8BC4067A for ; Fri, 1 Oct 2021 17:14:19 +0200 (CEST) Received: by mail-pg1-f171.google.com with SMTP id r201so3788426pgr.4 for ; Fri, 01 Oct 2021 08:14:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20210112.gappssmtp.com; s=20210112; h=date:from:to:cc:subject:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=zizCL71ZNl3KWLkEhFwyDonb6a3FQ44Zt/8BnOGRh5g=; b=rfamOk5KGv+PLhQiU0FlnVBiH8A/gqPXLMQlCYBs47UFDmq1635v3hkHfJzDKtfz41 cgqzd7pR8CbI+m4JESemaQhoRGOdgqMC+5axkfh1ebE2vB+TPNQio5itCy6nG8Y4jQBM H/lbAHJppsiYd104ZuKhanTpMcR+SoS+hpChDJ5rE6SyrhzB7hcUvrP6HVcVlUzOACYw tiQqfoaSScd40NWd/22h1vh7QGMxos50F4vLWpn67lJCPgelzuUWl/48Ba7xz0D/1fBQ aHI1AhgTZqYr9N5k+eLs00dIFtrNOE9q+U7MWCFQIIvrjGR/evlbicXFmLesf3C7V1RG T3FQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=zizCL71ZNl3KWLkEhFwyDonb6a3FQ44Zt/8BnOGRh5g=; b=j5WCQjWvD0gt2zkOFRl3f4J7bdw4anVsiPrISwRWLsb/vuF0e0mHSlvXiT74Izj1Iw aHdrrt9/v4/9hCGCrW6KWhnFhvkMSU/Me4oZ/ZvGKlGOmn11MtgJnO1TmqQOMbyvTmQE Ixf4/mlGJYrSIPHkIPfLzclySJJldfT1pkg9rFGEmkxwd9jbw5PPha8rSHx5O9zvS05E WY2O8c29qVY3T6p/Uv8MwvYVvIfydnE65GC3luz3wGlwwEhlK8F11lXYtgVQFtZ8leg6 tKdWoX0UtRUs2c4z+VPrzQyHOzuKqjlGAHm03iiEcwTVEyPK0Yq6+ot94AUxEFDuCCVP Ia7A== X-Gm-Message-State: AOAM531Btt0W0ha0uGAJSUgfflwyrY7o2ic0KY5+6wy/Hy/zc9oHHVyl wBqfFqEwhOB73RitS13MA568/w== X-Google-Smtp-Source: ABdhPJx1u75ji8RTmZAjFOBTkJ66rTM+co3zwrh1p+Pwku/mGd7yO8/LJKBkk2XEjfSI2RXBoDPtNw== X-Received: by 2002:a63:ff0a:: with SMTP id k10mr10027989pgi.363.1633101258639; Fri, 01 Oct 2021 08:14:18 -0700 (PDT) Received: from hermes.local (204-195-33-123.wavecable.com. [204.195.33.123]) by smtp.gmail.com with ESMTPSA id 23sm7615754pfw.97.2021.10.01.08.14.18 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 01 Oct 2021 08:14:18 -0700 (PDT) Date: Fri, 1 Oct 2021 08:14:15 -0700 From: Stephen Hemminger To: =?UTF-8?B?5buW5pu46I+v?= Cc: users@dpdk.org Subject: Re: pdump error : failed to send to (/var/run/dpdk/rte/mp_socket) due to Connection refused Message-ID: <20211001081415.3e500a3e@hermes.local> In-Reply-To: References: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-BeenThere: users@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK usage discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: users-bounces@dpdk.org On Fri, 1 Oct 2021 15:10:41 +0800 =E5=BB=96=E6=9B=B8=E8=8F=AF wrote: > Dear, >=20 > 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? >=20 > [oai@localhost pdump]$ sudo ./dpdk-pdump -- --pdump > 'port=3D0,queue=3D*,tx-dev=3D/tmp/tx.pcap,rx-dev=3D/tmp/rx.pcap' EAL: Det= ected 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 in= it > 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? >=20 > P.S. > The DPDK version in our lab is for 19.11. > After modifying CONFIG_RTE_LIBRTE_PMD_PCAP=3Dy & CONFIG_RTE_LIBRTE_PDUMP= =3Dy,I > 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.