DPDK usage discussions
 help / color / mirror / Atom feed
From: Dmitry Kozlyuk <dmitry.kozliuk@gmail.com>
To: "Hakan Doğan" <hakan.dogan@b-ulltech.com>
Cc: "users@dpdk.org" <users@dpdk.org>
Subject: Re: [dpdk-users] EAL: failed to parse device
Date: Sat, 23 Oct 2021 11:42:03 +0300	[thread overview]
Message-ID: <20211023114203.43a9950e@sovereign> (raw)
In-Reply-To: <PAXPR08MB7091D708E38BDAE89B9939C4B5B89@PAXPR08MB7091.eurprd08.prod.outlook.com>

2021-10-14 08:43 (UTC+0000), Hakan Doğan:
> Hi All,
> 
> I'm trying to run a DPDK application in a virtual machine environment with ubuntu 18.04 as guest and host. However, I'm getting following error during start:
> 
> EAL: Detected 16 lcore(s)
> EAL: Detected 1 NUMA nodes
> EAL: Detected static linkage of DPDK
> EAL: Multi-process socket /var/run/dpdk/rte/mp_socket
> EAL: Selected IOVA mode 'PA'
> EAL: No available hugepages reported in hugepages-1048576kB
> EAL: Probing VFIO support...
> EAL: VFIO support initialized
> EAL: No legacy callbacks, legacy socket not created
> EAL: failed to parse device "0000:00:05.0"
> EAL: failed to parse device "0000:00:05.0"
> EAL: Failed to attach device on primary process
> EAL: failed to parse device "0000:00:06.0"
> EAL: failed to parse device "0000:00:06.0"
> EAL: Failed to attach device on primary process
> 
> DPDK version: 20.11.3
> 
> dpdk-devbind.py shows:
> 
> Network devices using DPDK-compatible driver
> ============================================
> 0000:00:05.0 'Virtio network device 1000' drv=uio_pci_generic unused=
> 0000:00:06.0 'Virtio network device 1000' drv=uio_pci_generic unused=
> 
> Network devices using kernel driver
> ===================================
> 0000:00:03.0 'Virtio network device 1000' if=ens3 drv=virtio-pci unused=uio_pci_generic *Active*
> 
> 
> 
> There is not so much information about this error on internet, so could someone help to solve the problem?

Hello Hakan,

How do you link DPDK to your application?
If statically (as logs suggest), do you use --whole-archive?
The errors suggest that you don't have rte_bus_pci library loaded.

      reply	other threads:[~2021-10-23  8:42 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-10-14  8:43 Hakan Doğan
2021-10-23  8:42 ` Dmitry Kozlyuk [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:
  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=20211023114203.43a9950e@sovereign \
    --to=dmitry.kozliuk@gmail.com \
    --cc=hakan.dogan@b-ulltech.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
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).