usrp-users@lists.ettus.com

Discussion and technical support related to USRP, UHD, RFNoC

View all threads

RFNoC socket error on X410

S
smm223@ucsd.edu
Wed, May 15, 2024 8:41 PM

Hi all,

I am trying to setup an X410 with a 4x10G NIC on the PC. After configuring the IP addresses, uhd_find_devices identifies the USRP without any issues. The output of uhd_find_devices is the following:

[INFO] [UHD] linux; GNU C++ version 11.4.0; Boost_107400; DPDK_21.11; UHD_4.6.0.HEAD-0-g50fa3baa

--------------------------------------------------

-- UHD Device 0

--------------------------------------------------

Device Address:

 serial: 327B85D

 addr: 192.168.11.2

 claimed: False

 fpga: X4_200

 mgmt_addr: 192.168.10.2

 mgmt_addr: 192.168.11.2

 mgmt_addr: 192.168.12.2

 mgmt_addr: 192.168.13.2

 name: ni-x4xx-327B85D

 product: x410

 type: x4xx

When I run uhd_usrp_probe, I am facing the following error:

[INFO] [UHD] linux; GNU C++ version 11.4.0; Boost_107400; DPDK_21.11; UHD_4.6.0.HEAD-0-g50fa3baa

[INFO] [MPMD] Initializing 1 device(s) in parallel with args: mgmt_addr=192.168.13.2,type=x4xx,product=x410,serial=327B85D,name=ni-x4xx-327B85D,fpga=X4_200,claimed=False,addr=192.168.11.2

[INFO] [MPM.PeriphManager] init() called with device args `fpga=X4_200,mgmt_addr=192.168.13.2,name=ni-x4xx-327B85D,product=x410,clock_source=internal,time_source=internal,initializing=True'.

[WARNING] [UDP] The send buffer could not be resized sufficiently.

Target sock buff size: 25000000 bytes.

Actual sock buff size: 1048576 bytes.

See the transport application notes on buffer resizing.

Please run: sudo sysctl -w net.core.wmem_max=25000000

[ERROR] [RFNOC::MGMT] EnvironmentError: IOError: recv error on socket: Connection refused

[ERROR] [RFNOC::GRAPH] IO Error during GSM initialization. EnvironmentError: IOError: recv error on socket: Connection refused

[ERROR] [RFNOC::GRAPH] Caught exception while initializing graph: EnvironmentError: IOError: recv error on socket: Connection refused

Error: RuntimeError: Failure to create rfnoc_graph.

The same error pops up when I try to flash a new image.

~$ uhd_image_loader --args type=x4xx,addr=192.168.12.2,fpga=X4_200

[INFO] [UHD] linux; GNU C++ version 11.4.0; Boost_107400; DPDK_21.11; UHD_4.6.0.HEAD-0-g50fa3baa

[INFO] [MPMD] Initializing 1 device(s) in parallel with args: mgmt_addr=192.168.12.2,type=x4xx,product=x410,serial=327B85D,name=ni-x4xx-327B85D,fpga=X4_200,claimed=False,skip_init=1

[INFO] [MPMD] Claimed device without full initialization.

[INFO] [MPMD IMAGE LOADER] Starting update. This may take a while.

[INFO] [MPM.PeriphManager] Installing component `fpga'

[INFO] [MPM.PeriphManager] Installing component `dts'

[INFO] [MPM.RPCServer] Resetting peripheral manager.

[INFO] [MPM.PeriphManager] Device serial number: 3274839

[INFO] [MPM.PeriphManager.ClkMgr] Using Clock Configuration:

DB0: Master Clock Rate: 245.76 MSps @Converter Rate 2.94912 GHz

DB1: Master Clock Rate: 245.76 MSps @Converter Rate 2.94912 GHz

[INFO] [MPM.PeriphManager] Initialized 2 daughterboard(s).

[INFO] [MPM.PeriphManager] init() called with device args `boot_init=True,clock_source=internal,time_source=internal,initializing=True'.

[INFO] [MPMD IMAGE LOADER] Update component function succeeded.

[INFO] [MPMD] Initializing 1 device(s) in parallel with args: mgmt_addr=192.168.12.2,type=x4xx,product=x410,serial=327B85D,name=ni-x4xx-327B85D,fpga=X4_200,claimed=False,addr=192.168.12.2,find_all=1

