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.br...@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.he...@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 <patchvonbr...@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-le...@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-le...@lists.ettus.com

_______________________________________________
USRP-users mailing list -- usrp-users@lists.ettus.com
To unsubscribe send an email to usrp-users-le...@lists.ettus.com

Reply via email to