Indeed, I have installed uhd manually:

I went here (long time ago):
https://launchpad.net/~ettusresearch/+archive/ubuntu/uhd/+packages?field.name_filter=uhd&field.status_filter=published&field.series_filter=focal
and download locally four *.deb files:
- libuhd4.2.0_4.2.0.0-0ubuntu1_focal1_amd64.deb
- libuhd-dev_4.2.0.0-0ubuntu1_focal1_amd64.deb
- python3-uhd_4.2.0.0-0ubuntu1_focal1_amd64.deb
- uhd-host_4.2.0.0-0ubuntu1_focal1_amd64.deb
and then install them manually using
sudo dpkg -i path_to_deb_file

Are these packages installing both libraries AND utilities?

I also checked in  ~/.local/share/uhd/cal/
and do not have any cal files for this USRP.

Finally I did what you suggested (ldd) in two computers where in the first
one I have the problem and in the second one it works and got these results
(which seem identical to me except the hex numbers in parentheses...):

$ diff foo1 foo7
1,21c1,21
<       linux-vdso.so.1 (0x00007ffc2c4ec000)
<       libuhd.so.4.2.0 => /usr/lib/x86_64-linux-gnu/libuhd.so.4.2.0
(0x00007f6729859000)
<       libboost_program_options.so.1.71.0 =>
/usr/lib/x86_64-linux-gnu/libboost_program_options.so.1.71.0
(0x00007f67297ca000)
<       libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0
(0x00007f67297a7000)
<       libstdc++.so.6 => /usr/lib/x86_64-linux-gnu/libstdc++.so.6
(0x00007f67295c5000)
<       libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007f6729476000)
<       libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1
(0x00007f672945b000)
<       libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f6729267000)
<       libboost_chrono.so.1.71.0 =>
/usr/lib/x86_64-linux-gnu/libboost_chrono.so.1.71.0 (0x00007f6729259000)
<       libboost_date_time.so.1.71.0 =>
/usr/lib/x86_64-linux-gnu/libboost_date_time.so.1.71.0 (0x00007f6729245000)
<       libboost_filesystem.so.1.71.0 =>
/usr/lib/x86_64-linux-gnu/libboost_filesystem.so.1.71.0 (0x00007f6729227000)
<       libboost_serialization.so.1.71.0 =>
/usr/lib/x86_64-linux-gnu/libboost_serialization.so.1.71.0
(0x00007f67291e3000)
<       libboost_thread.so.1.71.0 =>
/usr/lib/x86_64-linux-gnu/libboost_thread.so.1.71.0 (0x00007f67291b7000)
<       libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007f67291af000)
<       libusb-1.0.so.0 => /lib/x86_64-linux-gnu/libusb-1.0.so.0
(0x00007f6729193000)
<       libpython3.8.so.1.0 =>
/usr/lib/x86_64-linux-gnu/libpython3.8.so.1.0 (0x00007f6728c3d000)
<       /lib64/ld-linux-x86-64.so.2 (0x00007f672a6eb000)
<       libudev.so.1 => /lib/x86_64-linux-gnu/libudev.so.1
(0x00007f6728c10000)
<       libexpat.so.1 => /lib/x86_64-linux-gnu/libexpat.so.1
(0x00007f6728be2000)
<       libz.so.1 => /lib/x86_64-linux-gnu/libz.so.1 (0x00007f6728bc4000)
<       libutil.so.1 => /lib/x86_64-linux-gnu/libutil.so.1
(0x00007f6728bbf000)
---
>       linux-vdso.so.1 (0x00007ffe85fd4000)
>       libuhd.so.4.2.0 => /usr/lib/x86_64-linux-gnu/libuhd.so.4.2.0
(0x00007f7408795000)
>       libboost_program_options.so.1.71.0 =>
/usr/lib/x86_64-linux-gnu/libboost_program_options.so.1.71.0
(0x00007f7408706000)
>       libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0
(0x00007f74086e3000)
>       libstdc++.so.6 => /usr/lib/x86_64-linux-gnu/libstdc++.so.6
(0x00007f7408501000)
>       libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007f74083b2000)
>       libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1
(0x00007f7408397000)
>       libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f74081a3000)
>       libboost_chrono.so.1.71.0 =>
/usr/lib/x86_64-linux-gnu/libboost_chrono.so.1.71.0 (0x00007f7408195000)
>       libboost_date_time.so.1.71.0 =>
/usr/lib/x86_64-linux-gnu/libboost_date_time.so.1.71.0 (0x00007f7408181000)
>       libboost_filesystem.so.1.71.0 =>
/usr/lib/x86_64-linux-gnu/libboost_filesystem.so.1.71.0 (0x00007f7408163000)
>       libboost_serialization.so.1.71.0 =>
/usr/lib/x86_64-linux-gnu/libboost_serialization.so.1.71.0
(0x00007f740811f000)
>       libboost_thread.so.1.71.0 =>
/usr/lib/x86_64-linux-gnu/libboost_thread.so.1.71.0 (0x00007f74080f3000)
>       libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007f74080eb000)
>       libusb-1.0.so.0 => /lib/x86_64-linux-gnu/libusb-1.0.so.0
(0x00007f74080cf000)
>       libpython3.8.so.1.0 =>
/usr/lib/x86_64-linux-gnu/libpython3.8.so.1.0 (0x00007f7407b79000)
>       /lib64/ld-linux-x86-64.so.2 (0x00007f740962b000)
>       libudev.so.1 => /lib/x86_64-linux-gnu/libudev.so.1
(0x00007f7407b4c000)
>       libexpat.so.1 => /lib/x86_64-linux-gnu/libexpat.so.1
(0x00007f7407b1e000)
>       libz.so.1 => /lib/x86_64-linux-gnu/libz.so.1 (0x00007f7407b00000)
>       libutil.so.1 => /lib/x86_64-linux-gnu/libutil.so.1
(0x00007f7407afb000)

thanks again,
Achilleas


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

> 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
>
> How did you install UHD?   The banner says 4.2, which is NOT what Ubuntu
> packages for 20.04 by default, so I assume
>   you used a source build or a PPA or something?
>
> Is it possible that on the machines that are failing, you have both
> packaged-by-Ubuntu and other things installed?
>
>
>
> 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