[srsran-users] N310 for LTE and 5G tests

Nadia Patricia Yoza Mitsuishi Nadia.YozaMitsuishi at colorado.edu
Fri Feb 24 18:17:08 UTC 2023


Hi Andre,

Thanks for the response. It's good to know that the N310 can work stably
with LTE. Do you know if it has also been tried with 5G?
I tried to implement what you suggested, but I get the following error when
trying to run the eNB and the UE:

-------------------------------------------------------------------------------------------------------------------
/home/srsRAN/lib/src/phy/rf/rf_uhd_imp.cc:932: uhd_init failed, freeing...
[ERROR] [UHD RF] rpc::timeout: Timeout of 2000ms while calling RPC function
'set_device_id'
Error initializing radio.
-------------------------------------------------------------------------------------------------------------------

I tried it with UHD_4.1.0.0-0-unknown and UHD_4.2.0.0-0-unknown. I am using
srsRAN 22.10 and the following parameters in the eNB:
[rf]
device_args = type=n3xx,tx_subdev_spec=A:0 B:0,rx_subdev_spec=A:0 B:0

[expert]
lte_sample_rates = true

When I tried with UHD 3.15-LTS, I get the following:

-------------------------------------------------------------------------------------------------------------------
See the transport application notes on buffer resizing.
Please run: sudo sysctl -w net.core.wmem_max=6250000
[ERROR] [UHD] Exception caught in safe-call.
  in ctrl_iface_impl<_endianness>::~ctrl_iface_impl() [with
uhd::endianness_t _endianness = (uhd::endianness_t)0]
  at /opt/uhd/host/lib/rfnoc/ctrl_iface.cpp:52
this->send_cmd_pkt(0, 0, true); -> EnvironmentError: IOError: Block ctrl
(CE_01_Port_40) no response packet - AssertionError: bool(buff)
  in uint64_t ctrl_iface_impl<_endianness>::wait_for_ack(bool, double)
[with uhd::endianness_t _endianness = (uhd::endianness_t)0; uint64_t = long
unsigned int]
  at /opt/uhd/host/lib/rfnoc/ctrl_iface.cpp:151

[ERROR] [MPMD] Failure during block enumeration: EnvironmentError: IOError:
Block ctrl (CE_01_Port_40) no response packet - AssertionError: bool(buff)
  in uint64_t ctrl_iface_impl<_endianness>::wait_for_ack(bool, double)
[with uhd::endianness_t _endianness = (uhd::endianness_t)0; uint64_t = long
unsigned int]
  at /opt/uhd/host/lib/rfnoc/ctrl_iface.cpp:151

/home/srsRAN/lib/src/phy/rf/rf_uhd_imp.cc:932: uhd_init failed, freeing...
[ERROR] [UHD RFError initializing radio.
] RuntimeError: Failed to run enumerate_rfnoc_blocks()
------------------------------------------------------------------------------------------------------------------------------------------

I was reading your post on https://github.com/EttusResearch/uhd/issues/449
, but I couldn't make it work.

Please, find attached the .conf files and the outputs. In case you have any
suggestions, please, let me know.

Thanks,


On Wed, Feb 22, 2023 at 3:03 AM Andre Puschmann <andre.puschmann at srs.io>
wrote:

> Hey guys,
>
> the N310 works very stable with srsRAN but you need to make sure to use
> the right options and also a recent UHD version. UHD 3.15 does not work
> well with the N310. See the suggestions in [1].
>
> Cheers
> Andre
>
>
> [1]
>
> https://docs.srsran.com/en/latest/app_notes/source/5g_nsa_cots/source/index.html?highlight=n310#ettus-research-usrp-n310
>
>
> On 22/2/23 0:29, Nadia Patricia Yoza Mitsuishi wrote:
> > Hey Debashisha,
> >
> > I only tried with LTE and 5G SA, both with 10 MHz, but it didn't work. I
> > connected a 10 Gigabit Ethernet card, but I'm still not able to get the
> > UE attached to the eNB or gNB. Do you know if anyone has got it to work
> > at least with less bandwidth?
> > I'll let you know if something changes.
> >
> > Best,
> >
> > On Sat, Feb 18, 2023 at 6:57 AM Debashisha Mishra
> > <debashisha.mishra at univ-lorraine.fr
> > <mailto:debashisha.mishra at univ-lorraine.fr>> wrote:
> >
> >     Hi Nadia,
> >
> >     Does this configuration work for you in case of LTE 20 MHz?
> >     Did you manage to make it work in 5G SA, 20 MHz?
> >
> >     Thank you.
> >
> >
> >     ----- On Oct 28, 2022, at 4:33 AM, Nadia Patricia Yoza Mitsuishi
> >     <Nadia.YozaMitsuishi at colorado.edu
> >     <mailto:Nadia.YozaMitsuishi at colorado.edu>> wrote:
> >
> >         Hello everyone,
> >
> >         We are trying to use N310 SDRs for srsRAN LTE tests as a first
> >         step and then use them for 5G SA E2E. With LTE, the eNB is
> >         unstable, so the UE never gets attached to it. I was trying with
> >         the following parameters, basically to adjust the sampling rate,
> >         but it still doesn't work:
> >
> >         srate = 15.36e6
> >         device_name = uhd
> >         device_args = type=n3xx, clock=external ,sampling_rate=15.36e6
> >
> >         [expert]
> >         lte_sample_rates = true
> >
> >         I'm using the following:
> >
> >         - Ubuntu 20.04
> >         - srsRAN 22.04
> >         - 5.4.0-125-lowlatency kernel
> >         - N310
> >         - UHD 3.15-LTS
> >         - tx_gain=80, rx_gain=40
> >         - Fixed attenuator at TX output: 30 dB
> >
> >         Are there any parameters we should consider for N310? Also, if
> >         you have any suggestions about using N310 for 5G SA E2E, please
> >         let me know.
> >
> >         Thanks,
> >
> >         _______________________________________________
> >         srsran-users mailing list
> >         srsran-users at lists.srsran.com <mailto:
> srsran-users at lists.srsran.com>
> >         https://lists.srsran.com/mailman/listinfo/srsran-users
> >         <https://lists.srsran.com/mailman/listinfo/srsran-users>
> >
> >
> > _______________________________________________
> > srsran-users mailing list
> > srsran-users at lists.srsran.com
> > https://lists.srsran.com/mailman/listinfo/srsran-users
>
> --
> Andre Puschmann
>
> Software Radio Systems (SRS)
> https://www.srs.io
> andre at srs.io
>
> PGP/GnuPG key: 0x204A85DFEA324D58
> fingerprint: 3924 1C60 D52E 81A2 1F2E 0C9D 204A 85DF EA32 4D58
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.srsran.com/pipermail/srsran-users/attachments/20230224/b50b47bb/attachment-0001.htm>
-------------- next part --------------
root at server# srsenb
Active RF plugins: libsrsran_rf_uhd.so libsrsran_rf_zmq.so
Inactive RF plugins: 
---  Software Radio Systems LTE eNodeB  ---

