On 26/09/2023 17:43, Achilleas Anastasopoulos wrote:
Thanks Marcus.

Can you suggest a way to test this hypothesis?

What package do the utilities come from?
What specific libraries are involved?

thanks
Achilleas
You can always do something like:

ldd `which uhd_cal_tx_dc_offset`

Which shows you all the dynamic libraries it depends on and where they're coming from

The other possibility is that you have some "half baked" .cal files lying around and UHD isn't particularly paranoid
  about their content.

Typically held in ~/.uhd/cal




On Tue, Sep 26, 2023 at 5:06 PM Marcus D. Leech <patchvonbr...@gmail.com> wrote:

    On 26/09/2023 16:53, Achilleas Anastasopoulos wrote:
    > Hi all,
    >
    > I have installed gnuradio/uhd in 10 computers in a lab (almost
    > identical setups).
    > These are  Ubuntu 20.04.4 LTS focal
    > The connected USRPs (X300) work fine in all 10 computers.
    >
    > However, two of them result in a core dump when trying to use
    > calibrating utilities as follows:
    >
    > $ uhd_cal_tx_dc_offset
    >
    > Creating the usrp device with:
    ,ignore_cal_file=1,ignore-cal-file=1...
    > [INFO] [UHD] linux; GNU C++ version 9.4.0; Boost_107100;
    > UHD_4.2.0.0-0ubuntu1~focal1
    > [INFO] [X300] X300 initialization sequence...
    > [INFO] [X300] Maximum frame size: 1472 bytes.
    > [INFO] [X300] Radio 1x clock: 200 MHz
    > Running calibration for UBX TX
    > Daughterboard serial: 3158306
    > Calibration frequency range: 10 MHz -> 6000 MHz
    > Dterminate called without an active exception
    > Aborted (core dumped)
    >
    >
    > I found some similar questions on the Internet but not any definite
    > answers.
    > Are there any ideas on how to proceed with investigating that?
    >
    > thanks
    > Achilleas
    >
    I'd suspect mis-match between utilities and libraries.


    >
    >
    >
    > FYI:
    >
    > $ uhd_find_devices
    > [INFO] [UHD] linux; GNU C++ version 9.4.0; Boost_107100;
    > UHD_4.2.0.0-0ubuntu1~focal1
    > --------------------------------------------------
    > -- UHD Device 0
    > --------------------------------------------------
    > Device Address:
    >     serial: 315C6B2
    >     addr: 192.168.10.2
    >     addr: 192.168.40.2
    >     fpga: HG
    >     name:
    >     product: X310
    >     type: x300
    >
    > Also:
    >
    > $ uhd_usrp_probe
    > [INFO] [UHD] linux; GNU C++ version 9.4.0; Boost_107100;
    > UHD_4.2.0.0-0ubuntu1~focal1
    > [INFO] [X300] X300 initialization sequence...
    > [INFO] [X300] Maximum frame size: 1472 bytes.
    > [INFO] [X300] Radio 1x clock: 200 MHz
    >   _____________________________________________________
    >  /
    > |       Device: X-Series Device
    > | _____________________________________________________
    > |    /
    > |   |       Mboard: X310
    > |   |   revision: 11
    > |   |   revision_compat: 7
    > |   |   product: 30818
    > |   |   mac-addr0: 00:80:2f:22:64:6c
    > |   |   mac-addr1: 00:80:2f:22:64:6d
    > |   |   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: 315C6B2
    > |   |   FW Version: 6.0
    > |   |   FPGA Version: 38.0
    > |   |   FPGA git hash: be53058
    > |   |   RFNoC capable: Yes
    > |   |
    > |   |   Time sources:  internal, external, gpsdo
    > |   |   Clock sources: internal, external, gpsdo
    > |   |   Sensors: ref_locked
    > | _____________________________________________________
    > |    /
    > |   |       RFNoC blocks on this device:
    > |   |
    > |   |   * 0/DDC#0
    > |   |   * 0/DDC#1
    > |   |   * 0/DUC#0
    > |   |   * 0/DUC#1
    > |   |   * 0/Radio#0
    > |   |   * 0/Radio#1
    > |   |   * 0/Replay#0
    > | _____________________________________________________
    > |    /
    > |   |       Static connections on this device:
    > |   |
    > |   |   * 0/SEP#0:0==>0/DUC#0:0
    > |   |   * 0/DUC#0:0==>0/Radio#0:0
    > |   |   * 0/Radio#0:0==>0/DDC#0:0
    > |   |   * 0/DDC#0:0==>0/SEP#0:0
    > |   |   * 0/Radio#0:1==>0/DDC#0:1
    > |   |   * 0/DDC#0:1==>0/SEP#1:0
    > |   |   * 0/SEP#2:0==>0/DUC#1:0
    > |   |   * 0/DUC#1:0==>0/Radio#1:0
    > |   |   * 0/Radio#1:0==>0/DDC#1:0
    > |   |   * 0/DDC#1:0==>0/SEP#2:0
    > |   |   * 0/Radio#1:1==>0/DDC#1:1
    > |   |   * 0/DDC#1:1==>0/SEP#3:0
    > |   |   * 0/SEP#4:0==>0/Replay#0:0
    > |   |   * 0/Replay#0:0==>0/SEP#4:0
    > |   |   * 0/SEP#5:0==>0/Replay#0:1
    > |   |   * 0/Replay#0:1==>0/SEP#5:0
    > | _____________________________________________________
    > |    /
    > |   |       TX Dboard: 0/Radio#0
    > |   |   ID: UBX-160 v2 (0x007d)
    > |   |   Serial: 3158306
    > |   | _____________________________________________________
    > |   |    /
    > |   |   |       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
    > | _____________________________________________________
    > |    /
    > |   |       RX Dboard: 0/Radio#0
    > |   |   ID: UBX-160 v2 (0x007e)
    > |   |   Serial: 3158306
    > |   | _____________________________________________________
    > |   |    /
    > |   |   |       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
    > | _____________________________________________________
    > |    /
    > |   |       TX Dboard: 0/Radio#1
    > |   | _____________________________________________________
    > |   |    /
    > |   |   |       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
    > | _____________________________________________________
    > |    /
    > |   |       RX Dboard: 0/Radio#1
    > |   | _____________________________________________________
    > |   |    /
    > |   |   |       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
    >
    >
    >
    >
    >
    > _______________________________________________
    > USRP-users mailing list -- usrp-users@lists.ettus.com
    > To unsubscribe send an email to usrp-users-le...@lists.ettus.com

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

Reply via email to