Discussion and technical support related to USRP, UHD, RFNoC
View all threadsI'm experiencing an initialization issue with my Ettus X310 USRP device.
My setup consists of an Ettus X310 connected through a PCIe Card using a Molex cable to my Linux machine.
I'm running Ubuntu with kernel version 6.8.0-51-generic and have installed all the necessary UHD packages on the system.
The X310 is properly detected when running uhd_find_devices, but attempting to probe the device with uhd_usrp_probe results in a RIO session initialization error.
I attached the error output below.
What is causing this RIO session initialization failure and how can it be resolved?
Device Address:
serial:
fpga: HG
name:
product: X310
resource: RIO0
type: x300
gnb@xgoss-host:~/srsRAN_Project/build4ac5300/apps/gnb$ uhd_usrp_probe
[INFO] [UHD] linux; GNU C++ version 11.4.0; Boost_107400; UHD_4.7.0.0-0ubuntu1~jammy1
[INFO] [X300] X300 initialization sequence...
[INFO] [X300] Connecting to niusrpriorpc at localhost:5444...
[INFO] [X300] Using LVBITX bitfile /usr/share/uhd/images/usrp_x310_fpga_HG.lvbitx
Error: RuntimeError: x300_impl: Could not initialize RIO session. Unknown error. (Error code -63150)
On 21/01/2025 09:26, Heinz, Dominik wrote:
I'm experiencing an initialization issue with my Ettus X310 USRP device.
My setup consists of an Ettus X310 connected through a PCIe Card using
a Molex cable to my Linux machine.
I'm running Ubuntu with kernel version 6.8.0-51-generic and have
installed all the necessary UHD packages on the system.
The X310 is properly detected when running |uhd_find_devices|, but
attempting to probe the device with |uhd_usrp_probe| results in a RIO
session initialization error.
I attached the error output below.
What is causing this RIO session initialization failure and how can it
be resolved?
Device Address:
serial:
fpga: HG
name:
product: X310
resource: RIO0
type: x300
gnb@xgoss-host:~/srsRAN_Project/build4ac5300/apps/gnb$ uhd_usrp_probe
[INFO] [UHD] linux; GNU C++ version 11.4.0; Boost_107400;
UHD_4.7.0.0-0ubuntu1~jammy1
[INFO] [X300] X300 initialization sequence...
[INFO] [X300] Connecting to niusrpriorpc at localhost:5444...
[INFO] [X300] Using LVBITX bitfile
/usr/share/uhd/images/usrp_x310_fpga_HG.lvbitx
Error: RuntimeError: x300_impl: Could not initialize RIO session.
Unknown error. (Error code -63150)
USRP-users mailing list --usrp-users@lists.ettus.com
To unsubscribe send an email tousrp-users-leave@lists.ettus.com
The procedures for making this work are here:
https://files.ettus.com/manual/page_usrp_x3x0.html#x3x0_hw_pcie
I followed the steps in the guide you linked, - however, I still have the issue.
The uhd drivers are installed, and the niuspriorpc service is running. However, I still the the RIO session initialization failure.
Anything else I could try? I still don't understand what is the cause for this.
From: Marcus D. Leech patchvonbraun@gmail.com
Sent: Tuesday, January 21, 2025 8:32:39 PM
To: usrp-users@lists.ettus.com
Subject: [EXTERN] [USRP-users] Re: X310 RIO Session Initialization Failure (Error code -63150)
On 21/01/2025 09:26, Heinz, Dominik wrote:
I'm experiencing an initialization issue with my Ettus X310 USRP device.
My setup consists of an Ettus X310 connected through a PCIe Card using a Molex cable to my Linux machine.
I'm running Ubuntu with kernel version 6.8.0-51-generic and have installed all the necessary UHD packages on the system.
The X310 is properly detected when running uhd_find_devices, but attempting to probe the device with uhd_usrp_probe results in a RIO session initialization error.
I attached the error output below.
What is causing this RIO session initialization failure and how can it be resolved?
Device Address:
serial:
fpga: HG
name:
product: X310
resource: RIO0
type: x300
gnb@xgoss-host:~/srsRAN_Project/build4ac5300/apps/gnb$ uhd_usrp_probe
[INFO] [UHD] linux; GNU C++ version 11.4.0; Boost_107400; UHD_4.7.0.0-0ubuntu1~jammy1
[INFO] [X300] X300 initialization sequence...
[INFO] [X300] Connecting to niusrpriorpc at localhost:5444...
[INFO] [X300] Using LVBITX bitfile /usr/share/uhd/images/usrp_x310_fpga_HG.lvbitx
Error: RuntimeError: x300_impl: Could not initialize RIO session. Unknown error. (Error code -63150)
USRP-users mailing list -- usrp-users@lists.ettus.commailto:usrp-users@lists.ettus.com
To unsubscribe send an email to usrp-users-leave@lists.ettus.commailto:usrp-users-leave@lists.ettus.com
The procedures for making this work are here:
https://files.ettus.com/manual/page_usrp_x3x0.html#x3x0_hw_pcie
On 22/01/2025 08:58, Heinz, Dominik wrote:
I followed the steps in the guide you linked, - however, I still have
the issue.
The uhd drivers are installed, and the niuspriorpc service is running.
However, I still the the RIO session initialization failure.
Anything else I could try? I still don't understand what is the cause
for this.
I was away all day, so just seeing this now.
If you;
lspci -v
The X310 should show up--perhaps as "RIO device" or some such. TBH,
I've never used the PCIe interface, and only about
5% or less of users of the X310 use the PCIe interface.
The other recollection I have is that in order for the system drivers to
"see" the X310, it needs to be powered-up at
system-boot time, or it won't be seen by the underlying OS.
You might also try doing the uhd_usrp_probe as "root", but I don't
THINK that's the issue.
From: Marcus D. Leech patchvonbraun@gmail.com
Sent: Tuesday, January 21, 2025 8:32:39 PM
To: usrp-users@lists.ettus.com
Subject: [EXTERN] [USRP-users] Re: X310 RIO Session Initialization
Failure (Error code -63150)
On 21/01/2025 09:26, Heinz, Dominik wrote:
I'm experiencing an initialization issue with my Ettus X310 USRP device.
My setup consists of an Ettus X310 connected through a PCIe Card
using a Molex cable to my Linux machine.
I'm running Ubuntu with kernel version 6.8.0-51-generic and have
installed all the necessary UHD packages on the system.
The X310 is properly detected when running |uhd_find_devices|, but
attempting to probe the device with |uhd_usrp_probe| results in a RIO
session initialization error.
I attached the error output below.
What is causing this RIO session initialization failure and how can
it be resolved?
Device Address:
serial:
fpga: HG
name:
product: X310
resource: RIO0
type: x300
gnb@xgoss-host:~/srsRAN_Project/build4ac5300/apps/gnb$ uhd_usrp_probe
[INFO] [UHD] linux; GNU C++ version 11.4.0; Boost_107400;
UHD_4.7.0.0-0ubuntu1~jammy1
[INFO] [X300] X300 initialization sequence...
[INFO] [X300] Connecting to niusrpriorpc at localhost:5444...
[INFO] [X300] Using LVBITX bitfile
/usr/share/uhd/images/usrp_x310_fpga_HG.lvbitx
Error: RuntimeError: x300_impl: Could not initialize RIO session.
Unknown error. (Error code -63150)
USRP-users mailing list --usrp-users@lists.ettus.com
To unsubscribe send an email tousrp-users-leave@lists.ettus.com
The procedures for making this work are here:
https://files.ettus.com/manual/page_usrp_x3x0.html#x3x0_hw_pcie
Dominik,
can you provide as much info as you can here:
https://github.com/EttusResearch/uhd/issues/818?
Like Marcus said, the PCIe interface is not used a lot (except by LabView
users), so if you can use 10 GbE instead I recommend doing that (that also
allows you to do 2x200 Msps streaming, if you have two ports).
--M
On Wed, Jan 22, 2025 at 2:58 PM Heinz, Dominik dominik.heinz@h-da.de
wrote:
I followed the steps in the guide you linked, - however, I still have the
issue.
The uhd drivers are installed, and the niuspriorpc service is running.
However, I still the the RIO session initialization failure.
From: Marcus D. Leech patchvonbraun@gmail.com
Sent: Tuesday, January 21, 2025 8:32:39 PM
To: usrp-users@lists.ettus.com
Subject: [EXTERN] [USRP-users] Re: X310 RIO Session Initialization
Failure (Error code -63150)
On 21/01/2025 09:26, Heinz, Dominik wrote:
I'm experiencing an initialization issue with my Ettus X310 USRP device.
My setup consists of an Ettus X310 connected through a PCIe Card using a
Molex cable to my Linux machine.
I'm running Ubuntu with kernel version 6.8.0-51-generic and have installed
all the necessary UHD packages on the system.
The X310 is properly detected when running uhd_find_devices, but
attempting to probe the device with uhd_usrp_probe results in a RIO
session initialization error.
I attached the error output below.
What is causing this RIO session initialization failure and how can it be
resolved?
Device Address:
serial:
fpga: HG
name:
product: X310
resource: RIO0
type: x300
gnb@xgoss-host:~/srsRAN_Project/build4ac5300/apps/gnb$ uhd_usrp_probe
[INFO] [UHD] linux; GNU C++ version 11.4.0; Boost_107400;
UHD_4.7.0.0-0ubuntu1~jammy1
[INFO] [X300] X300 initialization sequence...
[INFO] [X300] Connecting to niusrpriorpc at localhost:5444...
[INFO] [X300] Using LVBITX bitfile
/usr/share/uhd/images/usrp_x310_fpga_HG.lvbitx
Error: RuntimeError: x300_impl: Could not initialize RIO session. Unknown
error. (Error code -63150)
USRP-users mailing list -- usrp-users@lists.ettus.com
To unsubscribe send an email to usrp-users-leave@lists.ettus.com
The procedures for making this work are here:
https://files.ettus.com/manual/page_usrp_x3x0.html#x3x0_hw_pcie
USRP-users mailing list -- usrp-users@lists.ettus.com
To unsubscribe send an email to usrp-users-leave@lists.ettus.com
Hello Martin,
Hello Marcus,
The X310 does not show up as a RIO device, but rather like this:
4a:00.0 Signal processing controller: National Instruments PXIe/PCIe Device (rev ff) (prog-if ff)
!!! Unknown header type 7f
Kernel driver in use: niusrpriok
Kernel modules: niusrpriok
This seems already problematic (?)
The nisrpriorpc server seems to be running fine:
gnb@xgoss-host:~$ sudo systemctl status niusrpriorpc
● niusrpriorpc.service - LSB: National Instruments USRP RIO Service
Loaded: loaded (/etc/init.d/niusrpriorpc; generated)
Active: active (running) since Mon 2025-01-27 09:37:21 CET; 23min ago
Docs: man:systemd-sysv-generator(8)
Tasks: 4 (limit: 153252)
Memory: 98.6M
CPU: 13.872s
CGroup: /system.slice/niusrpriorpc.service
└─1631 /usr/sbin/niusrpriorpc --daemon
Jan 27 09:37:21 xgoss-host systemd[1]: Starting LSB: National Instruments USRP RIO Service...
Jan 27 09:37:21 xgoss-host systemd[1]: Started LSB: National Instruments USRP RIO Service.
You also mentioned that the X310 needs to be powered on before the host system.
I have of course done this - since to my knowledge hot plugging is not possible in the case of PCIe.
Running uhd_usrp_probe as root doesn't change anything.
I am okay with trying out the 10GbE instead, but I am not able to interact with the device that way.
I can't seem to specify an IP or load a firmware image this way. I tried:
gnb@xgoss-host:~$ uhd_image_loader --args="type=x300,addr=192.168.10.2,fpga=HG"
[INFO] [UHD] linux; GNU C++ version 11.4.0; Boost_107400; UHD_4.7.0.0-0ubuntu1~jammy1
No applicable UHD devices found
Any idea how to proceed? Can't seem to get the device running via PCIe, and via 10GbE I can't interact with the device either.
I will provide the details in the Github issue shortly.
From: Martin Braun martin.braun@ettus.com
Sent: Friday, January 24, 2025 12:19:00 PM
To: Heinz, Dominik
Cc: Marcus D. Leech; usrp-users@lists.ettus.com
Subject: [EXTERN] Re: [USRP-users] Re: [EXTERN] Re: X310 RIO Session Initialization Failure (Error code -63150)
Dominik,
can you provide as much info as you can here: https://github.com/EttusResearch/uhd/issues/818?
Like Marcus said, the PCIe interface is not used a lot (except by LabView users), so if you can use 10 GbE instead I recommend doing that (that also allows you to do 2x200 Msps streaming, if you have two ports).
--M
On Wed, Jan 22, 2025 at 2:58 PM Heinz, Dominik <dominik.heinz@h-da.demailto:dominik.heinz@h-da.de> wrote:
I followed the steps in the guide you linked, - however, I still have the issue.
The uhd drivers are installed, and the niuspriorpc service is running. However, I still the the RIO session initialization failure.
Anything else I could try? I still don't understand what is the cause for this.
From: Marcus D. Leech <patchvonbraun@gmail.commailto:patchvonbraun@gmail.com>
Sent: Tuesday, January 21, 2025 8:32:39 PM
To: usrp-users@lists.ettus.commailto:usrp-users@lists.ettus.com
Subject: [EXTERN] [USRP-users] Re: X310 RIO Session Initialization Failure (Error code -63150)
On 21/01/2025 09:26, Heinz, Dominik wrote:
I'm experiencing an initialization issue with my Ettus X310 USRP device.
My setup consists of an Ettus X310 connected through a PCIe Card using a Molex cable to my Linux machine.
I'm running Ubuntu with kernel version 6.8.0-51-generic and have installed all the necessary UHD packages on the system.
The X310 is properly detected when running uhd_find_devices, but attempting to probe the device with uhd_usrp_probe results in a RIO session initialization error.
I attached the error output below.
What is causing this RIO session initialization failure and how can it be resolved?
Device Address:
serial:
fpga: HG
name:
product: X310
resource: RIO0
type: x300
gnb@xgoss-host:~/srsRAN_Project/build4ac5300/apps/gnb$ uhd_usrp_probe
[INFO] [UHD] linux; GNU C++ version 11.4.0; Boost_107400; UHD_4.7.0.0-0ubuntu1~jammy1
[INFO] [X300] X300 initialization sequence...
[INFO] [X300] Connecting to niusrpriorpc at localhost:5444...
[INFO] [X300] Using LVBITX bitfile /usr/share/uhd/images/usrp_x310_fpga_HG.lvbitx
Error: RuntimeError: x300_impl: Could not initialize RIO session. Unknown error. (Error code -63150)
USRP-users mailing list -- usrp-users@lists.ettus.commailto:usrp-users@lists.ettus.com
To unsubscribe send an email to usrp-users-leave@lists.ettus.commailto:usrp-users-leave@lists.ettus.com
The procedures for making this work are here:
https://files.ettus.com/manual/page_usrp_x3x0.html#x3x0_hw_pcie
USRP-users mailing list -- usrp-users@lists.ettus.commailto:usrp-users@lists.ettus.com
To unsubscribe send an email to usrp-users-leave@lists.ettus.commailto:usrp-users-leave@lists.ettus.com
When I run the image loader without the IP address parameter it seems to be flashing the correctly.
uhd_image_loader --args="type=x300"
However, I don't see how I can configure the IP address to be able to interact via the 10GbE links (?)
From: Heinz, Dominik dominik.heinz@h-da.de
Sent: Monday, January 27, 2025 10:18:41 AM
To: Martin Braun
Cc: Marcus D. Leech; usrp-users@lists.ettus.com
Subject: [EXTERN] [USRP-users] Re: [EXTERN] Re: Re: [EXTERN] Re: X310 RIO Session Initialization Failure (Error code -63150)
Hello Martin,
Hello Marcus,
The X310 does not show up as a RIO device, but rather like this:
4a:00.0 Signal processing controller: National Instruments PXIe/PCIe Device (rev ff) (prog-if ff)
!!! Unknown header type 7f
Kernel driver in use: niusrpriok
Kernel modules: niusrpriok
This seems already problematic (?)
The nisrpriorpc server seems to be running fine:
gnb@xgoss-host:~$ sudo systemctl status niusrpriorpc
● niusrpriorpc.service - LSB: National Instruments USRP RIO Service
Loaded: loaded (/etc/init.d/niusrpriorpc; generated)
Active: active (running) since Mon 2025-01-27 09:37:21 CET; 23min ago
Docs: man:systemd-sysv-generator(8)
Tasks: 4 (limit: 153252)
Memory: 98.6M
CPU: 13.872s
CGroup: /system.slice/niusrpriorpc.service
└─1631 /usr/sbin/niusrpriorpc --daemon
Jan 27 09:37:21 xgoss-host systemd[1]: Starting LSB: National Instruments USRP RIO Service...
Jan 27 09:37:21 xgoss-host systemd[1]: Started LSB: National Instruments USRP RIO Service.
You also mentioned that the X310 needs to be powered on before the host system.
I have of course done this - since to my knowledge hot plugging is not possible in the case of PCIe.
Running uhd_usrp_probe as root doesn't change anything.
I am okay with trying out the 10GbE instead, but I am not able to interact with the device that way.
I can't seem to specify an IP or load a firmware image this way. I tried:
gnb@xgoss-host:~$ uhd_image_loader --args="type=x300,addr=192.168.10.2,fpga=HG"
[INFO] [UHD] linux; GNU C++ version 11.4.0; Boost_107400; UHD_4.7.0.0-0ubuntu1~jammy1
No applicable UHD devices found
Any idea how to proceed? Can't seem to get the device running via PCIe, and via 10GbE I can't interact with the device either.
I will provide the details in the Github issue shortly.
From: Martin Braun martin.braun@ettus.com
Sent: Friday, January 24, 2025 12:19:00 PM
To: Heinz, Dominik
Cc: Marcus D. Leech; usrp-users@lists.ettus.com
Subject: [EXTERN] Re: [USRP-users] Re: [EXTERN] Re: X310 RIO Session Initialization Failure (Error code -63150)
Dominik,
can you provide as much info as you can here: https://github.com/EttusResearch/uhd/issues/818?
Like Marcus said, the PCIe interface is not used a lot (except by LabView users), so if you can use 10 GbE instead I recommend doing that (that also allows you to do 2x200 Msps streaming, if you have two ports).
--M
On Wed, Jan 22, 2025 at 2:58 PM Heinz, Dominik <dominik.heinz@h-da.demailto:dominik.heinz@h-da.de> wrote:
I followed the steps in the guide you linked, - however, I still have the issue.
The uhd drivers are installed, and the niuspriorpc service is running. However, I still the the RIO session initialization failure.
Anything else I could try? I still don't understand what is the cause for this.
From: Marcus D. Leech <patchvonbraun@gmail.commailto:patchvonbraun@gmail.com>
Sent: Tuesday, January 21, 2025 8:32:39 PM
To: usrp-users@lists.ettus.commailto:usrp-users@lists.ettus.com
Subject: [EXTERN] [USRP-users] Re: X310 RIO Session Initialization Failure (Error code -63150)
On 21/01/2025 09:26, Heinz, Dominik wrote:
I'm experiencing an initialization issue with my Ettus X310 USRP device.
My setup consists of an Ettus X310 connected through a PCIe Card using a Molex cable to my Linux machine.
I'm running Ubuntu with kernel version 6.8.0-51-generic and have installed all the necessary UHD packages on the system.
The X310 is properly detected when running uhd_find_devices, but attempting to probe the device with uhd_usrp_probe results in a RIO session initialization error.
I attached the error output below.
What is causing this RIO session initialization failure and how can it be resolved?
Device Address:
serial:
fpga: HG
name:
product: X310
resource: RIO0
type: x300
gnb@xgoss-host:~/srsRAN_Project/build4ac5300/apps/gnb$ uhd_usrp_probe
[INFO] [UHD] linux; GNU C++ version 11.4.0; Boost_107400; UHD_4.7.0.0-0ubuntu1~jammy1
[INFO] [X300] X300 initialization sequence...
[INFO] [X300] Connecting to niusrpriorpc at localhost:5444...
[INFO] [X300] Using LVBITX bitfile /usr/share/uhd/images/usrp_x310_fpga_HG.lvbitx
Error: RuntimeError: x300_impl: Could not initialize RIO session. Unknown error. (Error code -63150)
USRP-users mailing list -- usrp-users@lists.ettus.commailto:usrp-users@lists.ettus.com
To unsubscribe send an email to usrp-users-leave@lists.ettus.commailto:usrp-users-leave@lists.ettus.com
The procedures for making this work are here:
https://files.ettus.com/manual/page_usrp_x3x0.html#x3x0_hw_pcie
USRP-users mailing list -- usrp-users@lists.ettus.commailto:usrp-users@lists.ettus.com
To unsubscribe send an email to usrp-users-leave@lists.ettus.commailto:usrp-users-leave@lists.ettus.com
Okay, seems like I had to manually set the IP addresses for the interfaces. Now I can interact perfectly with the device.
Tho, I don't know how to configure it to use both Links simultaneously, like you suggested (to do 2x200 Msps streaming).
Any advice on that would be appreciated :)
From: Heinz, Dominik dominik.heinz@h-da.de
Sent: Monday, January 27, 2025 10:32:27 AM
To: Martin Braun
Cc: Marcus D. Leech; usrp-users@lists.ettus.com
Subject: [EXTERN] [USRP-users] Re: [EXTERN] Re: [EXTERN] Re: Re: [EXTERN] Re: X310 RIO Session Initialization Failure (Error code -63150)
When I run the image loader without the IP address parameter it seems to be flashing the correctly.
uhd_image_loader --args="type=x300"
However, I don't see how I can configure the IP address to be able to interact via the 10GbE links (?)
From: Heinz, Dominik dominik.heinz@h-da.de
Sent: Monday, January 27, 2025 10:18:41 AM
To: Martin Braun
Cc: Marcus D. Leech; usrp-users@lists.ettus.com
Subject: [EXTERN] [USRP-users] Re: [EXTERN] Re: Re: [EXTERN] Re: X310 RIO Session Initialization Failure (Error code -63150)
Hello Martin,
Hello Marcus,
The X310 does not show up as a RIO device, but rather like this:
4a:00.0 Signal processing controller: National Instruments PXIe/PCIe Device (rev ff) (prog-if ff)
!!! Unknown header type 7f
Kernel driver in use: niusrpriok
Kernel modules: niusrpriok
This seems already problematic (?)
The nisrpriorpc server seems to be running fine:
gnb@xgoss-host:~$ sudo systemctl status niusrpriorpc
● niusrpriorpc.service - LSB: National Instruments USRP RIO Service
Loaded: loaded (/etc/init.d/niusrpriorpc; generated)
Active: active (running) since Mon 2025-01-27 09:37:21 CET; 23min ago
Docs: man:systemd-sysv-generator(8)
Tasks: 4 (limit: 153252)
Memory: 98.6M
CPU: 13.872s
CGroup: /system.slice/niusrpriorpc.service
└─1631 /usr/sbin/niusrpriorpc --daemon
Jan 27 09:37:21 xgoss-host systemd[1]: Starting LSB: National Instruments USRP RIO Service...
Jan 27 09:37:21 xgoss-host systemd[1]: Started LSB: National Instruments USRP RIO Service.
You also mentioned that the X310 needs to be powered on before the host system.
I have of course done this - since to my knowledge hot plugging is not possible in the case of PCIe.
Running uhd_usrp_probe as root doesn't change anything.
I am okay with trying out the 10GbE instead, but I am not able to interact with the device that way.
I can't seem to specify an IP or load a firmware image this way. I tried:
gnb@xgoss-host:~$ uhd_image_loader --args="type=x300,addr=192.168.10.2,fpga=HG"
[INFO] [UHD] linux; GNU C++ version 11.4.0; Boost_107400; UHD_4.7.0.0-0ubuntu1~jammy1
No applicable UHD devices found
Any idea how to proceed? Can't seem to get the device running via PCIe, and via 10GbE I can't interact with the device either.
I will provide the details in the Github issue shortly.
From: Martin Braun martin.braun@ettus.com
Sent: Friday, January 24, 2025 12:19:00 PM
To: Heinz, Dominik
Cc: Marcus D. Leech; usrp-users@lists.ettus.com
Subject: [EXTERN] Re: [USRP-users] Re: [EXTERN] Re: X310 RIO Session Initialization Failure (Error code -63150)
Dominik,
can you provide as much info as you can here: https://github.com/EttusResearch/uhd/issues/818?
Like Marcus said, the PCIe interface is not used a lot (except by LabView users), so if you can use 10 GbE instead I recommend doing that (that also allows you to do 2x200 Msps streaming, if you have two ports).
--M
On Wed, Jan 22, 2025 at 2:58 PM Heinz, Dominik <dominik.heinz@h-da.demailto:dominik.heinz@h-da.de> wrote:
I followed the steps in the guide you linked, - however, I still have the issue.
The uhd drivers are installed, and the niuspriorpc service is running. However, I still the the RIO session initialization failure.
Anything else I could try? I still don't understand what is the cause for this.
From: Marcus D. Leech <patchvonbraun@gmail.commailto:patchvonbraun@gmail.com>
Sent: Tuesday, January 21, 2025 8:32:39 PM
To: usrp-users@lists.ettus.commailto:usrp-users@lists.ettus.com
Subject: [EXTERN] [USRP-users] Re: X310 RIO Session Initialization Failure (Error code -63150)
On 21/01/2025 09:26, Heinz, Dominik wrote:
I'm experiencing an initialization issue with my Ettus X310 USRP device.
My setup consists of an Ettus X310 connected through a PCIe Card using a Molex cable to my Linux machine.
I'm running Ubuntu with kernel version 6.8.0-51-generic and have installed all the necessary UHD packages on the system.
The X310 is properly detected when running uhd_find_devices, but attempting to probe the device with uhd_usrp_probe results in a RIO session initialization error.
I attached the error output below.
What is causing this RIO session initialization failure and how can it be resolved?
Device Address:
serial:
fpga: HG
name:
product: X310
resource: RIO0
type: x300
gnb@xgoss-host:~/srsRAN_Project/build4ac5300/apps/gnb$ uhd_usrp_probe
[INFO] [UHD] linux; GNU C++ version 11.4.0; Boost_107400; UHD_4.7.0.0-0ubuntu1~jammy1
[INFO] [X300] X300 initialization sequence...
[INFO] [X300] Connecting to niusrpriorpc at localhost:5444...
[INFO] [X300] Using LVBITX bitfile /usr/share/uhd/images/usrp_x310_fpga_HG.lvbitx
Error: RuntimeError: x300_impl: Could not initialize RIO session. Unknown error. (Error code -63150)
USRP-users mailing list -- usrp-users@lists.ettus.commailto:usrp-users@lists.ettus.com
To unsubscribe send an email to usrp-users-leave@lists.ettus.commailto:usrp-users-leave@lists.ettus.com
The procedures for making this work are here:
https://files.ettus.com/manual/page_usrp_x3x0.html#x3x0_hw_pcie
USRP-users mailing list -- usrp-users@lists.ettus.commailto:usrp-users@lists.ettus.com
To unsubscribe send an email to usrp-users-leave@lists.ettus.commailto:usrp-users-leave@lists.ettus.com
On 27/01/2025 04:18, Heinz, Dominik wrote:
Hello Martin,
Hello Marcus,
The X310 does not show up as a RIO device, but rather like this:
4a:00.0 Signal processing controller: National Instruments PXIe/PCIe
Device (rev ff) (prog-if ff)
!!! Unknown header type 7f
Kernel driver in use: niusrpriok
Kernel modules: niusrpriok
This seems already problematic (?)
The nisrpriorpc server seems to be running fine:
gnb@xgoss-host:~$ sudo systemctl status niusrpriorpc
● niusrpriorpc.service - LSB: National Instruments USRP RIO Service
Loaded: loaded (/etc/init.d/niusrpriorpc; generated)
Active: active (running) since Mon 2025-01-27 09:37:21 CET; 23min ago
Docs: man:systemd-sysv-generator(8)
Tasks: 4 (limit: 153252)
Memory: 98.6M
CPU: 13.872s
CGroup: /system.slice/niusrpriorpc.service
└─1631 /usr/sbin/niusrpriorpc --daemon
Jan 27 09:37:21 xgoss-host systemd[1]: Starting LSB: National
Instruments USRP RIO Service...
Jan 27 09:37:21 xgoss-host systemd[1]: Started LSB: National
Instruments USRP RIO Service.
You also mentioned that the X310 needs to be powered on before the
host system.
I have of course done this - since to my knowledge hot plugging is not
possible in the case of PCIe.
Running uhd_usrp_probe as root doesn't change anything.
I am okay with trying out the 10GbE instead, but I am not able to
interact with the device that way.
I can't seem to specify an IP or load a firmware image this way. I tried:
gnb@xgoss-host:~$ uhd_image_loader
--args="type=x300,addr=192.168.10.2,fpga=HG"
[INFO] [UHD] linux; GNU C++ version 11.4.0; Boost_107400;
UHD_4.7.0.0-0ubuntu1~jammy1
No applicable UHD devices found
Any idea how to proceed? Can't seem to get the device running via
PCIe, and via 10GbE I can't interact with the device either.
I will provide the details in the Github issue shortly.
For 10Gbit, you have to use (for the HG image that ships by default) the
SFP1 port, and the address is 192.168.40.2
For dual 10Gbit, you have to use the XG image, which results in SFP0
having an address of 192.168.30.2, and SFP 1
having an address of 192.168.40.2
From: Martin Braun martin.braun@ettus.com
Sent: Friday, January 24, 2025 12:19:00 PM
To: Heinz, Dominik
Cc: Marcus D. Leech; usrp-users@lists.ettus.com
Subject: [EXTERN] Re: [USRP-users] Re: [EXTERN] Re: X310 RIO Session
Initialization Failure (Error code -63150)
Dominik,
can you provide as much info as you can here:
https://github.com/EttusResearch/uhd/issues/818?
Like Marcus said, the PCIe interface is not used a lot (except by
LabView users), so if you can use 10 GbE instead I recommend doing
that (that also allows you to do 2x200 Msps streaming, if you have two
ports).
--M
On Wed, Jan 22, 2025 at 2:58 PM Heinz, Dominik dominik.heinz@h-da.de
wrote:
I followed the steps in the guide you linked, - however, I still
have the issue.
The uhd drivers are installed, and the niuspriorpc service is
running. However, I still the the RIO session initialization failure.
Anything else I could try? I still don't understand what is the
cause for this.
------------------------------------------------------------------------
*From:* Marcus D. Leech <patchvonbraun@gmail.com>
*Sent:* Tuesday, January 21, 2025 8:32:39 PM
*To:* usrp-users@lists.ettus.com
*Subject:* [EXTERN] [USRP-users] Re: X310 RIO Session
Initialization Failure (Error code -63150)
On 21/01/2025 09:26, Heinz, Dominik wrote:
I'm experiencing an initialization issue with my Ettus X310 USRP
device.
My setup consists of an Ettus X310 connected through a PCIe Card
using a Molex cable to my Linux machine.
I'm running Ubuntu with kernel version 6.8.0-51-generic and have
installed all the necessary UHD packages on the system.
The X310 is properly detected when running |uhd_find_devices|,
but attempting to probe the device with |uhd_usrp_probe| results
in a RIO session initialization error.
I attached the error output below.
What is causing this RIO session initialization failure and how
can it be resolved?
gnb@xgoss-host:~/srsRAN_Project/build4ac5300/apps/gnb$
uhd_find_devices
[INFO] [UHD] linux; GNU C++ version 11.4.0; Boost_107400;
UHD_4.7.0.0-0ubuntu1~jammy1
--------------------------------------------------
-- UHD Device 0
--------------------------------------------------
Device Address:
serial:
fpga: HG
name:
product: X310
resource: RIO0
type: x300
gnb@xgoss-host:~/srsRAN_Project/build4ac5300/apps/gnb$
uhd_usrp_probe
[INFO] [UHD] linux; GNU C++ version 11.4.0; Boost_107400;
UHD_4.7.0.0-0ubuntu1~jammy1
[INFO] [X300] X300 initialization sequence...
[INFO] [X300] Connecting to niusrpriorpc at localhost:5444...
[INFO] [X300] Using LVBITX bitfile
/usr/share/uhd/images/usrp_x310_fpga_HG.lvbitx
Error: RuntimeError: x300_impl: Could not initialize RIO session.
Unknown error. (Error code -63150)
_______________________________________________
USRP-users mailing list --usrp-users@lists.ettus.com
To unsubscribe send an email tousrp-users-leave@lists.ettus.com
The procedures for making this work are here:
https://files.ettus.com/manual/page_usrp_x3x0.html#x3x0_hw_pcie
_______________________________________________
USRP-users mailing list -- usrp-users@lists.ettus.com
To unsubscribe send an email to usrp-users-leave@lists.ettus.com
On 27/01/2025 05:29, Heinz, Dominik wrote:
Okay, seems like I had to manually set the IP addresses for the
interfaces. Now I can interact perfectly with the device.
Tho, I don't know how to configure it to use both Links
simultaneously, like you suggested (to do 2x200 Msps streaming).
Any advice on that would be appreciated :)
Use the second_addr argument:
https://files.ettus.com/manual/page_usrp_x3x0.html#x3x0_usage
So, assuming the XG image, your device arguments would include:
addr=192.168.30.2,second_addr=192.168.40.2
From: Heinz, Dominik dominik.heinz@h-da.de
Sent: Monday, January 27, 2025 10:32:27 AM
To: Martin Braun
Cc: Marcus D. Leech; usrp-users@lists.ettus.com
Subject: [EXTERN] [USRP-users] Re: [EXTERN] Re: [EXTERN] Re: Re:
[EXTERN] Re: X310 RIO Session Initialization Failure (Error code -63150)
When I run the image loader without the IP address parameter it seems
to be flashing the correctly.
uhd_image_loader --args="type=x300"
However, I don't see how I can configure the IP address to be able to
interact via the 10GbE links (?)
From: Heinz, Dominik dominik.heinz@h-da.de
Sent: Monday, January 27, 2025 10:18:41 AM
To: Martin Braun
Cc: Marcus D. Leech; usrp-users@lists.ettus.com
Subject: [EXTERN] [USRP-users] Re: [EXTERN] Re: Re: [EXTERN] Re:
X310 RIO Session Initialization Failure (Error code -63150)
Hello Martin,
Hello Marcus,
The X310 does not show up as a RIO device, but rather like this:
4a:00.0 Signal processing controller: National Instruments PXIe/PCIe
Device (rev ff) (prog-if ff)
!!! Unknown header type 7f
Kernel driver in use: niusrpriok
Kernel modules: niusrpriok
This seems already problematic (?)
The nisrpriorpc server seems to be running fine:
gnb@xgoss-host:~$ sudo systemctl status niusrpriorpc
● niusrpriorpc.service - LSB: National Instruments USRP RIO Service
Loaded: loaded (/etc/init.d/niusrpriorpc; generated)
Active: active (running) since Mon 2025-01-27 09:37:21 CET; 23min ago
Docs: man:systemd-sysv-generator(8)
Tasks: 4 (limit: 153252)
Memory: 98.6M
CPU: 13.872s
CGroup: /system.slice/niusrpriorpc.service
└─1631 /usr/sbin/niusrpriorpc --daemon
Jan 27 09:37:21 xgoss-host systemd[1]: Starting LSB: National
Instruments USRP RIO Service...
Jan 27 09:37:21 xgoss-host systemd[1]: Started LSB: National
Instruments USRP RIO Service.
You also mentioned that the X310 needs to be powered on before the
host system.
I have of course done this - since to my knowledge hot plugging is not
possible in the case of PCIe.
Running uhd_usrp_probe as root doesn't change anything.
I am okay with trying out the 10GbE instead, but I am not able to
interact with the device that way.
I can't seem to specify an IP or load a firmware image this way. I tried:
gnb@xgoss-host:~$ uhd_image_loader
--args="type=x300,addr=192.168.10.2,fpga=HG"
[INFO] [UHD] linux; GNU C++ version 11.4.0; Boost_107400;
UHD_4.7.0.0-0ubuntu1~jammy1
No applicable UHD devices found
Any idea how to proceed? Can't seem to get the device running via
PCIe, and via 10GbE I can't interact with the device either.
I will provide the details in the Github issue shortly.
From: Martin Braun martin.braun@ettus.com
Sent: Friday, January 24, 2025 12:19:00 PM
To: Heinz, Dominik
Cc: Marcus D. Leech; usrp-users@lists.ettus.com
Subject: [EXTERN] Re: [USRP-users] Re: [EXTERN] Re: X310 RIO Session
Initialization Failure (Error code -63150)
Dominik,
can you provide as much info as you can here:
https://github.com/EttusResearch/uhd/issues/818?
Like Marcus said, the PCIe interface is not used a lot (except by
LabView users), so if you can use 10 GbE instead I recommend doing
that (that also allows you to do 2x200 Msps streaming, if you have two
ports).
--M
On Wed, Jan 22, 2025 at 2:58 PM Heinz, Dominik dominik.heinz@h-da.de
wrote:
I followed the steps in the guide you linked, - however, I still
have the issue.
The uhd drivers are installed, and the niuspriorpc service is
running. However, I still the the RIO session initialization failure.
Anything else I could try? I still don't understand what is the
cause for this.
------------------------------------------------------------------------
*From:* Marcus D. Leech <patchvonbraun@gmail.com>
*Sent:* Tuesday, January 21, 2025 8:32:39 PM
*To:* usrp-users@lists.ettus.com
*Subject:* [EXTERN] [USRP-users] Re: X310 RIO Session
Initialization Failure (Error code -63150)
On 21/01/2025 09:26, Heinz, Dominik wrote:
I'm experiencing an initialization issue with my Ettus X310 USRP
device.
My setup consists of an Ettus X310 connected through a PCIe Card
using a Molex cable to my Linux machine.
I'm running Ubuntu with kernel version 6.8.0-51-generic and have
installed all the necessary UHD packages on the system.
The X310 is properly detected when running |uhd_find_devices|,
but attempting to probe the device with |uhd_usrp_probe| results
in a RIO session initialization error.
I attached the error output below.
What is causing this RIO session initialization failure and how
can it be resolved?
gnb@xgoss-host:~/srsRAN_Project/build4ac5300/apps/gnb$
uhd_find_devices
[INFO] [UHD] linux; GNU C++ version 11.4.0; Boost_107400;
UHD_4.7.0.0-0ubuntu1~jammy1
--------------------------------------------------
-- UHD Device 0
--------------------------------------------------
Device Address:
serial:
fpga: HG
name:
product: X310
resource: RIO0
type: x300
gnb@xgoss-host:~/srsRAN_Project/build4ac5300/apps/gnb$
uhd_usrp_probe
[INFO] [UHD] linux; GNU C++ version 11.4.0; Boost_107400;
UHD_4.7.0.0-0ubuntu1~jammy1
[INFO] [X300] X300 initialization sequence...
[INFO] [X300] Connecting to niusrpriorpc at localhost:5444...
[INFO] [X300] Using LVBITX bitfile
/usr/share/uhd/images/usrp_x310_fpga_HG.lvbitx
Error: RuntimeError: x300_impl: Could not initialize RIO session.
Unknown error. (Error code -63150)
_______________________________________________
USRP-users mailing list --usrp-users@lists.ettus.com
To unsubscribe send an email tousrp-users-leave@lists.ettus.com
The procedures for making this work are here:
https://files.ettus.com/manual/page_usrp_x3x0.html#x3x0_hw_pcie
_______________________________________________
USRP-users mailing list -- usrp-users@lists.ettus.com
To unsubscribe send an email to usrp-users-leave@lists.ettus.com