srsran / srsRAN_4G

Open source SDR 4G software suite from Software Radio Systems (SRS) https://docs.srsran.com/projects/4g
https://www.srsran.com
GNU Affero General Public License v3.0
3.49k stars 1.15k forks source link

Can't find any cell when use srsue ue.conf #1190

Open YY-chen555 opened 1 year ago

YY-chen555 commented 1 year ago

Issue Description

Cell and PLMN cannot be found when using srsUE

Setup Details

[ue] Ubunt22.04 USRPb210

[enb,epc] Ubunt22.04 BladRFA115

Expected Behavior

I expect to get the following result when I execute srsue ue.conf.example image

Actual Behaviour

When I executed "srsue ue.conf", the following problem occurred `root@autohack-virtual-machine:/home/autohack/srsLTE/srsue# srsue ue.conf Active RF plugins: libsrsran_rf_uhd.so libsrsran_rf_soapy.so libsrsran_rf_blade.so libsrsran_rf_zmq.so Inactive RF plugins: Reading configuration file ue.conf... WARNING: Could not verify cpu0 scaling governor WARNING: Could not verify cpu1 scaling governor WARNING: Could not verify cpu2 scaling governor WARNING: Could not verify cpu3 scaling governor

Built in Release mode using commit fa56836b1 on branch master.

Opening 1 channels in RF device=default with args=default Supported RF device list: UHD soapy bladeRF zmq file Trying to open RF device 'UHD' [INFO] [UHD] linux; GNU C++ version 11.3.0; Boost_107400; DPDK_21.11; UHD_4.4.0.0-0-unknown [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. RF device 'UHD' successfully opened Waiting PHY to initialize ... done! Attaching UE... Starting plot for worker_id=0 QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-root' ............................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................ ...................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................^CStopping .. ...--- exiting --- ``

enb ` srsenb --rf.device_name bladeRF Active RF plugins: libsrsran_rf_uhd.so libsrsran_rf_soapy.so libsrsran_rf_blade.so libsrsran_rf_zmq.so Inactive RF plugins: --- Software Radio Systems LTE eNodeB ---

Couldn't open , trying /root/.config/srsran/enb.conf Couldn't open /root/.config/srsran/enb.conf either, trying /etc/srsran/enb.conf Reading configuration file /etc/srsran/enb.conf... Couldn't open sib.conf, trying /root/.config/srsran/sib.conf Couldn't open /root/.config/srsran/sib.conf either, trying /etc/srsran/sib.conf Couldn't open rr.conf, trying /root/.config/srsran/rr.conf Couldn't open /root/.config/srsran/rr.conf either, trying /etc/srsran/rr.conf WARNING: Could not verify cpu0 scaling governor WARNING: Could not verify cpu1 scaling governor WARNING: Could not verify cpu2 scaling governor WARNING: Could not verify cpu3 scaling governor

Built in Release mode using commit fa56836b1 on branch master.

Opening 1 channels in RF device=bladeRF with args=default Supported RF device list: UHD soapy bladeRF zmq file Opening bladeRF... Set RX sampling rate 1.92 Mhz, filter BW: 2.50 Mhz

==== eNodeB started === Type to view trace Starting plot for worker_id=0 Set RX sampling rate 11.52 Mhz, filter BW: 10.00 Mhz Creating plot window 'srsENB PCI 1'... Setting frequency: DL=2680.0 Mhz, UL=2560.0 MHz for cc_idx=0 nof_prb=50 set TX frequency to 2680000001 set RX frequency to 2560000001 QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-root' `

Epc `srsepc epc.conf

Built in Release mode using commit fa56836b1 on branch master.

--- Software Radio Systems EPC ---

Reading configuration file epc.conf... Couldn't open user_db.csv, trying /root/.config/srsran/user_db.csv Couldn't open /root/.config/srsran/user_db.csv either, trying /etc/srsran/user_db.csv HSS Initialized. MME S11 Initialized MME GTP-C Initialized MME Initialized. MCC: 0xf001, MNC: 0xff01 SPGW GTP-U Initialized. SPGW S11 Initialized. SP-GW Initialized. Received S1 Setup Request. S1 Setup Request - eNB Name: srsenb01, eNB id: 0x19b S1 Setup Request - MCC:001, MNC:01 S1 Setup Request - TAC 7, B-PLMN 0xf110 S1 Setup Request - Paging DRX v128 Sending S1 Setup Response SCTP Association Shutdown. Association: 4 Deleting eNB context. eNB Id: 0x19b Releasing UEs context No UEs to be released Received S1 Setup Request. S1 Setup Request - eNB Name: srsenb01, eNB id: 0x19b S1 Setup Request - MCC:001, MNC:01 S1 Setup Request - TAC 7, B-PLMN 0xf110 S1 Setup Request - Paging DRX v128 Sending S1 Setup Response `

Steps to reproduce the problem

srsue ue.conf srsepc epc.conf srsenb enb.conf

Additional Information

I have had results for RF status: O=0, U=0, L=0 and O=1, U=0, L=0

N2WU commented 1 year ago

I thought UE was to be run last, after e/gnb and epc. Your screenshot is different from your supplied text - it seems like the bladeRF drivers work fine.

The developers suggest using UHD 4.1 or 3.15, so try to revert back to those versions (git checkout...) for the ue. Those lines occur with overflow errors - try using ./benchmark_rate --rx_rate 11.52e6 --tx_rate 11.52e6 to see if your UHD version correctly works with the b210.