srsRAN_4G icon indicating copy to clipboard operation
srsRAN_4G copied to clipboard

SA test with OAI-CN

Open orion-belt opened this issue 3 years ago • 1 comments

Issue Description

I am trying end to end SA test using zmq virtual radio mode. I see that, the UEContextRelease is triggered bit early before setup of PDU session. I have set all parameters as per tutorial.

Setup Details

I am running srsRAN in the docker container.

Expected Behavior

PDU Session Establishment successful. IP: 12.1.1.2

Actual Behaviour

UEContextRelease before PDU session setup. Please check attached pcap. srsRAN_oai_pdu_sess_fail_pcap.zip

Creating srsran ... done
Attaching to srsran
srsran    | Now setting these variables '@GNBID@ @GTPU_LOCAL_ADDR@ @MCC@ @MNC@ @NGAP_LOCAL_ADDR@ @NGAP_REMOTE_ADDR@'
srsran    | Now setting these variables '@RR_TAC@'
srsran    | Now setting these variables '@DNN@ @IMSI@ @KEY@ @OPC@'
srsran    | Done setting the configuration
srsran    | 
srsran    | Running gNB Service 
srsran    | 
srsran    | Active RF plugins: libsrsran_rf_zmq.so
srsran    | Inactive RF plugins: 
srsran    | ---  Software Radio Systems LTE eNodeB  ---
srsran    | 
srsran    | Couldn't open , trying /root/.config/srsran/enb.conf
srsran    | Reading configuration file /root/.config/srsran/enb.conf...
srsran    | 
srsran    | Built in Release mode using commit fef62b864 on branch master.
srsran    | 
srsran    | Opening 1 channels in RF device=zmq with args=fail_on_disconnect=true,tx_port=tcp://*:2000,rx_port=tcp://localhost:2001,id=enb,base_srate=11.52e6
srsran    | Supported RF device list: zmq file
srsran    | CHx base_srate=11.52e6
srsran    | CHx id=enb
srsran    | Current sample rate is 1.92 MHz with a base rate of 11.52 MHz (x6 decimation)
srsran    | NG connection successful
srsran    | Running UE Service 
srsran    | 
srsran    | Active RF plugins: libsrsran_rf_zmq.so
srsran    | Inactive RF plugins: 
srsran    | Couldn't open , trying /root/.config/srsran/ue.conf
srsran    | Reading configuration file /root/.config/srsran/ue.conf...
srsran    | 
srsran    | Built in Release mode using commit fef62b864 on branch master.
srsran    | 
srsran    | Opening 1 channels in RF device=zmq with args=tx_port=tcp://*:2001,rx_port=tcp://localhost:2000,id=ue,base_srate=11.52e6
srsran    | CH0 rx_port=tcp://localhost:2001
srsran    | CH0 tx_port=tcp://*:2000
srsran    | CH0 fail_on_disconnect=true
srsran    | 
srsran    | ==== eNodeB started ===
srsran    | Type <t> to view trace
srsran    | Current sample rate is 11.52 MHz with a base rate of 11.52 MHz (x1 decimation)
srsran    | Current sample rate is 11.52 MHz with a base rate of 11.52 MHz (x1 decimation)
srsran    | Setting frequency: DL=1842.5 Mhz, UL=1747.5 MHz for cc_idx=0 nof_prb=52
srsran    | Supported RF device list: zmq file
srsran    | CHx base_srate=11.52e6
srsran    | CHx id=ue
srsran    | Current sample rate is 1.92 MHz with a base rate of 11.52 MHz (x6 decimation)
srsran    | CH0 rx_port=tcp://localhost:2000
srsran    | CH0 tx_port=tcp://*:2001
srsran    | Current sample rate is 11.52 MHz with a base rate of 11.52 MHz (x1 decimation)
srsran    | Current sample rate is 11.52 MHz with a base rate of 11.52 MHz (x1 decimation)
srsran    | Waiting PHY to initialize ... Closing stdin thread.
srsran    | done!
srsran    | Attaching UE...
srsran    | Closing stdin thread.
srsran    | Random Access Transmission: prach_occasion=0, preamble_index=0, ra-rnti=0xf, tti=2571
srsran    | RACH:  slot=2571, cc=0, preamble=0, offset=0, temp_crnti=0x4601
srsran    | Random Access Complete.     c-rnti=0x4601, ta=0
srsran    | RRC Connected
srsran    | RRC NR reconfiguration successful.
srsran    | Disconnecting rnti=0x4601.

orion-belt avatar Jun 04 '22 15:06 orion-belt

Hey,

I see that, the UEContextRelease is triggered bit early before setup of PDU session.

Well, then the core isn't accepting the UE it seems. Check the logs there and if you still think it's and srsRAN issue, also provide the relevant logs for srsENB.

Thanks

andrepuschmann avatar Jun 06 '22 12:06 andrepuschmann