Marcus & Robin,

Thank you so much!  What you both said made perfect sense and it helped me
get the example programs running again... but I'm still a little mystified
as to how this happened in the first place.

I rebuilt this machine from scratch last night, and I must have
inadvertently checked out an old git version during one of my numerous
troubleshooting iterations of uninstalling and reinstalling uhd.  It also
appears that the old uhd version stored the example programs in:

/usr/lib/uhd/examples

instead of the current location set by 3.14 which is:

/usr/local/lib/uhd/examples

It also appears that when I ran `sudo make uninstall` from the build
directory of that inadvertent uhd 3.10 installation, it must not have
removed the example programs.  Unless there is a chance that uhd 3.10 got
installed automatically as a byproduct of my installation of another SDR
related app such as URH or gnuradio, it seems like the inadvertent git
checkout is the most likely explanation.

Anyways, things are running now and I greatly appreciate the help and quick
responses!

Thanks!

Dave

On Thu, Sep 19, 2019 at 5:12 PM Robin Coxe <c...@quanttux.com> wrote:

> Your output indicates that you're executing UHD v.3.10.0.3, not version
> 3.14.1, so you must have multiple versions installed.
>
> Go to /usr/local/lib (or wherever you installed UHD on your machine) and
> make sure it looks something like this when you type in "ls -l uhd*":
> lrwxrwxrwx 1 root root       16 Sep 16 11:03 libuhd.so -> libuhd.so.3.14.1
> -rw-r--r-- 1 root root 15583328 Sep 16 11:01 libuhd.so.3.14.1
>
> On Thu, Sep 19, 2019 at 3:55 PM David Smay via USRP-users <
> usrp-users@lists.ettus.com> wrote:
>
>> Hello,
>>
>> I recently did a clean installation of UHD 3.14.1 and gnuradio 3.7.13.5
>> on Ubuntu 18.04 LTS, following the steps outlined in the Ettus knowledge
>> base for installation from source.
>>
>> The installation worked great, and I started experimenting with the
>> example programs installed with UHD (located in /usr/lib/uhd/examples/).
>> At first they ran correctly and I was able to run the gpio and
>> benchmark_rate programs without issue, getting the normal expected output
>> for my b205mini-i.
>>
>> Without making any changes to the system, and in the same shell session,
>> all of a sudden the example programs all started consistently generating
>> errors when I tried to run them:
>>
>> dsmay4@UbuntuPrecision7530:/usr/lib/uhd/examples$ ./benchmark_rate
>> --rx_rate 10e6
>> linux; GNU C++ version 7.3.0; Boost_106501; UHD_003.010.003.000-0-unknown
>>
>>
>>
>> UHD Warning:
>>     EnvironmentError: IOError: Could not find path for image:
>> usrp_b200_fw.hex
>>     Using images directory: <no images directory located>
>>     Set the environment variable 'UHD_IMAGES_DIR' appropriately or follow
>> the below instructions to download the images package.
>>     Please run:
>>      "/usr/lib/x86_64-linux-gnu/uhd/utils/uhd_images_downloader.py"
>> Creating the usrp device with: ...
>>
>> UHD Warning:
>>     EnvironmentError: IOError: Could not find path for image:
>> usrp_b200_fw.hex
>>     Using images directory: <no images directory located>
>>     Set the environment variable 'UHD_IMAGES_DIR' appropriately or follow
>> the below instructions to download the images package.
>>     Please run:
>>      "/usr/lib/x86_64-linux-gnu/uhd/utils/uhd_images_downloader.py"
>> Error: LookupError: KeyError: No devices found for ----->
>> Empty Device Address
>>
>> This is quite strange as my uhd_images_downloader isn't installed to that
>> directory, but it does run just fine.  uhd_find_devices and uhd_usrp_probe
>> run fine and indicate no problems with the radio itself.  Other sdr apps
>> using the b205 work just fine - the problem seems to only impact these
>> example programs.
>>
>> I tried rebooting, as well as uninstalling and reinstalling UHD (which
>> reinstalled the example programs) but the problem persists.  I'm mostly
>> interested in figuring out what caused the spontaneous change in system
>> behavior.  I can't for the life of me figure out why just these apps can't
>> find the fpga images but everything else works just fine...
>>
>> TIA,
>>
>> Dave
>> _______________________________________________
>> USRP-users mailing list
>> USRP-users@lists.ettus.com
>> http://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com
>>
>
_______________________________________________
USRP-users mailing list
USRP-users@lists.ettus.com
http://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com

Reply via email to