Hello I hereby want to share more info. Please see attached file. Thanks Hoshang
On Thu, 10 Oct 2024 at 09:02, Houshang <houshang.az...@accelleran.com> wrote: > Hello > Does anyone know how to deal with the following error? > Thanks > Houshang > > ad@bm-super11-intel:/etc/netplan$ uhd_usrp_probe > [INFO] [UHD] linux; GNU C++ version 11.4.0; Boost_107400; DPDK_21.11; > UHD_4.7.0.HEAD-0-ga5ed1872 > [INFO] [MPMD] Initializing 1 device(s) in parallel with args: > mgmt_addr=10.10.0.100,type=n3xx,product=n310,serial=32000F1,name=ni-n3xx-32000F1,fpga=XG,claimed=False,addr=10.10.2.100 > [INFO] [MPM.PeriphManager] init() called with device args > `fpga=XG,mgmt_addr=10.10.0.100,name=ni-n3xx-32000F1,product=n310,clock_source=internal,time_source=internal'. > [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. > ad@bm-super11-intel:/etc/netplan$ uhd_find_devices > [INFO] [UHD] linux; GNU C++ version 11.4.0; Boost_107400; DPDK_21.11; > UHD_4.7.0.HEAD-0-ga5ed1872 > -------------------------------------------------- > -- UHD Device 0 > -------------------------------------------------- > Device Address: > serial: 32000F1 > addr: 10.10.2.100 > claimed: False > fpga: XG > mgmt_addr: 10.10.0.100 > mgmt_addr: 10.10.1.100 > mgmt_addr: 10.10.2.100 > name: ni-n3xx-32000F1 > product: n310 > type: n3xx > > > ad@bm-super11-intel:/etc/netplan$ ping 10.10.0.100 > PING 10.10.0.100 (10.10.0.100) 56(84) bytes of data. > 64 bytes from 10.10.0.100: icmp_seq=1 ttl=64 time=0.289 ms > ^C > --- 10.10.0.100 ping statistics --- > 1 packets transmitted, 1 received, 0% packet loss, time 0ms > rtt min/avg/max/mdev = 0.289/0.289/0.289/0.000 ms > ad@bm-super11-intel:/etc/netplan$ ping 10.10.1.100 > PING 10.10.1.100 (10.10.1.100) 56(84) bytes of data. > 64 bytes from 10.10.1.100: icmp_seq=1 ttl=64 time=1.16 ms > 64 bytes from 10.10.1.100: icmp_seq=2 ttl=64 time=1.11 ms > ^C > --- 10.10.1.100 ping statistics --- > 2 packets transmitted, 2 received, 0% packet loss, time 1001ms > rtt min/avg/max/mdev = 1.107/1.135/1.163/0.028 ms > ad@bm-super11-intel:/etc/netplan$ ping 10.10.2.100 > PING 10.10.2.100 (10.10.2.100) 56(84) bytes of data. > 64 bytes from 10.10.2.100: icmp_seq=1 ttl=64 time=1.02 ms > ^C > --- 10.10.2.100 ping statistics --- > 1 packets transmitted, 1 received, 0% packet loss, time 0ms > rtt min/avg/max/mdev = 1.019/1.019/1.019/0.000 ms > ad@bm-super11-intel:/etc/netplan$ > -- *Houshang Azizi* *Test Engineer* [image: logo] <https://www.accelleran.com/> *(32) 492195241* *houshang.az...@accelleran.com <em...@accelleran.com>* *www.accelleran.com* <http://www.accelleran.com/> [image: linkedin icon] <https://www.linkedin.com/company/accelleran> [image: twitter icon] <https://twitter.com/accelleran> [image: youtube icon] <https://www.youtube.com/channel/UCrAEtqWp21cibZgSFVIEx2g?themeRefresh=1>
ad@bm-super11-intel:/usr/local/lib/uhd/examples$ sudo dpdk-devbind.py --status Network devices using DPDK-compatible driver ============================================ 0000:43:00.1 'Ethernet Controller X710 for 10GbE SFP+ 1572' drv=vfio-pci unused=i40e 0000:43:00.2 'Ethernet Controller X710 for 10GbE SFP+ 1572' drv=vfio-pci unused=i40e Network devices using kernel driver =================================== 0000:04:00.0 'Ethernet Controller 10G X550T 1563' if=eno1 drv=ixgbe unused=vfio-pci *Active* 0000:04:00.1 'Ethernet Controller 10G X550T 1563' if=eno2 drv=ixgbe unused=vfio-pci 0000:43:00.0 'Ethernet Controller X710 for 10GbE SFP+ 1572' if=ens1f0 drv=i40e unused=vfio-pci 0000:43:00.3 'Ethernet Controller X710 for 10GbE SFP+ 1572' if=ens1f3 drv=i40e unused=vfio-pci *Active* 0000:70:00.0 'Ethernet Controller X710 for 10GbE SFP+ 1572' if=ens2f0 drv=i40e unused=vfio-pci 0000:70:00.1 'Ethernet Controller X710 for 10GbE SFP+ 1572' if=ens2f1 drv=i40e unused=vfio-pci Other Baseband devices ====================== 0000:f7:00.0 'Device 57c0' unused=vfio-pci No 'Crypto' devices detected ============================ DMA devices using kernel driver =============================== 0000:f6:01.0 'Device 0b25' drv=idxd unused=vfio-pci No 'Eventdev' devices detected ============================== No 'Mempool' devices detected ============================= No 'Compress' devices detected ============================== No 'Misc (rawdev)' devices detected =================================== No 'Regex' devices detected =========================== ad@bm-super11-intel:/usr/local/lib/uhd/examples$ sudo cat /root/.config/uhd.conf [use_dpdk=1] dpdk_mtu=9000 dpdk_driver=/usr/lib/x86_64-linux-gnu/dpdk/pmds-22.0 dpdk_corelist=2,3,4 dpdk_num_mbufs=4095 dpdk_mbuf_cache_size=64 [dpdk_mac=3c:ec:ef:af:7b:8d] dpdk_lcore = 3 dpdk_ipv4 = 10.10.1.1/24 dpdk_num_desc = 4096 [dpdk_mac=3c:ec:ef:af:7b:8e] dpdk_lcore = 4 dpdk_ipv4 = 10.10.2.1/24 dpdk_num_desc = 4096 ad@bm-super11-intel:/usr/local/lib/uhd/examples$ sudo uhd_find_devices [INFO] [UHD] linux; GNU C++ version 11.4.0; Boost_107400; DPDK_21.11; UHD_4.7.0.HEAD-0-ga5ed1872 -------------------------------------------------- -- UHD Device 0 -------------------------------------------------- Device Address: serial: 32000F1 addr: 10.10.0.100 claimed: False fpga: XG mgmt_addr: 10.10.0.100 name: ni-n3xx-32000F1 product: n310 type: n3xx ad@bm-super11-intel:/usr/local/lib/uhd/examples$ sudo ./benchmark_rate --rx_rate 125e6 --rx_subdev "A:0 B:0" --rx_channels 0,1 --tx_rate 125e6 --tx_subdev "A:0 B:0" --tx_channels 0,1 --args "addr=10.10.1.100,second_addr=10.10.2.100,mgmt_addr=10.10.0.100,master_clock_rate=125e6,use_dpdk=1" [INFO] [UHD] linux; GNU C++ version 11.4.0; Boost_107400; DPDK_21.11; UHD_4.7.0.HEAD-0-ga5ed1872 EAL: Detected CPU lcores: 64 EAL: Detected NUMA nodes: 1 EAL: Detected shared linkage of DPDK EAL: Multi-process socket /var/run/dpdk/rte/mp_socket EAL: Selected IOVA mode 'VA' EAL: No available 2048 kB hugepages reported EAL: No free 1048576 kB hugepages reported on node 0 EAL: No available 1048576 kB hugepages reported EAL: FATAL: Cannot get hugepage information. EAL: Cannot get hugepage information. [ERROR] [DPDK] Error with EAL initialization [ERROR] [UHD] Device discovery error: RuntimeError: Error with EAL initialization EAL: Detected CPU lcores: 64 EAL: Detected NUMA nodes: 1 EAL: Option -l is ignored, because (-l) is set! Usage: uhd::transport::dpdk [options] EAL common options: -c COREMASK Hexadecimal bitmask of cores to run on -l CORELIST List of cores to run on The argument format is <c1>[-c2][,c3[-c4],...] where c1, c2, etc are core indexes between 0 and 128 --lcores COREMAP Map lcore set to physical cpu set The argument format is '<lcores[@cpus]>[<,lcores[@cpus]>...]' lcores and cpus list are grouped by '(' and ')' Within the group, '-' is used for range separator, ',' is used for single number separator. '( )' can be omitted for single element group, '@' can be omitted if cpus and lcores have the same value -s SERVICE COREMASK Hexadecimal bitmask of cores to be used as service cores --main-lcore ID Core ID that is used as main --mbuf-pool-ops-name Pool ops name for mbuf to use -n CHANNELS Number of memory channels -m MB Memory to allocate (see also --socket-mem) -r RANKS Force number of memory ranks (don't detect) -b, --block Add a device to the blocked list. Prevent EAL from using this device. The argument format for PCI devices is <domain:bus:devid.func>. -a, --allow Add a device to the allow list. Only use the specified devices. The argument format for PCI devices is <[domain:]bus:devid.func>. This option can be present several times. [NOTE: allow cannot be used with block option] --vdev Add a virtual device. The argument format is <driver><id>[,key=val,...] (ex: --vdev=net_pcap0,iface=eth2). --iova-mode Set IOVA mode. 'pa' for IOVA_PA 'va' for IOVA_VA -d LIB.so|DIR Add a driver or driver directory (can be used multiple times) --vmware-tsc-map Use VMware TSC map instead of native RDTSC --proc-type Type of this process (primary|secondary|auto) --syslog Set syslog facility --log-level=<level> Set global log level --log-level=<type-match>:<level> Set specific log level --log-level=help Show log types and levels --trace=<regex-match> Enable trace based on regular expression trace name. By default, the trace is disabled. User must specify this option to enable trace. --trace-dir=<directory path> Specify trace directory for trace output. By default, trace output will created at $HOME directory and parameter must be specified once only. --trace-bufsz=<int> Specify maximum size of allocated memory for trace output for each thread. Valid unit can be either 'B|K|M' for 'Bytes', 'KBytes' and 'MBytes' respectively. Default is 1MB and parameter must be specified once only. --trace-mode=<o[verwrite] | d[iscard]> Specify the mode of update of trace output file. Either update on a file can be wrapped or discarded when file size reaches its maximum limit. Default mode is 'overwrite' and parameter must be specified once only. -v Display version information on startup -h, --help This help --in-memory Operate entirely in memory. This will disable secondary process support --base-virtaddr Base virtual address --telemetry Enable telemetry support (on by default) --no-telemetry Disable telemetry support --force-max-simd-bitwidth Force the max SIMD bitwidth EAL options for DEBUG use only: --huge-unlink Unlink hugepage files after init --no-huge Use malloc instead of hugetlbfs --no-pci Disable PCI --no-hpet Disable HPET --no-shconf No shared config (mmap'd files) EAL Linux options: --socket-mem Memory to allocate on sockets (comma separated values) --socket-limit Limit memory allocation on sockets (comma separated values) --huge-dir Directory where hugetlbfs is mounted --file-prefix Prefix for hugepage filenames --create-uio-dev Create /dev/uioX (usually done by hotplug) --vfio-intr Interrupt mode for VFIO (legacy|msi|msix) --vfio-vf-token VF token (UUID) shared between SR-IOV PF and VFs --legacy-mem Legacy memory mode (no dynamic allocation, contiguous segments) --single-file-segments Put all hugepage memory in single files --match-allocations Free hugepages exactly as allocated EAL: FATAL: Invalid 'command line' arguments. EAL: Invalid 'command line' arguments. [ERROR] [DPDK] Error with EAL initialization [ERROR] [X300] X300 Network discovery error RuntimeError: Error with EAL initialization [00:00:00.000136] Creating the usrp device with: addr=10.10.1.100,second_addr=10.10.2.100,mgmt_addr=10.10.0.100,master_clock_rate=125e6,use_dpdk=1... EAL: Detected CPU lcores: 64 EAL: Detected NUMA nodes: 1 EAL: Option -l is ignored, because (-l) is set! Usage: uhd::transport::dpdk [options] EAL common options: -c COREMASK Hexadecimal bitmask of cores to run on -l CORELIST List of cores to run on The argument format is <c1>[-c2][,c3[-c4],...] where c1, c2, etc are core indexes between 0 and 128 --lcores COREMAP Map lcore set to physical cpu set The argument format is '<lcores[@cpus]>[<,lcores[@cpus]>...]' lcores and cpus list are grouped by '(' and ')' Within the group, '-' is used for range separator, ',' is used for single number separator. '( )' can be omitted for single element group, '@' can be omitted if cpus and lcores have the same value -s SERVICE COREMASK Hexadecimal bitmask of cores to be used as service cores --main-lcore ID Core ID that is used as main --mbuf-pool-ops-name Pool ops name for mbuf to use -n CHANNELS Number of memory channels -m MB Memory to allocate (see also --socket-mem) -r RANKS Force number of memory ranks (don't detect) -b, --block Add a device to the blocked list. Prevent EAL from using this device. The argument format for PCI devices is <domain:bus:devid.func>. -a, --allow Add a device to the allow list. Only use the specified devices. The argument format for PCI devices is <[domain:]bus:devid.func>. This option can be present several times. [NOTE: allow cannot be used with block option] --vdev Add a virtual device. The argument format is <driver><id>[,key=val,...] (ex: --vdev=net_pcap0,iface=eth2). --iova-mode Set IOVA mode. 'pa' for IOVA_PA 'va' for IOVA_VA -d LIB.so|DIR Add a driver or driver directory (can be used multiple times) --vmware-tsc-map Use VMware TSC map instead of native RDTSC --proc-type Type of this process (primary|secondary|auto) --syslog Set syslog facility --log-level=<level> Set global log level --log-level=<type-match>:<level> Set specific log level --log-level=help Show log types and levels --trace=<regex-match> Enable trace based on regular expression trace name. By default, the trace is disabled. User must specify this option to enable trace. --trace-dir=<directory path> Specify trace directory for trace output. By default, trace output will created at $HOME directory and parameter must be specified once only. --trace-bufsz=<int> Specify maximum size of allocated memory for trace output for each thread. Valid unit can be either 'B|K|M' for 'Bytes', 'KBytes' and 'MBytes' respectively. Default is 1MB and parameter must be specified once only. --trace-mode=<o[verwrite] | d[iscard]> Specify the mode of update of trace output file. Either update on a file can be wrapped or discarded when file size reaches its maximum limit. Default mode is 'overwrite' and parameter must be specified once only. -v Display version information on startup -h, --help This help --in-memory Operate entirely in memory. This will disable secondary process support --base-virtaddr Base virtual address --telemetry Enable telemetry support (on by default) --no-telemetry Disable telemetry support --force-max-simd-bitwidth Force the max SIMD bitwidth EAL options for DEBUG use only: --huge-unlink Unlink hugepage files after init --no-huge Use malloc instead of hugetlbfs --no-pci Disable PCI --no-hpet Disable HPET --no-shconf No shared config (mmap'd files) EAL Linux options: --socket-mem Memory to allocate on sockets (comma separated values) --socket-limit Limit memory allocation on sockets (comma separated values) --huge-dir Directory where hugetlbfs is mounted --file-prefix Prefix for hugepage filenames --create-uio-dev Create /dev/uioX (usually done by hotplug) --vfio-intr Interrupt mode for VFIO (legacy|msi|msix) --vfio-vf-token VF token (UUID) shared between SR-IOV PF and VFs --legacy-mem Legacy memory mode (no dynamic allocation, contiguous segments) --single-file-segments Put all hugepage memory in single files --match-allocations Free hugepages exactly as allocated EAL: FATAL: Invalid 'command line' arguments. EAL: Invalid 'command line' arguments. [ERROR] [DPDK] Error with EAL initialization [ERROR] [UHD] Device discovery error: RuntimeError: Error with EAL initialization EAL: Detected CPU lcores: 64 EAL: Detected NUMA nodes: 1 EAL: Option -l is ignored, because (-l) is set! Usage: uhd::transport::dpdk [options] EAL common options: -c COREMASK Hexadecimal bitmask of cores to run on -l CORELIST List of cores to run on The argument format is <c1>[-c2][,c3[-c4],...] where c1, c2, etc are core indexes between 0 and 128 --lcores COREMAP Map lcore set to physical cpu set The argument format is '<lcores[@cpus]>[<,lcores[@cpus]>...]' lcores and cpus list are grouped by '(' and ')' Within the group, '-' is used for range separator, ',' is used for single number separator. '( )' can be omitted for single element group, '@' can be omitted if cpus and lcores have the same value -s SERVICE COREMASK Hexadecimal bitmask of cores to be used as service cores --main-lcore ID Core ID that is used as main --mbuf-pool-ops-name Pool ops name for mbuf to use -n CHANNELS Number of memory channels -m MB Memory to allocate (see also --socket-mem) -r RANKS Force number of memory ranks (don't detect) -b, --block Add a device to the blocked list. Prevent EAL from using this device. The argument format for PCI devices is <domain:bus:devid.func>. -a, --allow Add a device to the allow list. Only use the specified devices. The argument format for PCI devices is <[domain:]bus:devid.func>. This option can be present several times. [NOTE: allow cannot be used with block option] --vdev Add a virtual device. The argument format is <driver><id>[,key=val,...] (ex: --vdev=net_pcap0,iface=eth2). --iova-mode Set IOVA mode. 'pa' for IOVA_PA 'va' for IOVA_VA -d LIB.so|DIR Add a driver or driver directory (can be used multiple times) --vmware-tsc-map Use VMware TSC map instead of native RDTSC --proc-type Type of this process (primary|secondary|auto) --syslog Set syslog facility --log-level=<level> Set global log level --log-level=<type-match>:<level> Set specific log level --log-level=help Show log types and levels --trace=<regex-match> Enable trace based on regular expression trace name. By default, the trace is disabled. User must specify this option to enable trace. --trace-dir=<directory path> Specify trace directory for trace output. By default, trace output will created at $HOME directory and parameter must be specified once only. --trace-bufsz=<int> Specify maximum size of allocated memory for trace output for each thread. Valid unit can be either 'B|K|M' for 'Bytes', 'KBytes' and 'MBytes' respectively. Default is 1MB and parameter must be specified once only. --trace-mode=<o[verwrite] | d[iscard]> Specify the mode of update of trace output file. Either update on a file can be wrapped or discarded when file size reaches its maximum limit. Default mode is 'overwrite' and parameter must be specified once only. -v Display version information on startup -h, --help This help --in-memory Operate entirely in memory. This will disable secondary process support --base-virtaddr Base virtual address --telemetry Enable telemetry support (on by default) --no-telemetry Disable telemetry support --force-max-simd-bitwidth Force the max SIMD bitwidth EAL options for DEBUG use only: --huge-unlink Unlink hugepage files after init --no-huge Use malloc instead of hugetlbfs --no-pci Disable PCI --no-hpet Disable HPET --no-shconf No shared config (mmap'd files) EAL Linux options: --socket-mem Memory to allocate on sockets (comma separated values) --socket-limit Limit memory allocation on sockets (comma separated values) --huge-dir Directory where hugetlbfs is mounted --file-prefix Prefix for hugepage filenames --create-uio-dev Create /dev/uioX (usually done by hotplug) --vfio-intr Interrupt mode for VFIO (legacy|msi|msix) --vfio-vf-token VF token (UUID) shared between SR-IOV PF and VFs --legacy-mem Legacy memory mode (no dynamic allocation, contiguous segments) --single-file-segments Put all hugepage memory in single files --match-allocations Free hugepages exactly as allocated EAL: FATAL: Invalid 'command line' arguments. EAL: Invalid 'command line' arguments. [ERROR] [DPDK] Error with EAL initialization [ERROR] [X300] X300 Network discovery error RuntimeError: Error with EAL initialization Error: LookupError: KeyError: No devices found for -----> Device Address: addr: 10.10.1.100 second_addr: 10.10.2.100 mgmt_addr: 10.10.0.100 master_clock_rate: 125e6 use_dpdk: 1 ad@bm-super11-intel:/usr/local/lib/uhd/examples$
_______________________________________________ USRP-users mailing list -- usrp-users@lists.ettus.com To unsubscribe send an email to usrp-users-le...@lists.ettus.com