Couldn't open , trying /root/.config/srsran/enb.conf
Reading configuration file /root/.config/srsran/enb.conf...
Couldn't open sib.conf, trying /root/.config/srsran/sib.conf
Couldn't open rr.conf, trying /root/.config/srsran/rr.conf
Couldn't open rb.conf, trying /root/.config/srsran/rb.conf

Built in Release mode using commit ce8a3cae1 on branch master.

connect(): Connection refused
Failed to initiate S1 connection. Attempting reconnection in 10 seconds
Opening 1 channels in RF device=uhd with args=type=n3xx,tx_subdev_spec=A:0 B:0,rx_subdev_spec=A:0 B:0
Supported RF device list: UHD zmq file
[INFO] [UHD] linux; GNU C++ version 9.4.0; Boost_107100; UHD_4.1.0.0-0-unknown
[INFO] [LOGGING] Fastpath logging disabled at runtime.
Opening USRP channels=1, args: type=n3xx,tx_subdev_spec=A:0 B:0,rx_subdev_spec=A:0 B:0,master_clock_rate=122.88e6
[INFO] [UHD RF] RF UHD Generic instance constructed
[INFO] [MPMD] Initializing 1 device(s) in parallel with args: mgmt_addr=192.168.10.3,type=n3xx,product=n310,serial=31BFE7F,claimed=False,addr=192.168.10.3,master_clock_rate=122.88e6
[WARNING] [MPM.RPCServer] A timeout event occured!
/home/srsRAN/lib/src/phy/rf/rf_uhd_imp.cc:932: uhd_init failed, freeing...
Error initializing radio.
[ERROR] [UHD RF] rpc::timeout: Timeout of 2000ms while calling RPC function 'set_device_id'

-------------- next part --------------
root at mserver# srsue
Active RF plugins: libsrsran_rf_uhd.so libsrsran_rf_zmq.so
Inactive RF plugins: 
Couldn't open , trying /root/.config/srsran/ue.conf
Reading configuration file /root/.config/srsran/ue.conf...

Built in Release mode using commit 5a4eb5d6c on branch master.

Opening 1 channels in RF device=uhd with args=type=n3xx
Supported RF device list: UHD zmq file
[INFO] [UHD] linux; GNU C++ version 9.4.0; Boost_107100; UHD_4.1.0.0-0-unknown
[INFO] [LOGGING] Fastpath logging disabled at runtime.
Opening USRP channels=1, args: type=n3xx,master_clock_rate=122.88e6
[INFO] [UHD RF] RF UHD Generic instance constructed
[INFO] [MPMD] Initializing 1 device(s) in parallel with args: mgmt_addr=192.168.10.2,type=n3xx,product=n310,serial=31BFE81,claimed=False,addr=192.168.10.2,master_clock_rate=122.88e6
[WARNING] [MPM.RPCServer] A timeout event occured!
/home/srsRAN/lib/src/phy/rf/rf_uhd_imp.cc:932: uhd_init failed, freeing...
Error initializing radio.
[ERROR] [UHD RF] rpc::timeout: Timeout of 2000ms while calling RPC function 'set_device_id'

-------------- next part --------------
A non-text attachment was scrubbed...
Name: ue.conf
Type: application/octet-stream
Size: 19473 bytes
Desc: not available
URL: <https://lists.srsran.com/pipermail/srsran-users/attachments/20230224/b50b47bb/attachment-0002.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: enb.conf
Type: application/octet-stream
Size: 18736 bytes
Desc: not available
URL: <https://lists.srsran.com/pipermail/srsran-users/attachments/20230224/b50b47bb/attachment-0003.obj>


More information about the srsran-users mailing list