[INFO] [MPM.PeriphManager] init() called with device args `find_all=1,fpga=X4_200,mgmt_addr=192.168.12.2,name=ni-x4xx-327B85D,product=x410,clock_source=internal,time_source=internal,initializing=True'.

[ERROR] [RFNOC::MGMT] EnvironmentError: IOError: recv error on socket: Connection refused

[ERROR] [RFNOC::GRAPH] IO Error during GSM initialization. EnvironmentError: IOError: recv error on socket: Connection refused

[ERROR] [RFNOC::GRAPH] Caught exception while initializing graph: EnvironmentError: IOError: recv error on socket: Connection refused

Error: RuntimeError: Failure to create rfnoc_graph.

What could be the possible issues? Greatly appreciate you help!

Hi all, I am trying to setup an X410 with a 4x10G NIC on the PC. After configuring the IP addresses, `uhd_find_devices `identifies the USRP without any issues. The output of `uhd_find_devices `is the following: > \[INFO\] \[UHD\] linux; GNU C++ version 11.4.0; Boost_107400; DPDK_21.11; UHD_4.6.0.HEAD-0-g50fa3baa > > \-------------------------------------------------- > > \-- UHD Device 0 > > \-------------------------------------------------- > > Device Address: > > serial: 327B85D > > addr: 192.168.11.2 > > claimed: False > > fpga: X4_200 > > mgmt_addr: 192.168.10.2 > > mgmt_addr: 192.168.11.2 > > mgmt_addr: 192.168.12.2 > > mgmt_addr: 192.168.13.2 > > name: ni-x4xx-327B85D > > product: x410 > > type: x4xx When I run `uhd_usrp_probe`, I am facing the following error: > \[INFO\] \[UHD\] linux; GNU C++ version 11.4.0; Boost_107400; DPDK_21.11; UHD_4.6.0.HEAD-0-g50fa3baa > > \[INFO\] \[MPMD\] Initializing 1 device(s) in parallel with args: mgmt_addr=192.168.13.2,type=x4xx,product=x410,serial=327B85D,name=ni-x4xx-327B85D,fpga=X4_200,claimed=False,addr=192.168.11.2 > > \[INFO\] \[MPM.PeriphManager\] init() called with device args \`fpga=X4_200,mgmt_addr=192.168.13.2,name=ni-x4xx-327B85D,product=x410,clock_source=internal,time_source=internal,initializing=True'. > > \[WARNING\] \[UDP\] The send buffer could not be resized sufficiently. > > Target sock buff size: 25000000 bytes. > > Actual sock buff size: 1048576 bytes. > > See the transport application notes on buffer resizing. > > Please run: sudo sysctl -w net.core.wmem_max=25000000 > > \[ERROR\] \[RFNOC::MGMT\] EnvironmentError: IOError: recv error on socket: Connection refused > > \[ERROR\] \[RFNOC::GRAPH\] IO Error during GSM initialization. EnvironmentError: IOError: recv error on socket: Connection refused > > \[ERROR\] \[RFNOC::GRAPH\] Caught exception while initializing graph: EnvironmentError: IOError: recv error on socket: Connection refused > > Error: RuntimeError: Failure to create rfnoc_graph. The same error pops up when I try to flash a new image. > \~$ uhd_image_loader --args type=x4xx,addr=192.168.12.2,fpga=X4_200 > > \[INFO\] \[UHD\] linux; GNU C++ version 11.4.0; Boost_107400; DPDK_21.11; UHD_4.6.0.HEAD-0-g50fa3baa > > \[INFO\] \[MPMD\] Initializing 1 device(s) in parallel with args: mgmt_addr=192.168.12.2,type=x4xx,product=x410,serial=327B85D,name=ni-x4xx-327B85D,fpga=X4_200,claimed=False,skip_init=1 > > \[INFO\] \[MPMD\] Claimed device without full initialization. > > \[INFO\] \[MPMD IMAGE LOADER\] Starting update. This may take a while. > > \[INFO\] \[MPM.PeriphManager\] Installing component \`fpga' > > \[INFO\] \[MPM.PeriphManager\] Installing component \`dts' > > \[INFO\] \[MPM.RPCServer\] Resetting peripheral manager. > > \[INFO\] \[MPM.PeriphManager\] Device serial number: 3274839 > > \[INFO\] \[MPM.PeriphManager.ClkMgr\] Using Clock Configuration: > > DB0: Master Clock Rate: 245.76 MSps @Converter Rate 2.94912 GHz > > DB1: Master Clock Rate: 245.76 MSps @Converter Rate 2.94912 GHz > > \[INFO\] \[MPM.PeriphManager\] Initialized 2 daughterboard(s). > > \[INFO\] \[MPM.PeriphManager\] init() called with device args \`boot_init=True,clock_source=internal,time_source=internal,initializing=True'. > > \[INFO\] \[MPMD IMAGE LOADER\] Update component function succeeded. > > \[INFO\] \[MPMD\] Initializing 1 device(s) in parallel with args: mgmt_addr=192.168.12.2,type=x4xx,product=x410,serial=327B85D,name=ni-x4xx-327B85D,fpga=X4_200,claimed=False,addr=192.168.12.2,find_all=1 > > \[INFO\] \[MPM.PeriphManager\] init() called with device args \`find_all=1,fpga=X4_200,mgmt_addr=192.168.12.2,name=ni-x4xx-327B85D,product=x410,clock_source=internal,time_source=internal,initializing=True'. > > \[ERROR\] \[RFNOC::MGMT\] EnvironmentError: IOError: recv error on socket: Connection refused > > \[ERROR\] \[RFNOC::GRAPH\] IO Error during GSM initialization. EnvironmentError: IOError: recv error on socket: Connection refused > > \[ERROR\] \[RFNOC::GRAPH\] Caught exception while initializing graph: EnvironmentError: IOError: recv error on socket: Connection refused > > Error: RuntimeError: Failure to create rfnoc_graph. What could be the possible issues? Greatly appreciate you help!
WF
Wade Fife
Thu, May 16, 2024 3:12 AM

One common thing that causes this error is having cables swapped. Normally,
you need to connect the host computer port with 192.168.10.1 to the SFP
port with 192.168.10.2 (and they should be on the same subnet), but if you
mix them up then it'll sometimes let you ping, but more complex operations
like what you're trying will fail with that exact error message.

Wade

On Wed, May 15, 2024 at 3:42 PM smm223--- via USRP-users <
usrp-users@lists.ettus.com> wrote:

Hi all,

I am trying to setup an X410 with a 4x10G NIC on the PC. After configuring
the IP addresses, uhd_find_devices identifies the USRP without any
issues. The output of uhd_find_devices is the following:

[INFO] [UHD] linux; GNU C++ version 11.4.0; Boost_107400; DPDK_21.11;
UHD_4.6.0.HEAD-0-g50fa3baa


-- UHD Device 0


Device Address:

serial: 327B85D

addr: 192.168.11.2

claimed: False

fpga: X4_200

mgmt_addr: 192.168.10.2

mgmt_addr: 192.168.11.2

mgmt_addr: 192.168.12.2

mgmt_addr: 192.168.13.2

name: ni-x4xx-327B85D

product: x410

type: x4xx

When I run uhd_usrp_probe, I am facing the following error:

[INFO] [UHD] linux; GNU C++ version 11.4.0; Boost_107400; DPDK_21.11;
UHD_4.6.0.HEAD-0-g50fa3baa

[INFO] [MPMD] Initializing 1 device(s) in parallel with args:
mgmt_addr=192.168.13.2,type=x4xx,product=x410,serial=327B85D,name=ni-x4xx-327B85D,fpga=X4_200,claimed=False,addr=192.168.11.2

[INFO] [MPM.PeriphManager] init() called with device args
`fpga=X4_200,mgmt_addr=192.168.13.2,name=ni-x4xx-327B85D,product=x410,clock_source=internal,time_source=internal,initializing=True'.

