Closed ESab00 closed 7 months ago
@ESab00 Could you share the console output of your gnb, ue and AMF?
@dhiaboujebha Sorry for the late reply, didn't have access to the SDRs the last couple of days.
AMF and gNB are looking fine to me, the gNB is attaching correctly without issues. Sometimes there is an occasional Underflow (maybe once per minute), but as i've read this shouldn't be an issue.
The UE console output also looks normal, but it gets stuck in the "Attaching UE"-phase. I also tried letting it run for about 15 minutes like this, nothing else shows up after that.
Here are the console outputs:
gNB console:
--== srsRAN gNB (commit 0b2702cca) ==--
Connecting to AMF on 127.0.0.5:38412
Available radio types: uhd and zmq.
[INFO] [UHD] linux; GNU C++ version 11.2.0; Boost_107400; UHD_4.1.0.5-3
Making USRP object with args 'type=b200'
[INFO] [LOGGING] Fastpath logging disabled at runtime.
[INFO] [B200] Loading firmware image: /usr/share/uhd/images/usrp_b200_fw.hex...
[INFO] [B200] Detected Device: B210
[INFO] [B200] Loading FPGA image: /usr/share/uhd/images/usrp_b210_fpga.bin...
[INFO] [B200] Operating over USB 3.
[INFO] [B200] Detecting internal GPSDO....
[INFO] [GPS] No GPSDO found
[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] 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 23.040000 MHz...
[INFO] [B200] Actually got clock rate 23.040000 MHz.
Cell pci=1, bw=20 MHz, dl_arfcn=368500 (n3), dl_freq=1842.5 MHz, dl_ssb_arfcn=368410, ul_freq=1747.5 MHz
==== gNodeB started ===
Type <t> to view trace
Late: 0; Underflow: 1; Overflow: 0;
AMF console:
02/21 10:49:59.355: [sbi] INFO: (NRF-notify) NF registered [938204d6-d09e-41ee-9d3b-a9ced6d31884:1] (../lib/sbi/nnrf-handler.c:924)
02/21 10:49:59.355: [sbi] INFO: [SMF] (NRF-notify) NF Profile updated [938204d6-d09e-41ee-9d3b-a9ced6d31884:1] (../lib/sbi/nnrf-handler.c:938)
02/21 10:50:00.003: [sbi] INFO: (NRF-notify) NF registered [93e9599c-d09e-41ee-b4fa-378a54e68cb1:1] (../lib/sbi/nnrf-handler.c:924)
02/21 10:50:00.004: [sbi] INFO: [PCF] (NRF-notify) NF Profile updated [93e9599c-d09e-41ee-b4fa-378a54e68cb1:1] (../lib/sbi/nnrf-handler.c:938)
02/21 10:58:25.875: [amf] INFO: gNB-N2 accepted[127.0.0.1]:33144 in ng-path module (../src/amf/ngap-sctp.c:113)
02/21 10:58:25.875: [amf] INFO: gNB-N2 accepted[127.0.0.1] in master_sm module (../src/amf/amf-sm.c:741)
02/21 10:58:25.879: [amf] INFO: [Added] Number of gNBs is now 1 (../src/amf/context.c:1231)
02/21 10:58:25.879: [amf] INFO: gNB-N2[127.0.0.1] max_num_of_ostreams : 30 (../src/amf/amf-sm.c:780)
UE console:
Active RF plugins: libsrsran_rf_uhd.so
Inactive RF plugins:
Reading configuration file 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 file
[INFO] [UHD] linux; GNU C++ version 11.3.0; Boost_107400; UHD_4.4.0.0-0ubuntu1~jammy1
[INFO] [LOGGING] Fastpath logging disabled at runtime.
[INFO] [B200] Loading firmware image: /usr/share/uhd/images/usrp_b200_fw.hex...
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] Loading FPGA image: /usr/share/uhd/images/usrp_b210_fpga.bin...
[INFO] [B200] Operating over USB 3.
[INFO] [B200] Detecting internal GPSDO....
[INFO] [GPS] No GPSDO found
[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...
RF status: O=5, U=0, L=0
could you try to replace the RU config part to zmq-based RF-devices and check whether it works? if it works, then we at least know the issue is related to the RF setup. Also could you connect external clock to both b210s?
@ESab00 any update on this issue?
Issue Description
UE Error "Proc Cell Selection" - Unsupported SCS 15KHz after following the tutorial.
Setup Details
Laptop 1 (Open5GS + srsRAN_Project gNB): Lenovo Thinkpad T14 Gen 3 (Intel i7-1260P, 32GB RAM, Ubuntu 22.04.3 LTS
Laptop 2 (srsRAN_4G srsue): Lenovo Thinkpad T15G Gen 1 (Intel i7-10850H, 32GB RAM, Ubuntu 22.04.03 LTS
2x USRP B210
Both Ubuntus are freshly installed, nothing else on it.
Expected Behavior
UE connects to the gNB.
Actual Behaviour
Open5GS and gNB are running successfully. UE tries to connect, fails during Cell Selection. Error Message: "[E] Proc "Cell Selection" - Unsupported SCS 15KHz" (Logs and configs below)
Steps to reproduce the problem
I followed the tutorial, just changed the clock from external to internal (as I am not using an external clock). UE is registered in the core.
gNB config:
UE config:
UE log:
UE log with log level debug: ue_Debug.log
gNB log: gnb.log