[USRP-users] Installing PCIE drivers for x310

Ashish Chaudhari ashish.chaudhari at ettus.com
Thu Oct 22 14:47:46 EDT 2015


Hi Jared,

First of all, thanks for the detailed summary of your system and
failure mode. It seems like you were able to get all kernel modules
working and the issue that you are running into is an interfacing
problem with UHD. Can you please confirm the version of the niusrprio
kernel modules that you installed? You can do so by just looking at
the suffix of the niusrpriodistributioni tar in installer package that
you downloaded and unpacked:
$ ls niusrprio-installer | grep niusrpriodistributioni

If the version is 15.X.X then the error you are seeing is because of
an incompatibility between the kernel modules and the installed UHD
version of 3.8.4. We recommend that you run at least UHD 3.9.0 with
the latest kernel modules:
UHD: https://github.com/EttusResearch/uhd/tree/release_003_009_001
niusrprio: http://files.ettus.com/binaries/niusrprio/niusrprio-installer-15.0.0.tar.gz

In your case, just upgrading UHD should do the trick. Let me know if
you still run into issues after doing so.

Thanks,
Ashish

On Wed, Oct 21, 2015 at 6:56 PM, Jared Dulmage via USRP-users
<usrp-users at lists.ettus.com> wrote:
> I'm writing to update my progress communicating with the x310 on my ubuntu box.  I managed to manually execute the install scripts for each of the kernel modules and get the niusrprio_pcie service running.
>
>> sudo /usr/local/bin/niusrprio_pcie status
> Modules Loaded: nikal nibds nistreamk NiRioSrv niusrpriok
> Server: niusrpriorpc
>
> However I am still not able to find the device via uhd_find_devices:
>
>> uhd_find_devices
> linux; GNU C++ version 4.8.4; Boost_105400; UHD_003.008.004-0-g93011c14
> UHD Error:
>     Device discovery error: RuntimeError: Unable to detect a supported version of the NI-RIO kernel interface.
> No UHD Devices Found
>
> Does anyone have some advice on further debugging the problem?  It seems almost everything is in place, according to the online documentation.
>
> Thanks,
> Jared.
> ------------------------------------------------------
> Jared Dulmage
> Engineering Specialist
> Digital Comm. and Implementation Dept.
> Aerospace Corporation
> 310-336-3140
>
> ________________________________________
> From: Jared Dulmage
> Sent: Tuesday, October 20, 2015 7:13 PM
> To: usrp-users at lists.ettus.com
> Subject: Installing PCIE drivers for x310
>
> I am having trouble getting access to my x310 through PCIe.  I have read a number of posts on the list but have not found a viable course of action, I hope someone can advise.  When I try to start the server:
>
>> sudo niusrprio_pcie start
> Loading: NiRioSrv modprobe: FATAL: Module NiRioSrv not found.
> niusrpriok modprobe: FATAL: Module niusrpriok not found.
>
> Starting: niusrpriorpc
>
> I have an HP z620 running Ubuntu 14.04.  Some other diagnostic outputs:
>
>> uname -a
> Linux acz073 3.13.0-66-generic #108-Ubuntu SMP Wed Oct 7 15:20:27 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux
>
>> lspci -k | grep National
> 07:00.0 Signal processing controller: National Instruments PXIe/PCIe Device
>         Subsystem: National Instruments Device 7862
>
>> sudo /usr/local/bin/updateNIDrivers
> Configuring NI-KAL for kernel version 3.13.0-66-generic...
> Building module nikal...
>  nikal successfully updated.
> Would you like to reboot now? [yes|no] no
> Please reboot manually before attempting to use your NI drivers and products.
>
> I have rebooted in the past after this message.
>
>> find /lib/modules -name 'nikal*'
> /lib/modules/3.13.0-66-generic/kernel/natinst/nikal
> /lib/modules/3.13.0-66-generic/kernel/natinst/nikal/nikal.ko
> /lib/modules/3.13.0-63-generic/kernel/natinst/nikal
> /lib/modules/3.13.0-63-generic/kernel/natinst/nikal/nikal.ko
>
> It seems I'm missing some modules, but how do I get updateNIDrivers to build them?  Should I do something manually?  Any advice is appreciated.
>
> Jared.
> ------------------------------------------------------
> Jared Dulmage
> Engineering Specialist
> Digital Comm. and Implementation Dept.
> Aerospace Corporation
> 310-336-3140
>
> _______________________________________________
> USRP-users mailing list
> USRP-users at lists.ettus.com
> http://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com




More information about the USRP-users mailing list