DPDK usage discussions
 help / color / mirror / Atom feed
* [dpdk-users] EAL: failed to parse device
@ 2021-10-14  8:43 Hakan Doğan
  2021-10-23  8:42 ` Dmitry Kozlyuk
  0 siblings, 1 reply; 2+ messages in thread
From: Hakan Doğan @ 2021-10-14  8:43 UTC (permalink / raw)
  To: users

[-- Attachment #1: Type: text/plain, Size: 1406 bytes --]

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?

All the best,
Hakan Dogan


[-- Attachment #2: Type: text/html, Size: 5174 bytes --]

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

* Re: [dpdk-users] EAL: failed to parse device
  2021-10-14  8:43 [dpdk-users] EAL: failed to parse device Hakan Doğan
@ 2021-10-23  8:42 ` Dmitry Kozlyuk
  0 siblings, 0 replies; 2+ messages in thread
From: Dmitry Kozlyuk @ 2021-10-23  8:42 UTC (permalink / raw)
  To: Hakan Doğan; +Cc: users

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.

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

end of thread, other threads:[~2021-10-23  8:42 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-10-14  8:43 [dpdk-users] EAL: failed to parse device Hakan Doğan
2021-10-23  8:42 ` Dmitry Kozlyuk

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