srsRAN_4G icon indicating copy to clipboard operation
srsRAN_4G copied to clipboard

srsUE finding but not attaching to commercial eNodeB

Open h-michaelson20 opened this issue 1 year ago • 0 comments

Issue Description

I am trying to have an srsUE instance connect to a commercial eNodeB. The srsUE appears to find the eNodeB (it displays the "Found Cell" line) but can't connect.

Setup Details

OS: Ubuntu 22.04 UE: srsRAN_4G connected via usb3 to USRP B210

Expected Behavior

The srsUE should connect successfully to the commercial eNodeB

Actual Behaviour

RF device 'UHD' successfully opened Waiting PHY to initialize ... done! Attaching UE... . . . Found Cell: Mode=FDD, PCI=442, PRB=100, Ports=4, CP=Normal, CFO=-3.9 KHz /home/nsr/srsRAN_4G/lib/src/phy/rf/rf_uhd_imp.cc:1339: Error timed out while receiving samples from UHD. /home/nsr/srsRAN_4G/lib/src/phy/ue/ue_sync.c:772: Error receiving samples RF status: O=1, U=0, L=0 /home/nsr/srsRAN_4G/lib/src/phy/rf/rf_uhd_imp.cc:1339: Error timed out while receiving samples from UHD. /home/nsr/srsRAN_4G/lib/src/phy/rf/rf_uhd_imp.cc:1339: Error timed out while receiving samples from UHD. /home/nsr/srsRAN_4G/lib/src/phy/rf/rf_uhd_imp.cc:1339: Error timed out while receiving samples from UHD. ^CStopping .. /home/nsr/srsRAN_4G/lib/src/phy/rf/rf_uhd_imp.cc:1339: Error timed out while receiving samples from UHD. /home/nsr/srsRAN_4G/lib/src/phy/rf/rf_uhd_imp.cc:1339: Error timed out while receiving samples from UHD. --- exiting ---

Steps to reproduce the problem

ue.conf: ue.conf.txt

Additional Information

I already tried fixing the problem by doing the following:

  1. echo "performance" | sudo tee /sys/devices/system/cpu/cpu*/cpufreq/scaling_governor
  2. changing srate - if it is not set to a multiple of 23.04e6 then I get an error saying srsran has crashed because the srate/23.04e6 is not an integer, if it is a multiple of 23.04e6 I get the same error shown above
  3. tried connecting with both a 4g and 5g configuration setup, same error for both currently
  4. tried changing the dl_earfcn as there are multiple values that find cells, none connect correctly

Thank you so much for your help!

h-michaelson20 avatar Jun 04 '24 15:06 h-michaelson20