-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
srsUE can not attach to eNB #727
Comments
The N310, or the UHD drivers, are a bit picky and so there are still issues with it. We're trying to address them and also flagged them with Ettus, see (though this is with UHD 4.1):
This is a bit better on the eNB with UHD 3.15 and the N310, but the UE, as far I as I can tell also there requires special parameters to avoid retuning. Check the NSA appnote here and try the |
Thank you @andrepuschmann . |
@andrepuschmann I'm connecting USRP N310 to my host over a 1GigE cable. Is it required to connect them over 10GigE or 1GigE should able to work as well? |
Depends on your particular cell configuration. Check the bandwidth requirments, but for a typical 10Mhz cell in SISO the 1GigE should be enough. |
@andrepuschmann I'm trying to figure everything out, so I read through the log file from enb.log. The log is shown as follow It keeps saying Underflow or Late. Also my terminal shows the following message: (base) root@oai1:~# srsenb Reading configuration file /root/.config/srsran/enb.conf... Built in Release mode using commit 89f16ee on branch master. Opening 1 channels in RF device=UHD with args=type=n3xx ==== eNodeB started === I'm using the same configuration file as I attached in the beginning of this thread. |
@andrepuschmann Can you help me with this? |
@andrepuschmann Also, while following the NSA appnote and setting srate to 11.52e6, I got the following error: root@oai2:~/srsRAN/build/srsue/src# ./srsue Built in Release mode using commit eccf106 on branch master. Opening 2 channels in RF device=uhd with args=type=n3xx,sampling_rate=11.52e6,lo_freq_offset_hz=11.52e6 [WARNING] [RFNOC] The requested decimation is odd; the user should expect passband CIC rolloff. [WARNING] [RFNOC] The requested decimation is odd; the user should expect passband CIC rolloff. [WARNING] [RFNOC] The requested decimation is odd; the user should expect passband CIC rolloff. [WARNING] [MULTI_USRP] The hardware does not support the requested RX sample rate: [WARNING] [MULTI_USRP] The hardware does not support the requested RX sample rate: [WARNING] [MULTI_USRP] The hardware does not support the requested RX sample rate: [WARNING] [MULTI_USRP] The hardware does not support the requested RX sample rate: [WARNING] [RFNOC] The requested interpolation is odd; the user should expect passband CIC rolloff. [WARNING] [RFNOC] The requested interpolation is odd; the user should expect passband CIC rolloff. [WARNING] [RFNOC] The requested interpolation is odd; the user should expect passband CIC rolloff. [WARNING] [RFNOC] The requested interpolation is odd; the user should expect passband CIC rolloff. [WARNING] [MULTI_USRP] The hardware does not support the requested TX sample rate: [WARNING] [MULTI_USRP] The hardware does not support the requested TX sample rate: [WARNING] [MULTI_USRP] The hardware does not support the requested TX sample rate: [WARNING] [MULTI_USRP] The hardware does not support the requested TX sample rate: [INFO] [MULTI_USRP] 1) catch time transition at pps edge |
On the N310 you have to use the LTE sample rates. E.g. |
Ran the srsRAN (release_20_10) with UHD 4.1.0.4 version installed. Initially, the srsENB & srsUE were able to recognize the N310s but srsUE. couldn't attach to srsENB. The steps I followed to make it work
|
Thanks for the feedback.
That is only the default. You can overwrite it with Anyway, closing the issue as I think it's solved. Also no feedback from the original author. |
Hii all any update regarding below error Built in Release mode using 22.04.0. Opening 1 channels in RF device=zmq with args=tx_port=tcp://:2001,rx_port=tcp://localhost:2000,id=ue,base_srate=23.04e6 |
Issue DescriptionI've 2 VM, in 1st VM Aether-in-a=Box 4G Core Running as a CNF & in 2nd VM srsRAN running with eNB & UE with ZMQ. Changed ~/.config/srsran/ue.conf [usim] [nas] Setup Details[Specify details of the test setup. This would help us reproduce the problem reliably] Expected Behavior[UE should be attached with eNB, as from core side IP been allocating from SPGW after Actual Behaviour UEubuntu@ip-172-31-3-99:~/srsRAN_4G/build$ sudo ./srsue/src/srsue /home/ubuntu/.config/srsran/ue.conf --rf.device_name=zmq --rf.devigs="tx_port=tcp://*:2001,rx_port=tcp://localhost:2000,id=ue,base_srate=23.04e6" --gw.netns=ue1 Built in Release mode using commit 5a4eb5d on branch master. Opening 1 channels in RF device=zmq with args=tx_port=tcp://:2001,rx_port=tcp://localhost:2000,id=ue,base_srate=23.04e6 Actual Behaviour eNBubuntu@ip-172-31-3-99:~/srsRAN_4G/build$ sudo ./srsenb/src/srsenb /home/ubuntu/.config/srsran/enb.conf --rf.device_name=zmq --rf.d_args="failn_disconnect=true,tx_port=tcp://*:2000,rx_port=tcp://localhost:2001,id=enb,base_srate=23.04e6" Reading configuration file /home/ubuntu/.config/srsran/enb.conf... Built in Release mode using commit 5a4eb5d on branch master. Opening 1 channels in RF device=zmq with args=failn_disconnect=true,tx_port=tcp://:2000,rx_port=tcp://localhost:2001,id=enb,base_=23.04e6 ==== eNodeB started ===
rat pci rnti cqi ri mcs brate ok nok (%) | pusch pucch phr mcs brate ok nok (%) bsr Steps to reproduce the problemMME log- Additional Information[Any additional information, configuration or data that might be necessary to reproduce the issue] |
Getting error ->
Cause #17 – Network failure
Cause #66 – Requested APN not supported in current RAT and PLMN combination
|
Issue Description
[srsUE keeps searching eNB but can not attach to eNB]
Setup Details
[Specify details of the test setup. This would help us reproduce the problem reliably]
Machine-1:
Ubuntu 18.04
Running srsepc amd srsenb
UHD 3.15 installed
Connects to a USRP N310 with UHD 3.15
Machine-2:
Ubuntu 18.04
Running srsue
UHD 3.15 installed
Connects to a USRP N310 with UHD 3.15
Expected Behavior
After EPC and eNB are already running, UE can attach to eNB.
Actual Behaviour
srsUE keeps searching for attaching.
root@machine2:~# srsue --rf.device_args=send_frame_size=1476,recv_frame_size=1476 --rat.eutra.dl_freq=2560e6 --rat.eu tra.ul_freq=2680e6
Reading configuration file /root/.config/srsran/ue.conf...
Built in Release mode using commit 89f16ee on branch master.
Opening 1 channels in RF device=UHD with args=send_frame_size=1476,recv_frame_size=1476
[INFO] [UHD] linux; GNU C++ version 7.5.0; Boost_106501; UHD_3.15.0.0-release
[INFO] [LOGGING] Fastpath logging disabled at runtime.
Opening USRP channels=1, args: send_frame_size=1476,recv_frame_size=1476,type=n3xx,master_clock_rate=122.88e6
[INFO] [UHD RF] RF UHD Generic instance constructed
[INFO] [MPMD] Initializing 1 device(s) in parallel with args: mgmt_addr=192.168.11.2,type=n3xx,product=n310,seria l=3205558,claimed=False,addr=192.168.11.2,send_frame_size=1476,recv_frame_size=1476,master_clock_rate=122.88e6
[INFO] [MPM.PeriphManager] init() called with device args `send_frame_size=1476,master_clock_rate=122.88e6,time_s ource=internal,recv_frame_size=1476,product=n310,mgmt_addr=192.168.11.2,clock_source=internal'.
[INFO] [0/Replay_0] Initializing block control (NOC ID: 0x4E91A00000000004)
[INFO] [0/Radio_0] Initializing block control (NOC ID: 0x12AD100000011312)
[INFO] [0/Radio_1] Initializing block control (NOC ID: 0x12AD100000011312)
[INFO] [0/DDC_0] Initializing block control (NOC ID: 0xDDC0000000000000)
[INFO] [0/DDC_1] Initializing block control (NOC ID: 0xDDC0000000000000)
[INFO] [0/DUC_0] Initializing block control (NOC ID: 0xD0C0000000000002)
[INFO] [0/DUC_1] Initializing block control (NOC ID: 0xD0C0000000000002)
[INFO] [0/FIFO_0] Initializing block control (NOC ID: 0xF1F0000000000000)
[INFO] [0/FIFO_1] Initializing block control (NOC ID: 0xF1F0000000000000)
[INFO] [0/FIFO_2] Initializing block control (NOC ID: 0xF1F0000000000000)
[INFO] [0/FIFO_3] Initializing block control (NOC ID: 0xF1F0000000000000)
Waiting PHY to initialize ... done!
Attaching UE...
.................................................................
....................................................
..................
.........................................................................................................
...........................................
........................
................................................................................................................. ..............................................................................................................
................................................................................................
..................................................................
...............
.......................................................
................................................................................................................. .........
...........................................
................................................................................................................. ............................................................................................................
.............................................
.
................................................................................................................. ..........................
................................................................................................................. ....
................................................................................................................. ................................................................................................................. ............
................................................................................................................. ................................................................................................................. ................................................................................................................. ......................................................................Stopping ..
.....--- exiting ---
root@machine2:~#
Steps to reproduce the problem
[Tell us how to reproduce this issue e.g. RF setup, application config files]
=== epc.conf
[mme]
mme_code = 0x1a
mme_group = 0x0001
tac = 0x0007
mcc = 001
mnc = 01
mme_bind_addr = 127.0.1.100
apn = srsapn
dns_addr = 8.8.8.8
encryption_algo = EEA0
integrity_algo = EIA1
paging_timer = 2
[hss]
db_file = user_db.csv
[spgw]
gtpu_bind_addr = 127.0.1.100
sgi_if_addr = 172.16.0.1
sgi_if_name = srs_spgw_sgi
max_paging_queue = 100
[pcap]
enable = false
filename = /tmp/epc.pcap
[log]
all_level = info
all_hex_limit = 32
filename = /tmp/epc.log
=== enb.conf
[enb]
enb_id = 0x19B
mcc = 001
mnc = 01
mme_addr = 127.0.1.100
gtp_bind_addr = 127.0.1.1
s1c_bind_addr = 127.0.1.1
n_prb = 50
[enb_files]
sib_config = sib.conf
rr_config = rr.conf
drb_config = drb.conf
[rf]
dl_earfcn = 3350
tx_gain = 80
rx_gain = 40
device_name = UHD
device_args = type=n3xx
srate = 15.36e6
[pcap]
enable = false
filename = /tmp/enb.pcap
s1ap_enable = false
s1ap_filename = /tmp/enb_s1ap.pcap
mac_net_enable = false
bind_ip = 0.0.0.0
bind_port = 5687
client_ip = 127.0.0.1
client_port = 5847
[log]
all_level = warning
all_hex_limit = 32
filename = /tmp/enb.log
file_max_size = -1
[gui]
enable = false
=== ue.conf
[rf]
freq_offset = 0
tx_gain = 80
device_name = UHD
device_args = type=n3xx
#srate = 15.36e6
rx_gain = 40
[rat.eutra]
dl_earfcn = 3350
[pcap]
enable = none
mac_filename = /tmp/ue_mac.pcap
mac_nr_filename = /tmp/ue_mac_nr.pcap
nas_filename = /tmp/ue_nas.pcap
[log]
all_level = warning
phy_lib_level = none
all_hex_limit = 32
filename = /tmp/ue.log
file_max_size = -1
[usim]
mode = soft
algo = xor
#opc = 63BFA50EE6523365FF14C1F45F88737D
k = 00112233445566778899aabbccddeeff
imsi = 001010123456789
imei = 353490069873319
[gw]
#netns =
ip_devname = tun_srsue
ip_netmask = 255.255.255.0
[gui]
enable = false
I used the following command:
~# sudo srsepc
~# sudo srsenb --rf.device_args=send_frame_size=1476,recv_frame_size=1476
~# sudo srsue --rf.device_args=send_frame_size=1476,recv_frame_size=1476 --rat.eutra.dl_freq=2560e6 --rat.eutra.ul_freq=2680e6
Additional Information
[Any additional information, configuration or data that might be necessary to reproduce the issue]
enb.log
epc.log
ue.log
The text was updated successfully, but these errors were encountered: