srsRAN_4G
srsRAN_4G copied to clipboard
Failed to setup/configure GW interface
Hello everyone,
I am currently working on a project involving srsRAN gNB and srsUE. In this project, I am using a USRP B200 Mini on the srsUE side and a USRP B210 on the gNB side. I have successfully achieved NR reconfiguration by adjusting the offset value to -4300.
However, after achieving successful NR reconfiguration, I am encountering synchronization errors with the message 'RF status: O=0, U=1, L=0.' Additionally, I am facing an issue with the srsUE application, specifically, a 'Failed to set up/configure GW interface' error.
Any assistance or advice on resolving these issues would be greatly appreciated.
Thank you
srsue :-
raju@raju-ThinkPad-P16s-Gen-1:~/new/srsRAN_4G/build/srsue/src$ sudo srsue /home/raju/Downloads/ue_rf.conf Active RF plugins: libsrsran_rf_uhd.so libsrsran_rf_zmq.so Inactive RF plugins: Reading configuration file /home/raju/Downloads/ue_rf.conf...
Built in Release mode using commit fa56836b1 on branch master.
Opening 1 channels in RF device=uhd with args=clock=internal Supported RF device list: UHD zmq file [INFO] [UHD] linux; GNU C++ version 9.4.0; Boost_107100; UHD_4.4.0.0-177-g0e50a37b [INFO] [LOGGING] Fastpath logging disabled at runtime. Opening USRP channels=1, args: type=b200,master_clock_rate=23.04e6 [INFO] [UHD RF] RF UHD Generic instance constructed [INFO] [B200] Detected Device: B210 [INFO] [B200] Operating over USB 3. [INFO] [B200] Initialize CODEC control... [INFO] [B200] Initialize Radio control... [INFO] [B200] Performing register loopback test... [INFO] [B200] Register loopback test passed [INFO] [B200] Performing register loopback test... [INFO] [B200] Register loopback test passed [INFO] [B200] Asking for clock rate 23.040000 MHz... [INFO] [B200] Actually got clock rate 23.040000 MHz. Setting manual TX/RX offset to 300 samples Waiting PHY to initialize ... done! Attaching UE... Random Access Transmission: prach_occasion=0, preamble_index=0, ra-rnti=0x39, tti=3054 Random Access Complete. c-rnti=0x4601, ta=0 RRC Connected Failed to setup/configure GW interface RRC NR reconfiguration successful. RF status: O=0, U=1, L=0 RF status: O=0, U=2, L=0 RF status: O=0, U=1, L=0 RF status: O=0, U=2, L=0 RF status: O=0, U=1, L=0 ---------Signal-----------|-----------------DL-----------------|-----------UL----------- rat pci rsrp pl cfo | mcs snr iter brate bler ta_us | mcs buff brate bler nr 1 -23 0 -13 | 0 -2 0.0 0.0 0% 0.0 | 0 0.0 0.0 0% RF status: O=0, U=1, L=0 nr 1 -24 0 -7.6 | 0 -3 0.0 0.0 0% 0.0 | 0 0.0 0.0 0% nr 1 -23 0 -109 | 0 -3 0.0 0.0 0% 0.0 | 0 0.0 0.0 0% nr 1 -23 0 84 | 0 -3 0.0 0.0 0% 0.0 | 0 0.0 0.0 0% nr 1 -24 0 -44 | 0 -3 0.0 0.0 0% 0.0 | 0 0.0 0.0 0% nr 1 -23 0 64 | 0 -3 0.0 0.0 0% 0.0 | 0 0.0 0.0 0% RF status: O=0, U=2, L=0 nr 1 -13 0 -3.1 | 0 5 0.0 0.0 0% 0.0 | 0 0.0 0.0 0% RF status: O=0, U=2, L=0 nr 1 -2 0 3.0 | 0 16 0.0 0.0 0% 0.0 | 0 0.0 0.0 0%
GNodeB raju@raju-ThinkPad-P16s-Gen-1:~/new/srsRAN_Project/build/apps/gnb$ sudo ./gnb -c /home/raju/srsRAN_Project/configs/gnb_rf_b210_fdd_srsUE.yml [sudo] password for raju: Lower PHY in quad executor mode.
--== srsRAN gNB (commit 5e6f50a20) ==--
Connecting to AMF on 127.0.1.100:38412 Failed to bind UDP socket to 127.0.0.1:2152. Address already in use Available radio types: uhd. [INFO] [UHD] linux; GNU C++ version 11.4.0; Boost_107400; UHD_4.4.0.0-265-ga2a04e31 Making USRP object with args 'type=b200' [INFO] [LOGGING] Fastpath logging disabled at runtime. [INFO] [B200] Detected Device: B200mini [INFO] [B200] Operating over USB 3. [INFO] [B200] Initialize CODEC control... [INFO] [B200] Initialize Radio control... [INFO] [B200] Performing register loopback test... [INFO] [B200] Register loopback test passed [INFO] [B200] Setting master clock rate selection to 'automatic'. [INFO] [B200] Asking for clock rate 16.000000 MHz... [INFO] [B200] Actually got clock rate 16.000000 MHz. [INFO] [MULTI_USRP] Setting master clock rate selection to 'manual'. [INFO] [B200] Asking for clock rate 11.520000 MHz... [INFO] [B200] Actually got clock rate 11.520000 MHz. Cell pci=1, bw=10 MHz, dl_arfcn=368500 (n3), dl_freq=1842.5 MHz, dl_ssb_arfcn=368410, ul_freq=1747.5 MHz
==== gNodeB started ===
Type
file:- https://drive.google.com/drive/folders/1cpsDISW5SP0M-P_SG3tk71XvAYJSksJt?usp=drive_link
Hi @rajugbv according to the log of gnb,
CPU0 scaling governor is not set to performance, which may hinder performance. You can set it to performance using the "srsran_performance" script
Maybe you can try the "srsran_performance" script
For more details: https://docs.srsran.com/projects/project/en/latest/user_manuals/source/troubleshooting.html
BTW, how do you determine the value of frequency offset