Monday, January 21, 2019

Re: [Discuss-gnuradio] Different uhd behavior with two cloned computers

On 01/21/2019 06:48 PM, Achilleas Anastasopoulos wrote:
> Hi all,
>
> I have successfully installed from source gnuradio on an ubuntu 10.4.
>
> We are in the process of creating a communications lab with 10 hosts
> and 10 X300
> and we thought the easiest way is to clone the original computer so
> that we don't have to reinstall all the software.
>
> However, when I tried to the same command on the 2nd computer I get a
> different result:
>
> FIRST (original) computer
>
> anastas@AA-1:~$ uhd_usrp_probe
> [INFO] [UHD] linux; GNU C++ version 7.3.0; Boost_106501;
> UHD_3.13.0.1-release
> [INFO] [X300] X300 initialization sequence...
> [INFO] [X300] Maximum frame size: 1472 bytes.
> [INFO] [X300] Radio 1x clock: 200 MHz
> [INFO] [GPS] No GPSDO found
> [INFO] [0/DmaFIFO_0] Initializing block control (NOC ID:
> 0xF1F0D00000000000)
> [INFO] [0/DmaFIFO_0] BIST passed (Throughput: 1310 MB/s)
> [INFO] [0/DmaFIFO_0] BIST passed (Throughput: 1314 MB/s)
> [INFO] [0/Radio_0] Initializing block control (NOC ID: 0x12AD100000000001)
> [INFO] [0/Radio_1] Initializing block control (NOC ID: 0x12AD100000000001)
> [INFO] [0/DDC_0] Initializing block control (NOC ID: 0xDDC0000000000000)
> [INFO] [0/DDC_1] Initializing block control (NOC ID: 0xDDC0000000000000)
> [INFO] [0/DUC_0] Initializing block control (NOC ID: 0xD0C0000000000000)
> [INFO] [0/DUC_1] Initializing block control (NOC ID: 0xD0C0000000000000)
> _____________________________________________________
> /
> | Device: X-Series Device
> | _____________________________________________________
> | /
> | | Mboard: X310
> | | revision: 11
> | | revision_compat: 7
> | | product: 30818
> | | mac-addr0: 00:80:2f:22:60:05
> | | mac-addr1: 00:80:2f:22:60:06
> | | gateway: 192.168.10.1
> | | ip-addr0: 192.168.10.2
> | | subnet0: 255.255.255.0
> | | ip-addr1: 192.168.20.2
> | | subnet1: 255.255.255.0
> | | ip-addr2: 192.168.30.2
> | | subnet2: 255.255.255.0
> | | ip-addr3: 192.168.40.2
> | | subnet3: 255.255.255.0
> | | serial: 311D131
> | | FW Version: 6.0
> | | FPGA Version: 35.1
> | | FPGA git hash: 1107862
> | | RFNoC capable: Yes
> | |
> | | Time sources: internal, external, gpsdo
> | | Clock sources: internal, external, gpsdo
> | | Sensors: ref_locked
> | | _____________________________________________________
> | | /
> | | | RX Dboard: A
> | | | ID: UBX-160 v2 (0x007e)
> | | | Serial: 315EA0D
> | | | _____________________________________________________
> | | | /
> | | | | RX Frontend: 0
> | | | | Name: UBX RX
> | | | | Antennas: TX/RX, RX2, CAL
> | | | | Sensors: lo_locked
> | | | | Freq range: 10.000 to 6000.000 MHz
> | | | | Gain range PGA0: 0.0 to 31.5 step 0.5 dB
> | | | | Bandwidth range: 160000000.0 to 160000000.0 step 0.0 Hz
> | | | | Connection Type: IQ
> | | | | Uses LO offset: No
> | | | _____________________________________________________
> | | | /
> | | | | RX Codec: A
> | | | | Name: ads62p48
> | | | | Gain range digital: 0.0 to 6.0 step 0.5 dB
> | | _____________________________________________________
> | | /
> | | | RX Dboard: B
> | | | _____________________________________________________
> | | | /
> | | | | RX Frontend: 0
> | | | | Name: Unknown (0xffff) - 0
> | | | | Antennas:
> | | | | Sensors:
> | | | | Freq range: 0.000 to 0.000 MHz
> | | | | Gain Elements: None
> | | | | Bandwidth range: 0.0 to 0.0 step 0.0 Hz
> | | | | Connection Type: IQ
> | | | | Uses LO offset: No
> | | | _____________________________________________________
> | | | /
> | | | | RX Codec: B
> | | | | Name: ads62p48
> | | | | Gain range digital: 0.0 to 6.0 step 0.5 dB
> | | _____________________________________________________
> | | /
> | | | TX Dboard: A
> | | | ID: UBX-160 v2 (0x007d)
> | | | Serial: 315EA0D
> | | | _____________________________________________________
> | | | /
> | | | | TX Frontend: 0
> | | | | Name: UBX TX
> | | | | Antennas: TX/RX, CAL
> | | | | Sensors: lo_locked
> | | | | Freq range: 10.000 to 6000.000 MHz
> | | | | Gain range PGA0: 0.0 to 31.5 step 0.5 dB
> | | | | Bandwidth range: 160000000.0 to 160000000.0 step 0.0 Hz
> | | | | Connection Type: QI
> | | | | Uses LO offset: No
> | | | _____________________________________________________
> | | | /
> | | | | TX Codec: A
> | | | | Name: ad9146
> | | | | Gain Elements: None
> | | _____________________________________________________
> | | /
> | | | TX Dboard: B
> | | | _____________________________________________________
> | | | /
> | | | | TX Frontend: 0
> | | | | Name: Unknown (0xffff) - 0
> | | | | Antennas:
> | | | | Sensors:
> | | | | Freq range: 0.000 to 0.000 MHz
> | | | | Gain Elements: None
> | | | | Bandwidth range: 0.0 to 0.0 step 0.0 Hz
> | | | | Connection Type: IQ
> | | | | Uses LO offset: No
> | | | _____________________________________________________
> | | | /
> | | | | TX Codec: B
> | | | | Name: ad9146
> | | | | Gain Elements: None
> | | _____________________________________________________
> | | /
> | | | RFNoC blocks on this device:
> | | |
> | | | * DmaFIFO_0
> | | | * Radio_0
> | | | * Radio_1
> | | | * DDC_0
> | | | * DDC_1
> | | | * DUC_0
> | | | * DUC_1
>
> ----------------------------------------------------------
>
> SECOND (cloned) computer
>
> anastas@AA-2:~$ uhd_usrp_probe
> [INFO] [UHD] linux; GNU C++ version 7.3.0; Boost_106501;
> UHD_3.13.1.0-release
> [INFO] [X300] X300 initialization sequence...
> [INFO] [X300] Maximum frame size: 1472 bytes.
> [INFO] [X300] Radio 1x clock: 200 MHz
> [INFO] [GPS] No GPSDO found
> [INFO] [0/DmaFIFO_0] Initializing block control (NOC ID:
> 0xF1F0D00000000000)
> [ERROR] [0/DmaFIFO_0] Major compat number mismatch for noc_shell:
> Expecting 3, got 2.
> Error: RuntimeError: FPGA component `noc_shell' is revision 2 and UHD
> supports revision 3. Please either upgrade the FPGA image
> (recommended) or downgrade UHD.
>
>
> Interestingly enough, when I execute a grc flowgraph in the SECOND
> computer everything works fine, eg:
>
> anastas@AA-2:~/test$ ./usrp_source_control.py
> [INFO] [UHD] linux; GNU C++ version 7.3.0; Boost_106501;
> UHD_3.13.0.1-release
> [INFO] [X300] X300 initialization sequence...
> [INFO] [X300] Maximum frame size: 1472 bytes.
> [INFO] [X300] Radio 1x clock: 200 MHz
> [INFO] [0/DmaFIFO_0] Initializing block control (NOC ID:
> 0xF1F0D00000000000)
> [INFO] [0/DmaFIFO_0] BIST passed (Throughput: 1320 MB/s)
> [INFO] [0/DmaFIFO_0] BIST passed (Throughput: 1312 MB/s)
> [INFO] [0/Radio_0] Initializing block control (NOC ID: 0x12AD100000000001)
> [INFO] [0/Radio_1] Initializing block control (NOC ID: 0x12AD100000000001)
> [INFO] [0/DDC_0] Initializing block control (NOC ID: 0xDDC0000000000000)
> [INFO] [0/DDC_1] Initializing block control (NOC ID: 0xDDC0000000000000)
> [INFO] [0/DUC_0] Initializing block control (NOC ID: 0xD0C0000000000000)
> [INFO] [0/DUC_1] Initializing block control (NOC ID: 0xD0C0000000000000)
> INFO: Apache Thrift: -h AA-2 -p 9090
>
> and the program starts running
> ------------------------
>
> Any ideas as to why "uhd_usrp_probe" fails in the SECOND (cloned)
> computer (with the same X310)?
>
> thanks
> Achilleas
>
>
>
>
>
>
Note that on your second computer, Gnu Radio was built against a
different UHD version--look carefully at the outputs.



_______________________________________________
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio

No comments:

Post a Comment