[WARNING] [UDP] The send buffer could not be resized sufficiently.

Target sock buff size: 25000000 bytes.

Actual sock buff size: 1048576 bytes.

See the transport application notes on buffer resizing.

Please run: sudo sysctl -w net.core.wmem_max=25000000

[ERROR] [RFNOC::MGMT] EnvironmentError: IOError: recv error on socket:
Connection refused

[ERROR] [RFNOC::GRAPH] IO Error during GSM initialization.
EnvironmentError: IOError: recv error on socket: Connection refused

[ERROR] [RFNOC::GRAPH] Caught exception while initializing graph:
EnvironmentError: IOError: recv error on socket: Connection refused

Error: RuntimeError: Failure to create rfnoc_graph.

The same error pops up when I try to flash a new image.

~$ uhd_image_loader --args type=x4xx,addr=192.168.12.2,fpga=X4_200

[INFO] [UHD] linux; GNU C++ version 11.4.0; Boost_107400; DPDK_21.11;
UHD_4.6.0.HEAD-0-g50fa3baa

[INFO] [MPMD] Initializing 1 device(s) in parallel with args:
mgmt_addr=192.168.12.2,type=x4xx,product=x410,serial=327B85D,name=ni-x4xx-327B85D,fpga=X4_200,claimed=False,skip_init=1

