[USRP-users] uhd_usrp_probe to N310 fails with DPDK

Colby Boyer colbyboyer at genxcomminc.com
Thu Jul 16 17:41:28 EDT 2020


Hi All,

I followed the flow listed here
https://kb.ettus.com/Getting_Started_with_DPDK_and_UHD with UHD 3.15 and
DPDK 17.11, but I am unable to run uhd_usrp_probe, it fails. At the end of
the email the result of uhd_usrp_probe is attached.

Running Ubuntu 18.04. Installed UHD from source and installed dpdk from
apt-get.

The app note worked mostly as expected except for the sudo dpdk-devbind
--bind=vfio=pci 02:00.0 commands. However, this failed as it failed to bind
to the device. I had to run sudo dpdk-devbind --bind=vfio-pci enp2s0f0
instead, and that worked.

Any suggestions on what to try next?

Thanks
Colby

root at genxcomm-tower:~# uhd_usrp_probe
 --args="use_dpdk=1,mgmt_addr=172.26.60.1,addr=192.168.20.2,type=n3xx"
[INFO] [UHD] linux; GNU C++ version 7.5.0; Boost_106501;
UHD_3.15.0.v315-0-gaea0e2de
EAL: Detected 8 lcore(s)
EAL: No free hugepages reported in hugepages-1048576kB
EAL: Probing VFIO support...
EAL: VFIO support initialized
EAL: PCI device 0000:00:19.0 on NUMA socket -1
EAL:   Invalid NUMA socket, default to 0
EAL:   probe driver: 8086:15a1 net_e1000_em
EAL: PCI device 0000:02:00.0 on NUMA socket -1
EAL:   Invalid NUMA socket, default to 0
EAL:   probe driver: 8086:10fb net_ixgbe
EAL:   using IOMMU type 1 (Type 1)
EAL: Ignore mapping IO port bar(2)
EAL: PCI device 0000:02:00.1 on NUMA socket -1
EAL:   Invalid NUMA socket, default to 0
EAL:   probe driver: 8086:10fb net_ixgbe
EAL: Ignore mapping IO port bar(2)
EAL: PCI device 0000:06:00.0 on NUMA socket -1
EAL:   Invalid NUMA socket, default to 0
EAL:   probe driver: 8086:10d3 net_e1000_em
EAL: Waiting for links to come up...
EAL: Init DONE!
EAL: Starting I/O threads!
[INFO] [MPMD] Initializing 1 device(s) in parallel with args:
mgmt_addr=172.26.60.1,type=n3xx,product=n310,serial=31D90DA,claimed=False,use_dpdk=1,addr=192.168.20.2
[INFO] [MPM.PeriphManager] init() called with device args
`product=n310,use_dpdk=1,clock_source=internal,mgmt_addr=172.26.60.1,time_source=internal'.
EAL: Please set IPv4 address for port 0 before opening socket
[ERROR] [MPMD] Failure during block enumeration: AssertionError: _rx_sock
!= nullptr
  in uhd::transport::dpdk_zero_copy_impl::dpdk_zero_copy_impl(const
uhd::transport::uhd_dpdk_ctx&, unsigned int, const string&, const string&,
const string&, const uhd::transport::zero_copy_xport_params&)
  at /home/genxcomm/repo/uhd/host/lib/transport/dpdk_zero_copy.cpp:355

Error: RuntimeError: Failed to run enumerate_rfnoc_blocks()
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ettus.com/pipermail/usrp-users_lists.ettus.com/attachments/20200716/6cd7f64b/attachment.html>


More information about the USRP-users mailing list