When you install UHD from our binaries, it's important that you first uninstall
your Linux distro's UHD and GNU Radio and you _must not_ re-install GNU Radio
from your distro's package manager but build it from source, otherwise, you
will get library incompatibilities and segfaults.
But that is a separate issue from uhd_usrp_probe not finding devices. Make sure
the USRP is connected and powered up _before_ you boot your PC, then verify you
can see the device via pcie and that the nirio module is loaded [1].
I hope this helps,
Marcus
[1]
http://files.ettus.com/manual/page_usrp_x3x0.html#x3x0_comm_problems_not_enumerated
Am 2. August 2016 14:38:28 MESZ, schrieb Sanat Kumar Mishra via USRP-users
<[email protected]>:
>Hi Ashish,
>
>> The version of GNU Radio in the apt repos is stable so I'm guessing
>> you may have some ABI compatibility issue between GR subcomponenets.
>> What GR flowgraph is crashing? How have you installed UHD? From
>> apt-get as well or did you build it from source?
>
>I am unable to start the grc. When I type $ gnuradio-companion, I get
>a message saying segmentation fault. Yes I have installed UHD and I
>did the Binary installation. I tried uninstalling the gnuradio and
>reinstalling again but that doesn't seem to solve the issue.
>
>
>
>
>
>> UHD will automatically load the FPGA image as a part of the
>> initialization process. Try running the uhd_usrp_probe utility (that
>> initialized UHD and enumerates all the hardware capabilities of your
>> device).
>
>When I run the command $ uhd_usrp_probe. I get the following output.
>linux; GNU C++ version 4.9.3; Boost_105400;
>UHD_003.010.000.git-249-gef57ffcb
>
>Error: LookupError: KeyError: No devices found for ----->
>
>
>
>Thank you.
>
>Sanat
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>Quoting Ashish Chaudhari <[email protected]>:
>
>> Hi Sanat,
>>
>> On Mon, Aug 1, 2016 at 5:46 AM, Sanat Kumar Mishra
>> <[email protected]> wrote:
>>>
>>> Thank you Ashish for your help. the NI driver is working now with
>>> the update of the gcc 4.9 as you recommended. Now I am facing two
>>> main problems, it would be nice if you could help.
>>>
>>>
>>> 1. After installing GNU radio by apt-get install gnuradio. I am
>>> getting segmentation fault. even though it was working before.
>>
>> The version of GNU Radio in the apt repos is stable so I'm guessing
>> you may have some ABI compatibility issue between GR subcomponenets.
>> What GR flowgraph is crashing? How have you installed UHD? From
>> apt-get as well or did you build it from source?
>>
>>>
>>>
>>>
>>> 2. I have the USRP 2943R from NI. and connected through PCI to the
>>> machine. I have enumerated the device and got the following results:
>>>
>>> #sudo niusrprio_pcie start
>>> Loading: NiRioSrv niusrpriok
>>> Starting: niusrpriorpc
>>>
>>> #lspci -k -d 1093:c4c4
>>> 03:00.0 Signal processing controller: National Instruments PXIe/PCIe
>Device
>>> Subsystem: National Instruments Device 785d
>>>
>>
>> That looks good.
>>
>>>
>>> I have installed the UHD. how could I load the fpga image ?
>>>
>>
>> UHD will automatically load the FPGA image as a part of the
>> initialization process. Try running the uhd_usrp_probe utility (that
>> initialized UHD and enumerates all the hardware capabilities of your
>> device).
>>
>>
>> Thanks,
>>
>> Ashish
>>>
>>>
>>>
>>>
>>>
>>>
>>> Quoting Ashish Chaudhari <[email protected]>:
>>>
>>>> On Thu, Jul 28, 2016 at 8:05 AM, Sanat Kumar Mishra via USRP-users
>>>> <[email protected]> wrote:
>>>>>
>>>>>
>>>>> Dear all,
>>>>>
>>>>> I am trying to install the driver of the NI USRP 2943R on Linux
>>>>> Ubuntu/Mint
>>>>> below specification:
>>>>>
>>>>> Kernel: 4.2.0-040200-generic
>>>>>
>>>>> Distributor ID: LinuxMint
>>>>> Description: Linux Mint 17.3 Rosa
>>>>> Release: 17.3
>>>>> Codename: rosa
>>>>>
>>>>> The driver is not installed properly and the SDR cant be connected
>to the
>>>>> machine. I have the following error when
>>>>> trying to update the driver by the commands:
>>>>>
>>>>> sudo /usr/local/bin/niusrprio_pcie stop
>>>>> sudo /usr/local/bin/updateNIDrivers --no-prompt
>>>>> sudo /usr/local/bin/niusrprio_pcie start
>>>>>
>>>>>
>>>>>
>>>>> I GET the below error:
>>>>>
>>>>> configuring NI-KAL for kernel version 4.2.0-040200-generic...
>>>>> Building module nikal...
>>>>> nikal: Makefile:659: Cannot use CONFIG_CC_STACKPROTECTOR_STRONG:
>>>>> -fstack-protector-strong not supported by compiler
>>>>> nikal: CC [M] /var/lib/nikal/4.2.0-040200-generic/nikal/nikal.o
>>>>> nikal: gcc: error: unrecognized command line option
>>>>> ‘-fstack-protector-strong’
>>>>> nikal: make[2]: ***
>[/var/lib/nikal/4.2.0-040200-generic/nikal/nikal.o]
>>>>> Error 1
>>>>> nikal: make[1]: ***
>[_module_/var/lib/nikal/4.2.0-040200-generic/nikal]
>>>>> Error 2
>>>>> nikal: make: *** [nikal.ko] Error 2
>>>>> nikal: ERROR: failed to build nikal
>>>>> nikal: ERROR: NI-KAL update failed.
>>>>> nikal: ERROR: make of nikal kernel module failed, not installing
>kernel
>>>>> module.
>>>>> nikal: ERROR: updateNIDrivers should be called again after fixing
>the
>>>>> problem.
>>>>> nikal: ERROR: Logging failure...
>>>>> nikal: ERROR: Include the file /tmp/niSystemReport.out.gz when
>contacting
>>>>> nikal: ERROR: National Instruments for support.
>>>>> nikal: ERROR: Update of National Instruments drivers failed.
>>>>>
>>>>
>>>> It seems like the version of gcc that you are trying to compile
>with
>>>> is too old and is missing the "strong" stack protection option.
>>>> According to https://lwn.net/Articles/584225/ gcc 4.9 supports
>that.
>>>> Can you make sure that you have gcc 4.9 or newer installed and set
>as
>>>> the default compiler? Here are instructions to set that up (for a
>>>> similar Ubuntu flavor as yours):
>>>>
>http://askubuntu.com/questions/466651/how-do-i-use-the-latest-gcc-on-ubuntu
>>>>
>>>> Let us know if that works for you!
>>>>
>>>> Thanks,
>>>>
>>>> Ashish
>>>>
>>>>>
>>>>>
>>>>>
>>>>> Thank you for help.
>>>>>
>>>>> Sanat.
>>>>>
>>>>> _______________________________________________
>>>>> USRP-users mailing list
>>>>> [email protected]
>>>>> http://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com
>>>
>>>
>>>
>
>
>
>_______________________________________________
>USRP-users mailing list
>[email protected]
>http://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com
--
Sent from my Android device with K-9 Mail. Please excuse my brevity.
_______________________________________________
Discuss-gnuradio mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio