[prev in list] [next in list] [prev in thread] [next in thread] 

List:       usrp-users
Subject:    [USRP-users] intermittent TX error using DPDK and x310
From:       "Wolsieffer, Carl L. ERDC-RDE-CRL-NH CIV via USRP-users" <usrp-users () lists ! ettus
Date:       2021-06-22 14:38:12
Message-ID: cde9266a2c524eecb4a3bb5c1af2fe25 () erdc ! dren ! mil
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


Hello,



Finally got DPDK running on my ubuntu 20.04 machine. I have two x310's over a 10Gbe \
each going to their own port on a intel x520. If I have just a single x310 hooked up, \
the rx_samples_to_file and tx_samples_from_file both work flawlessly at 200 Msps. If \
they are both hooked up, I get a few errors when transmitting that I am not able to \
discern are going to cause me trouble or not. This is a typical output upon calling \
tx_from_samples. The [ERROR] [UHD] and [ERROR] [USRP2] don't seem to be a major \
issue, since the PC is finding the x310 without a problem, but I don't know what the \
[ERROR] [CTRLEP] at the end is trying to tell me. Any thoughts?



root@fmcw-sounder:/usr/local/lib/uhd/examples# ./tx_samples_from_file --file \
test_samples.dat --gain 0 --freq 2400000000 --lo-offset 100000000 --rate 200000000 \
--args "addr=192.168.50.2,use_dpdk=1"



Creating the usrp device with: addr=192.168.50.2,use_dpdk=1...

[INFO] [UHD] linux; GNU C++ version 9.3.0; Boost_107100; UHD_4.0.0.HEAD-0-g90ce6062

[WARNING] [PREFS] Loaded config from /root/.uhd. This location is considered \
deprecated, consider moving your config file to /root/.config instead.

EAL: Detected 12 lcore(s)

EAL: Detected 1 NUMA nodes

EAL: Multi-process socket /var/run/dpdk/rte/mp_socket

EAL: No free hugepages reported in hugepages-1048576kB

EAL: Probing VFIO support...

EAL: VFIO support initialized

EAL: PCI device 0000:01: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:01: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)

[ERROR] [UHD] Device discovery error: send_to: Network is unreachable

[ERROR] [USRP2] USRP2 Network discovery error send_to: Network is unreachable

[INFO] [X300] X300 initialization sequence...

[INFO] [X300] Maximum frame size: 8000 bytes.

[INFO] [X300] Radio 1x clock: 200 MHz

Using Device: Single USRP:

  Device: X-Series Device

  Mboard 0: X310

  RX Channel: 0

    RX DSP: 0

    RX Dboard: A

    RX Subdev: UBX RX

  RX Channel: 1

    RX DSP: 1

    RX Dboard: B

    RX Subdev: Unknown (0xffff) - 0

  TX Channel: 0

    TX DSP: 0

    TX Dboard: A

    TX Subdev: UBX TX

  TX Channel: 1

    TX DSP: 1

    TX Dboard: B

    TX Subdev: Unknown (0xffff) - 0



Setting TX Rate: 200.000000 Msps...

Actual TX Rate: 200.000000 Msps...



Setting TX Freq: 2400.000000 MHz...

Setting TX LO Offset: 100.000000 MHz...

Actual TX Freq: 2400.000000 MHz...



Setting TX Gain: 0.000000 dB...

Actual TX Gain: 0.000000 dB...



Checking TX: TXLO: locked ...