[INFO] [MPMD] Claimed device without full initialization.

[INFO] [MPMD IMAGE LOADER] Starting update. This may take a while.

[INFO] [MPM.PeriphManager] Installing component `fpga'

[INFO] [MPM.PeriphManager] Installing component `dts'

[INFO] [MPM.RPCServer] Resetting peripheral manager.

[INFO] [MPM.PeriphManager] Device serial number: 3274839

[INFO] [MPM.PeriphManager.ClkMgr] Using Clock Configuration:

DB0: Master Clock Rate: 245.76 MSps @Converter Rate 2.94912 GHz

DB1: Master Clock Rate: 245.76 MSps @Converter Rate 2.94912 GHz

[INFO] [MPM.PeriphManager] Initialized 2 daughterboard(s).

[INFO] [MPM.PeriphManager] init() called with device args
`boot_init=True,clock_source=internal,time_source=internal,initializing=True'.

[INFO] [MPMD IMAGE LOADER] Update component function succeeded.

[INFO] [MPMD] Initializing 1 device(s) in parallel with args:
mgmt_addr=192.168.12.2,type=x4xx,product=x410,serial=327B85D,name=ni-x4xx-327B85D,fpga=X4_200,claimed=False,addr=192.168.12.2,find_all=1

[INFO] [MPM.PeriphManager] init() called with device args
`find_all=1,fpga=X4_200,mgmt_addr=192.168.12.2,name=ni-x4xx-327B85D,product=x410,clock_source=internal,time_source=internal,initializing=True'.

[ERROR] [RFNOC::MGMT] EnvironmentError: IOError: recv error on socket:
Connection refused

[ERROR] [RFNOC::GRAPH] IO Error during GSM initialization.
EnvironmentError: IOError: recv error on socket: Connection refused

[ERROR] [RFNOC::GRAPH] Caught exception while initializing graph:
EnvironmentError: IOError: recv error on socket: Connection refused

Error: RuntimeError: Failure to create rfnoc_graph.

What could be the possible issues? Greatly appreciate you help!


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

