如何解读ORS日志

本教程说明如何解读ORS日志并查看相关参数。

议程

  1. 检查eNB和MME的服务输出
  2. 解读eNB日志
 

检查eNB和MME的服务输出

如果eNB或MME启动失败,你应该检查它们的输出,eNB或MME失败的最可能的原因是:

Check MME service output

按下 ctrl + a 然后发送 0 转到 [0 MME] 窗口.

要验证4G/5G服务,您可以这样做:

(mme) enb # or gnb if running 5G

检查eNB服务的输出

按下 ctrl + a 然后发送 1 转到 [1 ENB] 窗口.

[1 ENB] 窗口列出了一些必要的参数,比如说

RF0: sample_rate=23.040 MHz dl_freq=2600.000 MHz ul_freq=2600.000 MHz (band 38) dl_ant=2 ul_ant=2

为了获得TX/RX增益的设置,您可以这样做:

(enb) tx_gain
(enb) rx_gain

要临时调整增益,您可以这样做:

(enb) rx_gain 60
(enb) rx_gain
Chan Port Gain(dB)
 RX0    0     60.0
 RX1    0     60.0
(enb) tx_gain 50
(enb) tx_gain
Chan Port Gain(dB)
 RX0    0     50.0
 RX1    0     50.0

要验证UE的连接,您只需输入:

(enb) ue

解读eNB/gNB日志

为了解释eNB日志,了解UE连接到eNB的不同步骤很重要。

下面是根据你在日志中看到的情况,该怎么做:

解读eNB/gNB日志

在日志的开头,你会发现这些参数:

# SMP C=2 bandwidth=40.0/480 PRACH=1 DRBs=1 RF0=1/1
# Log file format:
# time layer dir ue_id {cell_id rnti sfn channel:} message
# Cell 0x01: earfcn=38050 pci=1 mode=TDD uldl_config=2 sp_config=7
# DL: n_rb_dl=100 cyclic_prefix=0
# UL: n_rb_ul=100 cyclic_prefix=0 prach_config_index=4 prach_freq_offset=11 delta_pucch_shift=2 n_rb_cqi=1 n_cs_an=0
# PUCCH allocation:
# Type     RBs    n
# 2/2a/2b    1    6
# Start of PUCCH ACK/NACK=11
# RBs reserved for PUCCH:  0  0 22  0  0  0  0 22  0  0
# SR resource count=44
# CQI resource count=48
# SRS resources: offsets=16 freqs=20 total=640
# GBR limits: DL=7.124 Mre/s UL=1.797 Mre/s