[WARNING] [0/Radio#0] Attempting to set tick rate to 0. Skipping.



Done!



[ERROR] [CTRLEP] Caught exception during async message handling: map::at



root@fmcw-sounder:/usr/local/lib/uhd/examples#





Thanks!

Casey


[Attachment #5 (text/html)]

<html xmlns:v="urn:schemas-microsoft-com:vml" \
xmlns:o="urn:schemas-microsoft-com:office:office" \
xmlns:w="urn:schemas-microsoft-com:office:word" \
xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" \
xmlns="http://www.w3.org/TR/REC-html40"> <head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
	{font-family:"Cambria Math";
	panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
	{font-family:Calibri;
	panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin:0in;
	margin-bottom:.0001pt;
	font-size:11.0pt;
	font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
	{mso-style-priority:99;
	color:#0563C1;
	text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
	{mso-style-priority:99;
	color:#954F72;
	text-decoration:underline;}
p.MsoPlainText, li.MsoPlainText, div.MsoPlainText
	{mso-style-priority:99;
	mso-style-link:"Plain Text Char";
	margin:0in;
	margin-bottom:.0001pt;
	font-size:11.0pt;
	font-family:"Calibri",sans-serif;}
span.PlainTextChar
	{mso-style-name:"Plain Text Char";
	mso-style-priority:99;
	mso-style-link:"Plain Text";
	font-family:"Calibri",sans-serif;}
.MsoChpDefault
	{mso-style-type:export-only;
	font-family:"Calibri",sans-serif;}
@page WordSection1
	{size:8.5in 11.0in;
	margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
	{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-US" link="#0563C1" vlink="#954F72">
<div class="WordSection1">
<p class="MsoPlainText">Hello,<o:p></o:p></p>
<p class="MsoPlainText"><o:p>&nbsp;</o:p></p>
<p class="MsoPlainText">Finally got DPDK running on my ubuntu 20.04 machine. I have \
two x310's over a 10Gbe each going to their own port on a intel x520. If I have just \
a single x310 hooked up, the rx_samples_to_file and tx_samples_from_file both work \
flawlessly  at 200 Msps. If they are both hooked up, I get a few errors when \
transmitting that I am not able to discern are going to cause me trouble or not. This \
is a typical output upon calling tx_from_samples. The [ERROR] [UHD] and [ERROR] \
[USRP2] don't seem to be  a major issue, since the PC is finding the x310 without a \
problem, but I don't know what the [ERROR] [CTRLEP] at the end is trying to tell me. \
Any thoughts?<o:p></o:p></p> <p class="MsoPlainText"><o:p>&nbsp;</o:p></p>
<p class="MsoPlainText">root@fmcw-sounder:/usr/local/lib/uhd/examples# \
./tx_samples_from_file --file test_samples.dat --gain 0 --freq 2400000000 --lo-offset \
100000000 --rate 200000000 --args \
&quot;addr=192.168.50.2,use_dpdk=1&quot;<o:p></o:p></p> <p \
class="MsoPlainText"><o:p>&nbsp;</o:p></p> <p class="MsoPlainText">Creating the usrp \
device with: addr=192.168.50.2,use_dpdk=1...<o:p></o:p></p> <p \
class="MsoPlainText">[INFO] [UHD] linux; GNU C&#43;&#43; version 9.3.0; Boost_107100; \
UHD_4.0.0.HEAD-0-g90ce6062<o:p></o:p></p> <p class="MsoPlainText">[WARNING] [PREFS] \
Loaded config from /root/.uhd. This location is considered deprecated, consider \
moving your config file to /root/.config instead.<o:p></o:p></p> <p \
class="MsoPlainText">EAL: Detected 12 lcore(s)<o:p></o:p></p> <p \
class="MsoPlainText">EAL: Detected 1 NUMA nodes<o:p></o:p></p> <p \
class="MsoPlainText">EAL: Multi-process socket \
/var/run/dpdk/rte/mp_socket<o:p></o:p></p> <p class="MsoPlainText">EAL: No free \
hugepages reported in hugepages-1048576kB<o:p></o:p></p> <p class="MsoPlainText">EAL: \
Probing VFIO support...<o:p></o:p></p> <p class="MsoPlainText">EAL: VFIO support \
initialized<o:p></o:p></p> <p class="MsoPlainText">EAL: PCI device 0000:01:00.0 on \
NUMA socket -1<o:p></o:p></p> <p class="MsoPlainText">EAL:&nbsp;&nbsp; Invalid NUMA \
socket, default to 0<o:p></o:p></p> <p class="MsoPlainText">EAL:&nbsp;&nbsp; probe \
driver: 8086:10fb net_ixgbe<o:p></o:p></p> <p class="MsoPlainText">EAL:&nbsp;&nbsp; \
using IOMMU type 1 (Type 1)<o:p></o:p></p> <p class="MsoPlainText">EAL: Ignore \
mapping IO port bar(2)<o:p></o:p></p> <p class="MsoPlainText">EAL: PCI device \
0000:01:00.1 on NUMA socket -1<o:p></o:p></p> <p \
class="MsoPlainText">EAL:&nbsp;&nbsp; Invalid NUMA socket, default to \
0<o:p></o:p></p> <p class="MsoPlainText">EAL:&nbsp;&nbsp; probe driver: 8086:10fb \
net_ixgbe<o:p></o:p></p> <p class="MsoPlainText">EAL: Ignore mapping IO port \
bar(2)<o:p></o:p></p> <p class="MsoPlainText"><b>[ERROR] [UHD] Device discovery \
error: send_to: Network is unreachable<o:p></o:p></b></p> <p \
class="MsoPlainText"><b>[ERROR] [USRP2] USRP2 Network discovery error send_to: \
Network is unreachable<o:p></o:p></b></p> <p class="MsoPlainText">[INFO] [X300] X300 \
initialization sequence...<o:p></o:p></p> <p class="MsoPlainText">[INFO] [X300] \
Maximum frame size: 8000 bytes.<o:p></o:p></p> <p class="MsoPlainText">[INFO] [X300] \
Radio 1x clock: 200 MHz<o:p></o:p></p> <p class="MsoPlainText">Using Device: Single \
USRP:<o:p></o:p></p> <p class="MsoPlainText">&nbsp; Device: X-Series \
Device<o:p></o:p></p> <p class="MsoPlainText">&nbsp; Mboard 0: X310<o:p></o:p></p>
<p class="MsoPlainText">&nbsp; RX Channel: 0<o:p></o:p></p>
<p class="MsoPlainText">&nbsp;&nbsp;&nbsp; RX DSP: 0<o:p></o:p></p>
<p class="MsoPlainText">&nbsp;&nbsp;&nbsp; RX Dboard: A<o:p></o:p></p>
<p class="MsoPlainText">&nbsp;&nbsp;&nbsp; RX Subdev: UBX RX<o:p></o:p></p>
<p class="MsoPlainText">&nbsp; RX Channel: 1<o:p></o:p></p>
<p class="MsoPlainText">&nbsp;&nbsp;&nbsp; RX DSP: 1<o:p></o:p></p>
<p class="MsoPlainText">&nbsp;&nbsp;&nbsp; RX Dboard: B<o:p></o:p></p>
<p class="MsoPlainText">&nbsp;&nbsp;&nbsp; RX Subdev: Unknown (0xffff) - \
0<o:p></o:p></p> <p class="MsoPlainText">&nbsp; TX Channel: 0<o:p></o:p></p>
<p class="MsoPlainText">&nbsp;&nbsp;&nbsp; TX DSP: 0<o:p></o:p></p>
<p class="MsoPlainText">&nbsp;&nbsp;&nbsp; TX Dboard: A<o:p></o:p></p>
<p class="MsoPlainText">&nbsp;&nbsp;&nbsp; TX Subdev: UBX TX<o:p></o:p></p>
<p class="MsoPlainText">&nbsp; TX Channel: 1<o:p></o:p></p>
<p class="MsoPlainText">&nbsp;&nbsp;&nbsp; TX DSP: 1<o:p></o:p></p>
<p class="MsoPlainText">&nbsp;&nbsp;&nbsp; TX Dboard: B<o:p></o:p></p>
<p class="MsoPlainText">&nbsp;&nbsp;&nbsp; TX Subdev: Unknown (0xffff) - \
0<o:p></o:p></p> <p class="MsoPlainText"><o:p>&nbsp;</o:p></p>
<p class="MsoPlainText">Setting TX Rate: 200.000000 Msps...<o:p></o:p></p>
<p class="MsoPlainText">Actual TX Rate: 200.000000 Msps...<o:p></o:p></p>
<p class="MsoPlainText"><o:p>&nbsp;</o:p></p>
<p class="MsoPlainText">Setting TX Freq: 2400.000000 MHz...<o:p></o:p></p>
<p class="MsoPlainText">Setting TX LO Offset: 100.000000 MHz...<o:p></o:p></p>
<p class="MsoPlainText">Actual TX Freq: 2400.000000 MHz...<o:p></o:p></p>
<p class="MsoPlainText"><o:p>&nbsp;</o:p></p>
<p class="MsoPlainText">Setting TX Gain: 0.000000 dB...<o:p></o:p></p>
<p class="MsoPlainText">Actual TX Gain: 0.000000 dB...<o:p></o:p></p>
<p class="MsoPlainText"><o:p>&nbsp;</o:p></p>
<p class="MsoPlainText">Checking TX: TXLO: locked ...<o:p></o:p></p>
<p class="MsoPlainText">[WARNING] [0/Radio#0] Attempting to set tick rate to 0. \
Skipping.<o:p></o:p></p> <p class="MsoPlainText"><o:p>&nbsp;</o:p></p>
<p class="MsoPlainText">Done!<o:p></o:p></p>
<p class="MsoPlainText"><o:p>&nbsp;</o:p></p>
<p class="MsoPlainText"><b>[ERROR] [CTRLEP] Caught exception during async message \
handling: map::at<o:p></o:p></b></p> <p class="MsoPlainText"><o:p>&nbsp;</o:p></p>
<p class="MsoPlainText">root@fmcw-sounder:/usr/local/lib/uhd/examples#<o:p></o:p></p>
<p class="MsoPlainText"><o:p>&nbsp;</o:p></p>
<p class="MsoPlainText"><o:p>&nbsp;</o:p></p>
<p class="MsoPlainText">Thanks!<o:p></o:p></p>
<p class="MsoPlainText">Casey<o:p></o:p></p>
</div>
</body>
</html>


["tx_output.txt" (text/plain)]



root@fmcw-sounder:/usr/local/lib/uhd/examples# ./tx_samples_from_file --file \
test_samples.dat --gain 0 --freq 2400000000 --lo-offset 100000000 --rate 200000000 \
--args "addr=192.168.50.2,use_dpdk=1"

Creating the usrp device with: addr=192.168.50.2,use_dpdk=1...
[INFO] [UHD] linux; GNU C++ version 9.3.0; Boost_107100; UHD_4.0.0.HEAD-0-g90ce6062
[WARNING] [PREFS] Loaded config from /root/.uhd. This location is considered \
                deprecated, consider moving your config file to /root/.config \
                instead.
EAL: Detected 12 lcore(s)
EAL: Detected 1 NUMA nodes
EAL: Multi-process socket /var/run/dpdk/rte/mp_socket
EAL: No free hugepages reported in hugepages-1048576kB
EAL: Probing VFIO support...
EAL: VFIO support initialized
EAL: PCI device 0000:01: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:01: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)
[ERROR] [UHD] Device discovery error: send_to: Network is unreachable
[ERROR] [USRP2] USRP2 Network discovery error send_to: Network is unreachable
[INFO] [X300] X300 initialization sequence...
[INFO] [X300] Maximum frame size: 8000 bytes.
[INFO] [X300] Radio 1x clock: 200 MHz
Using Device: Single USRP:
  Device: X-Series Device
  Mboard 0: X310
  RX Channel: 0
    RX DSP: 0
    RX Dboard: A
    RX Subdev: UBX RX
  RX Channel: 1
    RX DSP: 1
    RX Dboard: B
    RX Subdev: Unknown (0xffff) - 0
  TX Channel: 0
    TX DSP: 0
    TX Dboard: A
    TX Subdev: UBX TX
  TX Channel: 1
    TX DSP: 1
    TX Dboard: B
    TX Subdev: Unknown (0xffff) - 0

Setting TX Rate: 200.000000 Msps...
Actual TX Rate: 200.000000 Msps...

Setting TX Freq: 2400.000000 MHz...
Setting TX LO Offset: 100.000000 MHz...
Actual TX Freq: 2400.000000 MHz...

Setting TX Gain: 0.000000 dB...
Actual TX Gain: 0.000000 dB...

Checking TX: TXLO: locked ...
[WARNING] [0/Radio#0] Attempting to set tick rate to 0. Skipping.

Done!

[ERROR] [CTRLEP] Caught exception during async message handling: map::at
root@fmcw-sounder:/usr/local/lib/uhd/examples#



_______________________________________________
USRP-users mailing list -- usrp-users@lists.ettus.com
To unsubscribe send an email to usrp-users-leave@lists.ettus.com


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic