-
Notifications
You must be signed in to change notification settings - Fork 130
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to establish RRC connection between gNB and UE #442
Comments
@andrepuschmann could you please help us through this issue? |
could you check the cpu load of the host running srsUE? for example with |
sorry for the confusion, the cpu load was from the wrong testbed. I will upload the load of the correct one as fast as possible |
Hi @pgawlowicz I am now at the respective setup and meassured the load. |
hmm, RPI might be too slow for 10MHz bandwidth, could you try with 5MHz? |
could you share your configs? |
i was unsure about the coreset parameter in the 5MHz conifg |
the configs are correct. Did you try running it with an external clock? also you might try to tune tx/rx gains |
We did run it with an external clock, but only with the 10MHz or 20MHz config. |
I have a similar setup as yours @tilldroemmer . Try using the following config for the gNodeB/x310:
By the way, I am using 10G interface with the x310. |
Thank you for the recommendation @mohmd-abzd, I will try it soon. you are also using a raspberry Pi? Or do you mean similar regarding the USRPs? |
No I am using a laptop with 4-cores CPU. |
@tilldroemmer any updates on your issue? Could you try tuning TX/RX gains on both gnb and srsUE? |
no updates yet, I will remove to the setup tomorrow. we already tried different gains in steps of 5, but I can try again. |
I am trying the different gains on the devices and generating logs right now. For understanding, the notation of the logs is UE_X_Y_Z.log and gNB_X_Y_Z.log |
@tilldroemmer do you run the experiments over an RF cable? In the UE logs you need to filter for
In GNB logs you need to filter for Could you share your current configs? |
@pgawlowicz I saw that as well, i also noticed that in the UE there are a lot of late packets. Could this be a problem, or is the setup procedure robust enough? I will also continue with higher gains on the gNB side I am transmitting via cable in the moment. |
Do you have any attenuator in between? |
yes a 30db antenuator on tx and rx as I believe national instrument stated on their website |
you mean you are not adding any external attenuators, just using the built-in ones? |
sorry for the confusion, I got two external 30db antennuators. I think these https://www.minicircuits.com/WebStore/dashboard.html?model=VAT-30%2B |
ok, that is good. In the logs you have provided, do X and Y stands for gnb tx_gain and srsUE rx_gain? did you try other values for gnb tx_gain than 5? |
Yes X is for gNB and Y is for UE |
you do not need to repeat it 3 times. If the parameters are good, it should work out of the box. |
in my current config I uploaded before I have |
did you try with |
I can try it now, what should I use for |
Please leave auto for gnb |
do you run the srsUE on RPI4? if so, could you reduce BW to 5 mhz |
Yes I am running the UE on the RPI4, I tried with 5MHz: |
could you check the load on rpi with |
this is with 5 or 10mhz bw? Could you experiment with the following parameters in srsue config: phy.pdsch_max_its = 4 -> reduce number of PDSCH decoding iterations (should decrease load) phy.nof_phy_threads = 1, 2 or 3 -> set the number of decoding threads |
this is with 5 MHz. thank you for the great help today, I don't know If I can fit these tests in this week. |
I just produced this two logs for the recommended configuration. The used configuration is also in the zip. |
It seems that the UE did not even detect the cell, and did not even try to attach. |
I changed to a different computer on UE side to see where the problem is. I transmitted via antenna and used a 10 MHz setting and was able to get a PDU session establishment. We will now continue to look for the fault, our idea is to use a different RP4 this RP is a plain installation, we hope this might solve the problem for now, I will come back to the issue as soon as I have further intel |
Issue Description
Using srsRAN_Project and this Tutorial we want to establish a connection between our gNB (X310) and UE (B200mini).
In the past we have always been able to get at least a RRC connection, at one time even a PDU session.
However we had to move labs and had to change our hardware, so we set up our new testbed. This time, we are not able to create a RRC connection.
Setup Details
Our UE and gNB are both connected to the Leo-Bodnar 10MHz Clock
Core, UE and gNB are running on different physical machines.
UE (running on Raspberry Pi 4 Model B)
gNB:
Core
Expected Behavior
[What you expect to happen]
The UE should connect to the gNB, the RRC connection should be established and later on the PDU session should be established as well.
Actual Behaviour
[What happens instead e.g. error message]
Active RF plugins: libsrsran_rf_uhd.so libsrsran_rf_zmq.so
Inactive RF plugins:
Reading configuration file 0102.conf...
Built in Release mode using commit eea87b1d8 on branch master.
Opening 1 channels in RF device=uhd with args=type = b200, clock=external
Supported RF device list: UHD zmq file
[INFO] [UHD] linux; GNU C++ version 10.2.0; Boost_107100; UHD_3.15.0.0-4
[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: 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] 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=4, U=0, L=0
[INFO] [UHD RF] Tx while waiting for EOB, timed out... 2.35479 >= 0. Starting new burst...
Random Access Transmission: prach_occasion=0, preamble_index=0, ra-rnti=0xf, tti=9461
RF status: O=24, U=4, L=106
Random Access Transmission: prach_occasion=0, preamble_index=0, ra-rnti=0x39, tti=9614
RF status: O=34, U=0, L=0
[INFO] [UHD RF] Tx while waiting for EOB, timed out... 4.57974 >= 4.57644. Starting new burst...
RF status: O=35, U=1, L=216
RF status: O=15, U=0, L=90
RF status: O=29, U=1, L=0
RF status: O=32, U=0, L=0
[INFO] [UHD RF] Tx while waiting for EOB, timed out... 8.10993 >= 8.01963. Starting new burst...
RF status: O=19, U=5, L=79
RF status: O=33, U=0, L=0
[INFO] [UHD RF] Tx while waiting for EOB, timed out... 10.86 >= 10.8363. Starting new burst...
[INFO] [UHD RF] Tx while waiting for EOB, timed out... 10.8896 >= 10.8363. Starting new burst...
RF status: O=33, U=2, L=20
^CStopping ..
Saving MAC PCAP (DLT=149) to /tmp/ue_mac.pcap
--- exiting ---
We noticed that in the UE.log the MIB seems to be problematic.
As well as there is always a RAR timeout
RAR Timer expired. RA response not received within the response window
And a Handling Timeout
Handling Timer Expired
Steps to reproduce the problem
UE.zip
gnb.zip
Additional Information
[Any additional information, configuration or data that might be necessary to reproduce the issue]
We played around with the Gains and time_adv_nsample for a while. We even tried all time_adv_nsample from 0 to 600 in steps of 25
The text was updated successfully, but these errors were encountered: