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.