[srslte-users] srsLTE-emane - UE doesn't attach

Andrea Mori andreamori1988 at gmail.com
Tue Jul 23 10:30:41 UTC 2019


Good morning,
I'm using srsLTE-emane (https://github.com/adjacentlink/srsLTE-emane), to
run srsLTE without hardware. Departing from Demonstration 1 of LTE EMANE
model (https://github.com/adjacentlink/emane-model-lte), I'm trying to
build and run a small LTE network with EPC, ENB and two UEs, each of them
in a different container (with lxc-execute command). EPC and ENB seem to
work correctly, but UE does not attach to ENB and I'm not able to
understand why. Configuration files are the same of the demonstrations
(ue.conf, epc.conf, enb.conf), I have only modified the daemonize option
(from 1 to 0).

EPC (command srsepc-emane epc.conf):
----------------------------------------------------------------------------------------------------------------------------------------------
Reading configuration file epc.conf...

Built in Release mode using commit 0652178 on branch master.


---  Software Radio Systems EPC  ---

HSS Initialized.
MME GTP-C Initialized
MME Initialized.
SP-GW Initialized.
Received S1 Setup Request.
S1 Setup Request - eNB Name: enb-19A, eNB id: 0x19a
S1 Setup Request - MCC:001, MNC:01, PLMN: 61712
S1 Setup Request - TAC 7, B-PLMN 0
S1 Setup Request - Paging DRX 2
Sending S1 Setup Response
----------------------------------------------------------------------------------------------------------------------------------------------

ENB (command srsenb-emane enb.conf)
--------------------------------------------------------------------------------------------------------------------------------------------
Reading configuration file enb.conf...
---  Software Radio Systems LTE eNodeB  ---


Built in Release mode using commit 0652178 on branch master.

12:11:02.106448 [DMY] [I] rf_dummy_open_multi num_channels 1, args enb
12:11:02.106488 [DMY] [I] rf_dummy_devname dev name dummyrf
12:11:02.106491 [DMY] [I] rf_dummy_devname dev name dummyrf
12:11:02.106492 [DMY] [I] rf_dummy_devname dev name dummyrf

Warning burst preamble is not calibrated for device dummyrf. Set a value
manually

12:11:02.106498 [DMY] [I] rf_dummy_set_rx_gain gain 0.00 to 40.00
12:11:02.106502 [DMY] [I] rf_dummy_set_tx_gain gain 0.00 to 80.00
Setting frequency: DL=2685.0 Mhz, UL=2565.0 MHz
12:11:02.106508 [DMY] [I] rf_dummy_set_tx_freq freq 0.00 MHz to 2685.00 MHz
12:11:02.106511 [DMY] [I] rf_dummy_set_rx_freq freq 0.00 MHz to 2565.00 MHz
12:11:02.106513 [DMY] [I] rf_dummy_register_error_handler
12:11:02.107566  INFO EMANELte ConfigManager:parseConfigFile_i,
section:platform
id=21
controlportendpoint=0.0.0.0:47000
antennagain=0.0
logfile=/usr/share/emane-model-lte/demo/two_ues_otestpoint/persist/enb-21/var/log/emane.log
loglevel=2
otamanagerchannelenable=on
otamanagergroup=224.1.2.8:45702
otamanagerloopback=off
otamanagerdevice=backchan0
eventservicegroup=224.1.2.8:45703
eventservicedevice=backchan0
12:11:02.107609  INFO EMANELte ConfigManager:parseConfigFile_i,
section:radiomodel
pcrcurveuri=pcr.xml
maxpropagationdelay=333
resourceblocktxpower=0.0
12:11:02.107617  INFO EMANELte ConfigManager:parseConfigFile_i, section:phy
antennagain=0.0
fixedantennagain=on
noisemode=all
propagationmodel=precomputed
systemnoisefigure=7.0
subid=12
12:11:03.601683 [DMY] [I] rf_dummy_set_master_clock_rate rate 0.0000 to
15360000.0000
Setting Sampling frequency 3.84 MHz
12:11:03.602225 [DMY] [I] rf_dummy_set_rx_srate srate 1.92 MHz to 3.84 MHz
12:11:03.602228 [DMY] [I] rf_dummy_set_tx_srate srate 1.92 MHz to 3.84 MHz
Setting manual TX/RX offset to 0 samples

==== eNodeB started ===
Type <t> to view trace
-------------------------------------------------------------------------------------------------------------------------------------------

UE (command srsue-emane ue.conf)
-------------------------------------------------------------------------------------------------------------------------------------------
Reading configuration file ue.conf...

Built in Release mode using commit 0652178 on branch master.

---  Software Radio Systems LTE UE  ---

Opening RF device with 1 RX antennas...
12:14:56.564256 [DMY] [I] rf_dummy_open_multi num_channels 1, args ue
12:14:56.564264 [DMY] [I] rf_dummy_devname dev name dummyrf
12:14:56.564267 [DMY] [I] rf_dummy_devname dev name dummyrf
12:14:56.564269 [DMY] [I] rf_dummy_devname dev name dummyrf

Warning burst preamble is not calibrated for device dummyrf. Set a value
manually

set continuous no
12:14:56.564276 [DMY] [I] rf_dummy_set_rx_gain gain 0.00 to 40.00
12:14:56.564283 [DMY] [I] rf_dummy_set_tx_gain gain 0.00 to 80.00
12:14:56.564287 [DMY] [I] rf_dummy_register_error_handler
adding 3400 to earfcn_list
Waiting PHY to initialize...
...
12:15:10.234084 [DMY] [I] rf_dummy_start_rx_stream
Attaching UE...
Searching cell in DL EARFCN=3400, f_dl=2685.0 MHz, f_ul=2565.0 MHz
12:15:10.235148 [DMY] [I] rf_dummy_set_rx_freq freq 0.00 MHz to 2685.00 MHz
12:15:10.235151 [DMY] [I] rf_dummy_set_tx_freq freq 0.00 MHz to 2565.00 MHz
12:15:10.237151 [DMY] [I] rf_dummy_set_rx_srate srate 1.92 MHz to 1.92 MHz
12:15:10.237157 [DMY] [I] rf_dummy_set_tx_srate srate 1.92 MHz to 1.92 MHz
Setting manual TX/RX offset to 0 samples
........................[truncated]
-----------------------------------------------------------------------------------------------------------------------------------------

This is the log file of UE (ue.log):
-------------------------------------------------------------------------------------------------------------------------------------------
Built in Release mode using commit 0652178 on branch master.
12:14:56.539300 [RF  ] [I] Starting UE
12:14:56.571684 [MAC ] [I] [00000] Resetting MAC
12:14:56.571709 [MAC ] [D] [00000] Msg3 buffer flushed
12:14:56.573145 [RLC ] [W] Added radio bearer SRB0 in Transparent Mode
12:14:56.573165 [PDCP] [D] Init SRB0
12:14:56.573169 [PDCP] [I] Added bearer SRB0
12:14:56.573181 [USIM] [I] Read Home PLMN Id=00000
12:14:56.573206 [MAC ] [I] [00000] BSR:   Configured timer periodic 5 ms
12:14:56.573215 [RRC ] [I] Set PDSCH-Config=0 (default)
12:14:56.573224 [MAC ] [I] [00000] BSR:   Configured timer reTX 320 ms
12:14:56.573227 [PHY0] [I] [00000] PHY:   Configuring UL parameters
12:14:56.573248 [RRC ] [I] Set MAC main config: harq-MaxReTX=5,
bsr-TimerReTX=2560, bsr-TimerPeriodic=-1
12:14:56.573255 [RRC ] [I] using srand seed of 0x8bf44
12:14:56.574187 [MAC ] [I] [00000] BSR:   Configured timer reTX 2560 ms
12:14:56.574406 [PHY0] [I] [00000] PHY_ADPT:ue_initialize sf_interval 1 msec
12:14:56.577181 [MAC ] [D] [00000] BSR:   Triggering Periodic BSR
12:14:56.585952 [PHY0] [I] [00000] PHY_ADPT:ue_start
12:14:58.539624 [PHY_LIB] [D] [00000]  Init FFT symbol_sz=1536,
nof_symbols=7, cp=Normal, nof_re=1320, nof_guards=108
12:14:58.539738 [PHY_LIB] [D] [00000]  Init FFT symbol_sz=1536,
nof_symbols=6, cp=Extended, nof_re=1320, nof_guards=108
12:14:58.539781 [PHY_LIB] [I] [00000]  Init PDCCH: Max bits: 7920
12:14:58.539860 [PHY_LIB] [I] [00000]  Init PDSCH: 110 PRBs, max_symbols:
18480
12:14:58.669073 [PHY_LIB] [I] [00000]  Init PMCH: 110 PRBs, max_symbols:
15840
12:14:58.846463 [PHY_LIB] [D] [00000]  Init iFFT symbol_sz=1536,
nof_symbols=7, cp=Normal, nof_re=1320, nof_guards=108
12:14:58.847265 [PHY_LIB] [I] [00000]  Init PUSCH: 110 PRBs
12:14:58.870693 [PHY_LIB] [D] [00000]  Initiating DFT precoding plan for 1
PRBs
12:14:58.870862 [PHY_LIB] [D] [00000]  Initiating DFT precoding plan for 2
PRBs
12:14:58.879996 [PHY_LIB] [D] [00000]  Initiating DFT precoding plan for 3
PRBs
12:14:58.894318 [PHY_LIB] [D] [00000]  Initiating DFT precoding plan for 4
PRBs
12:14:58.915098 [PHY_LIB] [D] [00000]  Initiating DFT precoding plan for 5
PRBs
12:14:58.940996 [PHY_LIB] [D] [00000]  Initiating DFT precoding plan for 6
PRBs
12:14:58.975243 [PHY_LIB] [D] [00000]  Initiating DFT precoding plan for 8
PRBs
12:14:59.018805 [PHY_LIB] [D] [00000]  Initiating DFT precoding plan for 9
PRBs
12:14:59.048066 [PHY_LIB] [D] [00000]  Initiating DFT precoding plan for 10
PRBs
12:14:59.108615 [PHY_LIB] [D] [00000]  Initiating DFT precoding plan for 12
PRBs
12:14:59.169285 [PHY_LIB] [D] [00000]  Initiating DFT precoding plan for 15
PRBs
12:14:59.233160 [PHY_LIB] [D] [00000]  Initiating DFT precoding plan for 16
PRBs
12:14:59.301225 [PHY_LIB] [D] [00000]  Initiating DFT precoding plan for 18
PRBs
12:14:59.362041 [PHY_LIB] [D] [00000]  Initiating DFT precoding plan for 20
PRBs
12:14:59.465721 [PHY_LIB] [D] [00000]  Initiating DFT precoding plan for 24
PRBs
12:14:59.563976 [PHY_LIB] [D] [00000]  Initiating DFT precoding plan for 25
PRBs
12:14:59.634525 [PHY_LIB] [D] [00000]  Initiating DFT precoding plan for 27
PRBs
12:14:59.677207 [PHY_LIB] [D] [00000]  Initiating DFT precoding plan for 30
PRBs
12:14:59.802373 [PHY_LIB] [D] [00000]  Initiating DFT precoding plan for 32
PRBs
12:14:59.901216 [PHY_LIB] [D] [00000]  Initiating DFT precoding plan for 36
PRBs
12:15:00.002127 [PHY_LIB] [D] [00000]  Initiating DFT precoding plan for 40
PRBs
12:15:00.159618 [PHY_LIB] [D] [00000]  Initiating DFT precoding plan for 45
PRBs
12:15:00.261120 [PHY_LIB] [D] [00000]  Initiating DFT precoding plan for 48
PRBs
12:15:00.404737 [PHY_LIB] [D] [00000]  Initiating DFT precoding plan for 50
PRBs
12:15:00.535473 [PHY_LIB] [D] [00000]  Initiating DFT precoding plan for 54
PRBs
12:15:00.620468 [PHY_LIB] [D] [00000]  Initiating DFT precoding plan for 60
PRBs
12:15:00.820723 [PHY_LIB] [D] [00000]  Initiating DFT precoding plan for 64
PRBs
12:15:00.953027 [PHY_LIB] [D] [00000]  Initiating DFT precoding plan for 72
PRBs
12:15:01.106408 [PHY_LIB] [D] [00000]  Initiating DFT precoding plan for 75
PRBs
12:15:01.243327 [PHY_LIB] [D] [00000]  Initiating DFT precoding plan for 80
PRBs
12:15:01.467348 [PHY_LIB] [D] [00000]  Initiating DFT precoding plan for 81
PRBs
12:15:01.523846 [PHY_LIB] [D] [00000]  Initiating DFT precoding plan for 90
PRBs
12:15:01.708844 [PHY_LIB] [D] [00000]  Initiating DFT precoding plan for 96
PRBs
12:15:01.907940 [PHY_LIB] [D] [00000]  Initiating DFT precoding plan for
100 PRBs
12:15:03.342339 [PHY_LIB] [D] [00000]  SYNC init with frame_size=23040,
max_offset=23040 and fft_size=1536
12:15:03.564129 [PHY_LIB] [D] [00000]  SYNC init with frame_size=23040,
max_offset=108 and fft_size=1536
12:15:04.027192 [PHY_LIB] [D] [00000]  SYNC init with frame_size=9600,
max_offset=9600 and fft_size=128
12:15:04.131264 [PHY_LIB] [D] [00000]  SYNC init with frame_size=9600,
max_offset=32 and fft_size=128
12:15:04.131703 [PHY_LIB] [D] [00000]  SYNC init with frame_size=9600,
max_offset=9600 and fft_size=128
12:15:04.131813 [PHY_LIB] [D] [00000]  SYNC init with frame_size=9600,
max_offset=32 and fft_size=128
12:15:04.155663 [PHY_LIB] [D] [00000]  Init FFT symbol_sz=128,
nof_symbols=7, cp=Normal, nof_re=72, nof_guards=28
12:15:04.335051 [PHY_LIB] [D] [00000]  SYNC init with frame_size=1920,
max_offset=1920 and fft_size=128
12:15:04.335630 [PHY_LIB] [D] [00000]  SYNC init with frame_size=1920,
max_offset=9 and fft_size=128
12:15:04.335866 [PHY_LIB] [D] [00000]  Init FFT symbol_sz=1536,
nof_symbols=7, cp=Normal, nof_re=1320, nof_guards=108
12:15:04.336058 [PHY_LIB] [D] [00000]  Init FFT symbol_sz=1536,
nof_symbols=7, cp=Normal, nof_re=1320, nof_guards=108
12:15:04.336187 [PHY_LIB] [D] [00000]  Init FFT symbol_sz=1536,
nof_symbols=6, cp=Extended, nof_re=1320, nof_guards=108
12:15:04.336259 [PHY_LIB] [I] [00000]  Init PDCCH: Max bits: 7920
12:15:04.336343 [PHY_LIB] [I] [00000]  Init PDSCH: 110 PRBs, max_symbols:
18480
12:15:04.360404 [PHY_LIB] [I] [00000]  Init PMCH: 110 PRBs, max_symbols:
15840
12:15:10.230014 [PHY_LIB] [D] [00000]  SYNC init with frame_size=460800,
max_offset=115200 and fft_size=1536
12:15:10.233702 [PHY0] [I] [00000] PHY:   Configuring UL parameters
12:15:10.233726 [PHY0] [I] [00000] Setting new params worker_id=0,
pregen_disabled=0
12:15:10.233780 [PHY0] [I] [00000] PHY:   MABR estimates. DL: -0.001000
Mbps. UL: -0.001000 Mbps.
12:15:10.233799 [MAC ] [I] [00000] DL retx: 0.00 %, perpkt: 0.00, UL retx:
0.00 % perpkt: 0.00
12:15:10.234067 [PHY0] [D] [00000] SYNC:  state=IDLE
12:15:10.234079 [PHY0] [D] [00000] Discarting 1920 samples
12:15:10.235084 [NAS ] [I] Attach Request
12:15:10.235095 [NAS ] [I] No PLMN selected. Starting PLMN Search...
12:15:10.235100 [RRC ] [I] Starting PLMN search
12:15:10.235104 [PHY0] [I] [00000] Cell Search: Start EARFCN index=0/1
12:15:10.235105 [PHY0] [D] [00000] SYNC:  state=IDLE
12:15:10.235116 [PHY0] [D] [00000] Discarting 1920 samples
12:15:10.235123 [PHY0] [I] [00000] Cell Search: changing frequency to
EARFCN=3400
12:15:10.235136 [PHY0] [I] [00000] SYNC:  Set DL EARFCN=3400, f_dl=2685.0
MHz, f_ul=2565.0 MHz
12:15:10.235156 [PHY0] [I] [00000] PHY_ADPT:ue_set_frequencies ul_freq
2564.9999 MHz, fl_freq 2684.9999 MHz, earfcn 0 -> 3400
12:15:10.236129 [PHY0] [D] [00000] SYNC:  state=IDLE
12:15:10.236137 [PHY0] [D] [00000] Discarting 1920 samples
12:15:10.236645 [PHY0] [I] [00000] Cell Search: Setting Cell search state
12:15:10.237143 [PHY0] [D] [00000] SYNC:  state=IDLE
12:15:10.237163 [PHY0] [I] [00000] SYNC:  Setting Cell Search sampling rate
12:15:10.237279 [PHY0] [I] [00000] SYNC:  Searching for cell...
12:15:11.026085 [PHY0] [W] [00000] PHY_ADPT:ue_dl_cell_search: sf_idx 0,
done, num_cells 0, max_peak id 0, max_avg 0.000000
12:15:11.026128 [PHY0] [I] [00000] SYNC:  Could not find any cell in this
frequency
12:15:11.026145 [PHY0] [D] [00000] SYNC:  state=SEARCH
12:15:11.026154 [PHY0] [D] [00000] Discarting 1920 samples
12:15:11.026166 [PHY0] [I] [00000] Cell Search: No cell found in this
frequency
12:15:11.026207 [PHY0] [I] [00000] Cell Search: No more frequencies in the
current EARFCN set
12:15:11.026222 [RRC ] [I] No cells found.
12:15:11.026233 [NAS ] [W] Did not find any PLMN in the set of frequencies
12:15:11.027229 [PHY0] [D] [00000] SYNC:  state=IDLE
12:15:11.027262 [PHY0] [D] [00000] Discarting 1920 samples
12:15:11.028288 [PHY0] [D] [00000] SYNC:  state=IDLE
12:15:11.028314 [PHY0] [D] [00000] Discarting 1920 samples
12:15:11.029338 [PHY0] [D] [00000] SYNC:  state=IDLE
12:15:11.029376 [PHY0] [D] [00000] Discarting 1920 samples
12:15:11.030421 [PHY0] [D] [00000] SYNC:  state=IDLE
12:15:11.030442 [PHY0] [D] [00000] Discarting 1920 samples
12:15:11.031474 [PHY0] [D] [00000] SYNC:  state=IDLE
12:15:11.031501 [PHY0] [D] [00000] Discarting 1920 samples
12:15:11.032524 [PHY0] [D] [00000] SYNC:  state=IDLE
12:15:11.032546 [PHY0] [D] [00000] Discarting 1920 samples
[truncated]
-------------------------------------------------------------------------------------------------------------------------------------------

This is the containers' status:
-------------------------------------------------------------------------------------------------------------------------------------------
andrea at andrea-Latitude-7490:~$ sudo lxc-ls -f
[sudo] password di andrea:
NAME   STATE   AUTOSTART GROUPS IPV4                  IPV6 UNPRIVILEGED
enb-21 RUNNING 0         -      10.88.1.21            -    false
epc-01 RUNNING 0         -      10.88.1.1, 172.16.0.1 -    false
ue-02  RUNNING 0         -      10.88.1.2             -    false
-------------------------------------------------------------------------------------------------------------------------------------------
I hope you could help me...

Thank you very much!!

Andrea
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.srsran.com/pipermail/srsran-users/attachments/20190723/c94500d4/attachment.htm>


More information about the srsran-users mailing list