[srsran-users] Unable to open RF device 'UHD', error intializing radio

Mahboob Ur Rahman mahboob.rahman at itu.edu.pk
Tue Feb 1 16:01:06 UTC 2022


Dear all,

I am trying to set up a minimal 4G SRS RAN system by means of an EPC, an
eNB, and a UE. FYI, I have been following the steps as mentioned here:
https://docs.srsran.com/en/latest/app_notes/source/cots_ue/source/index.html#

I am using a USRP B210 radio to setup the eNB node. uhd_usrp_probe and
uhd_find_devices work well. The various SRS RAN related config files are
there in the home directory. So, I run "sudo srsepc" on one terminal, and
EPC runs fine. However, when I run "sudo srsenb", then I get the following
error message (actually, I have pasted the full log below):

mehboob at mehboob-OptiPlex-7450-AIO:~$ sudo srsenb
[sudo] password for mehboob:
linux; GNU C++ version 7.3.0; Boost_106501; UHD_003.010.003.000-0-unknown

---  Software Radio Systems LTE eNodeB  ---

Couldn't open , trying /home/mehboob/.config/srsran/enb.conf
Reading configuration file /home/mehboob/.config/srsran/enb.conf...
Couldn't open sib.conf, trying /home/mehboob/.config/srsran/sib.conf
Couldn't open rr.conf, trying /home/mehboob/.config/srsran/rr.conf
Couldn't open rb.conf, trying /home/mehboob/.config/srsran/rb.conf
WARNING: cpu0 scaling governor is not set to performance mode. Realtime
processing could be compromised. Consider setting it to performance mode
before running the application.

Built in RelWithDebInfo mode using 21.10.0.

Opening 1 channels in RF device=default with args=default
Available RF device list: UHD
Trying to open RF device 'UHD'
Opening USRP channels=1, args: type=b200,master_clock_rate=23.04e6
-- Detected Device: B210
-- Operating over USB 3.
/build/srsran-8EthOw/srsran-21.10/lib/src/phy/rf/rf_uhd_imp.cc:930:
uhd_init failed, freeing...
Unable to open RF device 'UHD'
/build/srsran-8EthOw/srsran-21.10/lib/src/phy/rf/rf_imp.c:147: Failed to
open a RF frontend device. Please check the available srsRAN CMAKE options
to verify what RF frontend devices have been detected in your system
Error initializing radio.

Please help me overcome this error. I have tried looking into the
rf_uhd_imp.cc and rf_imp.c files, but couldn't reverse engineer the
root-cause of the problem. Any pointers will be appreciated.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.srsran.com/pipermail/srsran-users/attachments/20220201/11fc0f76/attachment.htm>


More information about the srsran-users mailing list