Discussion:
[USRP-users] Fwd: X300 PCIe Installation
Kyle von Bredow
2014-06-27 11:53:30 UTC
Permalink
While trying to set up the X300 for use over PCIe using the National
Instruments PXIe-4353 I have run the INSTALL script for the NI USRP RIO
drivers and it appears to run successfully. However, once I run
uhd_find_devices (which works just fine with a couple N210's) it does not
find the X300.

Right after the installation, if I try to stop the process with "sudo
niusrprio_pcie stop" I receive the following error:

Stopping: niusrpriorpc
Unloading: niusrpriok FATAL: Module niusrpriok not found.
NiRioSrv

and "sudo niusrprio_pcie start" yields a similar output:

Loading: NiRioSrv niusrpriok FATAL: Module niusrpriok not found.

Starting: niusrpriorpc

Also, when I run the UNINSTALL script I get this message: "nip2pi not
installed, skipping." although I see nothing in the INSTALL output that
would tell me there was an error. I have attached the output of the INSTALL
in case I missed something.

I am running Ubuntu 12.04.4 with the 3.11.0-23-generic kernel.

Thanks for any assistance,
Kyle von Bredow
Kyle von Bredow
2014-06-30 12:23:19 UTC
Permalink
It ended up being the install script in niusrprio for 64-bit Ubuntu, I was
able to fix it and install the X300 over PCIe with the following change to
the INSTALL script:

2539,2540c2539,2540
< if declare -f niusrpriokiPostInstall > /dev/null; then
< postInstall=niusrpriokiPostInstall
---
if declare -f niusrpriokiPostInstall64 > /dev/null; then
postInstall=niusrpriokiPostInstall64
However, after finding this, I looked at the similar section for Red Hat
based systems (starting at line 3667) and found that it checked for both
versions of the post-install script, so I'm not sure what the proper fix
is, but I hope this helps anyone with a similar problem.


On Fri, Jun 27, 2014 at 7:53 AM, Kyle von Bredow <
While trying to set up the X300 for use over PCIe using the National
Instruments PXIe-4353 I have run the INSTALL script for the NI USRP RIO
drivers and it appears to run successfully. However, once I run
uhd_find_devices (which works just fine with a couple N210's) it does not
find the X300.
Right after the installation, if I try to stop the process with "sudo
Stopping: niusrpriorpc
Unloading: niusrpriok FATAL: Module niusrpriok not found.
NiRioSrv
Loading: NiRioSrv niusrpriok FATAL: Module niusrpriok not found.
Starting: niusrpriorpc
Also, when I run the UNINSTALL script I get this message: "nip2pi not
installed, skipping." although I see nothing in the INSTALL output that
would tell me there was an error. I have attached the output of the INSTALL
in case I missed something.
I am running Ubuntu 12.04.4 with the 3.11.0-23-generic kernel.
Thanks for any assistance,
Kyle von Bredow
Ashish Chaudhari
2014-06-30 17:15:48 UTC
Permalink
Hi Kyle,

I'm sorry you had to find this the hard way, but we introduced the bug that
you found in the latest installer code push. I have fixed the INSTALL
script to call to correct bitness of the postInstall methods. If you
download the installer now, it should include my fixes. Also, the "nip2p
not installed skipping" message is actually normal for 64-bit systems. I
have also suppressed that message so it does not cause confusion.

Thanks for the feedback! We really appreciate it!

Best,

*Ashish Chaudhari* | Senior Software Engineer | High Frequency Measurements
- RF
Ettus Research, *A National Instruments Company*

On Mon, Jun 30, 2014 at 5:23 AM, Kyle von Bredow via USRP-users <
Post by Kyle von Bredow
It ended up being the install script in niusrprio for 64-bit Ubuntu, I was
able to fix it and install the X300 over PCIe with the following change to
2539,2540c2539,2540
< if declare -f niusrpriokiPostInstall > /dev/null; then
< postInstall=niusrpriokiPostInstall
---
if declare -f niusrpriokiPostInstall64 > /dev/null; then
postInstall=niusrpriokiPostInstall64
However, after finding this, I looked at the similar section for Red Hat
based systems (starting at line 3667) and found that it checked for both
versions of the post-install script, so I'm not sure what the proper fix
is, but I hope this helps anyone with a similar problem.
On Fri, Jun 27, 2014 at 7:53 AM, Kyle von Bredow <
While trying to set up the X300 for use over PCIe using the National
Instruments PXIe-4353 I have run the INSTALL script for the NI USRP RIO
drivers and it appears to run successfully. However, once I run
uhd_find_devices (which works just fine with a couple N210's) it does
not find the X300.
Right after the installation, if I try to stop the process with "sudo
Stopping: niusrpriorpc
Unloading: niusrpriok FATAL: Module niusrpriok not found.
NiRioSrv
Loading: NiRioSrv niusrpriok FATAL: Module niusrpriok not found.
Starting: niusrpriorpc
Also, when I run the UNINSTALL script I get this message: "nip2pi not
installed, skipping." although I see nothing in the INSTALL output that
would tell me there was an error. I have attached the output of the INSTALL
in case I missed something.
I am running Ubuntu 12.04.4 with the 3.11.0-23-generic kernel.
Thanks for any assistance,
Kyle von Bredow
_______________________________________________
USRP-users mailing list
http://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com
Loading...