One common thing that causes this error is having cables swapped. Normally, you need to connect the host computer port with 192.168.10.1 to the SFP port with 192.168.10.2 (and they should be on the same subnet), but if you mix them up then it'll sometimes let you ping, but more complex operations like what you're trying will fail with that exact error message. Wade On Wed, May 15, 2024 at 3:42 PM smm223--- via USRP-users < usrp-users@lists.ettus.com> wrote: > Hi all, > > I am trying to setup an X410 with a 4x10G NIC on the PC. After configuring > the IP addresses, uhd_find_devices identifies the USRP without any > issues. The output of uhd_find_devices is the following: > > [INFO] [UHD] linux; GNU C++ version 11.4.0; Boost_107400; DPDK_21.11; > UHD_4.6.0.HEAD-0-g50fa3baa > > -------------------------------------------------- > > -- UHD Device 0 > > -------------------------------------------------- > > Device Address: > > serial: 327B85D > > addr: 192.168.11.2 > > claimed: False > > fpga: X4_200 > > mgmt_addr: 192.168.10.2 > > mgmt_addr: 192.168.11.2 > > mgmt_addr: 192.168.12.2 > > mgmt_addr: 192.168.13.2 > > name: ni-x4xx-327B85D > > product: x410 > > type: x4xx > > When I run uhd_usrp_probe, I am facing the following error: > > [INFO] [UHD] linux; GNU C++ version 11.4.0; Boost_107400; DPDK_21.11; > UHD_4.6.0.HEAD-0-g50fa3baa > > [INFO] [MPMD] Initializing 1 device(s) in parallel with args: > mgmt_addr=192.168.13.2,type=x4xx,product=x410,serial=327B85D,name=ni-x4xx-327B85D,fpga=X4_200,claimed=False,addr=192.168.11.2 > > [INFO] [MPM.PeriphManager] init() called with device args > `fpga=X4_200,mgmt_addr=192.168.13.2,name=ni-x4xx-327B85D,product=x410,clock_source=internal,time_source=internal,initializing=True'. > > [WARNING] [UDP] The send buffer could not be resized sufficiently. > > Target sock buff size: 25000000 bytes. > > Actual sock buff size: 1048576 bytes. > > See the transport application notes on buffer resizing. > > Please run: sudo sysctl -w net.core.wmem_max=25000000 > > [ERROR] [RFNOC::MGMT] EnvironmentError: IOError: recv error on socket: > Connection refused > > [ERROR] [RFNOC::GRAPH] IO Error during GSM initialization. > EnvironmentError: IOError: recv error on socket: Connection refused > > [ERROR] [RFNOC::GRAPH] Caught exception while initializing graph: > EnvironmentError: IOError: recv error on socket: Connection refused > > Error: RuntimeError: Failure to create rfnoc_graph. > > The same error pops up when I try to flash a new image. > > ~$ uhd_image_loader --args type=x4xx,addr=192.168.12.2,fpga=X4_200 > > [INFO] [UHD] linux; GNU C++ version 11.4.0; Boost_107400; DPDK_21.11; > UHD_4.6.0.HEAD-0-g50fa3baa > > [INFO] [MPMD] Initializing 1 device(s) in parallel with args: > mgmt_addr=192.168.12.2,type=x4xx,product=x410,serial=327B85D,name=ni-x4xx-327B85D,fpga=X4_200,claimed=False,skip_init=1 > > [INFO] [MPMD] Claimed device without full initialization. > > [INFO] [MPMD IMAGE LOADER] Starting update. This may take a while. > > [INFO] [MPM.PeriphManager] Installing component `fpga' > > [INFO] [MPM.PeriphManager] Installing component `dts' > > [INFO] [MPM.RPCServer] Resetting peripheral manager. > > [INFO] [MPM.PeriphManager] Device serial number: 3274839 > > [INFO] [MPM.PeriphManager.ClkMgr] Using Clock Configuration: > > DB0: Master Clock Rate: 245.76 MSps @Converter Rate 2.94912 GHz > > DB1: Master Clock Rate: 245.76 MSps @Converter Rate 2.94912 GHz > > [INFO] [MPM.PeriphManager] Initialized 2 daughterboard(s). > > [INFO] [MPM.PeriphManager] init() called with device args > `boot_init=True,clock_source=internal,time_source=internal,initializing=True'. > > [INFO] [MPMD IMAGE LOADER] Update component function succeeded. > > [INFO] [MPMD] Initializing 1 device(s) in parallel with args: > mgmt_addr=192.168.12.2,type=x4xx,product=x410,serial=327B85D,name=ni-x4xx-327B85D,fpga=X4_200,claimed=False,addr=192.168.12.2,find_all=1 > > [INFO] [MPM.PeriphManager] init() called with device args > `find_all=1,fpga=X4_200,mgmt_addr=192.168.12.2,name=ni-x4xx-327B85D,product=x410,clock_source=internal,time_source=internal,initializing=True'. > > [ERROR] [RFNOC::MGMT] EnvironmentError: IOError: recv error on socket: > Connection refused > > [ERROR] [RFNOC::GRAPH] IO Error during GSM initialization. > EnvironmentError: IOError: recv error on socket: Connection refused > > [ERROR] [RFNOC::GRAPH] Caught exception while initializing graph: > EnvironmentError: IOError: recv error on socket: Connection refused > > Error: RuntimeError: Failure to create rfnoc_graph. > > What could be the possible issues? Greatly appreciate you help! > _______________________________________________ > USRP-users mailing list -- usrp-users@lists.ettus.com > To unsubscribe send an email to usrp-users-leave@lists.ettus.com >
S
smm223@ucsd.edu
Thu, May 16, 2024 8:15 PM

It works fine after resetting the orientation. Since the interfaces showed up and ping worked, we did not suspect the SFP cables connection. Thanks for your help.

It works fine after resetting the orientation. Since the interfaces showed up and ping worked, we did not suspect the SFP cables connection. Thanks for your help.