Professional Documents
Culture Documents
Summarize
All in one OpenAirInterface
Sept 7th 2017: small update for more recent eNB git commit version in develop
branch
Starting condition:
Ubuntu 18.04 all packages upgraded, uhd last commit, OAI last commit
Modifications
Latest commits
Fix a issue in mme that crash mme with some phones in the attach-
request procedure
If you want to fix only this issue, pick files:
src/nas/emm/Attach.c
src/nas/ies/SupportedCodecList.c
in the hereafter tar file
The issue is: mme wrong decoding of smartphone codec list
Full re-test, from disk install of Ubuntu 17.04 to commercial UEs
throughput measurement (Android 5 and Android 6)
This document explains how to install and configure OAI EPC+eNB on one single
Ubuntu 18.04 64 bits machine connected with a regular UE, routing the UE traffic
https://open-cells.com/index.php/2019/09/22/all-in-one-openairinterface/ 1/408
13/08/2023, 16:07 All in one OpenAirInterface – 4G and 5G reference software
to internet.
We also explain how to simplify, fix existing issues, to make a single computer as
a full LTE network: EPC+eNB.
Install Ubuntu
https://open-cells.com/index.php/2019/09/22/all-in-one-openairinterface/ 2/408
13/08/2023, 16:07 All in one OpenAirInterface – 4G and 5G reference software
if you are upset with sudo password, add this line in /etc/sudoers
xxxxxx ALL=(ALL) NOPASSWD: ALL (xxxxxx is your login name)
sudo will not ask anymore for a password
cd ~
wget https://open-cells.com/opencells-mods-20190923.tgz
tar xf opencells-mods-20190923.tgz
https://open-cells.com/index.php/2019/09/22/all-in-one-openairinterface/ 3/408
13/08/2023, 16:07 All in one OpenAirInterface – 4G and 5G reference software
The Eurecom gitlab require now a login, if you don’t have one, a copy of the git
repository is in:openair-cn extract the tar with
tar xf openair-cn.tgz
cd openair-cn
git checkout develop
This is the last commit for OAI EPC on this development tree. Active OpenAir EPC
is now another project on github. We use here this legacy EPC because the
installation is quite easy (the new project uses Cassandra, al LOT of virtual
machines, OpenVswitch and complex dependancies).
The new version of the source files are also in the tar, if you want to merge with
another version of OpenAir EPC
For ubuntu 18.04, we set back the legacy mysql security level
sudo mysql_secure_installation
password: set your password (linux is set in our default config files)
VALIDATE PASSWORD PLUGIN: no
https://open-cells.com/index.php/2019/09/22/all-in-one-openairinterface/ 5/408
13/08/2023, 16:07 All in one OpenAirInterface – 4G and 5G reference software
./build_mme -i
./build_spgw -i
https://open-cells.com/index.php/2019/09/22/all-in-one-openairinterface/ 6/408
13/08/2023, 16:07 All in one OpenAirInterface – 4G and 5G reference software
source oaienv
./cmake_targets/build_oai -I # install SW packages from internet
./cmake_targets/build_oai -w USRP --eNB --UE # compile eNB and UE
Each node is on a separate IP address, this address is used for all it’s interfaces. In
our case of all-in-one, we take addresses on the loopback: this will be fine on all
your machines.
realm for our EPC: “OpenAir5G.Alliance”, so, full distinguish names (FQDN) are:
hss.OpenAir5G.Alliance, mme.OpenAir5G.Alliance
https://open-cells.com/index.php/2019/09/22/all-in-one-openairinterface/ 7/408
13/08/2023, 16:07 All in one OpenAirInterface – 4G and 5G reference software
In your eNB configuration file, the network is now fixed, as lo interface always
exists and our computer internal addresses also:
NETWORK_INTERFACES :
{
ENB_INTERFACE_NAME_FOR_S1_MME = "lo";
ENB_IPV4_ADDRESS_FOR_S1_MME = "127.0.0.10/8";
ENB_INTERFACE_NAME_FOR_S1U = "lo";
ENB_IPV4_ADDRESS_FOR_S1U = "127.0.0.10/8";
ENB_PORT_FOR_S1U = 2152; # Spec 2152
};
In the eNB config file, you need also to set the MCC and MNC as per your SIM
card:
tracking_area_code = “1”;
mobile_country_code = “208”;
mobile_network_code = “92”;
Wwe tested with USRP B210 20MHz band, Huawei E3272 UE, a cavity duplexer a
simple antenna, about 1 meter distance UE/eNB antenna with this file:
~/opencells-mods/enb.10MHz.b200
if you use the OpenAir UE, a sim card file that match our hss database example:
opencells-mods/sim.conf. We will make another tutorial to use together OpenAir
UE and rf board simulation
https://open-cells.com/index.php/2019/09/22/all-in-one-openairinterface/ 8/408
13/08/2023, 16:07 All in one OpenAirInterface – 4G and 5G reference software
PGW_INTERFACE_NAME_FOR_SGI = "enp3s0";
PGW_MASQUERADE_SGI = "yes";
HSS
https://open-cells.com/index.php/2019/09/22/all-in-one-openairinterface/ 9/408
13/08/2023, 16:07 All in one OpenAirInterface – 4G and 5G reference software
We use to modify the db by updating this file with regular text editor,
then we re-load the entire database,
but, if you prefer, usage of http://localhost/phpmyadmin is fine.
if you modified the hss db directly, we offer a export script:
~/opencells-mods/hss_export
https://open-cells.com/index.php/2019/09/22/all-in-one-openairinterface/ 10/408
13/08/2023, 16:07 All in one OpenAirInterface – 4G and 5G reference software
1. in each window
sudo bash
cd ~/openairinterface5g; source oaienv
cd cmake_targets/lte_build_oai/build
./lte-softmodem -O ~/opencells-mods/enb.10MHz.b200
Connect the UE, it should attach to network and be able to reach internet through
OAI network.
If the UE attaches, but you don’t have internet access, verify phone configuration:
enable data in config->sim and verify the APN value
https://open-cells.com/index.php/2019/09/22/all-in-one-openairinterface/ 11/408
13/08/2023, 16:07 All in one OpenAirInterface – 4G and 5G reference software
The first case is to verify the USRP dialogs over USB3 (not USB2): the process
must report:
For OAI source code, we wrote improvements and some hints for UE performance
last year. The Linux/Ubuntu advises can be applied to the eNB:
https://gitlab.eurecom.fr/oai/openairinterface5g/wikis/setup-for-real-time-
performance
We may make later a post for eNB (OAI/eNB can reach much better performance
than today develop branch, but it require to enhance parts of the source code).
wynter
https://open-cells.com/index.php/2019/09/22/all-in-one-openairinterface/ 12/408
13/08/2023, 16:07 All in one OpenAirInterface – 4G and 5G reference software
Hi, Laurent,
I ran the eNB and EPC successfully. And my board is Limesdr, but I have also met
some problem.
Build the lte-softmodem,like this:
./cmake_targets/build_oai -c -w LMSSDR –eNB –UE
run lte-softmodem:
sudo ./cmake_targets/lte_build_oai/build/lte-softmodem -O
./targets/PROJECTS/GENERIC-LTE-
EPC/CONF/enb.band7.tm1.50PRB.usrpb210.conf –rf-config-file
./targets/ARCH/LMSSDR/LimeSDR_above_1p8GHz_1v4.ini
But I can not get the tx signal when I checked the frequency of nearby
neighborhoods by professional equipment. Can you help me out please?
laurent
August 25, 2017 at 1:01 pm
Hi,
Maybe try first to follow our LimeSDR guide (see the dedicated post)
We didn’t try LimeSDR for a while, I’ll run a test soon.
Regards,
Laurent
Mohammad
October 5, 2017 at 7:53 am
But i can’t see base station in my phone , phone is nexus 5x and i know it
support LTE band7 without problem .
https://open-cells.com/index.php/2019/09/22/all-in-one-openairinterface/ 13/408
13/08/2023, 16:07 All in one OpenAirInterface – 4G and 5G reference software
reza
August 29, 2017 at 10:37 am
Hi Dear Laurent
Could you please help me regarding a problem that occures in the execution of
lte-softmodem
That error is:
laurent
September 7, 2017 at 8:04 am
Reza,
There is no error in this: [I] trace is “information”
It tells you the UE is attached, and no failure timer occured.
the 0/20000 means that after 20000 errors, the eNB will abort the UE connexion
Regards,
Laurent
Bakarime Diomande
August 29, 2017 at 2:39 pm
Hi Laurent!
Thank you for the detailed steps it worked fine, however I have tested a different
https://open-cells.com/index.php/2019/09/22/all-in-one-openairinterface/ 14/408
13/08/2023, 16:07 All in one OpenAirInterface – 4G and 5G reference software
setup, I considered epc on one machine (I have used the patch you have provided)
and enb + oaisim on another machine(I run one enb and one user). As a result the
enb could not connect to the epc’s mme leading to the ue not being able to attach
to epc’s hss+mme. Do you have any suggestions?
laurent
September 4, 2017 at 9:22 am
Hello,
We never work with OAISIM.
We will publish a separte channel simulator that will work with regular OAI UE
and OAI eNB,
nevertheless, as it is free, we do it in “best effort” work.
Regards,
Laurent
Dmitry Polpudenko
September 3, 2017 at 10:19 pm
Hi, Laurent
Dmitry Polpudenko
September 4, 2017 at 5:07 am
https://open-cells.com/index.php/2019/09/22/all-in-one-openairinterface/ 15/408
13/08/2023, 16:07 All in one OpenAirInterface – 4G and 5G reference software
Dmitry Polpudenko
September 5, 2017 at 11:43 am
https://open-cells.com/index.php/2019/09/22/all-in-one-openairinterface/ 16/408
13/08/2023, 16:07 All in one OpenAirInterface – 4G and 5G reference software
Dmitry Polpudenko
September 5, 2017 at 1:47 pm
Dmitry Polpudenko
September 5, 2017 at 2:09 pm
As per description of git apply error, the patch couldn’t find the line of code
in question. It could have been added by earlier commits.
Dmitry Polpudenko
September 5, 2017 at 6:08 pm
Got tired of finding out where the diff between eNB.patch and
build_helper comes from, so applied changes manually.
laurent
September 7, 2017 at 8:25 am
Dmitry,
Thanks to point out the latest develop git branch commit refuses to merge
our patch.
I’m a bit lost in your trials:
– works fine with the version we tested
=> if you do git checkout 17b9a9e917ce2a3a8c7004c7b9a221c350ddfe17
the patch works fine
– for the latest commit, as you discovered, the command “git apply
eNB.patch” fails
=> the merge fails for a small detail
instead of git apply, replace the file we need to patch by our version:
https://open-cells.com/index.php/2019/09/22/all-in-one-openairinterface/ 17/408
13/08/2023, 16:07 All in one OpenAirInterface – 4G and 5G reference software
cp ../opencells-mods/cmake_targets/tools/build_helper
cmake_targets/tools/build_helper
I’ll do a new patch version later (we’ll try to maintain this tutorial up to
date with latest commits about once per month).
Regards,
Laurent
Ankita Kohli
September 6, 2017 at 10:18 am
Hi Laurent,
i am getting following error while executing ./run_spgw:
Initializing GTPV1U interface
Creating new listen socket on address 127.0.0.30 and port 2123
Inserting new descriptor for task 6, sd 31
Received 1 events
rmmod: ERROR: Module gtp is not currently loaded
ERROR in loading gtp kernel module (check if built in kernel)
Initializing GTPv1-U ERROR
Function sgw_init (&spgw_config) has failed
returning -1
Regards,
Ankita
laurent
September 7, 2017 at 8:01 am
https://open-cells.com/index.php/2019/09/22/all-in-one-openairinterface/ 18/408
13/08/2023, 16:07 All in one OpenAirInterface – 4G and 5G reference software
Ankita,
I would guess you are not “root”.
Only root can load kernel modules.
Could you try: sudo ./run_spgw
Laurent
Ken
September 30, 2021 at 11:46 am
I have use root, but I can’t fix it. And I use Ubuntu14.04.
Dmitry Polpudenko
September 23, 2017 at 3:24 pm
Hi, Laurent,
I have succesfully compiled eNB+EPC, my RF board is limeSDR. No issues, your
instructions are excellent, code is great, components of the system start
smoothly, except eNB. I get LLLLL soon after the start of the eNb. My system is
Ubuntu 17.04, CPU i5-3260, 4 cores (MacBook Pro 2013+Retina). Applying cpu
improvement instructions make things even worse. So my question to you is
should i opt for a more powerfull HW or there are code enhancement
opportunities yet to be realized that will make the code run on a weaker system?
Could moving mme+hss+spgw to a different machine help my cpu handle eNB
processing load? I’d appreciate you giving a piece of advice.
laurent
September 25, 2017 at 11:31 am
Dmitry,
https://open-cells.com/index.php/2019/09/22/all-in-one-openairinterface/ 19/408
13/08/2023, 16:07 All in one OpenAirInterface – 4G and 5G reference software
If the cores have siblings, it means hyperthreading is running and you see two
cores whereas only one exists (this is not two cores, but one core with two sets
of registers).
I saw many people on the mailing list complaining OAI doesn’t run well on such
(even recent) 2 cores CPUs (Intel released even “i7” with two actual cores).
Today, I don’t think OAI runs nicely (even 5MHz/SISO) on such 2 cores CPU, but
it should (if we pay enough effort in optimization).
The best you can do right now: isolate the second core in a shield (probably core
1 and 3 are siblings)
Run the EPC out of the shielded core
Run the softmodem in the shielded domain.
I don’t think running the EPC on another machine will make it significantly
better, but you can try.
For this separate EPC, change the IPs in the all config files to use the Ethernet
interface ones.
(If it is not that simple, I’ll make a post on separate eNB/EPC configuration).
In next months, we need is to improve the softmodem to run well with less CPU.
Open cells implemented pieces of code, for that purpose.
We didn’t release it because we wait a major update that will come soon in
develop branch to merge our improvements.
It is hard to estimate when we will release our work: there is overlap between
the near future huge commit in develop branch and what we did.
So, we expect a complex “merge” that will partially erase what we did.
Regards,
Laurent
https://open-cells.com/index.php/2019/09/22/all-in-one-openairinterface/ 20/408
13/08/2023, 16:07 All in one OpenAirInterface – 4G and 5G reference software
Dmitry Polpudenko
September 26, 2017 at 5:05 am
Laurent,
ldle
November 1, 2017 at 2:20 am
Hi Laurent,
Recently, my friends told me a way to solve the “LLLLL…” in eNB.
In system settings->software& updates->Additional Drivers ,we select “Do not
use the device ” instead of “Using processor microcode …….”, restart the
computer, then it works. that’s all, thank you.
laurent
November 2, 2017 at 9:29 am
Hello,
This is a very important remark that need to be qualified better.
This package is made by Intel, only Intel know what is in, but we know the
purpose.
The motherboard bios contains a version of Intel microcode (a microcode must
be loaded in the CPU).
The Debian/Ubuntu package runs a Intel code that updates this microcode if
needed.
So, you found at least a case where the updated microcode is worse than the one
in the bios.
https://open-cells.com/index.php/2019/09/22/all-in-one-openairinterface/ 21/408
13/08/2023, 16:07 All in one OpenAirInterface – 4G and 5G reference software
Could you provide us with more information: CPU type, mother board reference
and bios version where this situation occurs?
ldle
November 8, 2017 at 2:58 am
Hello,
I’m sorry to reply you so late.
my computer is (DELL)3668-R2938/R1938
and CPU type is i7-7700
bios version 1.1.0
Before I change it, it prints out the “LLL…” every time when I run eNB.
thanks
laurent
November 10, 2017 at 3:05 pm
Hi,
The source of microcode seems to be:
https://downloadcenter.intel.com/download/26925/Linux-Processor-
Microcode-Data-File
in the tar file, the file releasenote explains how is done the root integration in
Linux.
Ubuntu/Debian seems to only repackage this from Intel delivery, believing they
will put better version than the MB bios one.
In your case it seems a mistake to perform this update.
https://open-cells.com/index.php/2019/09/22/all-in-one-openairinterface/ 22/408
13/08/2023, 16:07 All in one OpenAirInterface – 4G and 5G reference software
ldle
November 14, 2017 at 3:24 pm
Hi Laurent,
after I run “dmesg | grep microcode”,I got the output as follows;
[ 0.086702] mce: [Hardware Error]: PROCESSOR 0:906e9 TIME 1510484689
SOCKET 0 APIC 0 microcode 48
[ 0.086704] mce: [Hardware Error]: PROCESSOR 0:906e9 TIME 1510484689
SOCKET 0 APIC 0 microcode 48
[ 0.086707] mce: [Hardware Error]: PROCESSOR 0:906e9 TIME 1510484689
SOCKET 0 APIC 0 microcode 48
[ 0.086709] mce: [Hardware Error]: PROCESSOR 0:906e9 TIME 1510484689
SOCKET 0 APIC 0 microcode 48
[ 0.818583] microcode: sig=0x906e9, pf=0x2, revision=0x48
[ 0.818766] microcode: Microcode Update Driver: v2.2.
I don’t know what it means, could you figure it out for me, thank you.
ldle
laurent
November 16, 2017 at 10:28 am
Hi
mce => machine check exception
https://open-cells.com/index.php/2019/09/22/all-in-one-openairinterface/ 23/408
13/08/2023, 16:07 All in one OpenAirInterface – 4G and 5G reference software
Means your machine have a HW fault (or the SW wrongly detects HW fault)
there is package to obtain more details:
apt install mcelog
mcelog --client
Do you have this log for both cases: with “microcode enabled” in ubuntu
drivers?
Regards,
Laurent
brieftime
December 12, 2017 at 4:53 am
Hi Laurent:
when i run “./cmake_targets/lte_build_oai/build/lte-softmodem -O “,the result
is ok,but when i run “./cmake_targets/lte_build_oai/build/lte-softmodem -O -
d”,it whill occure an error(core dump) like below:
I don’t know what it means, could you figure it out for me, thank you.
brieftime
brieftime
December 12, 2017 at 4:55 am
laurent
December 12, 2017 at 3:41 pm
https://open-cells.com/index.php/2019/09/22/all-in-one-openairinterface/ 24/408
13/08/2023, 16:07 All in one OpenAirInterface – 4G and 5G reference software
Hello,
I guess you use new develop (commit after October 23rd).
In this version and all above major regressions exist(see the mail from Cédric
“IMPORTANT NOTICE: new versions of master and develop branches” when
this update has been done).
If i’m right, please complain on OAI mailing list about all defects that
appeared in this commit and after).
Regards,
Laurent
Dylan Tran
July 16, 2021 at 2:18 am
CPU_0 CPU_1
[HW] thread_top_init() called with affinity>0, but overruled by #ifndef
CPU_AFFINITY.
[HW] [SCHED][eNB] RXn_TXnp4_1
started on CPU 1, sched_policy = SCHED_FIFO , priority = 99, CPU Affinity=
CPU_0 CPU_1
[PHY] thread rxtx created id=2077
Segmentation fault
laurent
July 16, 2021 at 6:53 am
Hi,
Run in gdb and make “where” to know where it crashes
Laurent
Aram
December 12, 2017 at 12:53 pm
Hi Laurent
I’m running the program with configurations given in opencells-
cells/enb.10MHz.b200 file on USRP B210.
when my phone found the 4G network I’ve got the following error messages:
https://open-cells.com/index.php/2019/09/22/all-in-one-openairinterface/ 26/408
13/08/2023, 16:07 All in one OpenAirInterface – 4G and 5G reference software
and after 10-20 seconds fails to Internet connection, but stay to show the 4G sign
on my phone.
Thanks in advance.
laurent
December 12, 2017 at 3:38 pm
Hi,
S1AP fails to create the link for an issue in the cyphering keys: what is your
phone and what SIM card do you use?
Laurent
Aram
December 13, 2017 at 11:18 am
Hi Laurent
My phone is ZTE Axon 7 and I use Sysmocom sysmoUSIM-SJS1 simcard
Thanks Aram
laurent
December 13, 2017 at 1:40 pm
Hi Aram,
This is a problem of security keys: likely the phone is working well, maybe
you didn’t program well the sysmoUSIM-SJS1 or the core network is not
working.
I would suspect the EPC: are you using OAI EPC?
Regards,
Laurent
Aram
December 13, 2017 at 2:03 pm
https://open-cells.com/index.php/2019/09/22/all-in-one-openairinterface/ 27/408
13/08/2023, 16:07 All in one OpenAirInterface – 4G and 5G reference software
And felt a little bit advance in connection time, but gives the following
errors and connection lost:
[MAC][E][initiate_ra_proc] [eNB 0][RAPROC] FAILURE: CC_id 0 Frame
558 Initiating RA procedure for preamble index 52
Regards,
Aram.
laurent
December 14, 2017 at 12:09 pm
Hi Aram,
So, you use OAI eNB, OAI EPC and the HSS is loaded with the database from
our tutorial.
I don’t think it is a radio or low layer issue: it should be a authentication
issue between the SIM and the HSS, then the derivated keys are wrong.
In this case, I guess the SIM card is not well configured: set it to milenage
(not XOR) algorithm.
Please test the authentication (as in the Sysmocom manual).
Regards,
Laurent
James
https://open-cells.com/index.php/2019/09/22/all-in-one-openairinterface/ 28/408
13/08/2023, 16:07 All in one OpenAirInterface – 4G and 5G reference software
laurent
December 13, 2017 at 1:01 pm
James,
Yes, I saw reports from other users that made the same on recent flavor of 16.04
(you have the same if your kernel is 16.04).
Laurent
Aram
December 18, 2017 at 8:10 am
Hi Laurent
I’ve used the program “sysmo-usim-tool.sjs1.py” to test the authentication
and it prints the follows:
so it seems that our algorithm is MILENAGE, but the issue still remains.
Regards,
Aram.
laurent
December 18, 2017 at 10:20 am
https://open-cells.com/index.php/2019/09/22/all-in-one-openairinterface/ 29/408
13/08/2023, 16:07 All in one OpenAirInterface – 4G and 5G reference software
Aram,
I don’t know.
Maybe you can spend 10€ buying us a programmed SIM card, nevertheless I’m
not 100% sure the issue is the SIM card.
Regards,
Laurent
ubaid ahmad
December 19, 2017 at 9:24 am
Hi Laurent,
Regards,
Ubaid
laurent
December 22, 2017 at 8:05 am
https://open-cells.com/index.php/2019/09/22/all-in-one-openairinterface/ 30/408
13/08/2023, 16:07 All in one OpenAirInterface – 4G and 5G reference software
Ubaid,
E3276-s works fine with OAI, the issue is not this one.
The most common reason is some parameters are not correct, so the MME
reach one of it’s bugs.
Could you try the same with a USRP ?
Regards,
Laurent
ubaid ahmad
December 26, 2017 at 6:37 am
Hi Laurent,
Regards,
Ubaid
laurent
December 26, 2017 at 9:04 am
Hello,
I tried a LimeSDR a few days ago: it succeeded to attach to the OAI network.
Then, my lab have problems with RF signal quality (even with USRP), so I
didn’t manage to get stable traffic.
So, I got almost the same as you.
I used OpenAir CN with our patches, our SIM, our duplexer, OAI eNB,
10MHz, band 7.
My SPGW didn’t crash, nevertheless known issues exists when the UE re-
attach.
The OAI code contains numerous bugs, so to obtain stable traffic, for now,
we need good radio conditions.
https://open-cells.com/index.php/2019/09/22/all-in-one-openairinterface/ 32/408
13/08/2023, 16:07 All in one OpenAirInterface – 4G and 5G reference software
Regards,
Laurent
Vladimir
December 26, 2017 at 1:58 pm
Hello Laurent,
I’m trying to get this config up and running on 16.04.3 machine. Succeeded to
build everything by your instruction, now trying to run: hss and mme started up
OK, but spgw complains (see log below). Seems that it’s missing gtp module, but
at wich stage should it be built? Is it an external module? I checked build logs in
openair-cn, all looks good, except for couple messages “Didn’t find any
information element for message: S1ap-PrivateMessageIEs”. Start log follows
(this goes right after big nw-gtpv2c copyright notice, no errors indicated until
this point):
Vladimir
December 26, 2017 at 2:24 pm
Laurent,
Just found your note about gtp in previous version of this post. So, as far as I got
it, the best way is update the kernel to 4.10, right?
Vladimir
laurent
December 26, 2017 at 6:00 pm
Vladimir,
Yes, whatever flavor: ubuntu 16.04.3 or 17.04
Regards,
Laurent
Akeem
December 27, 2017 at 12:26 pm
Hi Laurent,
Thanks for your painstaking efforts in providing excellent instruction for the
implementation of All in one OpenAirInterface. I have made attempts to follow
the steps in https://open-cells.com/index.php/2017/08/22/all-in-one-
openairinterface-august-22nd/. The hss, mme and spgw were loaded with
https://open-cells.com/index.php/2019/09/22/all-in-one-openairinterface/ 34/408
13/08/2023, 16:07 All in one OpenAirInterface – 4G and 5G reference software
success, but I have issues with the eNB as the UE could not establish connection to
the internet and reported thefollowing message when I issue the command
“./cmake_targets/lte_build_oai/build/lte-softmodem -O
enb.band7.tm1.50PRB.usrpb210.conf”:
Is there any thing I missed out or did wrongly that is preventing the UE from
having access to the internet? ..and how can I fix the “ULLLL…” issue?
Details are in the attached eNB log, also enclosed with this email are logs for hss,
mme, spgw.
Please I need your to fix these problems
Thank you and happy new year in advance.
https://open-cells.com/index.php/2019/09/22/all-in-one-openairinterface/ 35/408
13/08/2023, 16:07 All in one OpenAirInterface – 4G and 5G reference software
Best Regards.
Cihan Esen
April 24, 2018 at 11:28 am
Hi Laurent,
I wanna try OAI with lime SDR. In this post you mention that there would be a
seperate post about a setup with Lime. Did you publish such post anywhere?
If not, are there any specific differences trying USRP and Lime with OAI?
regards,
Cihan
laurent
April 24, 2018 at 2:04 pm
Hi Cihan,
The post was not visible because the menu was too short, it is on https://open-
cells.com/index.php/2017/05/10/limesdr-installation/
I didn’t try again for a while to use Lime, I will do but I don’t know when.
Also, note the maximum output power is 10dB lower than USRP, so the range
will be shorter.
Nate
May 14, 2018 at 1:47 pm
Hi,
Thank you for this excellent guide. I’m trying to follow this it using a BladeRF
x40. My system is 64 bit Ubuntu 17.04 with Intel® Core™ i7-5500U Processor
(4M Cache, 2.4GHz, Turbo Boost up to 3.0 GHz).
At the very end of the guide, when I try to launch the lte-softmodem, it hangs on
“Waiting for eNB application to be ready.”
The running MME output shows that there are no connected eNBs, and the dmesg
output is below.
Before it hangs, there’s an error, which I’m not sure if it’s related.
https://open-cells.com/index.php/2019/09/22/all-in-one-openairinterface/ 37/408
13/08/2023, 16:07 All in one OpenAirInterface – 4G and 5G reference software
Thank you,
Nate
laurent
May 22, 2018 at 5:40 am
Hi Nate,
The problem is not the 2 cores.
gtp unlaod/load and most of messages are ok.
Nghia Nguyen
October 2, 2018 at 8:53 am
Hello,
https://open-cells.com/index.php/2019/09/22/all-in-one-openairinterface/ 38/408
13/08/2023, 16:07 All in one OpenAirInterface – 4G and 5G reference software
I got the same error message and it works after carefully recheck the IP
addresses in “openairinterface5g/targets/PROJECTS/GENERIC-LTE-
EPC/CONF/enb.band7.tm1.100PRB.usrpb210.conf” following this guide.
Nghia Nguyen.
Summer
June 22, 2018 at 7:03 am
Hi Laurent,
Summer
June 22, 2018 at 9:46 am
https://open-cells.com/index.php/2019/09/22/all-in-one-openairinterface/ 40/408
13/08/2023, 16:07 All in one OpenAirInterface – 4G and 5G reference software
https://open-cells.com/index.php/2019/09/22/all-in-one-openairinterface/ 41/408
13/08/2023, 16:07 All in one OpenAirInterface – 4G and 5G reference software
https://open-cells.com/index.php/2019/09/22/all-in-one-openairinterface/ 42/408
13/08/2023, 16:07 All in one OpenAirInterface – 4G and 5G reference software
cn/src/s1ap/s1ap_mme_decoder.c:0144 Leaving
s1ap_mme_decode_initiating() (rc=0)
001379 00337:030527 7F40DD0AE700 TRACE S1AP -
cn/src/s1ap/s1ap_mme_handlers.c:0645 Entering
s1ap_mme_handle_ue_context_release_request()
001380 00337:030533 7F40DD0AE700 DEBUG S1AP -
cn/src/s1ap/s1ap_mme_handlers.c:0659 UE CONTEXT RELEASE REQUEST
with Cause_Type = Radio Network and Cause_Value = 21
001381 00337:030536 7F40DD0AE700 TRACE S1AP n/openair-
cn/src/s1ap/s1ap_mme.c:0414 Found ue_ref 0x7f40c4007c20
mme_ue_s1ap_id 0x00000002
001382 00337:030538 7F40DD0AE700 TRACE S1AP n/openair-
cn/src/s1ap/s1ap_mme.c:0428 Found ue_ref 0x7f40c4007c20
mme_ue_s1ap_id 0x00000002
001383 00337:030540 7F40DD0AE700 TRACE S1AP n/openair-
cn/src/s1ap/s1ap_mme.c:0469 Return ue_ref 0x7f40c4007c20
001384 00337:030550 7F40DD0AE700 TRACE S1AP -
cn/src/s1ap/s1ap_mme_handlers.c:0716 Leaving
s1ap_mme_handle_ue_context_release_request() (rc=0)
001385 00337:030558 7F40DC8AD700 TRACE MME-AP
cn/src/mme_app/mme_app_context.c:1049 Entering
_mme_app_handle_s1ap_ue_context_release()
001386 00337:030564 7F40DC8AD700 TRACE MME-AP
cn/src/mme_app/mme_app_context.c:1102 Leaving
_mme_app_handle_s1ap_ue_context_release()
001387 00337:030571 7F40DF0B2700 TRACE NAS-EM an/openair-
cn/src/nas/nas_proc.c:0495 Entering nas_proc_implicit_detach_ue_ind()
001388 00337:030574 7F40DF0B2700 TRACE NAS-EM air-
cn/src/nas/emm/sap/emm_sap.c:0110 Entering emm_sap_send()
001389 00337:030576 7F40DF0B2700 TRACE NAS-EM nair-
cn/src/nas/emm/sap/emm_cn.c:0451 Entering emm_cn_send()
001390 00337:030577 7F40DF0B2700 INFO NAS-EM nair-
cn/src/nas/emm/sap/emm_cn.c:0452 EMMCN-SAP – Received primitive
EMMCN_IMPLICIT_DETACH_UE (406)
001391 00337:030580 7F40DF0B2700 TRACE NAS-EM nair-
cn/src/nas/emm/sap/emm_cn.c:0201 Entering
_emm_cn_implicit_detach_ue()
https://open-cells.com/index.php/2019/09/22/all-in-one-openairinterface/ 43/408
13/08/2023, 16:07 All in one OpenAirInterface – 4G and 5G reference software
https://open-cells.com/index.php/2019/09/22/all-in-one-openairinterface/ 44/408
13/08/2023, 16:07 All in one OpenAirInterface – 4G and 5G reference software
https://open-cells.com/index.php/2019/09/22/all-in-one-openairinterface/ 45/408
13/08/2023, 16:07 All in one OpenAirInterface – 4G and 5G reference software
https://open-cells.com/index.php/2019/09/22/all-in-one-openairinterface/ 46/408
13/08/2023, 16:07 All in one OpenAirInterface – 4G and 5G reference software
https://open-cells.com/index.php/2019/09/22/all-in-one-openairinterface/ 47/408
13/08/2023, 16:07 All in one OpenAirInterface – 4G and 5G reference software
Alexandra
July 5, 2018 at 12:11 pm
Hello,
I used a bladeRF instead of a USPR, for now, I can register in my network, the
problem appears when I want to stablish internet connection using my phone, it
is not stable, the internet works rarely. In the logs of eNB, I can see the following
errors:
https://open-cells.com/index.php/2019/09/22/all-in-one-openairinterface/ 48/408
13/08/2023, 16:07 All in one OpenAirInterface – 4G and 5G reference software
I don’t know if the failure of the internet is due to these errors o not.
Thanks
Alexandra
Alexandre Ferreira
July 6, 2018 at 12:59 pm
Hi,
I started facing some problems to have the eNB connected to the MME after an
Ubuntu update. The following log is the log after the starting procedure of eNB:
…
[MAC][E][rrc_mac_config_req_eNB] RC.mac:0x7fef08002080
mib:0x7fef08003108
…
[SCTP][E]sctp_recvmsg (fd 41, len -1 ): Connection refused:111
…
[PHY][E]config_mib() dl_BandwidthP:3
…
[MAC][E][rrc_mac_config_req_eNB] rrc_mac_config_req_eNB() /home/lcrr-
032553/openairinterface5g/openair2/LAYER2/MAC/config.c:967
RC.mac[Mod_idP]->if_inst->PHY_config_req:0x56048265e570
…
[PHY][E]***DJP*** removed assert on preamble fp-
>prach_emtc_config_common.prach_ConfigInfo.prach_numRepetitionPerPre
ambleAttempt[0]:0 expecting >0 /home/lcrr-
032553/openairinterface5g/openair1/PHY/INIT/lte_init.c:259
…
[PHY][E]DJP – delete code above this /home/lcrr-
032553/openairinterface5g/targets/RT/USER/lte-ru.c:2399
…
https://open-cells.com/index.php/2019/09/22/all-in-one-openairinterface/ 49/408
13/08/2023, 16:07 All in one OpenAirInterface – 4G and 5G reference software
Regards,
Alexandre
laurent
July 9, 2018 at 3:42 pm
Dear Alexandre,
The line sctp_recvmsg (fd 41, len -1 ): Connection refused:111 indicates the eNB
can’t connect to the mme.
One possibility is the diameter certificate expired: renew it with
laurent
August 22, 2018 at 2:08 pm
Hi,
We answered on the global mailing list: have seen the solution?
BR,
Laurent
https://open-cells.com/index.php/2019/09/22/all-in-one-openairinterface/ 50/408
13/08/2023, 16:07 All in one OpenAirInterface – 4G and 5G reference software
Candice
August 27, 2018 at 2:07 pm
Hi,
I got the same problem with Alexandre, and I didn’t find the solution.
Could you please offer a link to the solution? Lots of thanks.
Regards,
Candice
laurent
August 27, 2018 at 7:02 pm
Hi,
So, the new problem it started somewhere after kernel revision 4.15.23
(ubuntu 18.04 update now installs a more recent kernel).
This recent kernel refuses SCTP connect from eNB even if the MME is
running.
Forcing IPv4 (so replace AF_INET6 by AF_INET) in mme source:
src/sctp/sctp_primitives_server.c:352 seems ok.
The root error is still to be found: OAI IPv6 implementation contains bugs,
maybe the kernel refuses for good reasons.
Regards,
Laurent
Candice
August 28, 2018 at 2:56 am
https://open-cells.com/index.php/2019/09/22/all-in-one-openairinterface/ 51/408
13/08/2023, 16:07 All in one OpenAirInterface – 4G and 5G reference software
Hi,
Thanks for your reply. But I’m still confused. What exactly should I do to
fix this problem?
Should I change my kernel version? Please give me some specific
suggestions.
Regards,
Candice
Shuguo
September 4, 2018 at 1:19 pm
Hi, Laurent,
By following the tutorial above, but still we have this kind of error (as also
reported by someone else earlier):
“`
[SCTP][I][sctp_eNB_read_from_socket] Received notification for sd 41, type
32769
[SCTP][I][sctp_eNB_read_from_socket] Client association changed: 4
[SCTP][I][sctp_eNB_flush_sockets] Found data for descriptor 41
[SCTP][I][sctp_eNB_read_from_socket] An error occured during read
*[SCTP][E][sctp_eNB_read_from_socket] sctp_recvmsg (fd 41, len -1 ):
Connection refused:111*
[RRC][I][FRAME 00000][eNB][MOD 00][RNTI 0] Init…
“`
And as you have replied earlier:
“`
Maybe the origin of the issue is in the sctp: Connection refused:111
I would suggest to recheck MME connection parameters.
Regards,
Laurent
“`
And, yes, we do observed “SCTP abort!” message from the communication
between EPC and eNB.
https://open-cells.com/index.php/2019/09/22/all-in-one-openairinterface/ 52/408
13/08/2023, 16:07 All in one OpenAirInterface – 4G and 5G reference software
Could you specify more clearly how I should configure MME? (we have already
followed the tutorial above…)
laurent
September 5, 2018 at 8:14 am
Hi,
So, maybe you use Ubuntu 18.04 up-to-date.
In this case, something is wrong either in the kernel or in OAI, see above the fix
to set in the mme code.
Regards,
Laurent
Sami
February 25, 2019 at 4:37 pm
Hi,
After the release of OAI v1.0.1, are the steps provided in this post still applicable ?
Also is it possible to install the new release on ubuntu 18.04 ?
Thanks in advance.
laurent
March 4, 2019 at 8:16 am
For OAI EPC, I think the best is to use what is described in this old tutorial
because newer OAI EPC is over complex to install and use.
For OAI RAN, it is probably better to use OAI v1.0.1
We will try to find out some time to update this tutorial with recent versions.
Laurent
mahmoud
https://open-cells.com/index.php/2019/09/22/all-in-one-openairinterface/ 53/408
13/08/2023, 16:07 All in one OpenAirInterface – 4G and 5G reference software
laurent
March 4, 2019 at 8:13 am
hamed
March 17, 2019 at 6:25 am
Hello
I have issue about the number of user that are serviceable in a simple host (Intel
Core i5-8400 & 4.0 GHz ) and usrp (b210).
This is a question in both structure (RAN & EPC).
Thanks if you guide me.
laurent
March 18, 2019 at 9:31 am
Hi,
OAI quality is not high enough for a commercial like usage.
The number of users would be a few only because of bugs before CPU size.
Laurent
mahmoud
March 27, 2019 at 2:43 pm
https://open-cells.com/index.php/2019/09/22/all-in-one-openairinterface/ 54/408
13/08/2023, 16:07 All in one OpenAirInterface – 4G and 5G reference software
please your support with the below error , occured when applying the epc patch
that impact installation of third party sw
root@user:/home/user/Downloads/opencells-mods-20170823/opencells-
mods# git apply EPC.patch
error: patch failed: build/tools/build_helper:99
error: build/tools/build_helper: patch does not apply
error: patch failed: scripts/run_spgw:173
error: scripts/run_spgw: patch does not apply
error: patch failed: src/common/common_defs.h:109
error: src/common/common_defs.h: patch does not apply
error: patch failed: src/gtpv1-u/gtp_mod_kernel.c:31
error: src/gtpv1-u/gtp_mod_kernel.c: patch does not apply
error: patch failed: src/gtpv1-u/gtp_mod_kernel.h:6
error: src/gtpv1-u/gtp_mod_kernel.h: patch does not apply
error: patch failed: src/gtpv1-u/gtpv1u_task.c:111
error: src/gtpv1-u/gtpv1u_task.c: patch does not apply
error: src/nas/emm/Attach.c: No such file or directory
error: src/nas/ies/SupportedCodecList.c: No such file or directory
error: patch failed: src/oai_hss/utils/hss_config.c:297
error: src/oai_hss/utils/hss_config.c: patch does not apply
error: patch failed: src/s6a/s6a_peer.c:88
error: src/s6a/s6a_peer.c: patch does not apply
laurent
March 28, 2019 at 11:48 am
Hi,
I would guess you didn’t take the git commit we specify
Laurent
santiago
March 28, 2019 at 8:38 pm
laurent
April 4, 2019 at 7:43 pm
hi,
compilation failed: look for “error:” in /home/epc/openair-
cn/build/log/mme.txt
Laurent
weiqi
July 9, 2019 at 3:34 pm
Hi Laurent,
I had the same problem when building the mme, the error logs in ~/openair-
cn/build/log/mme.txt states:
“”
[ 94%] Linking C static library libLIB_NAS_MME.a
[ 94%] Built target LIB_NAS_MME
Makefile:94: recipe for target ‘all’ failed
make: *** [all] Error 2
https://open-cells.com/index.php/2019/09/22/all-in-one-openairinterface/ 56/408
13/08/2023, 16:07 All in one OpenAirInterface – 4G and 5G reference software
“”
laurent
July 11, 2019 at 7:20 am
Hi
in the log, above the ‘all’ failed message, you should find a message
identified by this string: “error:”
This message would explain the problem
Laurent
Weiqi
July 11, 2019 at 3:12 pm
Hi Laurent,
Thanks,
Weiqi
https://open-cells.com/index.php/2019/09/22/all-in-one-openairinterface/ 57/408
13/08/2023, 16:07 All in one OpenAirInterface – 4G and 5G reference software
laurent
July 15, 2019 at 7:44 am
Hi,
You can also modify the openair-cn scripts to install the 2 versions of
asn1c in two different directories
Laurent
Weiqi
July 15, 2019 at 3:15 pm
Hi Laurent,
-Weiqi
Weiqi
July 16, 2019 at 8:41 pm
Hi Laurent,
In the MME logs I can see the PDN connection has been created and the
phone got an IP 172.16.0.4, the APN = ltebox. In the wireshark I can see the
172.16.0.4 is doing DNS query but got no respnose.
I tried change the APN to oai.ipv4 but still the same.
The SIM card I used is sysmocom SJS1 SIM, the phone I used is one plus 3T.
Thanks,
Weiqi
laurent
July 22, 2019 at 8:28 am
Hi Weiqi,
I need more details, please send it by mail.
One guess from your description that your can try immediately: in
spgw.conf file, verify (or set): PGW_MASQUERADE_SGI = “yes”;
Regards,
Laurent
Ahmed
August 17, 2019 at 3:21 am
I am facing the same issue, can you share how you managed to fix this issue?
dongjin
July 28, 2020 at 3:46 am
Balraj
June 19, 2019 at 10:57 am
https://open-cells.com/index.php/2019/09/22/all-in-one-openairinterface/ 59/408
13/08/2023, 16:07 All in one OpenAirInterface – 4G and 5G reference software
Hi,
I have bought these sim cards, and I want to know will they work with other
software than Open Air Interface, like srsLTE . If so, could you publish a post on
how to set it up? Also how to use Blade RF in this set up inplace of USRP?
laurent
June 20, 2019 at 9:38 am
Hi,
Yes, this is standard SIM cards, that can work with any network.
We already have srsLTE customers.
For the RF board, there is no relation with the SIM: any RF board can work or
not work, independently of the SIM
Best regards,
Laurent
jobo
June 19, 2019 at 3:48 pm
Hi Laurent,
I’m trying to set up OAI on my Ubuntu 18.04 machine with the latest developer
branch of the OAI RAN (2019.w23) and the OAI EPC you suggested ( commit
724542d0b59797b010af8c5df15af7f669c1e838). I applied the patch an changed
the lines with ” ubuntu17.04″ to “ubuntu18.04” as you mentioned in the
comments. By building the hss I faced the fist error in relation to the phpadmin
(ERROR 2002 (HY000): Can’t connect to local MySQL server through socket
‘/var/run/mysqld/mysqld.sock’ (2) ) .
By building mme the error occured that there would be no packet candidate for
“libconfig8-dev” and that it would be replaced by “libconfig-dev”. Is it possible
to simply use the new package and what about the erreor with phpadmin? Thank
you in advance!
Greetings
https://open-cells.com/index.php/2019/09/22/all-in-one-openairinterface/ 60/408
13/08/2023, 16:07 All in one OpenAirInterface – 4G and 5G reference software
Johannes
laurent
June 21, 2019 at 7:54 am
Hi Johannes,
I updated this post for ubuntu 18.04 with your remarks integrated and the
mysql issue fix.
Regards,
Laurent
Balraj
June 20, 2019 at 11:22 am
Yes, but there is a separate guide for setting up LimeSDR, so I was asking if there
was a different setup guide for BladeRF as well?
laurent
June 20, 2019 at 12:16 pm
Christian
August 8, 2019 at 12:05 pm
Hi,
the patch is not available with the given link. Any hint how to get it?
laurent
August 8, 2019 at 2:39 pm
Abdu
August 8, 2019 at 2:18 pm
Hello,
laurent
August 8, 2019 at 2:39 pm
Abdu
August 8, 2019 at 5:16 pm
Ahmed
https://open-cells.com/index.php/2019/09/22/all-in-one-openairinterface/ 62/408
13/08/2023, 16:07 All in one OpenAirInterface – 4G and 5G reference software
Am i missing something?
alex
September 5, 2019 at 9:17 am
laurent
September 18, 2019 at 7:33 am
A big update of the tutorial has been made. the base versions are now more
recent, more Open Cells fixes delivered. Please re-test from scratch.
laurent
September 18, 2019 at 7:33 am
A big update of the tutorial has been made. the base versions are now more
recent, more Open Cells fixes delivered. Please re-test from scratch.
Pooya
September 7, 2019 at 8:46 am
Hi dear laurent
i went through your tutorial but got this error while compiling MME!
https://open-cells.com/index.php/2019/09/22/all-in-one-openairinterface/ 63/408
13/08/2023, 16:07 All in one OpenAirInterface – 4G and 5G reference software
laurent
September 15, 2019 at 9:42 am
Hi
Please provide the error message in the log file:
./build/log/mme.txt
look for the string “error:” in the file
Laurent
laurent
September 18, 2019 at 7:33 am
A big update of the tutorial has been made. the base versions are now more
recent, more Open Cells fixes delivered. Please re-test from scratch.
Laurent
Pooya
September 18, 2019 at 12:06 pm
Thanks to u
Pooya
September 18, 2019 at 12:02 pm
Hi laurent
The commit number for EPC of gitlab openair-cn does not exist
error: pathspec ‘7c5cad’ did not match any file(s) known to git.
!
Can u use git hub?
https://open-cells.com/index.php/2019/09/22/all-in-one-openairinterface/ 64/408
13/08/2023, 16:07 All in one OpenAirInterface – 4G and 5G reference software
its newer that this, almost for a week ago.while this gitlab link is for 2-3 years
ago!
Pooya
September 18, 2019 at 12:05 pm
laurent
September 18, 2019 at 4:24 pm
Of course you can use github EPC version, nevertheless the configuration is
very different.
Our tutorial is ony for the legacy gitlab version.
We won’t make any tutorial for the github version of the EPC until the author
cleanup the dependencies (openvswitch, multi virtual machines, …)
Vladimir
September 19, 2019 at 12:56 pm
Hello Laurent,
I am getting a segfault when running the MME the output states the following:
Assertion (fd_dict_search (fd_g_config->cnf_dict, DICT_AVP,
AVP_BY_NAME, “Service-Selection”,
&s6a_fd_cnf.dataobj_s6a_service_selection, 2) == 0) failed!
In s6a_fd_init_dict_objs() ~/openair-cn/src/s6a/s6a_dict.c:92
https://open-cells.com/index.php/2019/09/22/all-in-one-openairinterface/ 65/408
13/08/2023, 16:07 All in one OpenAirInterface – 4G and 5G reference software
Vladimir
September 19, 2019 at 3:50 pm
Ryan
September 22, 2019 at 6:02 pm
laurent
September 23, 2019 at 8:50 am
Hi,
We modified the freediameter code for this attribute, compared to the OpenAir
version of freediameter.
Have you recopiled and re-installed freediamter ?
Laurent
Vladimir
September 27, 2019 at 1:46 pm
https://open-cells.com/index.php/2019/09/22/all-in-one-openairinterface/ 66/408
13/08/2023, 16:07 All in one OpenAirInterface – 4G and 5G reference software
Yes, I have recompiled and reinstalled free diamter using the build_mme -i
option; however I am now getting a new assertion error.
Ziv
October 14, 2019 at 12:25 am
laurent
October 15, 2019 at 7:59 am
Hi,
We have made a new test from scratch: the procedure works as it is.
I think the error comes from your installation of several freediameter
versions.
Please do “sudo find / -name libfdcore.so”
I think you will find several versions of free diameter in your computer.
https://open-cells.com/index.php/2019/09/22/all-in-one-openairinterface/ 67/408
13/08/2023, 16:07 All in one OpenAirInterface – 4G and 5G reference software
You can also rebuild and reinstall manually freediameter and find out what is
wrong:
GIT_SSL_NO_VERIFY=true git clone
https://gitlab.eurecom.fr/oai/freediameter.git -b eurecom-1.2.0
cd freediameter
git apply ~/opencells-mods/freediameter1.2.0.postOAI.patch
mkdir build
cd build
cmake -DCMAKE_INSTALL_PREFIX:PATH=/usr/local ../
make -j4
sudo make install
Regards,
Laurent
Tseveen
December 23, 2019 at 10:26 am
Tseveen
December 26, 2019 at 2:59 am
Michael
August 30, 2020 at 5:39 pm
Ran into this problem as well. Root of the problem is that freediameter didn’t
get patched during install. The build scripts expects the freediameter patch to
be at ~/opencells-mods/freediameter1.2.0.postOAI.patch. If you didn’t unpack
the opencells-mods-*.tgz into your home directory, the patches will fail.
https://open-cells.com/index.php/2019/09/22/all-in-one-openairinterface/ 68/408
13/08/2023, 16:07 All in one OpenAirInterface – 4G and 5G reference software
My solution was to move opencells-mods into my home directory and redo the
install process.
Pooya
September 21, 2019 at 5:44 am
Hi laurent
i got this error while typing this command:
git apply ~/opencells-mods/EPC.patch
laurent
September 21, 2019 at 9:14 am
Pooya
September 22, 2019 at 1:02 pm
Hi Laurent
laurent
September 23, 2019 at 8:44 am
Hi,
I think it works, you didn’t do, or something went wrong in the previous
command: ./build_oai -I …
Laurent
pooya
September 23, 2019 at 9:55 am
I did it!
and now i repeat the command ./build_oai -I again!
but no change!
laurent
September 23, 2019 at 10:52 am
Hi Pooya,
Please understand there are quite a lot of OAI users.
All of them manage to compile the eNB.
https://open-cells.com/index.php/2019/09/22/all-in-one-openairinterface/ 70/408
13/08/2023, 16:07 All in one OpenAirInterface – 4G and 5G reference software
Laurent
Subharthi
September 27, 2019 at 2:46 am
Hi Pooya,
Thanks
Subharthi
gaoridong
November 27, 2019 at 10:48 am
i have same problem ,and i try download oai5g several times ,unfortunate.the
probem follows again,so i want ask you have you solve the problem?3q
laurent
November 29, 2019 at 7:56 am
Please provide the list of commands you do, I’ll try to repeat your issue.
Hongjing
September 24, 2019 at 12:58 pm
https://open-cells.com/index.php/2019/09/22/all-in-one-openairinterface/ 71/408
13/08/2023, 16:07 All in one OpenAirInterface – 4G and 5G reference software
Dear Laurent,
How are you? Thanks a lot for providing this guide about the installation of All in
one OpenAirInterface. It works fine for me. Could you please tell me if we could
install mme, hss and spgw into different containers with different ips? Thanks a
lot. Have a nice day~
Sincerely,
Hongjing
laurent
September 26, 2019 at 9:35 am
Dear Hongjing,
Yes, of course.
All the EPC configuration files are in our tar file examples, and you can find
other prepared versions in OAI wiki.
All the EPC files default directory is /usr/local/etc/oai.
In these files, you need only to change the IP@ to use your IP network
configuration.
For eNB, the IP@ are in the configuration you pass in parameter -O on the
command line.
Best regards,
Laurent
Michael
October 9, 2019 at 3:05 pm
Hi Laurent,
I am trying to connect my ZC706 and AD9371 to OAI, but the files and instructions
in /openairinterface/targets/ARCH/ADRV9371_ZC706 appear to obsolete, for the
zip file is nowhere to be found and the shell file will produce the error “Previous
SYRIQ is not loaded”. Is there any chance you know about this setup or the
location of the zip file? Do you know how to resolve this problem? or how to work
around this?
thank you for your help
-Michael
https://open-cells.com/index.php/2019/09/22/all-in-one-openairinterface/ 72/408
13/08/2023, 16:07 All in one OpenAirInterface – 4G and 5G reference software
laurent
October 10, 2019 at 9:53 am
Dear Michael,
We never used ZC706, please try the OAI mailing list (I don’t think there is any
user of this board).
Laurent
Michael
October 10, 2019 at 1:38 pm
Hi Laurent,
thanks so much for the help with this
I’m trying to replicate the setup put together by a group called SYRTEM, it
appears they used an Ethernet connection, but its hard to tell.
Would you know how to set up a 5MHz SISO with the ZC706 and ADRV9371?
thank you
-Michael
Francisco
October 18, 2019 at 10:00 am
Hi, in the past i have setup a OAI test bed based on OAI Wiki. However, i want to
try the setup with Ubuntu 18.04 in a single machine. There is something not quite
clear to me in this new tutorial regarding the following phrase: “All other
configuration in OAI Wiki (C1 states, …) describes is about useless.”.
Does this mean that all the step related to sleep states, in particular
C-states) and CPU frequency scaling are not required anymore ?
Thanks in advance
laurent
October 18, 2019 at 1:43 pm
Hi,
Lowlatency kernel preempts at 1000Hz, that is anyway too slow.
C-state: is managed inside OAI source for years: see set_latency_target(), it is
useless to do it in bios or by any external means
P-state: this is frequency scaling, you have to fix the CPU cores frequency
Laurent
Kat
November 1, 2019 at 4:37 pm
laurent
November 1, 2019 at 5:06 pm
Anand Seshadri
April 1, 2021 at 6:14 pm
Hi Laurent,
Where can we find this script. I’m having trouble importing/creating the
database. I believe I have everything else set.
Thanks,
Anand
https://open-cells.com/index.php/2019/09/22/all-in-one-openairinterface/ 75/408
13/08/2023, 16:07 All in one OpenAirInterface – 4G and 5G reference software
Ryan
November 8, 2019 at 10:31 am
Hey Laurent,
I am trying to run :
cd openair-cn; source oaienv; cd scripts; sudo -E ./run_spgw
laurent
November 8, 2019 at 12:41 pm
Hi Ryan,
I think you missed the tuto chapter explaining you have to edit
/usr/local/etc/oai/spgw.conf
Could you check if you did this piece of configuration?
Laurent
Ryan
November 11, 2019 at 9:52 am
OPENAIR_DIR =
Initializing OAI Logging
000000 00000:799135 7F81A1230640 INFO SPGW-A /openair-
cn/src/sgw/sgw_config.c:0212 Parsing configuration file found
https://open-cells.com/index.php/2019/09/22/all-in-one-openairinterface/ 76/408
13/08/2023, 16:07 All in one OpenAirInterface – 4G and 5G reference software
S1u_S12_S4_up: xx.xxx.xx.xxx/xx on lo
000001 00000:799152 7F81A1230640 INFO SPGW-A /openair-
cn/src/sgw/sgw_config.c:0225 Parsing configuration file found S5_S8_up:
0.0.0.0/24 on none
000002 00000:799157 7F81A1230640 INFO SPGW-A /openair-
cn/src/sgw/sgw_config.c:0238 Parsing configuration file found S11:
127.0.11.2/8 on lo
000003 00000:799247 7F81A1230640 INFO SPGW-A /openair-
cn/src/sgw/pgw_config.c:0265 Parsing configuration file provided
/usr/local/etc/oai/spgw.conf
000004 00000:799255 7F81A1230640 DEBUG SPGW-A /openair-
cn/src/sgw/pgw_config.c:0283 Parsing configuration file found SGI: on
enp3s0
000005 00000:799259 7F81A1230640 DEBUG SPGW-A /openair-
cn/src/sgw/pgw_config.c:0287 Masquerade SGI
000006 00000:799262 7F81A1230640 DEBUG SPGW-A /openair-
cn/src/sgw/pgw_config.c:0294 CLAMP TCP MSS
000007 00000:799271 7F81A1230640 DEBUG SPGW-A /openair-
cn/src/sgw/pgw_config.c:0352 Parsing configuration file default primary
DNS IPv4 address: 8080808
000008 00000:799276 7F81A1230640 DEBUG SPGW-A /openair-
cn/src/sgw/pgw_config.c:0353 Parsing configuration file default secondary
DNS IPv4 address: 4040808
000009 00000:799282 7F81A1230640 DEBUG SPGW-A /openair-
cn/src/sgw/pgw_config.c:0371 UE MTU : 1500
000010 00000:799290 7F81A1230640 DEBUG SPGW-A openair-
cn/src/sgw/spgw_config.c:0065 system command: sysctl -w
net.ipv4.ip_forward=1
net.ipv4.ip_forward = 1
000011 00000:800430 7F81A1230640 DEBUG SPGW-A openair-
cn/src/sgw/spgw_config.c:0065 system command: sync
000012 00000:877014 7F81A1230640 DEBUG SPGW-A /openair-
cn/src/sgw/pgw_config.c:0075 system command: iptables -t mangle -F
FORWARD
000013 00000:880813 7F81A1230640 DEBUG SPGW-A /openair-
cn/src/sgw/pgw_config.c:0075 system command: iptables -t nat -F
POSTROUTING
https://open-cells.com/index.php/2019/09/22/all-in-one-openairinterface/ 77/408
13/08/2023, 16:07 All in one OpenAirInterface – 4G and 5G reference software
Changes I made:
S-GW :
{
NETWORK_INTERFACES :
{
# S-GW binded interface for S11 communication (GTPV2-C), if none selected
the ITTI message interface is used
SGW_INTERFACE_NAME_FOR_S11 = “lo”; # STRING, interface name, YOUR
NETWORK CONFIG HERE
SGW_IPV4_ADDRESS_FOR_S11 = “127.0.11.2/8”; # STRING, CIDR, YOUR
NETWORK CONFIG HERE
https://open-cells.com/index.php/2019/09/22/all-in-one-openairinterface/ 78/408
13/08/2023, 16:07 All in one OpenAirInterface – 4G and 5G reference software
INTERTASK_INTERFACE :
{
# max queue size per task
ITTI_QUEUE_SIZE = 2000000; # INTEGER
};
LOGGING :
{
# OUTPUT choice in { “CONSOLE”, “SYSLOG”, `path to file`”, “`IPv4@`:`TCP
port num`”}
# `path to file` must start with ‘.’ or ‘/’
# if TCP stream choice, then you can easily dump the traffic on the remote or
local host: nc -l `TCP port num` > received.txt
OUTPUT = “CONSOLE”; # see 3 lines above
#OUTPUT = “SYSLOG”; # see 4 lines above
#OUTPUT = “/tmp/spgw.log”; # see 5 lines above
#OUTPUT = “127.0.0.1:5656”; # see 6 lines above
https://open-cells.com/index.php/2019/09/22/all-in-one-openairinterface/ 79/408
13/08/2023, 16:07 All in one OpenAirInterface – 4G and 5G reference software
};
};
P-GW =
{
NETWORK_INTERFACES :
{
# P-GW binded interface for S5 or S8 communication, not implemented, so
leave it to none
PGW_INTERFACE_NAME_FOR_S5_S8 = “none”; # STRING, interface
name, DO NOT CHANGE (NOT IMPLEMENTED YET)
https://open-cells.com/index.php/2019/09/22/all-in-one-openairinterface/ 80/408
13/08/2023, 16:07 All in one OpenAirInterface – 4G and 5G reference software
# Non standard feature, normally should be set to “no”, but you may need to
set to yes for UE that do not explicitly request a PDN address through NAS
signalling
FORCE_PUSH_PROTOCOL_CONFIGURATION_OPTIONS = “no”; # STRING,
{“yes”, “no”}.
UE_MTU = 1500 # INTEGER
};
laurent
November 12, 2019 at 3:38 pm
Hi,
The line: PGW_INTERFACE_NAME_FOR_SGI = “enp3s0”
is not good
do “ip a” to see the existing interfaces, and take the right one (the one that
goes to internet)
Laurent
Charles
November 9, 2019 at 2:08 pm
Hi Laurent,
I have Ubuntu 18.10 on my computer and tried to install OAI as in the instruction
above but after command: ./build_hss -i installation fails and I receive “Your
distribution 18.10Ubuntu is not supported by openair-cn” and I am not asked
about any questions as you wrote in the instruction, installation fails. Do I have to
install older version of Ubuntu or are there any steps which should I modify to
install OAI on Ubuntu18.10?
Best regards,
Charles
laurent
https://open-cells.com/index.php/2019/09/22/all-in-one-openairinterface/ 81/408
13/08/2023, 16:07 All in one OpenAirInterface – 4G and 5G reference software
Arslan Qadeer
December 13, 2019 at 11:06 pm
Hi laurent,
Thanks for this detailed guide. I installed OAI develop branch on three separate
physical machines (all three ubuntu 16.04). One machine for HSS/MME/SPGW,
one machine for eNB and one for UE. Everything seems to be working fine but UE
is not attaching to eNB. I am using USRP B210 and VERT2450 Vertical Antenna
(2.4-2.5 and 4.9-5.9 GHz) Dualband.
I think I have issues with frequency range, because the frequency range in eNB
configuration file is 2685000000 which is not supported by antenna (as shown
above). I tried to change it to 2450000000 but eNB does not start and logs say
“could not find matching band in given frequency range”. My eNB configuration
is shown below (enb.band7.tm1.50PRB.usrpb210.conf):
tr_s_preference = “local_mac”
component_carriers = (
{
node_function = “3GPP_eNODEB”;
https://open-cells.com/index.php/2019/09/22/all-in-one-openairinterface/ 82/408
13/08/2023, 16:07 All in one OpenAirInterface – 4G and 5G reference software
node_timing = “synch_to_ext_device”;
node_synch_ref = 0;
frame_type = “FDD”;
tdd_config = 3;
tdd_config_s = 0;
prefix_type = “NORMAL”;
eutra_band = 7;
downlink_frequency = 2685000000L;
uplink_frequency_offset = -120000000;
Nid_cell = 0;
N_RB_DL = 50;
Nid_cell_mbsfn = 0;
nb_antenna_ports = 1;
nb_antennas_tx = 1;
nb_antennas_rx = 1;
tx_gain = 90;
rx_gain = 125;
pbch_repetition = “FALSE”;
prach_root = 0;
prach_config_index = 0;
prach_high_speed = “DISABLE”;
prach_zero_correlation = 1;
prach_freq_offset = 2;
pucch_delta_shift = 1;
pucch_nRB_CQI = 0;
pucch_nCS_AN = 0;
pucch_n1_AN = 0;
pdsch_referenceSignalPower = -27;
pdsch_p_b = 0;
pusch_n_SB = 1;
pusch_enable64QAM = “DISABLE”;
pusch_hoppingMode = “interSubFrame”;
pusch_hoppingOffset = 0;
pusch_groupHoppingEnabled = “ENABLE”;
pusch_groupAssignment = 0;
pusch_sequenceHoppingEnabled = “DISABLE”;
pusch_nDMRS1 = 1;
https://open-cells.com/index.php/2019/09/22/all-in-one-openairinterface/ 83/408
13/08/2023, 16:07 All in one OpenAirInterface – 4G and 5G reference software
phich_duration = “NORMAL”;
phich_resource = “ONESIXTH”;
srs_enable = “DISABLE”;
/* srs_BandwidthConfig =;
srs_SubframeConfig =;
srs_ackNackST =;
srs_MaxUpPts =;*/
pusch_p0_Nominal = -96;
pusch_alpha = “AL1”;
pucch_p0_Nominal = -104;
msg3_delta_Preamble = 6;
pucch_deltaF_Format1 = “deltaF2”;
pucch_deltaF_Format1b = “deltaF3”;
pucch_deltaF_Format2 = “deltaF0”;
pucch_deltaF_Format2a = “deltaF0”;
pucch_deltaF_Format2b = “deltaF0”;
rach_numberOfRA_Preambles = 64;
rach_preamblesGroupAConfig = “DISABLE”;
Is there any way I can enforce to use 2.4GHz frequency range due to my antenna
limitations? Or could you suggest any other workaround? Thanks in Advance
Note: I am not following your guidelines, I am using one on the OAI wiki.
laurent
December 17, 2019 at 9:42 am
Hi,
A OAI function checks if the frequency pair is allocated in 3GPP.
You can hack this function.
For eNB:
config_check_band_frequencies() called in openair2/ENB_APP/enb_config.c
for UE, the code is duplicated directly in
targets/RT/USER/lte-ue.c
https://open-cells.com/index.php/2019/09/22/all-in-one-openairinterface/ 84/408
13/08/2023, 16:07 All in one OpenAirInterface – 4G and 5G reference software
in both eNB and UE cases, the same table name (duplicated in source) is used:
eutra_bands
But, if you are outside the 3GPP frequencies, you will never find out a
commercial UE (this is possible only with OAI UE)
About antenna: your antenna will radiate some power at 2.6GHz, even if it is not
optimal.
You can use it from technical point of view (frequency band allocation by law is
another question.
Regards,
Laurent
Goli Srikanth
December 26, 2019 at 5:23 am
Hi Laurents,
I tried the procedure up to Install Thrid party and SW, in this section while trying
sudo mysql -u root << END
USE mysql;
UPDATE user SET plugin='mysql_native_password' WHERE User='root';
FLUSH PRIVILEGES;
END
ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password:
NO)
Could you please help me out how to move forward for further installation.
laurent
January 1, 2020 at 2:33 pm
https://open-cells.com/index.php/2019/09/22/all-in-one-openairinterface/ 85/408
13/08/2023, 16:07 All in one OpenAirInterface – 4G and 5G reference software
Hi,
It is not clear why you have to give the password, we will recheck all the
procedure later.
For now, please add ‘-p’ parameter as:
Enter the password you have set when you installed mysql/mariadb
Regards,
Laurent
Goli Srikanth
December 27, 2019 at 4:36 am
Hi Laurents,
I am running on ubuntu 18.04, ./build_mme -i worked, but mme_compilation
failed using ./build_mme
laurent
January 1, 2020 at 2:28 pm
Hi,
gtpnl is a external library that is installed when you do ./build_mme -i
It asks you to install this libray
something went wrong: maybe you answered “no”, maybe the gtpnl didn’t
https://open-cells.com/index.php/2019/09/22/all-in-one-openairinterface/ 87/408
13/08/2023, 16:07 All in one OpenAirInterface – 4G and 5G reference software
install well.
Please check this
after installation, the file full path should be: /usr/local/include/libgtpnl/gtp.h
Regards,
Laurent
ghelim Carlus
December 31, 2019 at 12:25 pm
then after configuring the lime i should go through the run part
sudo bash
cd ~/openairinterface5g; source oaienv
cd cmake_targets/lte_build_oai/build
./lte-softmodem -O ~/opencells-mods/enb.10MHz.b200
https://open-cells.com/index.php/2019/09/22/all-in-one-openairinterface/ 88/408
13/08/2023, 16:07 All in one OpenAirInterface – 4G and 5G reference software
And one last question is when i got the sim and programmer what shall i do with
database?
laurent
January 1, 2020 at 2:22 pm
Hi,
i should replace -w USRP with LMSSDR
=> yes
is there any config file for limesdr
=> in directory openairinterface5g/targets/ARCH/LMSSDR/ there are some *.ini
files specific to LimeSDR
=> these configuration files are very important
=> as in our posts related to LimeSDR, we never succeeded to make a
configuration as good as the USRP one
./lte-softmodem -O ~/opencells-mods/enb.10MHz.b200 =>
you should add –rf-config-file and one “good” Lime config File
This file configures the RF chip
should i change the hss db
=> we program the SIM before shipping to be used with our hss db example
=> it should work directly, no setting is required
=> you are also free to reprogram the cards with our SW tool, and so, also
change the HSS db
Regards,
Laurent
Yahuza Bello
December 31, 2019 at 11:02 pm
https://open-cells.com/index.php/2019/09/22/all-in-one-openairinterface/ 89/408
13/08/2023, 16:07 All in one OpenAirInterface – 4G and 5G reference software
Hi Laurent
I recently bought open cell SIM cards that are already programmed. On the
receipt, it says that other values (ki and opc) are in the hss dump in the provided
tutorial. I already have a working EPC and eNodeB using wiki oai tutorial, can u
send me the ki and opc values or can I re-programmed the SIM card with the UICC
software ?
Thank you.
laurent
January 1, 2020 at 2:14 pm
Hi,
Both are possible.
The Ki we set is: 0x6874736969202073796D4B2079650A73
The OPc: 0x504F20634F6320504F50206363500A4F
nevertheless, you can load your values with our software tool.
Regards,
Laurent
Yahuza Bello
January 2, 2020 at 7:34 pm
Hi
Thanks for feedback.
Regards,
Yahuza
Sun
January 5, 2020 at 2:19 am
Hi laurent,
https://open-cells.com/index.php/2019/09/22/all-in-one-openairinterface/ 90/408
13/08/2023, 16:07 All in one OpenAirInterface – 4G and 5G reference software
Thanks for this detailed guide. I have bought a GPSDO for USRP 210. Is there any
configuration to set if I want to use clock source set as gpsdo?
laurent
January 5, 2020 at 9:53 am
Hi Sun,
Laurent
Paul
January 6, 2020 at 12:52 pm
Hello,
I wanna use a test sim card with MCC 001 and MNC 01
Why is it not possible to use the test-network 00101?
It would be really nice if some one could tell me how to fix this.
laurent
January 8, 2020 at 6:14 pm
Hi,
Yes you can
The issue I know is the OpenAir EPC was bugged with IMSI starting by 001 (it
was converting internally the IMSI in integer)
Laurent
https://open-cells.com/index.php/2019/09/22/all-in-one-openairinterface/ 91/408
13/08/2023, 16:07 All in one OpenAirInterface – 4G and 5G reference software
Paul
January 13, 2020 at 1:48 pm
Hello again,
I’ve got a problem with the Spgw.
I configure the Spgw.conf but I get the following:
laurent
January 15, 2020 at 9:19 am
https://open-cells.com/index.php/2019/09/22/all-in-one-openairinterface/ 92/408
13/08/2023, 16:07 All in one OpenAirInterface – 4G and 5G reference software
Hi,
As per the trace: the file /usr/local/etc/oai/spgw.conf syntax is not correct.
I think you modified it and missed a syntax piece: “;” at the end of line for
example
Laurent
Paul
January 16, 2020 at 2:24 pm
Hey laurent,
thanks for your tutorial and your tips, now I’m really close to finish this setup.
But still I have some questions left.
I get a really short connection of my UE but it get instant removed.
My MME:
| Current Status| Added since last display| Removed since last display |
Connected eNBs | 1 | 0 | 0 |
Attached UEs | 0 | 0 | 0 |
Connected UEs | 0 | 1 | 1 |
Default Bearers| 0 | 0 | 0 |
S1-U Bearers | 0 | 0 | 0 |
My eNB:
[RRC] S1AP removed entry in hashtable s1ap_id2_s1ap_ids for
eNB_ue_s1ap_id 420141
[RRC] S1AP removed entry in hashtable initial_id2_s1ap_ids for
ue_initial_id 1
[S1AP] Removed UE context eNB_ue_s1ap_id 420141
[SCTP] Successfully sent 21 bytes on stream 1 for assoc_id 15
[RRC] Removing UE 701e instance after UE_CONTEXT_RELEASE_Complete
(ue_release_timer_rrc timeout)
[RRC] [eNB 0] Removing UE RNTI 701e
[RRC] Put UE 701e into freeList
[RRC] clean_eNb_ulsch ulsch[0] UE 701e
[RRC] clean_eNb_dlsch dlsch[2] UE 701e
[MAC] clean eNb uci_vars[0] UE 701e
https://open-cells.com/index.php/2019/09/22/all-in-one-openairinterface/ 93/408
13/08/2023, 16:07 All in one OpenAirInterface – 4G and 5G reference software
… and so on ….
laurent
January 17, 2020 at 12:31 pm
Hi,
Laurent
Damon
January 17, 2020 at 4:35 pm
Hi Laurent,
The mme is easy to end with a segmentation fault:
Assertion ((15 == auth_info_req->imsi_length)|| (14 == auth_info_req-
>imsi_length)) failed!
https://open-cells.com/index.php/2019/09/22/all-in-one-openairinterface/ 94/408
13/08/2023, 16:07 All in one OpenAirInterface – 4G and 5G reference software
In nas_itti_auth_info_req() /home/damon/oai/openair-
cn/src/nas/nas_itti_messaging.c:320
Bad IMSI length 13
Will Intentionaly raise SEGFAULT to be catched by GDB!
Obtained 10 stack frames.
mme(display_backtrace+0x28) [0x555d81710847]
mme(nas_itti_auth_info_req+0x14f) [0x555d8165f200]
mme(+0xada5c) [0x555d81683a5c]
mme(emm_proc_attach_request+0x1268) [0x555d81682d06]
mme(emm_recv_attach_request+0xb6b) [0x555d816562be]
mme(+0x7a650) [0x555d81650650]
mme(emm_as_send+0xff) [0x555d8164f3d8]
mme(emm_sap_send+0xd5) [0x555d8164af32]
mme(nas_proc_establish_ind+0x1b6) [0x555d816426fc]
mme(+0x6bf76) [0x555d81641f76]
./run_mme: line 87: 8134 Segmentation fault $SUDO mme `echo
$exe_arguments` 2>&1
laurent
January 24, 2020 at 9:28 pm
Hi,
I guess you used MCC as 001
The MME has a bug with MCC starting by 0 (it makes a faulty conversion to
integer)
Coud you confirm and try with another MCC?
Laurent
Damon
January 27, 2020 at 5:26 am
https://open-cells.com/index.php/2019/09/22/all-in-one-openairinterface/ 95/408
13/08/2023, 16:07 All in one OpenAirInterface – 4G and 5G reference software
Hi Laurent,
Thanks for your reply.
Yes, the MCC is 001. Changing MCC to 460, the issue is solved.
But when the ue trying to connect to enb, MME end with the output:
001518 00160:830816 7FAE0A472700 TRACE NAS-EM air-
cn/src/nas/emm/sap/emm_sap.c:0143 Leaving emm_sap_send() (rc=0)
001519 00160:830819 7FAE0A472700 TRACE NAS-EM ai/openair-
cn/src/nas/nas_proc.c:0326 Leaving nas_proc_ul_transfer_ind() (rc=0)
001520 00160:831030 7FAE09470700 DEBUG UDP
/src/udp/udp_primitives_server.c:0187 Received 1 events
001521 00160:831034 7FAE09470700 DEBUG UDP
/src/udp/udp_primitives_server.c:0105 Looking for sd 32
001522 00160:831036 7FAE09470700 DEBUG UDP
/src/udp/udp_primitives_server.c:0108 Found matching task desc
001523 00160:831038 7FAE09470700 DEBUG UDP
/src/udp/udp_primitives_server.c:0212 Inserting new descriptor for task 6,
sd 32
001524 00160:831044 7FAE09470700 DEBUG UDP
/src/udp/udp_primitives_server.c:0239 Msg of length 18 received from
127.0.0.30:2123
001525 00160:831054 7FAE08C6F700 TRACE GTPv2- 2-c/nwgtpv2c-
0.11/src/NwGtpv2c.c:1113 Entering nwGtpv2cProcessUdpReq()
001526 00160:831069 7FAE08C6F700 TRACE GTPv2- 2-c/nwgtpv2c-
0.11/src/NwGtpv2c.c:1535 Entering nwGtpv2cStopTimer()
001527 00160:831072 7FAE08C6F700 DEBUG GTPv2- 2-c/nwgtpv2c-
0.11/src/NwGtpv2c.c:1542 Stopping active timer 0x7fadec000ba0 for info
0x0x7fadec003be0!
001528 00160:831074 7FAE08C6F700 DEBUG GTPv2- 2-c/nwgtpv2c-
0.11/src/NwGtpv2c.c:1545 Stopping active timer 0x7fadec000ba0 for info
0x0x7fadec003be0!
001529 00160:831078 7FAE08C6F700 TRACE GTPv2- 2-c/nwgtpv2c-
0.11/src/NwGtpv2c.c:1570 Leaving nwGtpv2cStopTimer() (rc=0)
001530 00160:831080 7FAE08C6F700 DEBUG GTPv2- /nwgtpv2c-
0.11/src/NwGtpv2cMsg.c:0146 Purging message 7fadec001290!
001531 00160:831082 7FAE08C6F700 DEBUG GTPv2- nwgtpv2c-
0.11/src/NwGtpv2cTrxn.c:0328 Purging transaction 0x0x7fadec000f90
001532 00160:831084 7FAE08C6F700 DEBUG GTPv2- /nwgtpv2c-
https://open-cells.com/index.php/2019/09/22/all-in-one-openairinterface/ 96/408
13/08/2023, 16:07 All in one OpenAirInterface – 4G and 5G reference software
laurent
January 27, 2020 at 10:26 am
Hi,
GTPv2c is the protocol to the S-GW
There are not a lot of details, nevertheless a “ie” (information element)
coming from the SGW answer is not accepted, so the mme terminates itself.
https://open-cells.com/index.php/2019/09/22/all-in-one-openairinterface/ 97/408
13/08/2023, 16:07 All in one OpenAirInterface – 4G and 5G reference software
Damon
January 28, 2020 at 4:04 pm
Hi Laurent,
The output information of spgw is as follow:
000148 00102:556616 7F5328FAA700 DEBUG UDP
/src/udp/udp_primitives_server.c:0187 Received 1 events
000149 00102:556636 7F5328FAA700 DEBUG UDP
/src/udp/udp_primitives_server.c:0105 Looking for sd 31
000150 00102:556641 7F5328FAA700 DEBUG UDP
/src/udp/udp_primitives_server.c:0108 Found matching task desc
000151 00102:556645 7F5328FAA700 DEBUG UDP
/src/udp/udp_primitives_server.c:0212 Inserting new descriptor for task
6, sd 31
000152 00102:556661 7F5328FAA700 DEBUG UDP
/src/udp/udp_primitives_server.c:0239 Msg of length 144 received from
127.0.0.20:2123
000153 00102:556685 7F5323FFF700 DEBUG S11 oai/openair-
cn/src/s11/s11_sgw.c:0180 Processing new data indication from UDP
000154 00102:556698 7F5323FFF700 TRACE GTPv2- 2-c/nwgtpv2c-
0.11/src/NwGtpv2c.c:1113 Entering nwGtpv2cProcessUdpReq()
000155 00102:556706 7F5323FFF700 DEBUG GTPv2- nwgtpv2c-
0.11/src/NwGtpv2cTrxn.c:0299 Created outstanding RX transaction
0x0x7f5318000bc0
000156 00102:556713 7F5323FFF700 DEBUG GTPv2- /nwgtpv2c-
0.11/src/NwGtpv2cMsg.c:0134 Created message 0x7f5318000fc0!
000157 00102:556720 7F5323FFF700 DEBUG GTPv2-
.11/src/NwGtpv2cMsgIeParseInfo.c:0665 Received IE 3 with instance 0 of
length 1 in msg-type 32!
000158 00102:556741 7F5323FFF700 DEBUG GTPv2-
.11/src/NwGtpv2cMsgIeParseInfo.c:0665 Received IE 1 with instance 0 of
length 8 in msg-type 32!
000159 00102:556749 7F5323FFF700 DEBUG GTPv2-
https://open-cells.com/index.php/2019/09/22/all-in-one-openairinterface/ 98/408
13/08/2023, 16:07 All in one OpenAirInterface – 4G and 5G reference software
https://open-cells.com/index.php/2019/09/22/all-in-one-openairinterface/ 99/408
13/08/2023, 16:07 All in one OpenAirInterface – 4G and 5G reference software
https://open-cells.com/index.php/2019/09/22/all-in-one-openairinterface/ 100/408
13/08/2023, 16:07 All in one OpenAirInterface – 4G and 5G reference software
https://open-cells.com/index.php/2019/09/22/all-in-one-openairinterface/ 101/408
13/08/2023, 16:07 All in one OpenAirInterface – 4G and 5G reference software
—————————————–+
000206 00102:557054 7F5322FFD700 DEBUG SPGW-A
cn/src/sgw/sgw_context_manager.c:0158 | S11 BEARER CONTEXT
INFORMATION MAPPINGS |
000207 00102:557058 7F5322FFD700 DEBUG SPGW-A
cn/src/sgw/sgw_context_manager.c:0159 +
—————————————–+
000208 00102:557062 7F5322FFD700 DEBUG SPGW-A
cn/src/sgw/sgw_context_manager.c:0123 | KEY 1:
000209 00102:557066 7F5322FFD700 DEBUG SPGW-A
cn/src/sgw/sgw_context_manager.c:0124 |
sgw_eps_bearer_context_information: |
000210 00102:557071 7F5322FFD700 DEBUG SPGW-A
cn/src/sgw/sgw_context_manager.c:0126 |
imsi_unauthenticated_indicator: 1
000211 00102:557077 7F5322FFD700 DEBUG SPGW-A
cn/src/sgw/sgw_context_manager.c:0128 | mme_teid_ S11: 67115264
000212 00102:557083 7F5322FFD700 DEBUG SPGW-A
cn/src/sgw/sgw_context_manager.c:0130 | s_gw_teid_S11_S4: 1
000213 00102:557089 7F5322FFD700 DEBUG SPGW-A
cn/src/sgw/sgw_context_manager.c:0133 | pdn_connection:
000214 00102:557094 7F5322FFD700 DEBUG SPGW-A
cn/src/sgw/sgw_context_manager.c:0134 | apn_in_use: ltebox
000215 00102:557100 7F5322FFD700 DEBUG SPGW-A
cn/src/sgw/sgw_context_manager.c:0135 | default_bearer: 5
000216 00102:557105 7F5322FFD700 DEBUG SPGW-A
cn/src/sgw/sgw_context_manager.c:0136 | eps_bearers:
000217 00102:557111 7F5322FFD700 DEBUG SPGW-A
cn/src/sgw/sgw_context_manager.c:0102 | 5 ebi: 5, enb_teid_for_S1u:
0, s_gw_teid_for_S1u_S12_S4_up: 0 (tbc)
000218 00102:557118 7F5322FFD700 DEBUG SPGW-A
cn/src/sgw/sgw_context_manager.c:0161 +
————————————–+
000219 00102:557127 7F5322FFD700 TRACE SPGW-A penair-
cn/src/sgw/sgw_handlers.c:0351 Entering
sgw_handle_gtpv1uCreateTunnelResp()
000220 00102:557132 7F5322FFD700 DEBUG SPGW-A penair-
https://open-cells.com/index.php/2019/09/22/all-in-one-openairinterface/ 102/408
13/08/2023, 16:07 All in one OpenAirInterface – 4G and 5G reference software
cn/src/sgw/sgw_handlers.c:0354 Rx GTPV1U_CREATE_TUNNEL_RESP,
Context S-GW S11 teid 1, S-GW S1U teid 1 EPS bearer id 5 status 0
000221 00102:557137 7F5322FFD700 DEBUG SPGW-A penair-
cn/src/sgw/sgw_handlers.c:0360 Updated eps_bearer_entry_p
eps_b_id 5 with SGW S1U teid 1
000222 00102:557141 7F5322FFD700 DEBUG SPGW-A
cn/src/sgw/sgw_context_manager.c:0157 +
—————————————–+
000223 00102:557145 7F5322FFD700 DEBUG SPGW-A
cn/src/sgw/sgw_context_manager.c:0158 | S11 BEARER CONTEXT
INFORMATION MAPPINGS |
000224 00102:557149 7F5322FFD700 DEBUG SPGW-A
cn/src/sgw/sgw_context_manager.c:0159 +
—————————————–+
000225 00102:557153 7F5322FFD700 DEBUG SPGW-A
cn/src/sgw/sgw_context_manager.c:0123 | KEY 1:
000226 00102:557157 7F5322FFD700 DEBUG SPGW-A
cn/src/sgw/sgw_context_manager.c:0124 |
sgw_eps_bearer_context_information: |
000227 00102:557162 7F5322FFD700 DEBUG SPGW-A
cn/src/sgw/sgw_context_manager.c:0126 |
imsi_unauthenticated_indicator: 1
000228 00102:557169 7F5322FFD700 DEBUG SPGW-A
cn/src/sgw/sgw_context_manager.c:0128 | mme_teid_ S11: 67115264
000229 00102:557175 7F5322FFD700 DEBUG SPGW-A
cn/src/sgw/sgw_context_manager.c:0130 | s_gw_teid_S11_S4: 1
000230 00102:557181 7F5322FFD700 DEBUG SPGW-A
cn/src/sgw/sgw_context_manager.c:0133 | pdn_connection:
000231 00102:557185 7F5322FFD700 DEBUG SPGW-A
cn/src/sgw/sgw_context_manager.c:0134 | apn_in_use: ltebox
000232 00102:557191 7F5322FFD700 DEBUG SPGW-A
cn/src/sgw/sgw_context_manager.c:0135 | default_bearer: 5
000233 00102:557197 7F5322FFD700 DEBUG SPGW-A
cn/src/sgw/sgw_context_manager.c:0136 | eps_bearers:
000234 00102:557202 7F5322FFD700 DEBUG SPGW-A
cn/src/sgw/sgw_context_manager.c:0102 | 5 ebi: 5, enb_teid_for_S1u:
0, s_gw_teid_for_S1u_S12_S4_up: 1 (tbc)
https://open-cells.com/index.php/2019/09/22/all-in-one-openairinterface/ 103/408
13/08/2023, 16:07 All in one OpenAirInterface – 4G and 5G reference software
https://open-cells.com/index.php/2019/09/22/all-in-one-openairinterface/ 104/408
13/08/2023, 16:07 All in one OpenAirInterface – 4G and 5G reference software
https://open-cells.com/index.php/2019/09/22/all-in-one-openairinterface/ 105/408
13/08/2023, 16:07 All in one OpenAirInterface – 4G and 5G reference software
https://open-cells.com/index.php/2019/09/22/all-in-one-openairinterface/ 106/408
13/08/2023, 16:07 All in one OpenAirInterface – 4G and 5G reference software
https://open-cells.com/index.php/2019/09/22/all-in-one-openairinterface/ 107/408
13/08/2023, 16:07 All in one OpenAirInterface – 4G and 5G reference software
https://open-cells.com/index.php/2019/09/22/all-in-one-openairinterface/ 108/408
13/08/2023, 16:07 All in one OpenAirInterface – 4G and 5G reference software
https://open-cells.com/index.php/2019/09/22/all-in-one-openairinterface/ 109/408
13/08/2023, 16:07 All in one OpenAirInterface – 4G and 5G reference software
https://open-cells.com/index.php/2019/09/22/all-in-one-openairinterface/ 110/408
13/08/2023, 16:07 All in one OpenAirInterface – 4G and 5G reference software
https://open-cells.com/index.php/2019/09/22/all-in-one-openairinterface/ 111/408
13/08/2023, 16:07 All in one OpenAirInterface – 4G and 5G reference software
Best regards,
Damon
laurent
January 29, 2020 at 9:26 am
Hi,
This trace looks good.
I checked my mme trace: i have the same error as you: 003037
01408:258327 7F70ECFCE700 DEBUG GTPv2- /nwgtpv2c-
0.11/src/NwGtpv2cMsg.c:0134 Created message 0x7f70dc001200!
003038 01408:258329 7F70ECFCE700 DEBUG GTPv2-
.11/src/NwGtpv2cMsgIeParseInfo.c:0665 Received IE 2 with instance 0 of
length 2 in msg-type 35!
003039 01408:258331 7F70ECFCE700 TRACE GTPv2- 2-c/nwgtpv2c-
0.11/src/NwGtpv2c.c:0770 Entering
nwGtpv2cSendTriggeredRspIndToUlp()
003040 01408:258333 7F70ECFCE700 DEBUG S11
n.eurecom/src/s11/s11_mme_task.c:0072 Received triggered response
indication
003041 01408:258347 7F70ECFCE700 DEBUG GTPv2- v2c-
0.11/src/NwGtpv2cMsgParser.c:0203 Received IE 2 of length 2!
003042 01408:258350 7F70ECFCE700 DEBUG S11
recom/src/s11/s11_ie_formatter.c:0441 – Cause 16
003043 01408:258354 7F70ECFCE700 DEBUG GTPv2- /nwgtpv2c-
0.11/src/NwGtpv2cMsg.c:0146 Purging message 7f70dc001200!
003044 01408:258358 7F70ECFCE700 TRACE GTPv2- 2-c/nwgtpv2c-
0.11/src/NwGtpv2c.c:0778 Leaving nwGtpv2cSendTriggeredRspIndToUlp()
(rc=0)
003045 01408:258360 7F70ECFCE700 TRACE GTPv2- 2-c/nwgtpv2c-
0.11/src/NwGtpv2c.c:1187 Leaving nwGtpv2cProcessUdpReq() (rc=0)
So it is “normal error” (this EPC has a lot of bugs), but my mme doesn’t
reach the assert after this message.
Reading the code of this assert, the context is related to
“Local tunnel creation failed for teid ‘0x%x’ and peer IP ”
https://open-cells.com/index.php/2019/09/22/all-in-one-openairinterface/ 112/408
13/08/2023, 16:07 All in one OpenAirInterface – 4G and 5G reference software
Jeff
August 24, 2020 at 7:12 pm
Hi Laurent, do you know if this bug was ever resolved? I’m running into it
myself with a Samsung Galaxy S7. I’m also not sure how to check if my UE
is connecting multiple times.
laurent
August 26, 2020 at 12:31 pm
Dear Jeff,
I don’t know
Laurent
Phantom
September 17, 2020 at 7:43 am
Paul
January 23, 2020 at 4:52 pm
https://open-cells.com/index.php/2019/09/22/all-in-one-openairinterface/ 113/408
13/08/2023, 16:07 All in one OpenAirInterface – 4G and 5G reference software
Hi laurent,
I have some authentication problems.
My OPc mismatch after I start the HSS.
Updated OPc 00000000000000000000000000000000 ->
c6a13b378**********
How can I change Rijndael (AES) to Snow 3g (EIA1) algorithm?
regards Paul.
laurent
January 24, 2020 at 9:26 pm
Hi,
The OAI HSS automatically updates the OPc if the OP is set in the file hss.conf.
Set OP as void string: “” , the OPc will not be updated
Laurent
Ryan
January 28, 2020 at 12:48 pm
Any advice?
https://open-cells.com/index.php/2019/09/22/all-in-one-openairinterface/ 114/408
13/08/2023, 16:07 All in one OpenAirInterface – 4G and 5G reference software
laurent
January 29, 2020 at 8:52 am
Hi,
your TLS certificate has something wrong
Please regenerate it (see our tutorial, it explains how to generate these
certificates)
Laurent
Shamil
January 4, 2021 at 6:43 pm
Hi Laurent,
I am too facing same issue. From where can I find the way to regenerate it? In
the certificate generation step above, it contains ‘gitlab.eurecom.fr:443’
which is not accessible. Is it an reason for this issue?
Shamil
laurent
January 4, 2021 at 8:13 pm
Hi Shamil,
We don’t speak about the same.
There are certificates inside the EPC and other certificates to access
OpenAirInterface gitlab server.
I think the gitlab server will be up soon, as the season vacations are finished.
Laurent
Michael Schmoock
January 31, 2020 at 3:12 pm
Hi Laurent,
https://open-cells.com/index.php/2019/09/22/all-in-one-openairinterface/ 115/408
13/08/2023, 16:07 All in one OpenAirInterface – 4G and 5G reference software
Im trying to use my own test SIM cards (MCC 999 MNC 99). I configured the SQL
user table to have the correct IMSI and setup the config files accordingly.
The Android UE seems to establish a connection for a very short moment and is
then disconnected. In the logs I can see the MME identifies the UE and the HSS
tells ‘okay’, but then something goes wrong. I attached the MME logs, any ideas
what went wrong?:
https://open-cells.com/index.php/2019/09/22/all-in-one-openairinterface/ 116/408
13/08/2023, 16:07 All in one OpenAirInterface – 4G and 5G reference software
https://open-cells.com/index.php/2019/09/22/all-in-one-openairinterface/ 117/408
13/08/2023, 16:07 All in one OpenAirInterface – 4G and 5G reference software
nas_message_decode()
DEBUG NAS rc/nas/api/network/nas_message.c:0386 0 (94667501841500 bytes)
07 41 72 08 99 99 99 00 00 00 00 20 05 f0 f0 c0 40 11 00 28 02 01 d0 11 d1 27 20 80
80 21 10 01 00 00 10 81 06 00 00 00 00 83 06 00 00 00 00 00 0d 00 00 0a 00 00 05
00 00 10 00 c0 5c 10 04 31 03 e5 e0 3e 90 11 03 57 58 82 20 09 60 14 00 52 30 68 00
90 d0 40 08 04 02 60 04 00 02 1f 02 5d 01 03 c1
TRACE NAS rc/nas/api/network/nas_message.c:0663 Entering
_nas_message_header_decode()
TRACE NAS rc/nas/api/network/nas_message.c:0717 Leaving
_nas_message_header_decode() (rc=1)
DEBUG NAS rc/nas/api/network/nas_message.c:0392
_nas_message_header_decode returned size 1
TRACE NAS rc/nas/api/network/nas_message.c:0745 Entering
_nas_message_plain_decode()
TRACE NAS-EM air-cn/src/nas/emm/msg/emm_msg.c:0093 Entering
emm_msg_decode()
INFO NAS-EM air-cn/src/nas/emm/msg/emm_msg.c:0112 EMM-MSG –
Message Type 0x41
INFO NAS-EM rc/nas/ies/UeNetworkCapability.c:0050
decode_ue_network_capability len = 5
INFO NAS-EM rc/nas/ies/UeNetworkCapability.c:0069 uenetworkcapability
decoded UMTS
INFO NAS-EM rc/nas/ies/UeNetworkCapability.c:0080 uenetworkcapability
decoded misc flags
INFO NAS-EM rc/nas/ies/UeNetworkCapability.c:0085 uenetworkcapability
decoded=6
INFO NAS-EM rc/nas/ies/UeNetworkCapability.c:0089 uenetworkcapability then
decoded=6
TRACE NAS-ES rc/nas/ies/EsmMessageContainer.c:0042 Entering
decode_esm_message_container()
TRACE NAS-ES rc/nas/ies/EsmMessageContainer.c:0058 Leaving
decode_esm_message_container() (rc=42)
INFO NAS-EM rc/nas/ies/MsNetworkCapability.c:0049
decode_ms_network_capability len = 3
TRACE NAS-EM air-cn/src/nas/emm/msg/emm_msg.c:0245 Leaving
emm_msg_decode() (rc=2)
TRACE NAS rc/nas/api/network/nas_message.c:0765 Leaving
https://open-cells.com/index.php/2019/09/22/all-in-one-openairinterface/ 118/408
13/08/2023, 16:07 All in one OpenAirInterface – 4G and 5G reference software
_nas_message_plain_decode() (rc=2)
TRACE NAS rc/nas/api/network/nas_message.c:0514 Leaving
nas_message_decode() (rc=2)
TRACE NAS-EM ir-cn/src/nas/emm/sap/emm_recv.c:0142 Entering
emm_recv_attach_request()
INFO NAS-EM ir-cn/src/nas/emm/sap/emm_recv.c:0143 EMMAS-SAP –
Received Attach Request message
INFO NAS-EM ir-cn/src/nas/emm/sap/emm_recv.c:0178 EMMAS-SAP – get
attach type EPS_ATTACH_TYPE_COMBINED_EPS_IMSI
INFO NAS-EM ir-cn/src/nas/emm/sap/emm_recv.c:0223 EMMAS-SAP – get
IMSI
TRACE NAS-EM /openair-cn/src/nas/emm/Attach.c:0250 Entering
emm_proc_attach_request()
INFO NAS-EM /openair-cn/src/nas/emm/Attach.c:0265 EMM-PROC – EPS
attach type = IMSI (1) requested (ue_id=0x00000001)
INFO NAS-EM /openair-cn/src/nas/emm/Attach.c:0266 EMM-PROC –
umts_present = 1 gprs_present = 1
INFO NAS-EM ir-cn/src/nas/emm/emm_data_ctx.c:0534 EMM-CTX – get UE id
0x00000001 context (nil)
NOTIC NAS-EM /openair-cn/src/nas/emm/Attach.c:0510 EMM-PROC – Create
EMM context ue_id = 0x00000001
TRACE NAS-EM air-cn/src/nas/emm/sap/emm_fsm.c:0176 Entering
emm_fsm_set_status()
INFO NAS-EM air-cn/src/nas/emm/sap/emm_fsm.c:0182 UE 0x00000001
EMM-FSM – Status changed: INVALID ===> DEREGISTERED
TRACE MME-AP cn/src/mme_app/mme_app_context.c:1014 Entering
mme_ue_context_update_ue_emm_state()
TRACE MME-AP cn/src/mme_app/mme_app_context.c:1033 Leaving
mme_ue_context_update_ue_emm_state()
TRACE NAS-EM air-cn/src/nas/emm/sap/emm_fsm.c:0194 Leaving
emm_fsm_set_status() (rc=0)
DEBUG NAS-EM ir-cn/src/nas/emm/emm_data_ctx.c:0143 ue_id=0x00000001
GUTI cleared
DEBUG NAS-EM ir-cn/src/nas/emm/emm_data_ctx.c:0168 ue_id=0x00000001
old GUTI cleared
DEBUG NAS-EM ir-cn/src/nas/emm/emm_data_ctx.c:0194 ue_id=0x00000001
cleared IMSI
https://open-cells.com/index.php/2019/09/22/all-in-one-openairinterface/ 119/408
13/08/2023, 16:07 All in one OpenAirInterface – 4G and 5G reference software
https://open-cells.com/index.php/2019/09/22/all-in-one-openairinterface/ 120/408
13/08/2023, 16:07 All in one OpenAirInterface – 4G and 5G reference software
_emm_attach_update()
DEBUG NAS-EM ir-cn/src/nas/emm/emm_data_ctx.c:0219 ue_id=0x00000001
set IMSI 999990000000002 (valid)
TRACE NAS air-cn/src/nas/api/mme/mme_api.c:0230 Entering
mme_api_notify_imsi()
TRACE MME-AP cn/src/mme_app/mme_app_context.c:0412 Entering
mme_ue_context_update_coll_keys()
TRACE MME-AP cn/src/mme_app/mme_app_context.c:0415 Update ue
context.old_enb_ue_s1ap_id_key 60129962285 ue
context.old_mme_ue_s1ap_id 0x00000001 ue context.old_IMSI 0 ue
context.old_GUTI 000.000|0000|00|00000000
TRACE MME-AP cn/src/mme_app/mme_app_context.c:0418 Update ue context
0x7fc5d4001b70 updated_enb_ue_s1ap_id_key 60129962285
updated_mme_ue_s1ap_id 0x00000001 updated_IMSI 999990000000002
updated_GUTI 000.000|0000|00|00000000
TRACE MME-AP cn/src/mme_app/mme_app_context.c:0534 Leaving
mme_ue_context_update_coll_keys()
TRACE NAS air-cn/src/nas/api/mme/mme_api.c:0242 Leaving
mme_api_notify_imsi() (rc=0)
DEBUG NAS-EM ir-cn/src/nas/emm/emm_data_ctx.c:0758 EMM-CTX – Add in
context UE id 0x00000001 with IMSI 999990000000002
TRACE NAS-EM /openair-cn/src/nas/emm/Attach.c:1945 Leaving
_emm_attach_update() (rc=0)
TRACE NAS-EM /openair-cn/src/nas/emm/Attach.c:1003 Entering
_emm_attach_identify()
INFO NAS-EM /openair-cn/src/nas/emm/Attach.c:1009 ue_id=0x00000001
EMM-PROC – Identify incoming UE using IMSI
TRACE NAS -cn/src/nas/nas_itti_messaging.c:0307 Entering
nas_itti_auth_info_req()
TRACE NAS -cn/src/nas/nas_itti_messaging.c:0338 Leaving
nas_itti_auth_info_req()
TRACE NAS-EM /openair-cn/src/nas/emm/Attach.c:1139 Leaving
_emm_attach_identify() (rc=0)
TRACE NAS-EM /openair-cn/src/nas/emm/Attach.c:0574 Leaving
emm_proc_attach_request() (rc=0)
TRACE NAS-EM ir-cn/src/nas/emm/sap/emm_recv.c:0316 Leaving
emm_recv_attach_request() (rc=0)
https://open-cells.com/index.php/2019/09/22/all-in-one-openairinterface/ 121/408
13/08/2023, 16:07 All in one OpenAirInterface – 4G and 5G reference software
https://open-cells.com/index.php/2019/09/22/all-in-one-openairinterface/ 122/408
13/08/2023, 16:07 All in one OpenAirInterface – 4G and 5G reference software
https://open-cells.com/index.php/2019/09/22/all-in-one-openairinterface/ 123/408
13/08/2023, 16:07 All in one OpenAirInterface – 4G and 5G reference software
https://open-cells.com/index.php/2019/09/22/all-in-one-openairinterface/ 124/408
13/08/2023, 16:07 All in one OpenAirInterface – 4G and 5G reference software
https://open-cells.com/index.php/2019/09/22/all-in-one-openairinterface/ 125/408
13/08/2023, 16:07 All in one OpenAirInterface – 4G and 5G reference software
_emm_as_set_header()
TRACE NAS-EM nair-cn/src/nas/emm/sap/emm_as.c:0786 Leaving
_emm_as_set_header() (rc=140489842804000)
TRACE NAS-EM ir-cn/src/nas/emm/sap/emm_send.c:0905 Entering
emm_send_authentication_request()
INFO NAS-EM ir-cn/src/nas/emm/sap/emm_send.c:0908 EMMAS-SAP – Send
Authentication Request message
TRACE NAS-EM ir-cn/src/nas/emm/sap/emm_send.c:0935 Leaving
emm_send_authentication_request() (rc=36)
INFO NAS-EM ir-cn/src/nas/emm/emm_data_ctx.c:0534 EMM-CTX – get UE id
0x00000001 context 0x7fc64c000f50
TRACE NAS-EM nair-cn/src/nas/emm/sap/emm_as.c:0815 Entering
_emm_as_encode()
TRACE NAS rc/nas/api/network/nas_message.c:0540 Entering
nas_message_encode()
TRACE NAS rc/nas/api/network/nas_message.c:0852 Entering
_nas_message_header_encode()
TRACE NAS rc/nas/api/network/nas_message.c:0885 Leaving
_nas_message_header_encode() (rc=1)
TRACE NAS rc/nas/api/network/nas_message.c:0913 Entering
_nas_message_plain_encode()
TRACE NAS-EM air-cn/src/nas/emm/msg/emm_msg.c:0271 Entering
emm_msg_encode()
TRACE NAS-EM air-cn/src/nas/emm/msg/emm_msg.c:0420 Leaving
emm_msg_encode() (rc=36)
TRACE NAS rc/nas/api/network/nas_message.c:0933 Leaving
_nas_message_plain_encode() (rc=36)
TRACE NAS rc/nas/api/network/nas_message.c:0623 Leaving
nas_message_encode() (rc=36)
TRACE NAS-EM nair-cn/src/nas/emm/sap/emm_as.c:0851 Leaving
_emm_as_encode() (rc=36)
TRACE NAS-EM nair-cn/src/nas/emm/sap/emm_as.c:1353 Leaving
_emm_as_security_req() (rc=263)
DEBUG NAS-EM nair-cn/src/nas/emm/sap/emm_as.c:0968 EMMAS-SAP –
Sending msg with id 0x107, primitive EMMAS_SECURITY_REQ (201) to S1AP
layer for transmission
TRACE NAS-EM nair-cn/src/nas/emm/sap/emm_as.c:0973 Leaving
https://open-cells.com/index.php/2019/09/22/all-in-one-openairinterface/ 126/408
13/08/2023, 16:07 All in one OpenAirInterface – 4G and 5G reference software
_emm_as_send() (rc=0)
TRACE NAS-EM nair-cn/src/nas/emm/sap/emm_as.c:0243 Leaving
emm_as_send() (rc=0)
TRACE NAS-EM air-cn/src/nas/emm/sap/emm_sap.c:0143 Leaving
emm_sap_send() (rc=0)
TRACE MME-AP /src/mme_app/mme_app_transport.c:0057 Entering
mme_app_handle_nas_dl_req()
INFO NAS-EM -cn/src/nas/emm/Authentication.c:0605 EMM-PROC – Timer
T3460 (0) expires in 6 seconds
TRACE NAS-EM -cn/src/nas/emm/Authentication.c:0609 Leaving
_authentication_request() (rc=0)
TRACE NAS-EM air-cn/src/nas/emm/sap/emm_sap.c:0110 Entering
emm_sap_send()
DEBUG MME-AP /src/mme_app/mme_app_transport.c:0087
MME_APP:DOWNLINK NAS TRANSPORT. Establishing S1 sig connection.
mme_ue_s1ap_id = 1,enb_ue_s1ap_id = 420141
TRACE NAS-EM air-cn/src/nas/emm/sap/emm_reg.c:0106 Entering
emm_reg_send()
TRACE MME-AP cn/src/mme_app/mme_app_context.c:0734 Entering
mme_ue_context_update_ue_sig_connection_state()
TRACE S1AP c/s1ap/s1ap_mme_nas_procedures.c:0344 Entering
s1ap_generate_downlink_nas_transport()
TRACE NAS-EM air-cn/src/nas/emm/sap/emm_fsm.c:0256 Entering
emm_fsm_process()
DEBUG MME-AP cn/src/mme_app/mme_app_context.c:0768 MME_APP: UE
Connection State changed to CONNECTED.enb_ue_s1ap_id = 420141,
mme_ue_s1ap_id = 1
TRACE MME-AP /src/mme_app/mme_app_transport.c:0098 Leaving
mme_app_handle_nas_dl_req() (rc=0)
INFO NAS-EM air-cn/src/nas/emm/sap/emm_fsm.c:0263 EMM-FSM – Received
event COMMON_PROC_REQ (1) in state DEREGISTERED
TRACE NAS-EM rc/nas/emm/sap/EmmDeregistered.c:0094 Entering
EmmDeregistered()
TRACE NAS-EM air-cn/src/nas/emm/sap/emm_fsm.c:0176 Entering
emm_fsm_set_status()
INFO NAS-EM air-cn/src/nas/emm/sap/emm_fsm.c:0182 UE 0x00000001
EMM-FSM – Status changed: DEREGISTERED ===> COMMON-PROCEDURE-
https://open-cells.com/index.php/2019/09/22/all-in-one-openairinterface/ 127/408
13/08/2023, 16:07 All in one OpenAirInterface – 4G and 5G reference software
INITIATED
NOTIC S1AP c/s1ap/s1ap_mme_nas_procedures.c:0399 Send S1AP
DOWNLINK_NAS_TRANSPORT message ue_id = 0x00000001
MME_UE_S1AP_ID = 0x00000001 eNB_UE_S1AP_ID = 0x06692D
TRACE MME-AP cn/src/mme_app/mme_app_context.c:1014 Entering
mme_ue_context_update_ue_emm_state()
TRACE MME-AP cn/src/mme_app/mme_app_context.c:1033 Leaving
mme_ue_context_update_ue_emm_state()
TRACE NAS-EM air-cn/src/nas/emm/sap/emm_fsm.c:0194 Leaving
emm_fsm_set_status() (rc=0)
TRACE S1AP c/s1ap/s1ap_mme_nas_procedures.c:0409 Leaving
s1ap_generate_downlink_nas_transport() (rc=0)
TRACE NAS-EM rc/nas/emm/sap/EmmDeregistered.c:0155 Leaving
EmmDeregistered() (rc=0)
DEBUG SCTP rc/sctp/sctp_primitives_server.c:0277 [39][10] Sending buffer
0x7fc63c004710 of 62 bytes on stream 1 with ppid 18
TRACE NAS-EM air-cn/src/nas/emm/sap/emm_fsm.c:0271 Leaving
emm_fsm_process() (rc=0)
TRACE NAS-EM air-cn/src/nas/emm/sap/emm_reg.c:0119 Leaving
emm_reg_send() (rc=0)
TRACE NAS-EM air-cn/src/nas/emm/sap/emm_sap.c:0143 Leaving
emm_sap_send() (rc=0)
TRACE NAS-EM -cn/src/nas/emm/Authentication.c:0241 Leaving
emm_proc_authentication() (rc=0)
TRACE NAS-EM nair-cn/src/nas/emm/sap/emm_cn.c:0160 Leaving
_emm_cn_authentication_res() (rc=0)
TRACE NAS-EM nair-cn/src/nas/emm/sap/emm_cn.c:0494 Leaving
emm_cn_send() (rc=0)
DEBUG SCTP rc/sctp/sctp_primitives_server.c:0288 Successfully sent 62 bytes
on stream 1
TRACE NAS-EM air-cn/src/nas/emm/sap/emm_sap.c:0143 Leaving
emm_sap_send() (rc=0)
TRACE NAS-EM ot/openair-cn/src/nas/nas_proc.c:0402 Leaving
nas_proc_auth_param_res() (rc=0)
TRACE NAS-EM ot/openair-cn/src/nas/nas_proc.c:0376 Leaving
nas_proc_authentication_info_answer() (rc=0)
DEBUG SCTP rc/sctp/sctp_primitives_server.c:0476 [10][39] Msg of length 51
https://open-cells.com/index.php/2019/09/22/all-in-one-openairinterface/ 128/408
13/08/2023, 16:07 All in one OpenAirInterface – 4G and 5G reference software
https://open-cells.com/index.php/2019/09/22/all-in-one-openairinterface/ 129/408
13/08/2023, 16:07 All in one OpenAirInterface – 4G and 5G reference software
https://open-cells.com/index.php/2019/09/22/all-in-one-openairinterface/ 130/408
13/08/2023, 16:07 All in one OpenAirInterface – 4G and 5G reference software
emm_recv_authentication_failure()
INFO NAS-EM ir-cn/src/nas/emm/sap/emm_recv.c:0786 EMMAS-SAP –
Received Authentication Failure message
TRACE NAS-EM enair-cn/src/nas/emm/EmmCommon.c:0432 Entering
emm_proc_common_get_args()
TRACE NAS-EM enair-cn/src/nas/emm/EmmCommon.c:0435 Leaving
emm_proc_common_get_args() (rc=140489655335136)
TRACE NAS-EM -cn/src/nas/emm/Authentication.c:0254 Entering
emm_proc_authentication_failure()
INFO NAS-EM -cn/src/nas/emm/Authentication.c:0255 EMM-PROC –
Authentication failure (ue_id=0x00000001, cause=20)
INFO NAS-EM ir-cn/src/nas/emm/emm_data_ctx.c:0534 EMM-CTX – get UE id
0x00000001 context 0x7fc64c000f50
INFO NAS-EM -cn/src/nas/emm/Authentication.c:0272 EMM-PROC – Stop
timer T3460 (-1) UE 0x00000001
TRACE NAS-EM -cn/src/nas/emm/Authentication.c:0628 Entering
_authentication_reject()
INFO NAS-EM ir-cn/src/nas/emm/emm_data_ctx.c:0534 EMM-CTX – get UE id
0x00000001 context 0x7fc64c000f50
TRACE NAS-EM nair-cn/src/nas/emm/LowerLayer.c:0352 Entering
emm_as_set_security_data()
DEBUG NAS-EM nair-cn/src/nas/emm/LowerLayer.c:0398 NO Valid Security
Context Available
TRACE NAS-EM nair-cn/src/nas/emm/LowerLayer.c:0405 Leaving
emm_as_set_security_data()
TRACE NAS-EM air-cn/src/nas/emm/sap/emm_sap.c:0110 Entering
emm_sap_send()
TRACE NAS-EM nair-cn/src/nas/emm/sap/emm_as.c:0175 Entering
emm_as_send()
INFO NAS-EM nair-cn/src/nas/emm/sap/emm_as.c:0181 EMMAS-SAP –
Received primitive EMMAS_SECURITY_REJ (204)
TRACE NAS-EM nair-cn/src/nas/emm/sap/emm_as.c:0923 Entering
_emm_as_send()
TRACE NAS-EM nair-cn/src/nas/emm/sap/emm_as.c:1378 Entering
_emm_as_security_rej()
INFO NAS-EM nair-cn/src/nas/emm/sap/emm_as.c:1381 EMMAS-SAP – Send
AS security reject
https://open-cells.com/index.php/2019/09/22/all-in-one-openairinterface/ 131/408
13/08/2023, 16:07 All in one OpenAirInterface – 4G and 5G reference software
https://open-cells.com/index.php/2019/09/22/all-in-one-openairinterface/ 132/408
13/08/2023, 16:07 All in one OpenAirInterface – 4G and 5G reference software
https://open-cells.com/index.php/2019/09/22/all-in-one-openairinterface/ 133/408
13/08/2023, 16:07 All in one OpenAirInterface – 4G and 5G reference software
https://open-cells.com/index.php/2019/09/22/all-in-one-openairinterface/ 134/408
13/08/2023, 16:07 All in one OpenAirInterface – 4G and 5G reference software
https://open-cells.com/index.php/2019/09/22/all-in-one-openairinterface/ 135/408
13/08/2023, 16:07 All in one OpenAirInterface – 4G and 5G reference software
https://open-cells.com/index.php/2019/09/22/all-in-one-openairinterface/ 136/408
13/08/2023, 16:07 All in one OpenAirInterface – 4G and 5G reference software
mme_remove_ue_context()
TRACE MME-AP cn/src/mme_app/mme_app_context.c:1003 Leaving
mme_app_handle_s1ap_ue_context_release_complete()
DEBUG MME-AP src/mme_app/mme_app_statistics.c:0033
======================================= STATISTICS
============================================
laurent
February 1, 2020 at 11:21 am
Hi,
Debugging each case like this is too much time consuming.
This is why we provide a tested package: tutorial + SIM + HSS database + sim
reader
Regards,
Laurent
Michael Schmoock
February 1, 2020 at 4:22 pm
Thanks,
https://open-cells.com/index.php/2019/09/22/all-in-one-openairinterface/ 137/408
13/08/2023, 16:07 All in one OpenAirInterface – 4G and 5G reference software
I was just hoping you can tell me what to set besides MCC MNC value in the
config. Especially the tutorial doesn’t elaborate on OPc an Ki values a lot. How
must/do I set those?
regards,
Michael
laurent
February 3, 2020 at 12:02 pm
Hi,
for a given IMSI: you need to set the same Ki and OPc in the SIM and in the
HSS.
OPc may be computed automatically from the OP by the HSS, but it is over
complexity for our usage.
So, the simplest is to: disable OP (set it blank in hss.conf for OAI, in the HSS
data file for srsLTE), set same triplet: IMSI,Ki and OPc in both HSS and SIM
card.
How you set it depends on the SIM card provider.
The last key that need to be managed is the SQN (sequence number): the
HSS and the SIM will update it internally after each successful
authentication.
Regards,
Laurent
clemence
February 5, 2020 at 3:07 pm
hi
Im trying to build limesdr in ubuntu 18.04. Ive successfully run the following
laurent
February 6, 2020 at 3:16 pm
Hi,
There is a bug in recent OAI develop branch.
See the answers provided in other comments.
I pushed a branch called: fix-limeSDR-compile
You can take it now, it will be merged soon in develop branch
Laurent
Laurent
Wael
February 10, 2020 at 4:50 pm
Hi Laurent,
Was the “fix-limeSDR-compile” pushed to the Eurecom gitlab?
I am not able to pull it.
laurent
February 11, 2020 at 10:55 am
https://open-cells.com/index.php/2019/09/22/all-in-one-openairinterface/ 139/408
13/08/2023, 16:07 All in one OpenAirInterface – 4G and 5G reference software
Hi Wael,
It is even merged in develop branch now.
We did some more tests: the ports are defined in the Lime .ini file you use, as
the OAI calls to the API is very minimal (it sets the frequency, the gain, the
sampling rate).
Laurent
Danish
February 10, 2020 at 2:41 pm
Hi Laurent,
Thank you for the excellent guide. I’m getting the following error when running
eNB (signal 11).
got sync (ru_thread)
[LIBCONFIG] MMEs.[0]: 1/1 parameters successfully set, (1 to default value)
Error: signal 11:
[TMR] Created Posix thread TASK_MME_APP
[MCE_APP] Creating MCE_APP eNB Task
[TMR] Created Posix thread TASK_MCE_APP
[LIBCONFIG] MCEs.[0]: 1/1 parameters successfully set, (1 to default value)
[LIBCONFIG] MCEs.[0]: 1/1 parameters successfully set, (1 to default value)
[ENB_APP] TYPE TO TERMINATE
./lte-softmodem(signal_handler+0xb8)[0x5627377e98e8]
/lib/x86_64-linux-gnu/libc.so.6(+0x3ef20)[0x7f1ce97adf20]
/home/oai/openairinterface5g/cmake_targets/ran_build/build/liboai_device.so
(+0x15695)[0x7f1ce05d8695]
./lte-softmodem(+0x5355ea)[0x5627377d65ea]
/lib/x86_64-linux-gnu/libpthread.so.0(+0x76db)[0x7f1ceb6116db]
/lib/x86_64-linux-gnu/libc.so.6(clone+0x3f)[0x7f1ce989088f]
laurent
February 11, 2020 at 11:01 am
Hi,
Signal 11 is SEGV, so the process try to access a wrong memory address.
https://open-cells.com/index.php/2019/09/22/all-in-one-openairinterface/ 140/408
13/08/2023, 16:07 All in one OpenAirInterface – 4G and 5G reference software
run it in gdb
when it crashes, make “where” command to know the call stack.
There might also be useful information in the log before the line “Error: signal
11”
Laurent
Laurent
P.
February 10, 2020 at 3:14 pm
Hey Laurent,
I’m at the point where UE is connected but i can’t reach the internet.
My eNB Terminal:
https://open-cells.com/index.php/2019/09/22/all-in-one-openairinterface/ 142/408
13/08/2023, 16:07 All in one OpenAirInterface – 4G and 5G reference software
https://open-cells.com/index.php/2019/09/22/all-in-one-openairinterface/ 143/408
13/08/2023, 16:07 All in one OpenAirInterface – 4G and 5G reference software
[MAC] [eNB 0][PUSCH 2] CC_id 0 877.8 ULSCH in error in round 0, ul_cqi 176,
UE_id 0, RNTI 8244
[MAC] [eNB 0][PUSCH 0] CC_id 0 878.4 ULSCH in error in round 1, ul_cqi 176,
UE_id 0, RNTI 8244
[MAC] [eNB 0][PUSCH 2] CC_id 0 878.6 ULSCH in error in round 1, ul_cqi 176,
UE_id 0, RNTI 8244
[MAC] [eNB 0][PUSCH 0] CC_id 0 879.2 ULSCH in error in round 2, ul_cqi 176,
UE_id 0, RNTI 8244
[MAC] [eNB 0][PUSCH 2] CC_id 0 879.4 ULSCH in error in round 2, ul_cqi 176,
UE_id 0, RNTI 8244
[MAC] [eNB 0][PUSCH 0] CC_id 0 880.0 ULSCH in error in round 3, ul_cqi 176,
UE_id 0, RNTI 8244
[MAC] [eNB 0][PUSCH 2] CC_id 0 880.2 ULSCH in error in round 3, ul_cqi 176,
UE_id 0, RNTI 8244
[MAC] [eNB 0][PUSCH 2] CC_id 0 881.0 ULSCH in error in round 0, ul_cqi 176,
UE_id 0, RNTI 8244
[MAC] [eNB 0][PUSCH 5] CC_id 0 884.5 ULSCH in error in round 0, ul_cqi 176,
UE_id 0, RNTI 8244
[MAC] [eNB 0][PUSCH 0] CC_id 0 884.8 ULSCH in error in round 0, ul_cqi 176,
UE_id 0, RNTI 8244
[MAC] [eNB 0][PUSCH 5] CC_id 0 885.3 ULSCH in error in round 1, ul_cqi 176,
UE_id 0, RNTI 8244
[MAC] [eNB 0][PUSCH 0] CC_id 0 885.6 ULSCH in error in round 1, ul_cqi 176,
UE_id 0, RNTI 8244
[MAC] [eNB 0][PUSCH 5] CC_id 0 886.1 ULSCH in error in round 2, ul_cqi 176,
UE_id 0, RNTI 8244
[MAC] [eNB 0][PUSCH 0] CC_id 0 886.4 ULSCH in error in round 2, ul_cqi 176,
UE_id 0, RNTI 8244
[MAC] [eNB 0][PUSCH 5] CC_id 0 886.9 ULSCH in error in round 3, ul_cqi 176,
UE_id 0, RNTI 8244
[MAC] [eNB 0][PUSCH 0] CC_id 0 887.2 ULSCH in error in round 3, ul_cqi 176,
UE_id 0, RNTI 8244
[MAC] [eNB 0][PUSCH 6] CC_id 0 887.8 ULSCH in error in round 0, ul_cqi 176,
UE_id 0, RNTI 8244
laurent
https://open-cells.com/index.php/2019/09/22/all-in-one-openairinterface/ 144/408
13/08/2023, 16:07 All in one OpenAirInterface – 4G and 5G reference software
Hi,
We made some trials: we even don’t succeed to reach this state.
Could you share the .ini file and the .conf file you use.
Also some details like the LimeSDR driver version.
Laurent
Wael
February 12, 2020 at 9:52 pm
Hi Laurent,
Were you able to get the ini and conf files?
After the update my COTS UE is not able to search for the PLMN of my network
anymore.
Wael
laurent
February 13, 2020 at 10:39 am
Hi,
Please follow in the post related to LimeSDR “quality”.
Laurent
tuyo
February 12, 2020 at 10:34 am
Hi,
I am currently setting up this UICC as part of a project involving another SDR LTE
software called srsLTE. However it seems this soft requires a card reader
compatible with PCSC protocol, which doesn’t look to be the case for your card
reader using serial com. Do you know if there’s any support of PCSC with your
https://open-cells.com/index.php/2019/09/22/all-in-one-openairinterface/ 145/408
13/08/2023, 16:07 All in one OpenAirInterface – 4G and 5G reference software
card reader being developed, or would you rather recommend to use it with
OpenAir ?
laurent
February 13, 2020 at 10:33 am
Hi,
You can use our cards with any pcsc reader.
We already have some srsLTE customers.
The single limitation is that if you want to use our SW tool to program the
USIM, you need a serial interface reader (or you can contribute to the open
source tool to support pcsc protocol)
tuyo
February 14, 2020 at 9:06 am
Hi Laurent,
laurent
February 14, 2020 at 10:29 am
https://open-cells.com/index.php/2019/09/22/all-in-one-openairinterface/ 146/408
13/08/2023, 16:07 All in one OpenAirInterface – 4G and 5G reference software
Hello,
Our readers are raw readers, not PCSC (this protocol comes from M$)
Nevertheless, pcscd can make the pcsc protocol with a raw reader
So,
C) in another window
launch pcsc_scan
it should display the sim as: GREEN CARD, Grcard (Hong Kong ) Co.,Limited,
LTE Usim Card (Telecommunication)
We won’t debug this further because we remade from scratch a simple C++
code to replace this complex stack of pcsc tools
Regards,
Laurent
P.
February 13, 2020 at 1:52 pm
Hey Laurent,
I use 2 different Lime SDR the normal v1.4s and the Mini v1.2.
With “LimeUtil –info”
Version information:
Library version: v19.04.1-g2cca1d96
Build timestamp: 2019-12-16
Interface version: v2019.1.0
Binary interface: 19.04-1
MY eNB config ( I made Band 1 by myself so there are maybe some mistakes):
Active_eNBs = ( “eNB-Eurecom-LTEBox”);
# Asn1_verbosity, choice in: none, info, annoying
https://open-cells.com/index.php/2019/09/22/all-in-one-openairinterface/ 147/408
13/08/2023, 16:07 All in one OpenAirInterface – 4G and 5G reference software
Asn1_verbosity = “none”;
eNBs =
(
{
////////// Identification parameters:
eNB_ID = 0xe00;
cell_type = “CELL_MACRO_ENB”;
eNB_name = “eNB-Eurecom-LTEBox”;
tr_s_preference = “local_mac”
component_carriers = (
{
node_function = “3GPP_eNODEB”;
node_timing = “synch_to_ext_device”;
node_synch_ref = 0;
frame_type = “FDD”;
tdd_config = 3;
tdd_config_s = 0;
prefix_type = “NORMAL”;
eutra_band = 1;
downlink_frequency = 2140000000L;
uplink_frequency_offset = -190000000;
Nid_cell = 0;
N_RB_DL = 25;
Nid_cell_mbsfn = 0;
nb_antenna_ports = 1;
https://open-cells.com/index.php/2019/09/22/all-in-one-openairinterface/ 148/408
13/08/2023, 16:07 All in one OpenAirInterface – 4G and 5G reference software
nb_antennas_tx = 1;
nb_antennas_rx = 1;
tx_gain = 90;
rx_gain = 125;
pbch_repetition = “FALSE”;
prach_root = 0;
prach_config_index = 0;
prach_high_speed = “DISABLE”;
prach_zero_correlation = 1;
prach_freq_offset = 2;
pucch_delta_shift = 1;
pucch_nRB_CQI = 0;
pucch_nCS_AN = 0;
pucch_n1_AN = 0;
pdsch_referenceSignalPower = -27;
pdsch_p_b = 0;
pusch_n_SB = 1;
pusch_enable64QAM = “DISABLE”;
pusch_hoppingMode = “interSubFrame”;
pusch_hoppingOffset = 0;
pusch_groupHoppingEnabled = “ENABLE”;
pusch_groupAssignment = 0;
pusch_sequenceHoppingEnabled = “DISABLE”;
pusch_nDMRS1 = 1;
phich_duration = “NORMAL”;
phich_resource = “ONESIXTH”;
srs_enable = “DISABLE”;
/* srs_BandwidthConfig =0;
srs_SubframeConfig =;
srs_ackNackST =;
srs_MaxUpPts =;*/
pusch_p0_Nominal = -96;
pusch_alpha = “AL1”;
pucch_p0_Nominal = -104;
msg3_delta_Preamble = 6;
pucch_deltaF_Format1 = “deltaF2”;
https://open-cells.com/index.php/2019/09/22/all-in-one-openairinterface/ 149/408
13/08/2023, 16:07 All in one OpenAirInterface – 4G and 5G reference software
pucch_deltaF_Format1b = “deltaF3”;
pucch_deltaF_Format2 = “deltaF0”;
pucch_deltaF_Format2a = “deltaF0”;
pucch_deltaF_Format2b = “deltaF0”;
rach_numberOfRA_Preambles = 64;
rach_preamblesGroupAConfig = “DISABLE”;
/*
rach_sizeOfRA_PreamblesGroupA = ;
rach_messageSizeGroupA = ;
rach_messagePowerOffsetGroupB = ;
*/
rach_powerRampingStep = 4;
rach_preambleInitialReceivedTargetPower = -108;
rach_preambleTransMax = 10;
rach_raResponseWindowSize = 10;
rach_macContentionResolutionTimer = 48;
rach_maxHARQ_Msg3Tx = 4;
pcch_default_PagingCycle = 128;
pcch_nB = “oneT”;
bcch_modificationPeriodCoeff = 2;
ue_TimersAndConstants_t300 = 1000;
ue_TimersAndConstants_t301 = 1000;
ue_TimersAndConstants_t310 = 1000;
ue_TimersAndConstants_t311 = 10000;
ue_TimersAndConstants_n310 = 20;
ue_TimersAndConstants_n311 = 1;
ue_TransmissionMode = 1;
https://open-cells.com/index.php/2019/09/22/all-in-one-openairinterface/ 150/408
13/08/2023, 16:07 All in one OpenAirInterface – 4G and 5G reference software
rxPool_ResourceConfig_offsetIndicator_present = “prSmall”;
rxPool_ResourceConfig_offsetIndicator_choice = 0;
rxPool_ResourceConfig_subframeBitmap_present = “prBs40”;
rxPool_ResourceConfig_subframeBitmap_choice_bs_buf =
“00000000000000000000”;
rxPool_ResourceConfig_subframeBitmap_choice_bs_size = 5;
rxPool_ResourceConfig_subframeBitmap_choice_bs_bits_unused = 0;
/* rxPool_dataHoppingConfig_hoppingParameter = 0;
rxPool_dataHoppingConfig_numSubbands = “ns1”;
rxPool_dataHoppingConfig_rbOffset = 0;
rxPool_commTxResourceUC-ReqAllowed = “TRUE”;
*/
// Parameters for SIB19
discRxPool_cp_Len = “normal”
discRxPool_discPeriod = “rf32”
discRxPool_numRetx = 1;
discRxPool_numRepetition = 2;
discRxPool_ResourceConfig_prb_Num = 5;
discRxPool_ResourceConfig_prb_Start = 3;
discRxPool_ResourceConfig_prb_End = 21;
discRxPool_ResourceConfig_offsetIndicator_present = “prSmall”;
discRxPool_ResourceConfig_offsetIndicator_choice = 0;
discRxPool_ResourceConfig_subframeBitmap_present = “prBs40”;
discRxPool_ResourceConfig_subframeBitmap_choice_bs_buf = “f0ffffffff”;
discRxPool_ResourceConfig_subframeBitmap_choice_bs_size = 5;
discRxPool_ResourceConfig_subframeBitmap_choice_bs_bits_unused = 0;
}
);
srb1_parameters :
{
# timer_poll_retransmit = (ms) [5, 10, 15, 20,… 250, 300, 350, … 500]
timer_poll_retransmit = 80;
https://open-cells.com/index.php/2019/09/22/all-in-one-openairinterface/ 151/408
13/08/2023, 16:07 All in one OpenAirInterface – 4G and 5G reference software
# poll_byte = (kB)
[25,50,75,100,125,250,375,500,750,1000,1250,1500,2000,3000,infinity(>10000)]
poll_byte = 99999;
NETWORK_INTERFACES :
{
ENB_INTERFACE_NAME_FOR_S1_MME = “lo”;
ENB_IPV4_ADDRESS_FOR_S1_MME = “127.0.0.10/8”;
ENB_INTERFACE_NAME_FOR_S1U = “lo”;
ENB_IPV4_ADDRESS_FOR_S1U = “127.0.0.10/8”;
ENB_PORT_FOR_S1U = 2152; # Spec 2152
https://open-cells.com/index.php/2019/09/22/all-in-one-openairinterface/ 152/408
13/08/2023, 16:07 All in one OpenAirInterface – 4G and 5G reference software
ENB_IPV4_ADDRESS_FOR_X2C = “127.0.0.1/24”;
ENB_PORT_FOR_X2C = 36422; # Spec 36422
};
}
);
MACRLCs = (
{
num_cc = 1;
tr_s_preference = “local_L1”;
tr_n_preference = “local_RRC”;
phy_test_mode = 0;
puSch10xSnr = 200;
puCch10xSnr = 200;
}
);
L1s = (
{
num_cc = 1;
tr_n_preference = “local_mac”;
}
);
RUs = (
{
local_rf = “yes”
nb_tx = 1
nb_rx = 1
att_tx = 85
att_rx = 60;
bands = [7];
max_pdschReferenceSignalPower = -27;
max_rxgain = 125;
eNB_instances = [0];
https://open-cells.com/index.php/2019/09/22/all-in-one-openairinterface/ 153/408
13/08/2023, 16:07 All in one OpenAirInterface – 4G and 5G reference software
}
);
NETWORK_CONTROLLER :
{
FLEXRAN_ENABLED = “no”;
FLEXRAN_INTERFACE_NAME = “lo”;
FLEXRAN_IPV4_ADDRESS = “127.0.0.1”;
FLEXRAN_PORT = 2210;
FLEXRAN_CACHE = “/mnt/oai_agent_cache”;
FLEXRAN_AWAIT_RECONF = “no”;
};
THREAD_STRUCT = (
{
#three config for level of parallelism “PARALLEL_SINGLE_THREAD”,
“PARALLEL_RU_L1_SPLIT”, or “PARALLEL_RU_L1_TRX_SPLIT”
parallel_config = “PARALLEL_SINGLE_THREAD”;
#parallel_config = “PARALLEL_RU_L1_TRX_SPLIT”;
#two option for worker “WORKER_DISABLE” or “WORKER_ENABLE”
worker_config = “WORKER_ENABLE”;
}
);
log_config :
{
global_log_level =”info”;
global_log_verbosity =”medium”;
hw_log_level =”info”;
hw_log_verbosity =”medium”;
phy_log_level =”info”;
phy_log_verbosity =”medium”;
mac_log_level =”info”;
mac_log_verbosity =”high”;
rlc_log_level =”info”;
rlc_log_verbosity =”medium”;
pdcp_log_level =”info”;
https://open-cells.com/index.php/2019/09/22/all-in-one-openairinterface/ 154/408
13/08/2023, 16:07 All in one OpenAirInterface – 4G and 5G reference software
pdcp_log_verbosity =”medium”;
rrc_log_level =”info”;
rrc_log_verbosity =”medium”;
};
Band_7
Active_eNBs = ( “eNB-Eurecom-LTEBox”);
# Asn1_verbosity, choice in: none, info, annoying
Asn1_verbosity = “none”;
eNBs =
(
{
////////// Identification parameters:
eNB_ID = 0xe00;
cell_type = “CELL_MACRO_ENB”;
eNB_name = “eNB-Eurecom-LTEBox”;
tr_s_preference = “local_mac”
component_carriers = (
{
node_function = “3GPP_eNODEB”;
node_timing = “synch_to_ext_device”;
node_synch_ref = 0;
frame_type = “FDD”;
tdd_config = 3;
tdd_config_s = 0;
prefix_type = “NORMAL”;
https://open-cells.com/index.php/2019/09/22/all-in-one-openairinterface/ 155/408
13/08/2023, 16:07 All in one OpenAirInterface – 4G and 5G reference software
eutra_band = 7;
downlink_frequency = 2655000000L;
uplink_frequency_offset = -120000000;
Nid_cell = 0;
N_RB_DL = 25;
Nid_cell_mbsfn = 0;
nb_antenna_ports = 1;
nb_antennas_tx = 1;
nb_antennas_rx = 1;
tx_gain = 90;
rx_gain = 125;
pbch_repetition = “FALSE”;
prach_root = 0;
prach_config_index = 0;
prach_high_speed = “DISABLE”;
prach_zero_correlation = 1;
prach_freq_offset = 2;
pucch_delta_shift = 1;
pucch_nRB_CQI = 0;
pucch_nCS_AN = 0;
pucch_n1_AN = 0;
pdsch_referenceSignalPower = -27;
pdsch_p_b = 0;
pusch_n_SB = 1;
pusch_enable64QAM = “DISABLE”;
pusch_hoppingMode = “interSubFrame”;
pusch_hoppingOffset = 0;
pusch_groupHoppingEnabled = “ENABLE”;
pusch_groupAssignment = 0;
pusch_sequenceHoppingEnabled = “DISABLE”;
pusch_nDMRS1 = 1;
phich_duration = “NORMAL”;
phich_resource = “ONESIXTH”;
srs_enable = “DISABLE”;
/* srs_BandwidthConfig =0;
srs_SubframeConfig =;
https://open-cells.com/index.php/2019/09/22/all-in-one-openairinterface/ 156/408
13/08/2023, 16:07 All in one OpenAirInterface – 4G and 5G reference software
srs_ackNackST =;
srs_MaxUpPts =;*/
pusch_p0_Nominal = -96;
pusch_alpha = “AL1”;
pucch_p0_Nominal = -104;
msg3_delta_Preamble = 6;
pucch_deltaF_Format1 = “deltaF2”;
pucch_deltaF_Format1b = “deltaF3”;
pucch_deltaF_Format2 = “deltaF0”;
pucch_deltaF_Format2a = “deltaF0”;
pucch_deltaF_Format2b = “deltaF0”;
rach_numberOfRA_Preambles = 64;
rach_preamblesGroupAConfig = “DISABLE”;
/*
rach_sizeOfRA_PreamblesGroupA = ;
rach_messageSizeGroupA = ;
rach_messagePowerOffsetGroupB = ;
*/
rach_powerRampingStep = 4;
rach_preambleInitialReceivedTargetPower = -108;
rach_preambleTransMax = 10;
rach_raResponseWindowSize = 10;
rach_macContentionResolutionTimer = 48;
rach_maxHARQ_Msg3Tx = 4;
pcch_default_PagingCycle = 128;
pcch_nB = “oneT”;
bcch_modificationPeriodCoeff = 2;
ue_TimersAndConstants_t300 = 1000;
ue_TimersAndConstants_t301 = 1000;
ue_TimersAndConstants_t310 = 1000;
ue_TimersAndConstants_t311 = 10000;
ue_TimersAndConstants_n310 = 20;
ue_TimersAndConstants_n311 = 1;
ue_TransmissionMode = 1;
https://open-cells.com/index.php/2019/09/22/all-in-one-openairinterface/ 157/408
13/08/2023, 16:07 All in one OpenAirInterface – 4G and 5G reference software
}
);
https://open-cells.com/index.php/2019/09/22/all-in-one-openairinterface/ 158/408
13/08/2023, 16:07 All in one OpenAirInterface – 4G and 5G reference software
srb1_parameters :
{
# timer_poll_retransmit = (ms) [5, 10, 15, 20,… 250, 300, 350, … 500]
timer_poll_retransmit = 80;
# poll_byte = (kB)
[25,50,75,100,125,250,375,500,750,1000,1250,1500,2000,3000,infinity(>10000)]
poll_byte = 99999;
https://open-cells.com/index.php/2019/09/22/all-in-one-openairinterface/ 159/408
13/08/2023, 16:07 All in one OpenAirInterface – 4G and 5G reference software
NETWORK_INTERFACES :
{
ENB_INTERFACE_NAME_FOR_S1_MME = “lo”;
ENB_IPV4_ADDRESS_FOR_S1_MME = “127.0.0.10/8”;
ENB_INTERFACE_NAME_FOR_S1U = “lo”;
ENB_IPV4_ADDRESS_FOR_S1U = “127.0.0.10/8”;
ENB_PORT_FOR_S1U = 2152; # Spec 2152
# ENB_IPV4_ADDRESS_FOR_X2C = “127.0.0.1/24”;
# ENB_PORT_FOR_X2C = 36422; # Spec 36422
};
}
);
MACRLCs = (
{
num_cc = 1;
tr_s_preference = “local_L1”;
tr_n_preference = “local_RRC”;
phy_test_mode = 0;
puSch10xSnr = 200;
puCch10xSnr = 200;
}
);
L1s = (
{
num_cc = 1;
tr_n_preference = “local_mac”;
}
);
RUs = (
{
local_rf = “yes”
nb_tx = 1
nb_rx = 1
https://open-cells.com/index.php/2019/09/22/all-in-one-openairinterface/ 160/408
13/08/2023, 16:07 All in one OpenAirInterface – 4G and 5G reference software
att_tx = 75
att_rx = 70;
bands = [7];
max_pdschReferenceSignalPower = -27;
max_rxgain = 125;
eNB_instances = [0];
}
);
NETWORK_CONTROLLER :
{
FLEXRAN_ENABLED = “no”;
FLEXRAN_INTERFACE_NAME = “lo”;
FLEXRAN_IPV4_ADDRESS = “127.0.0.1”;
FLEXRAN_PORT = 2210;
FLEXRAN_CACHE = “/mnt/oai_agent_cache”;
FLEXRAN_AWAIT_RECONF = “no”;
};
THREAD_STRUCT = (
{
#three config for level of parallelism “PARALLEL_SINGLE_THREAD”,
“PARALLEL_RU_L1_SPLIT”, or “PARALLEL_RU_L1_TRX_SPLIT”
parallel_config = “PARALLEL_SINGLE_THREAD”;
#parallel_config = “PARALLEL_RU_L1_TRX_SPLIT”;
#two option for worker “WORKER_DISABLE” or “WORKER_ENABLE”
worker_config = “WORKER_ENABLE”;
}
);
log_config :
{
global_log_level =”info”;
global_log_verbosity =”medium”;
hw_log_level =”info”;
hw_log_verbosity =”medium”;
https://open-cells.com/index.php/2019/09/22/all-in-one-openairinterface/ 161/408
13/08/2023, 16:07 All in one OpenAirInterface – 4G and 5G reference software
phy_log_level =”info”;
phy_log_verbosity =”medium”;
mac_log_level =”info”;
mac_log_verbosity =”high”;
rlc_log_level =”info”;
rlc_log_verbosity =”medium”;
pdcp_log_level =”info”;
pdcp_log_verbosity =”medium”;
rrc_log_level =”info”;
rrc_log_verbosity =”medium”;
};
My Lime_Mini.ini
[file_info]
type=lms7002m_minimal_config
version=1
[lms7002_registers_a]
0x0020=0xFFD5
0x0021=0x0E9F
0x0022=0x57FF
0x0023=0x5550
0x0024=0xE4E4
0x0025=0x0101
0x0026=0x0101
0x0027=0xE4E4
0x0028=0x0101
0x0029=0x0101
0x002A=0x0086
0x002B=0x0038
0x002C=0x0000
0x002D=0x0641
0x002E=0x0000
0x002F=0x3841
0x0081=0x0001
0x0082=0x800B
0x0084=0x0400
https://open-cells.com/index.php/2019/09/22/all-in-one-openairinterface/ 162/408
13/08/2023, 16:07 All in one OpenAirInterface – 4G and 5G reference software
0x0085=0x0001
0x0086=0x4101
0x0087=0xE353
0x0088=0x0395
0x0089=0x1090
0x008A=0x0514
0x008B=0x213A
0x008C=0x267B
0x0092=0xFFFF
0x0093=0x03FF
0x0094=0x0000
0x0095=0x0000
0x0096=0x0000
0x0097=0x0000
0x0098=0x0000
0x0099=0x6565
0x009A=0x658C
0x009B=0x6565
0x009C=0x658C
0x009D=0x6565
0x009E=0x658C
0x009F=0x658C
0x00A0=0x6565
0x00A1=0x656A
0x00A2=0x6565
0x00A3=0x6565
0x00A4=0x6565
0x00A5=0x6565
0x00A6=0x0001
0x00A7=0x6565
0x00A8=0x0000
0x00A9=0x8000
0x00AA=0x0000
0x00AB=0x0040
0x00AC=0x2000
0x00AD=0x03FB
0x00AE=0x0000
https://open-cells.com/index.php/2019/09/22/all-in-one-openairinterface/ 163/408
13/08/2023, 16:07 All in one OpenAirInterface – 4G and 5G reference software
0x0100=0x3409
0x0101=0x7800
0x0102=0x3180
0x0103=0x0A12
0x0104=0x0088
0x0105=0x0011
0x0106=0x318C
0x0107=0x318C
0x0108=0x194A
0x0109=0x6134
0x010A=0x174C
0x010B=0x0001
0x010C=0x8865
0x010D=0x009E
0x010E=0x0000
0x010F=0x3142
0x0110=0x2B14
0x0111=0x0000
0x0112=0x31F1
0x0113=0x03C2
0x0114=0x0190
0x0115=0x0009
0x0116=0x8180
0x0117=0x18C2
0x0118=0x018C
0x0119=0x5292
0x011A=0x3001
0x011C=0x8941
0x011D=0x0000
0x011E=0x07AC
0x011F=0x3600
0x0120=0xE6B4
0x0121=0x3730
0x0122=0x0514
0x0123=0x200F
0x0124=0x0010
0x0125=0x9400
https://open-cells.com/index.php/2019/09/22/all-in-one-openairinterface/ 164/408
13/08/2023, 16:07 All in one OpenAirInterface – 4G and 5G reference software
0x0126=0x12FF
0x0200=0x0081
0x0201=0x07FF
0x0202=0x07FF
0x0203=0x7000
0x0204=0x0000
0x0205=0x0000
0x0206=0x0000
0x0207=0x0000
0x0208=0x0170
0x0209=0x0000
0x020A=0x0080
0x020B=0x4000
0x020C=0x7FFF
0x0240=0x0020
0x0241=0x0000
0x0242=0x10AA
0x0243=0xAAAF
0x0244=0x0000
0x0245=0x0000
0x0246=0x0000
0x0247=0x0000
0x0248=0x0000
0x0249=0x0000
0x024A=0x0000
0x024B=0x0000
0x024C=0x0000
0x024D=0x0000
0x024E=0x0000
0x024F=0x0000
0x0250=0x0000
0x0251=0x0000
0x0252=0x0000
0x0253=0x0000
0x0254=0x0000
0x0255=0x0000
0x0256=0x0000
https://open-cells.com/index.php/2019/09/22/all-in-one-openairinterface/ 165/408
13/08/2023, 16:07 All in one OpenAirInterface – 4G and 5G reference software
0x0257=0x0000
0x0258=0x0000
0x0259=0x0000
0x025A=0x0000
0x025B=0x0000
0x025C=0x0000
0x025D=0x0000
0x025E=0x0000
0x025F=0x0000
0x0260=0x0000
0x0261=0x0000
0x0280=0x70CA
0x0281=0x1DA9
0x0282=0x4027
0x0283=0x0A2E
0x0284=0x5B41
0x0285=0x7A34
0x0286=0x72A4
0x0287=0xEA81
0x0288=0x0B4C
0x0289=0x72C5
0x028A=0x8203
0x028B=0x7378
0x028C=0xB2C4
0x028D=0x942A
0x028E=0xA980
0x028F=0x401A
0x0290=0x8134
0x0291=0x980C
0x0292=0x8DD6
0x0293=0x5816
0x0294=0x8388
0x0295=0x13DE
0x0296=0x2D70
0x0297=0xB885
0x0298=0x7F0F
0x0299=0xB008
https://open-cells.com/index.php/2019/09/22/all-in-one-openairinterface/ 166/408
13/08/2023, 16:07 All in one OpenAirInterface – 4G and 5G reference software
0x029A=0x4C3E
0x029B=0x8EB1
0x029C=0x69BF
0x029D=0x23DA
0x029E=0x1F49
0x029F=0x8000
0x02A0=0x9741
0x02A1=0x4634
0x02A2=0x00E6
0x02A3=0x4108
0x02A4=0x1225
0x02A5=0xEF4D
0x02A6=0x8E18
0x02A7=0xE112
0x02C0=0xB67E
0x02C1=0x148F
0x02C2=0x2A97
0x02C3=0xF457
0x02C4=0xC58A
0x02C5=0x8C82
0x02C6=0x0E2B
0x02C7=0xA840
0x02C8=0xAEED
0x02C9=0x2CC4
0x02CA=0xC1E9
0x02CB=0x58C1
0x02CC=0xC901
0x02CD=0x7502
0x02CE=0x4814
0x02CF=0x0E36
0x02D0=0x8A40
0x02D1=0xC98C
0x02D2=0x4450
0x02D3=0xC951
0x02D4=0x0317
0x02D5=0x1797
0x02D6=0xA602
https://open-cells.com/index.php/2019/09/22/all-in-one-openairinterface/ 167/408
13/08/2023, 16:07 All in one OpenAirInterface – 4G and 5G reference software
0x02D7=0xEF5E
0x02D8=0x08AF
0x02D9=0x9009
0x02DA=0x9745
0x02DB=0x4721
0x02DC=0x49F7
0x02DD=0x52F6
0x02DE=0x460A
0x02DF=0x5C39
0x02E0=0xE25D
0x02E1=0x2024
0x02E2=0x062B
0x02E3=0xA002
0x02E4=0xD24F
0x02E5=0x1A32
0x02E6=0x4129
0x02E7=0x3000
0x0300=0x36AC
0x0301=0x894B
0x0302=0x8F16
0x0303=0x2847
0x0304=0x4820
0x0305=0x7F06
0x0306=0x7B10
0x0307=0x839D
0x0308=0x9546
0x0309=0x96AD
0x030A=0xAC62
0x030B=0xD90B
0x030C=0x5205
0x030D=0x8955
0x030E=0x022D
0x030F=0x90AA
0x0310=0x2603
0x0311=0x1272
0x0312=0x1296
0x0313=0x0508
https://open-cells.com/index.php/2019/09/22/all-in-one-openairinterface/ 168/408
13/08/2023, 16:07 All in one OpenAirInterface – 4G and 5G reference software
0x0314=0x29C2
0x0315=0x97F5
0x0316=0x50D8
0x0317=0xF88C
0x0318=0x3A5F
0x0319=0x616B
0x031A=0x0402
0x031B=0x36AA
0x031C=0x8508
0x031D=0xBBD0
0x031E=0xC96F
0x031F=0x06ED
0x0320=0x804F
0x0321=0x2211
0x0322=0x8ACA
0x0323=0x0100
0x0324=0x7DA4
0x0325=0x8836
0x0326=0x1798
0x0327=0x4A00
0x0340=0xF69D
0x0341=0x6E91
0x0342=0x4165
0x0343=0x3261
0x0344=0xCCB0
0x0345=0x3EC8
0x0346=0xD541
0x0347=0xE9B5
0x0348=0xEC89
0x0349=0x555D
0x034A=0x1EC3
0x034B=0x4884
0x034C=0xC360
0x034D=0xE5D3
0x034E=0x7C12
0x034F=0xA4F5
0x0350=0x7941
https://open-cells.com/index.php/2019/09/22/all-in-one-openairinterface/ 169/408
13/08/2023, 16:07 All in one OpenAirInterface – 4G and 5G reference software
0x0351=0x588A
0x0352=0x6463
0x0353=0x8356
0x0354=0x89B4
0x0355=0xBF75
0x0356=0x2EF4
0x0357=0xEB86
0x0358=0x6066
0x0359=0x2630
0x035A=0x28A0
0x035B=0x1527
0x035C=0x71EA
0x035D=0x428C
0x035E=0x30A0
0x035F=0xC81E
0x0360=0x5224
0x0361=0x01B3
0x0362=0x5472
0x0363=0x0D2B
0x0364=0x21DC
0x0365=0x1491
0x0366=0x10E1
0x0367=0x0200
0x0380=0x014C
0x0381=0x804E
0x0382=0x06B1
0x0383=0x70B1
0x0384=0x2FA0
0x0385=0x7490
0x0386=0x2869
0x0387=0x6217
0x0388=0xE24C
0x0389=0xE782
0x038A=0x1613
0x038B=0x58B7
0x038C=0x204A
0x038D=0x403E
https://open-cells.com/index.php/2019/09/22/all-in-one-openairinterface/ 170/408
13/08/2023, 16:07 All in one OpenAirInterface – 4G and 5G reference software
0x038E=0x13E9
0x038F=0x4204
0x0390=0xEC42
0x0391=0x400D
0x0392=0x0B02
0x0393=0xB5EE
0x0394=0xF0D3
0x0395=0xF627
0x0396=0x5C25
0x0397=0xC804
0x0398=0xB2C2
0x0399=0x081C
0x039A=0x48F9
0x039B=0x0A18
0x039C=0x2D45
0x039D=0x9315
0x039E=0x07D0
0x039F=0xA621
0x03A0=0x6609
0x03A1=0x0007
0x03A2=0xF692
0x03A3=0x4002
0x03A4=0x935A
0x03A5=0x233F
0x03A6=0x487C
0x03A7=0x4200
0x0400=0x8081
0x0401=0x07FF
0x0402=0x07FF
0x0403=0x7000
0x0404=0x0006
0x0405=0x0000
0x0406=0x0000
0x0407=0x0000
0x0408=0x0000
0x0409=0x0000
0x040A=0x0000
https://open-cells.com/index.php/2019/09/22/all-in-one-openairinterface/ 171/408
13/08/2023, 16:07 All in one OpenAirInterface – 4G and 5G reference software
0x040B=0xAAAA
0x040C=0x00F8
0x040D=0x0000
0x040E=0x0000
0x040F=0x0000
0x0440=0x0020
0x0441=0x0000
0x0442=0x0000
0x0443=0x0000
0x0444=0x0000
0x0445=0x0000
0x0446=0x0000
0x0447=0x0000
0x0448=0x0000
0x0449=0x0000
0x044A=0x0000
0x044B=0x0000
0x044C=0x0000
0x044D=0x0000
0x044E=0x0000
0x044F=0x0000
0x0450=0x0000
0x0451=0x0000
0x0452=0x0000
0x0453=0x0000
0x0454=0x0000
0x0455=0x0000
0x0456=0x0000
0x0457=0x0000
0x0458=0x0000
0x0459=0x0000
0x045A=0x0000
0x045B=0x0000
0x045C=0x0000
0x045D=0x0000
0x045E=0x0000
0x045F=0x0000
https://open-cells.com/index.php/2019/09/22/all-in-one-openairinterface/ 172/408
13/08/2023, 16:07 All in one OpenAirInterface – 4G and 5G reference software
0x0460=0x0000
0x0461=0x0000
0x0480=0x713D
0x0481=0xBA7C
0x0482=0x58E0
0x0483=0x07C1
0x0484=0xE45E
0x0485=0xB7AA
0x0486=0x1516
0x0487=0x7552
0x0488=0xD863
0x0489=0x5EF4
0x048A=0xAD4D
0x048B=0x030A
0x048C=0x94CE
0x048D=0x723A
0x048E=0x6126
0x048F=0x13B5
0x0490=0x72B0
0x0491=0x9900
0x0492=0x2817
0x0493=0x214D
0x0494=0x408E
0x0495=0x2600
0x0496=0x4B35
0x0497=0x7C78
0x0498=0x6BF8
0x0499=0x74AA
0x049A=0xFA02
0x049B=0xA3A9
0x049C=0xF7ED
0x049D=0x8067
0x049E=0x8EEF
0x049F=0xD302
0x04A0=0x95DF
0x04A1=0x65FC
0x04A2=0x67BB
https://open-cells.com/index.php/2019/09/22/all-in-one-openairinterface/ 173/408
13/08/2023, 16:07 All in one OpenAirInterface – 4G and 5G reference software
0x04A3=0x410C
0x04A4=0x43CF
0x04A5=0xBD3E
0x04A6=0x8F22
0x04A7=0x2298
0x04C0=0xCE56
0x04C1=0xF50B
0x04C2=0x0048
0x04C3=0x8BAF
0x04C4=0x94D4
0x04C5=0x386B
0x04C6=0x38C8
0x04C7=0x7515
0x04C8=0xF4E8
0x04C9=0x4806
0x04CA=0xE5CE
0x04CB=0x306D
0x04CC=0xA788
0x04CD=0x8091
0x04CE=0xF295
0x04CF=0x040A
0x04D0=0x6386
0x04D1=0x4C47
0x04D2=0x4BD0
0x04D3=0xACD4
0x04D4=0x17F0
0x04D5=0xA392
0x04D6=0x16E4
0x04D7=0xC00E
0x04D8=0x932C
0x04D9=0x2466
0x04DA=0x0EB5
0x04DB=0xC262
0x04DC=0xFE2D
0x04DD=0x1C72
0x04DE=0x0CA4
0x04DF=0x0930
https://open-cells.com/index.php/2019/09/22/all-in-one-openairinterface/ 174/408
13/08/2023, 16:07 All in one OpenAirInterface – 4G and 5G reference software
0x04E0=0x5D29
0x04E1=0x887A
0x04E2=0x0901
0x04E3=0xDA3A
0x04E4=0xFA5E
0x04E5=0x7C57
0x04E6=0x5A42
0x04E7=0x687A
0x0500=0x3EED
0x0501=0x95F8
0x0502=0xA538
0x0503=0xE934
0x0504=0x8A4F
0x0505=0x4D0C
0x0506=0xD1FA
0x0507=0xB4D0
0x0508=0xB8E1
0x0509=0x00D6
0x050A=0x837D
0x050B=0x1503
0x050C=0xC2A5
0x050D=0xB58F
0x050E=0x8A1A
0x050F=0x6B48
0x0510=0x6E1D
0x0511=0x4301
0x0512=0xD521
0x0513=0xCF59
0x0514=0x0D16
0x0515=0x0817
0x0516=0xEF3D
0x0517=0x8ABD
0x0518=0x4B0D
0x0519=0xBD43
0x051A=0x29D3
0x051B=0x0229
0x051C=0xE06F
https://open-cells.com/index.php/2019/09/22/all-in-one-openairinterface/ 175/408
13/08/2023, 16:07 All in one OpenAirInterface – 4G and 5G reference software
0x051D=0xCEA3
0x051E=0xB965
0x051F=0x6D64
0x0520=0xDB8C
0x0521=0xF13A
0x0522=0x2417
0x0523=0x223E
0x0524=0x721B
0x0525=0xD253
0x0526=0x04F5
0x0527=0xA9A8
0x0540=0x59E1
0x0541=0xC990
0x0542=0x92AC
0x0543=0x9A14
0x0544=0xD821
0x0545=0xC1F1
0x0546=0x1A0C
0x0547=0xA263
0x0548=0x28C1
0x0549=0xDEBF
0x054A=0x5C04
0x054B=0xC8BD
0x054C=0xF70D
0x054D=0xA48D
0x054E=0xABB4
0x054F=0x2616
0x0550=0x3A94
0x0551=0x58B0
0x0552=0x4BF8
0x0553=0xA56C
0x0554=0xC573
0x0555=0x0822
0x0556=0xA30E
0x0557=0x5FAA
0x0558=0x9192
0x0559=0x2E4C
https://open-cells.com/index.php/2019/09/22/all-in-one-openairinterface/ 176/408
13/08/2023, 16:07 All in one OpenAirInterface – 4G and 5G reference software
0x055A=0x1878
0x055B=0x610F
0x055C=0x8045
0x055D=0xF9A6
0x055E=0x0021
0x055F=0x75F1
0x0560=0x9ABE
0x0561=0xA117
0x0562=0x9766
0x0563=0x62CA
0x0564=0x3C97
0x0565=0x4091
0x0566=0x383A
0x0567=0x5857
0x0580=0xA89F
0x0581=0x0EFB
0x0582=0x3FCD
0x0583=0x315E
0x0584=0x27CE
0x0585=0xFDD5
0x0586=0xFFFF
0x0587=0x3814
0x0588=0xB1C0
0x0589=0x0EB5
0x058A=0x2825
0x058B=0x0482
0x058C=0xB33D
0x058D=0xC14C
0x058E=0x967B
0x058F=0xD445
0x0590=0x714B
0x0591=0xB620
0x0592=0x8286
0x0593=0xD981
0x0594=0x3DD9
0x0595=0x0877
0x0596=0x9A12
https://open-cells.com/index.php/2019/09/22/all-in-one-openairinterface/ 177/408
13/08/2023, 16:07 All in one OpenAirInterface – 4G and 5G reference software
0x0597=0xCDA0
0x0598=0x5AB4
0x0599=0x3EF9
0x059A=0xD662
0x059B=0x8E13
0x059C=0xF37D
0x059D=0xB67D
0x059E=0x3BD0
0x059F=0x3C95
0x05A0=0x5E17
0x05A1=0x2DDC
0x05A2=0xA175
0x05A3=0x5F20
0x05A4=0x4C8E
0x05A5=0xFA36
0x05A6=0xF193
0x05A7=0xA6CD
0x05C0=0x00FF
0x05C1=0x0000
0x05C2=0x0000
0x05C3=0x0000
0x05C4=0x0000
0x05C5=0x0000
0x05C6=0x0000
0x05C7=0x0000
0x05C8=0x0000
0x05C9=0x0000
0x05CA=0x0000
0x05CB=0x1F0F
0x05CC=0x0000
0x0600=0x0F01
0x0601=0x0000
0x0602=0x2000
0x0603=0x0000
0x0604=0x0000
0x0605=0x0000
0x0606=0x0000
https://open-cells.com/index.php/2019/09/22/all-in-one-openairinterface/ 178/408
13/08/2023, 16:07 All in one OpenAirInterface – 4G and 5G reference software
0x0640=0x80A1
0x0641=0x2040
[lms7002_registers_b]
0x0100=0x340E
0x0101=0x7800
0x0102=0x3180
0x0103=0x0A12
0x0104=0x0088
0x0105=0x001E
0x0106=0x318C
0x0107=0x318C
0x0108=0x958C
0x0109=0x61C1
0x010A=0x104C
0x010B=0x0000
0x010C=0x88FE
0x010D=0x009E
0x010E=0x2040
0x010F=0x318C
0x0110=0x0994
0x0111=0x0083
0x0112=0xC0E6
0x0113=0x03C3
0x0114=0x008D
0x0115=0x000E
0x0116=0x8180
0x0117=0x280C
0x0118=0x018C
0x0119=0x18CB
0x011A=0x2E02
0x011C=0x8941
0x011D=0x0000
0x011E=0x080C
0x011F=0x3600
0x0120=0xE6B4
0x0121=0x819A
0x0122=0x0514
https://open-cells.com/index.php/2019/09/22/all-in-one-openairinterface/ 179/408
13/08/2023, 16:07 All in one OpenAirInterface – 4G and 5G reference software
0x0123=0x000F
0x0124=0x001F
0x0125=0x9400
0x0126=0x12FF
0x0200=0x0080
0x0201=0x07FF
0x0202=0x07FF
0x0203=0x0000
0x0204=0x0000
0x0205=0x0000
0x0206=0x0000
0x0207=0x0000
0x0208=0x01FB
0x0209=0x0000
0x020A=0x0080
0x020B=0x4000
0x020C=0x0000
0x0240=0x0020
0x0241=0x0000
0x0242=0x0000
0x0243=0x0000
0x0244=0x0000
0x0245=0x0000
0x0246=0x0000
0x0247=0x0000
0x0248=0x0000
0x0249=0x0000
0x024A=0x0000
0x024B=0x0000
0x024C=0x0000
0x024D=0x0000
0x024E=0x0000
0x024F=0x0000
0x0250=0x0000
0x0251=0x0000
0x0252=0x0000
0x0253=0x0000
https://open-cells.com/index.php/2019/09/22/all-in-one-openairinterface/ 180/408
13/08/2023, 16:07 All in one OpenAirInterface – 4G and 5G reference software
0x0254=0x0000
0x0255=0x0000
0x0256=0x0000
0x0257=0x0000
0x0258=0x0000
0x0259=0x0000
0x025A=0x0000
0x025B=0x0000
0x025C=0x0000
0x025D=0x0000
0x025E=0x0000
0x025F=0x0000
0x0260=0x0000
0x0261=0x0000
0x0280=0x0000
0x0281=0x0000
0x0282=0x0000
0x0283=0x0000
0x0284=0x0000
0x0285=0x0000
0x0286=0x0000
0x0287=0x0000
0x0288=0x0000
0x0289=0x0000
0x028A=0x0000
0x028B=0x0000
0x028C=0x0000
0x028D=0x0000
0x028E=0x0000
0x028F=0x0000
0x0290=0x0000
0x0291=0x0000
0x0292=0x0000
0x0293=0x0000
0x0294=0x0000
0x0295=0x0000
0x0296=0x0000
https://open-cells.com/index.php/2019/09/22/all-in-one-openairinterface/ 181/408
13/08/2023, 16:07 All in one OpenAirInterface – 4G and 5G reference software
0x0297=0x0000
0x0298=0x0000
0x0299=0x0000
0x029A=0x0000
0x029B=0x0000
0x029C=0x0000
0x029D=0x0000
0x029E=0x0000
0x029F=0x0000
0x02A0=0x0000
0x02A1=0x0000
0x02A2=0x0000
0x02A3=0x0000
0x02A4=0x0000
0x02A5=0x0000
0x02A6=0x0000
0x02A7=0x0000
0x02C0=0x0000
0x02C1=0x0000
0x02C2=0x0000
0x02C3=0x0000
0x02C4=0x0000
0x02C5=0x0000
0x02C6=0x0000
0x02C7=0x0000
0x02C8=0x0000
0x02C9=0x0000
0x02CA=0x0000
0x02CB=0x0000
0x02CC=0x0000
0x02CD=0x0000
0x02CE=0x0000
0x02CF=0x0000
0x02D0=0x0000
0x02D1=0x0000
0x02D2=0x0000
0x02D3=0x0000
https://open-cells.com/index.php/2019/09/22/all-in-one-openairinterface/ 182/408
13/08/2023, 16:07 All in one OpenAirInterface – 4G and 5G reference software
0x02D4=0x0000
0x02D5=0x0000
0x02D6=0x0000
0x02D7=0x0000
0x02D8=0x0000
0x02D9=0x0000
0x02DA=0x0000
0x02DB=0x0000
0x02DC=0x0000
0x02DD=0x0000
0x02DE=0x0000
0x02DF=0x0000
0x02E0=0x0000
0x02E1=0x0000
0x02E2=0x0000
0x02E3=0x0000
0x02E4=0x0000
0x02E5=0x0000
0x02E6=0x0000
0x02E7=0x0000
0x0300=0x0000
0x0301=0x0000
0x0302=0x0000
0x0303=0x0000
0x0304=0x0000
0x0305=0x0000
0x0306=0x0000
0x0307=0x0000
0x0308=0x0000
0x0309=0x0000
0x030A=0x0000
0x030B=0x0000
0x030C=0x0000
0x030D=0x0000
0x030E=0x0000
0x030F=0x0000
0x0310=0x0000
https://open-cells.com/index.php/2019/09/22/all-in-one-openairinterface/ 183/408
13/08/2023, 16:07 All in one OpenAirInterface – 4G and 5G reference software
0x0311=0x0000
0x0312=0x0000
0x0313=0x0000
0x0314=0x0000
0x0315=0x0000
0x0316=0x0000
0x0317=0x0000
0x0318=0x0000
0x0319=0x0000
0x031A=0x0000
0x031B=0x0000
0x031C=0x0000
0x031D=0x0000
0x031E=0x0000
0x031F=0x0000
0x0320=0x0000
0x0321=0x0000
0x0322=0x0000
0x0323=0x0000
0x0324=0x0000
0x0325=0x0000
0x0326=0x0000
0x0327=0x0000
0x0340=0x0000
0x0341=0x0000
0x0342=0x0000
0x0343=0x0000
0x0344=0x0000
0x0345=0x0000
0x0346=0x0000
0x0347=0x0000
0x0348=0x0000
0x0349=0x0000
0x034A=0x0000
0x034B=0x0000
0x034C=0x0000
0x034D=0x0000
https://open-cells.com/index.php/2019/09/22/all-in-one-openairinterface/ 184/408
13/08/2023, 16:07 All in one OpenAirInterface – 4G and 5G reference software
0x034E=0x0000
0x034F=0x0000
0x0350=0x0000
0x0351=0x0000
0x0352=0x0000
0x0353=0x0000
0x0354=0x0000
0x0355=0x0000
0x0356=0x0000
0x0357=0x0000
0x0358=0x0000
0x0359=0x0000
0x035A=0x0000
0x035B=0x0000
0x035C=0x0000
0x035D=0x0000
0x035E=0x0000
0x035F=0x0000
0x0360=0x0000
0x0361=0x0000
0x0362=0x0000
0x0363=0x0000
0x0364=0x0000
0x0365=0x0000
0x0366=0x0000
0x0367=0x0000
0x0380=0x0000
0x0381=0x0000
0x0382=0x0000
0x0383=0x0000
0x0384=0x0000
0x0385=0x0000
0x0386=0x0000
0x0387=0x0000
0x0388=0x0000
0x0389=0x0000
0x038A=0x0000
https://open-cells.com/index.php/2019/09/22/all-in-one-openairinterface/ 185/408
13/08/2023, 16:07 All in one OpenAirInterface – 4G and 5G reference software
0x038B=0x0000
0x038C=0x0000
0x038D=0x0000
0x038E=0x0000
0x038F=0x0000
0x0390=0x0000
0x0391=0x0000
0x0392=0x0000
0x0393=0x0000
0x0394=0x0000
0x0395=0x0000
0x0396=0x0000
0x0397=0x0000
0x0398=0x0000
0x0399=0x0000
0x039A=0x0000
0x039B=0x0000
0x039C=0x0000
0x039D=0x0000
0x039E=0x0000
0x039F=0x0000
0x03A0=0x0000
0x03A1=0x0000
0x03A2=0x0000
0x03A3=0x0000
0x03A4=0x0000
0x03A5=0x0000
0x03A6=0x0000
0x03A7=0x0000
0x0400=0x0080
0x0401=0x07FF
0x0402=0x07FF
0x0403=0x0000
0x0404=0x0000
0x0405=0x0000
0x0406=0x0000
0x0407=0x0000
https://open-cells.com/index.php/2019/09/22/all-in-one-openairinterface/ 186/408
13/08/2023, 16:07 All in one OpenAirInterface – 4G and 5G reference software
0x0408=0x0000
0x0409=0x0000
0x040A=0x2000
0x040B=0x2040
0x040C=0x01FF
0x040D=0x0000
0x040E=0x0000
0x040F=0x0000
0x0440=0x0000
0x0441=0x0000
0x0442=0x0000
0x0443=0x0000
0x0444=0x0000
0x0445=0x0000
0x0446=0x0000
0x0447=0x0000
0x0448=0x0000
0x0449=0x0000
0x044A=0x0000
0x044B=0x0000
0x044C=0x0000
0x044D=0x0000
0x044E=0x0000
0x044F=0x0000
0x0450=0x0000
0x0451=0x0000
0x0452=0x0000
0x0453=0x0000
0x0454=0x0000
0x0455=0x0000
0x0456=0x0000
0x0457=0x0000
0x0458=0x0000
0x0459=0x0000
0x045A=0x0000
0x045B=0x0000
0x045C=0x0000
https://open-cells.com/index.php/2019/09/22/all-in-one-openairinterface/ 187/408
13/08/2023, 16:07 All in one OpenAirInterface – 4G and 5G reference software
0x045D=0x0000
0x045E=0x0000
0x045F=0x0000
0x0460=0x0000
0x0461=0x0000
0x0480=0x0000
0x0481=0x0000
0x0482=0x0000
0x0483=0x0000
0x0484=0x0000
0x0485=0x0000
0x0486=0x0000
0x0487=0x0000
0x0488=0x0000
0x0489=0x0000
0x048A=0x0000
0x048B=0x0000
0x048C=0x0000
0x048D=0x0000
0x048E=0x0000
0x048F=0x0000
0x0490=0x0000
0x0491=0x0000
0x0492=0x0000
0x0493=0x0000
0x0494=0x0000
0x0495=0x0000
0x0496=0x0000
0x0497=0x0000
0x0498=0x0000
0x0499=0x0000
0x049A=0x0000
0x049B=0x0000
0x049C=0x0000
0x049D=0x0000
0x049E=0x0000
0x049F=0x0000
https://open-cells.com/index.php/2019/09/22/all-in-one-openairinterface/ 188/408
13/08/2023, 16:07 All in one OpenAirInterface – 4G and 5G reference software
0x04A0=0x0000
0x04A1=0x0000
0x04A2=0x0000
0x04A3=0x0000
0x04A4=0x0000
0x04A5=0x0000
0x04A6=0x0000
0x04A7=0x0000
0x04C0=0x0000
0x04C1=0x0000
0x04C2=0x0000
0x04C3=0x0000
0x04C4=0x0000
0x04C5=0x0000
0x04C6=0x0000
0x04C7=0x0000
0x04C8=0x0000
0x04C9=0x0000
0x04CA=0x0000
0x04CB=0x0000
0x04CC=0x0000
0x04CD=0x0000
0x04CE=0x0000
0x04CF=0x0000
0x04D0=0x0000
0x04D1=0x0000
0x04D2=0x0000
0x04D3=0x0000
0x04D4=0x0000
0x04D5=0x0000
0x04D6=0x0000
0x04D7=0x0000
0x04D8=0x0000
0x04D9=0x0000
0x04DA=0x0000
0x04DB=0x0000
0x04DC=0x0000
https://open-cells.com/index.php/2019/09/22/all-in-one-openairinterface/ 189/408
13/08/2023, 16:07 All in one OpenAirInterface – 4G and 5G reference software
0x04DD=0x0000
0x04DE=0x0000
0x04DF=0x0000
0x04E0=0x0000
0x04E1=0x0000
0x04E2=0x0000
0x04E3=0x0000
0x04E4=0x0000
0x04E5=0x0000
0x04E6=0x0000
0x04E7=0x0000
0x0500=0x0000
0x0501=0x0000
0x0502=0x0000
0x0503=0x0000
0x0504=0x0000
0x0505=0x0000
0x0506=0x0000
0x0507=0x0000
0x0508=0x0000
0x0509=0x0000
0x050A=0x0000
0x050B=0x0000
0x050C=0x0000
0x050D=0x0000
0x050E=0x0000
0x050F=0x0000
0x0510=0x0000
0x0511=0x0000
0x0512=0x0000
0x0513=0x0000
0x0514=0x0000
0x0515=0x0000
0x0516=0x0000
0x0517=0x0000
0x0518=0x0000
0x0519=0x0000
https://open-cells.com/index.php/2019/09/22/all-in-one-openairinterface/ 190/408
13/08/2023, 16:07 All in one OpenAirInterface – 4G and 5G reference software
0x051A=0x0000
0x051B=0x0000
0x051C=0x0000
0x051D=0x0000
0x051E=0x0000
0x051F=0x0000
0x0520=0x0000
0x0521=0x0000
0x0522=0x0000
0x0523=0x0000
0x0524=0x0000
0x0525=0x0000
0x0526=0x0000
0x0527=0x0000
0x0540=0x0000
0x0541=0x0000
0x0542=0x0000
0x0543=0x0000
0x0544=0x0000
0x0545=0x0000
0x0546=0x0000
0x0547=0x0000
0x0548=0x0000
0x0549=0x0000
0x054A=0x0000
0x054B=0x0000
0x054C=0x0000
0x054D=0x0000
0x054E=0x0000
0x054F=0x0000
0x0550=0x0000
0x0551=0x0000
0x0552=0x0000
0x0553=0x0000
0x0554=0x0000
0x0555=0x0000
0x0556=0x0000
https://open-cells.com/index.php/2019/09/22/all-in-one-openairinterface/ 191/408
13/08/2023, 16:07 All in one OpenAirInterface – 4G and 5G reference software
0x0557=0x0000
0x0558=0x0000
0x0559=0x0000
0x055A=0x0000
0x055B=0x0000
0x055C=0x0000
0x055D=0x0000
0x055E=0x0000
0x055F=0x0000
0x0560=0x0000
0x0561=0x0000
0x0562=0x0000
0x0563=0x0000
0x0564=0x0000
0x0565=0x0000
0x0566=0x0000
0x0567=0x0000
0x0580=0x0000
0x0581=0x0000
0x0582=0x0000
0x0583=0x0000
0x0584=0x0000
0x0585=0x0000
0x0586=0x0000
0x0587=0x0000
0x0588=0x0000
0x0589=0x0000
0x058A=0x0000
0x058B=0x0000
0x058C=0x0000
0x058D=0x0000
0x058E=0x0000
0x058F=0x0000
0x0590=0x0000
0x0591=0x0000
0x0592=0x0000
0x0593=0x0000
https://open-cells.com/index.php/2019/09/22/all-in-one-openairinterface/ 192/408
13/08/2023, 16:07 All in one OpenAirInterface – 4G and 5G reference software
0x0594=0x0000
0x0595=0x0000
0x0596=0x0000
0x0597=0x0000
0x0598=0x0000
0x0599=0x0000
0x059A=0x0000
0x059B=0x0000
0x059C=0x0000
0x059D=0x0000
0x059E=0x0000
0x059F=0x0000
0x05A0=0x0000
0x05A1=0x0000
0x05A2=0x0000
0x05A3=0x0000
0x05A4=0x0000
0x05A5=0x0000
0x05A6=0x0000
0x05A7=0x0000
0x0600=0x0F01
0x0601=0x0000
0x0602=0x2000
0x0603=0x0000
0x0604=0x0000
0x0605=0x0000
0x0606=0x0000
0x0640=0x00A1
0x0641=0x2040
[reference_clocks]
sxt_ref_clk_mhz=40
sxr_ref_clk_mhz=40
regards Paul.
laurent
https://open-cells.com/index.php/2019/09/22/all-in-one-openairinterface/ 193/408
13/08/2023, 16:07 All in one OpenAirInterface – 4G and 5G reference software
narcisse nya
March 9, 2020 at 4:56 pm
Hi Laurent
Thank you for this very clear tutorial.
I have setup the EPC + eNB and my UE is able to connect and reach internet
through OAI network.
But The MME is craching after few minutes with the below error even with MCC
not starting with 0.
I’m using MCC = 208 and MNC = 92.
https://open-cells.com/index.php/2019/09/22/all-in-one-openairinterface/ 194/408
13/08/2023, 16:07 All in one OpenAirInterface – 4G and 5G reference software
mme(+0x6bf76) [0x55862ba02f76]
./run_mme : ligne 87 : 23602 Erreur de segmentation $SUDO mme `echo
$exe_arguments` 2>&1
Best regards,
Narcisse
laurent
March 16, 2020 at 4:53 pm
Hi Narcisse,
MME should not suicide, nevertheless IMSI of 13 figures is wrong, isn’t it ?
Laurent
zds
March 15, 2020 at 3:44 am
Dear Laurent
There is software oscilloscop(I have install it when run buildoai with -x),i wanna
to know it whether has this function in openAirinterface5g develop branch.
Regards,
ZDS
Nico
March 26, 2020 at 3:01 pm
Hey Laurent,
I use a lime Mini in my setup.
My core network run without warnings or errors.
The UE is connected and listed in the MME but after 1 min I get this:
[PHY] L1_thread isn’t ready in 564.5, aborting RX processing
https://open-cells.com/index.php/2019/09/22/all-in-one-openairinterface/ 195/408
13/08/2023, 16:07 All in one OpenAirInterface – 4G and 5G reference software
Regards,
Nico.
Nico
April 2, 2020 at 2:11 pm
Here is a bigger part of my eNB terminal where you can see all my failers and
Errors.
Maybe you got an idea.
[S1AP] S1AP_FIND_PROTOCOLIE_BY_ID:
/…../openairinterface5g/openair3/S1AP/s1ap_eNB_handlers.c 374: ie is NULL
.
.
.
[PHY] DJP – delete code above this /…./openairinterface5g/targets/RT/USER/lte-
ru.c:2658
.
.
.
[PHY] L1_thread isn’t ready in 0.1, aborting RX processing
[MAC] SCHED_MODE = 0
[PHY] eNB 0 frame 0, subframe 0 : previous information from RU tx 0 (num_RU
1,mask 1) has not been served yet!
[PHY] max_I0 15, min_I0 0
[PHY] [eNB 0/0][RAPROC] Frame 382, subframe 1 Initiating RA procedure with
preamble 22, energy 33.0 dB, delay 240
[PHY] fill_ulsch UE_id 0 nb_rb = 0
.
.
.
[MAC] UE rnti e720 : in synch, PHR 40 dB DL CQI 8 PUSCH SNR 33 PUCCH SNR 45
[PHY] [eNB 0/0][RAPROC] Frame 136, subframe 1 Initiating RA procedure with
https://open-cells.com/index.php/2019/09/22/all-in-one-openairinterface/ 196/408
13/08/2023, 16:07 All in one OpenAirInterface – 4G and 5G reference software
https://open-cells.com/index.php/2019/09/22/all-in-one-openairinterface/ 197/408
13/08/2023, 16:07 All in one OpenAirInterface – 4G and 5G reference software
[MAC] [eNB 0][PUSCH 2] CC_id 0 536.2 ULSCH in error in round 0, ul_cqi 128,
UE_id 0, RNTI e720
[MAC] [eNB 0][PUSCH 2] CC_id 0 537.0 ULSCH in error in round 1, ul_cqi 128,
UE_id 0, RNTI e720
[MAC] [eNB 0][PUSCH 2] CC_id 0 537.8 ULSCH in error in round 2, ul_cqi 128,
UE_id 0, RNTI e720
[MAC] [eNB 0][PUSCH 2] CC_id 0 538.6 ULSCH in error in round 3, ul_cqi 128,
UE_id 0, RNTI e720
[MAC] [eNB 0][PUSCH 2] CC_id 0 539.4 ULSCH in error in round 0, ul_cqi 128,
UE_id 0, RNTI e720
[MAC] [eNB 0][PUSCH 2] CC_id 0 540.2 ULSCH in error in round 1, ul_cqi 128,
UE_id 0, RNTI e720
[MAC] [eNB 0][PUSCH 2] CC_id 0 541.0 ULSCH in error in round 2, ul_cqi 128,
UE_id 0, RNTI e720
[MAC] [eNB 0][PUSCH 2] CC_id 0 541.8 ULSCH in error in round 3, ul_cqi 128,
UE_id 0, RNTI e720
[MAC] [eNB 0][PUSCH 2] CC_id 0 542.6 ULSCH in error in round 0, ul_cqi 128,
UE_id 0, RNTI e720
[MAC] [eNB 0][PUSCH 2] CC_id 0 543.4 ULSCH in error in round 1, ul_cqi 128,
UE_id 0, RNTI e720
[MAC] [eNB 0][PUSCH 2] CC_id 0 544.2 ULSCH in error in round 2, ul_cqi 128,
UE_id 0, RNTI e720
[MAC] [eNB 0][PUSCH 2] CC_id 0 545.0 ULSCH in error in round 3, ul_cqi 128,
UE_id 0, RNTI e720
[MAC] [eNB 0][PUSCH 2] CC_id 0 545.8 ULSCH in error in round 0, ul_cqi 128,
UE_id 0, RNTI e720
[MAC] [eNB 0][PUSCH 2] CC_id 0 546.6 ULSCH in error in round 1, ul_cqi 128,
UE_id 0, RNTI e720
[MAC] [eNB 0][PUSCH 2] CC_id 0 547.4 ULSCH in error in round 2, ul_cqi 128,
UE_id 0, RNTI e720
[MAC] [eNB 0][PUSCH 2] CC_id 0 548.2 ULSCH in error in round 3, ul_cqi 128,
UE_id 0, RNTI e720
[MAC] [eNB 0][PUSCH 2] CC_id 0 549.0 ULSCH in error in round 0, ul_cqi 128,
UE_id 0, RNTI e720
[MAC] [eNB 0][PUSCH 2] CC_id 0 549.8 ULSCH in error in round 1, ul_cqi 128,
UE_id 0, RNTI e720
[MAC] [eNB 0][PUSCH 2] CC_id 0 550.6 ULSCH in error in round 2, ul_cqi 128,
https://open-cells.com/index.php/2019/09/22/all-in-one-openairinterface/ 198/408
13/08/2023, 16:07 All in one OpenAirInterface – 4G and 5G reference software
https://open-cells.com/index.php/2019/09/22/all-in-one-openairinterface/ 199/408
13/08/2023, 16:07 All in one OpenAirInterface – 4G and 5G reference software
https://open-cells.com/index.php/2019/09/22/all-in-one-openairinterface/ 200/408
13/08/2023, 16:07 All in one OpenAirInterface – 4G and 5G reference software
regards Nico
laurent
April 5, 2020 at 5:11 pm
Hi,
This bug is known, when you reach this situation:
LTE_RRCConnectionReestablishmentRequest without UE context, let’s reject
the UE
a bug in reject procedure crashes the eNB.
You reach it maybe because your radio link is poor, so the UE reconnects several
times
A good fix of this bug is not that simple to do: avoid the crash is easy, but not
enough: the fix should put the eNB is a state where it will accept later
connection from this UE.
Laurent
Ivan
April 10, 2020 at 12:11 pm
Hi,
any news about this bug?
If I manually add SIM info inside hss db I will not have this error, but without
putting any info inside hss db I will receive always this error.
Regards,
Ivan
laurent
April 10, 2020 at 12:24 pm
Hi Ivan,
I don’t think anyone will fix this in OAI soon.
Nevertheless I don’t understand what you mean: my answer was not related
https://open-cells.com/index.php/2019/09/22/all-in-one-openairinterface/ 201/408
13/08/2023, 16:07 All in one OpenAirInterface – 4G and 5G reference software
to SIM+HSS data.
Of course, the HSS database have to match the SIM data.
Please explain what you update in the HSS db, and when this occurs.
Regards,
Laurent
Tasfia
April 3, 2020 at 5:55 pm
Hi,
Thank you so much for your tutorial. I am trying to set up EPC + ENB in my
Ubuntu 18.04. In my EPC setup, I think my HSS and SPGW are running without
any issues. Though for MME the build was successful, still I got the following
issue when I try to run the MME using the command ./run_mme.
It would be very helpful if you can shed some lights on this matter. Please let me
know your suggestion regarding this issue. Thank you so much.
MME log:
Initializing OAI Logging
Initializing MSC logs
Initializing MSC logs Done
/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xe7) [0x7f071cd78b97]
mme(_start+0x2a) [0x55aecb479e2a]
./run_mme: line 87: 4337 Segmentation fault $SUDO mme `echo
$exe_arguments` 2>&1
Regards
Tasfia
laurent
April 5, 2020 at 5:08 pm
Hi,
You have another freediameter library installed, and you use the files
libfdcore.so and libfdproto.so from this directory
the variable LD_LIBRARY_PATH is what you need to manage the search path
from shared libraries.
Regards,
Laurent
Haddad
April 5, 2020 at 8:19 pm
Hello Laurent,
Thank you for this detailed tutorial.
I am trying to set up a 5G network using the USRP N310 for the gNB, when i
attempted to compile the 5G Core Network repository (openair5g-cn) from
GITHUB, it didn’t work because the Ubuntu 18.04 is not supported. So i want now
to connect the gNB “as slave node” to the eNB “as master node” by configuring
the X2 interface, if you have any tip or know any tutorial that explains the (E-
UTRAN – NR dual connectivity) in OAI please let me know.
many thanks in advance.
Haddad
laurent
https://open-cells.com/index.php/2019/09/22/all-in-one-openairinterface/ 203/408
13/08/2023, 16:07 All in one OpenAirInterface – 4G and 5G reference software
Ravi
April 17, 2020 at 9:28 pm
Hello Laurent,
I compiled the MME as explained in this tutorial, but when I run it I get below
crash on startup.
https://open-cells.com/index.php/2019/09/22/all-in-one-openairinterface/ 204/408
13/08/2023, 16:07 All in one OpenAirInterface – 4G and 5G reference software
Not sure wheter it has something to do it freediameter extensions, but I use the
same freediameter 1.2.0 and patch mentioned in this tutorial. And didn’t changed
any extensions in mme_fd.conf, I can see you are loading below ones
LoadExtension = “dict_nas_mipv6.fdx”;
LoadExtension = “dict_s6a.fdx”;
laurent
April 20, 2020 at 11:55 am
Hi,
You have another version of freediameter installed on the machine.
Look in the Q/A list, i already explained what to do.
Laurent
Larry B
April 22, 2020 at 11:11 am
root@SDR:~/openairinterface5g/targets/bin# ./lte-softmodem.Rel15 -O
~/openairinterface5g/targets/PROJECTS/GENERIC-LTE-
EPC/CONF/enb.band7.tm1.25PRB.lmssdr.conf –rf-config-file
~/openairinterface5g/targets/ARCH/LMSSDR/LimeSDR_above_1p8GHz_1v4.ini
-d
EPC/CONF/enb.band7.tm1.25PRB.lmssdr.conf
[LIBCONFIG] list MACRLCs not found in config file
/home/larrylove/openairinterface5g/targets/PROJECTS/GENERIC-LTE-
EPC/CONF/enb.band7.tm1.25PRB.lmssdr.conf
[MAC] read_config_and_init() RC.nb_macrlc_inst: 0
[LIBCONFIG] (root): 3/3 parameters successfully set, (1 to default value)
[LIBCONFIG] eNBs.[0]: 20/20 parameters successfully set, (12 to default value)
[RRC] Instance 0: Southbound Transport local_mac
[RRC] Setting node_type to ngran_eNB
[LIBCONFIG] eNBs.[0].plmn_list.[0]: 3/3 parameters successfully set, (0 to
default value)
[RRC] num component carriers 1
[RRC] enb_config::RCconfig_RRC() parameter number: 0, total number of
parameters: 78, ccspath: eNBs.[0].component_carriers.[0]
https://open-cells.com/index.php/2019/09/22/all-in-one-openairinterface/ 206/408
13/08/2023, 16:07 All in one OpenAirInterface – 4G and 5G reference software
returnValue 0
returnValue 0
[OIP] Interface oaitun_enm1 successfully configured, ip address 10.0.2.1, mask
255.255.255.0 broadcast address 10.0.2.255
[ENB_APP] Creating ENB_APP eNB Task
[TMR] Created Posix thread TASK_ENB_APP
[LIBCONFIG] (root): 3/3 parameters successfully set, (1 to default value)
[LIBCONFIG] eNBs.[0]: 20/20 parameters successfully set, (12 to default value)
[LIBCONFIG] eNBs.[0].plmn_list.[0]: 3/3 parameters successfully set, (0 to
default value)
[LIBCONFIG] eNBs.[0].component_carriers.[0]: 78/78 parameters successfully
set, (18 to default value)
[LIBCONFIG] eNBs.[0].mme_ip_address.[0]: 5/5 parameters successfully set, (0
to default value)
[LIBCONFIG] eNBs.[0].SCTP: 2/2 parameters successfully set, (0 to default value)
[LIBCONFIG] eNBs.[0].NETWORK_INTERFACES: 11/11 parameters successfully
set, (3 to default value)
[GTPV1U] Configuring GTPu
[LIBCONFIG] (root): 3/3 parameters successfully set, (1 to default value)
[LIBCONFIG] eNBs.[0].NETWORK_INTERFACES: 3/3 parameters successfully set,
(0 to default value)
[GTPV1U] Configuring GTPu address : 127.0.0.10 -> a00007f
[ENB_APP] default drx 2
[ENB_APP] [eNB 0] eNB_app_register via S1AP for instance 0
[LIBCONFIG] eNBs.[0]: 1/1 parameters successfully set, (1 to default value)
[LIBCONFIG] gNBs.[0]: 1/1 parameters successfully set, (1 to default value)
[LIBCONFIG] eNBs.[0]: 1/1 parameters successfully set, (1 to default value)
[RRC] Creating RRC eNB Task
[RRC] Entering main loop of RRC message task
[TMR] Created Posix thread TASK_RRC_ENB
[SCTP] Starting SCTP layer
[TMR] Created Posix thread TASK_SCTP
[S1AP] Starting S1AP layer
[S1AP] Registered new eNB[0] and macro eNB id 3584
[S1AP] [eNB 0] check the mme registration state
[TMR] Created Posix thread TASK_S1AP
[UDP] Initializing UDP task interface
https://open-cells.com/index.php/2019/09/22/all-in-one-openairinterface/ 207/408
13/08/2023, 16:07 All in one OpenAirInterface – 4G and 5G reference software
https://open-cells.com/index.php/2019/09/22/all-in-one-openairinterface/ 208/408
13/08/2023, 16:07 All in one OpenAirInterface – 4G and 5G reference software
laurent
April 22, 2020 at 7:17 pm
you have to run in gdb, then checked what line of code is doing this SEGV, and
do your best to fix and help the communauty
https://open-cells.com/index.php/2019/09/22/all-in-one-openairinterface/ 209/408
13/08/2023, 16:07 All in one OpenAirInterface – 4G and 5G reference software
surabhi
May 24, 2020 at 10:51 am
Hi Larry,
You were able to solve the above issue ??
John
May 8, 2020 at 7:11 pm
First off let me say thank you for such a detailed tutorial. I am trying to use this
guide alongside your “RF simulator and OAI UE tutorial”. I was able to
successfully compile the UE but when I ran it gets stuck in a loop trying to
“Waiting for eNB L1 instances to all get configured … sleeping 50ms (nb_L1_inst
1)” It will keep looping over that statement waiting for configuration until I close
the program. I am sure I’m doing something wrong but I can’t seem to find the
issue.
laurent
May 20, 2020 at 9:08 am
Hi,
I don’t know, maybe send us the eNB traces (make a link to a transfer mean like
wetransfer, dropbox, …, don’t copy thousands lines in this blog)
Laurent
Asma
June 12, 2020 at 2:27 pm
https://open-cells.com/index.php/2019/09/22/all-in-one-openairinterface/ 210/408
13/08/2023, 16:07 All in one OpenAirInterface – 4G and 5G reference software
Dear laurent,
Thank you
and
and one other question is which parameter is obligatory to change? from above
parameters
also used oai as used here for APN in UE but no chance
best regard
laurent
June 12, 2020 at 7:03 pm
https://open-cells.com/index.php/2019/09/22/all-in-one-openairinterface/ 211/408
13/08/2023, 16:07 All in one OpenAirInterface – 4G and 5G reference software
Dear Asma,
What is the issue, before you don’t reach internet:
– is you UE connected to the eNB+MME (in the MMME log do you see UEall
lines to ‘1 Ue’ ?)
Laurent
ASMA
June 13, 2020 at 5:28 am
Hi, Thanks
Yea all the things related to UE is equal to 1 for some moment/minutes but
after that it changed to just attached UE =1, and after 1 min or less it totally
change and i should try to search for network on UE again and again!
Thanks
laurent
June 15, 2020 at 7:48 am
Hi,
If the MME trace shows all lines “1”, the UE connects correctly: HSS, SIM, …
are fine
As the connection is lost quickly, the radio link is not stable.
I suspect for a while OAI power control loop is not good and anyway we can’t
make LimeSDR stable.
What is your radio configuration ?
Laurent
https://open-cells.com/index.php/2019/09/22/all-in-one-openairinterface/ 212/408
13/08/2023, 16:07 All in one OpenAirInterface – 4G and 5G reference software
ASMA
July 5, 2020 at 3:01 pm
Dear laurent,
Sorry for late replay.
The limesdr is not stable as you know at least above 2Ghz , I managed to
connect to the core but due to instability couldn’t connect to the internet
I used this .ini file : http://s12.picofile.com/file/8402039826/B.ini.html
and this .conf: http://s13.picofile.com/file/8402039800/Lime.conf.html
By any chance if anyone got sth by changing parameters of these files
please let us know.
dear laurent do u have any idea on how can i integrate OAI with clearwater
IMS to integrate Volte with OAI or anyone who can help me in this
path(name or Email)?
Anthony
June 19, 2020 at 4:38 pm
Hello, Laurent,
I followed your tutorial in order to set up the EPC + OAI ENB on a slightly different
configuration, on 2 different PCs. After several attempts I finally used the
openair-cn v0.5.0 tag and I was able to run OAI EPC successfully. I then
configured the SIM card and tried to connect a COTS UE to it. The authentication
procedure seems to go well, however the MME ends up crashing in establishing
the connection, and I couldn’t go any further.
I saw your note about the MME crash at the top of this page: Fix a issue in mme
that crash mme with some phones in the attach-request procedure. So I retrieved
the files specified in the tar file and replaced them in my openair-cn (v0.5.0)
installation folder, then I rebuilt the different elements, but no conclusive results.
https://open-cells.com/index.php/2019/09/22/all-in-one-openairinterface/ 213/408
13/08/2023, 16:07 All in one OpenAirInterface – 4G and 5G reference software
I attach below the log of the EMM before the crash, where the EU suddenly
changes to EMM DEREGISTERED state. I specify that I use a Xiaomi 7A UE for this
test.
Do you have any idea what the malfunction is? Could the files to be replaced above
be incompatible with my version of openai-cn (v0.5.0)?
https://open-cells.com/index.php/2019/09/22/all-in-one-openairinterface/ 214/408
13/08/2023, 16:07 All in one OpenAirInterface – 4G and 5G reference software
https://open-cells.com/index.php/2019/09/22/all-in-one-openairinterface/ 215/408
13/08/2023, 16:07 All in one OpenAirInterface – 4G and 5G reference software
https://open-cells.com/index.php/2019/09/22/all-in-one-openairinterface/ 216/408
13/08/2023, 16:07 All in one OpenAirInterface – 4G and 5G reference software
https://open-cells.com/index.php/2019/09/22/all-in-one-openairinterface/ 217/408
13/08/2023, 16:07 All in one OpenAirInterface – 4G and 5G reference software
replayeduesecuritycapabilities.gprs_present 1
000851 00216:914331 7F7B3F44D700 INFO NAS-EM ir-
cn/src/nas/emm/sap/emm_send.c:1025 replayeduesecuritycapabilities.gea 112
000852 00216:914338 7F7B3F44D700 TRACE NAS-EM ir-
cn/src/nas/emm/sap/emm_send.c:1027 Leaving
emm_send_security_mode_command() (rc=12)
000853 00216:914346 7F7B3F44D700 INFO NAS-EM ir-
cn/src/nas/emm/emm_data_ctx.c:0534 EMM-CTX – get UE id 0x00000001
context 0x7f7b34000b10
000854 00216:914353 7F7B3F44D700 DEBUG NAS-EM nair-
cn/src/nas/emm/sap/emm_as.c:1339 Set nas_msg.header.sequence_number ->
0
000855 00216:914361 7F7B3F44D700 TRACE NAS-EM nair-
cn/src/nas/emm/sap/emm_as.c:0815 Entering _emm_as_encode()
000856 00216:914368 7F7B3F44D700 TRACE NAS
rc/nas/api/network/nas_message.c:0540 Entering nas_message_encode()
000857 00216:914376 7F7B3F44D700 TRACE NAS
rc/nas/api/network/nas_message.c:0852 Entering
_nas_message_header_encode()
000858 00216:914383 7F7B3F44D700 TRACE NAS
rc/nas/api/network/nas_message.c:0885 Leaving
_nas_message_header_encode() (rc=6)
000859 00216:914391 7F7B3F44D700 TRACE NAS
rc/nas/api/network/nas_message.c:0960 Entering
_nas_message_protected_encode()
000860 00216:914398 7F7B3F44D700 TRACE NAS
rc/nas/api/network/nas_message.c:0913 Entering
_nas_message_plain_encode()
000861 00216:914406 7F7B3F44D700 TRACE NAS-EM air-
cn/src/nas/emm/msg/emm_msg.c:0271 Entering emm_msg_encode()
000862 00216:914418 7F7B3F44D700 TRACE NAS-EM air-
cn/src/nas/emm/msg/emm_msg.c:0420 Leaving emm_msg_encode() (rc=10)
000863 00216:914426 7F7B3F44D700 TRACE NAS
rc/nas/api/network/nas_message.c:0933 Leaving
_nas_message_plain_encode() (rc=10)
000864 00216:914434 7F7B3F44D700 TRACE NAS
rc/nas/api/network/nas_message.c:1190 Entering _nas_message_encrypt()
https://open-cells.com/index.php/2019/09/22/all-in-one-openairinterface/ 218/408
13/08/2023, 16:07 All in one OpenAirInterface – 4G and 5G reference software
https://open-cells.com/index.php/2019/09/22/all-in-one-openairinterface/ 219/408
13/08/2023, 16:07 All in one OpenAirInterface – 4G and 5G reference software
https://open-cells.com/index.php/2019/09/22/all-in-one-openairinterface/ 220/408
13/08/2023, 16:07 All in one OpenAirInterface – 4G and 5G reference software
https://open-cells.com/index.php/2019/09/22/all-in-one-openairinterface/ 221/408
13/08/2023, 16:07 All in one OpenAirInterface – 4G and 5G reference software
https://open-cells.com/index.php/2019/09/22/all-in-one-openairinterface/ 222/408
13/08/2023, 16:07 All in one OpenAirInterface – 4G and 5G reference software
laurent
June 22, 2020 at 7:51 am
Hi,
I don’t know, at least run mme in gdb to see the line of source that makes the
SEGV.
Maybe use another EPC ?
Laurent
Anthony
June 22, 2020 at 12:37 pm
Hi Laurent,
Thanks for the suggestion. I used the gdb option on the OAI MME and it
returns the following at the SEGV event :
Thread 17 “mme” received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7fffc5ffb700 (LWP 2695)]
0x00007ffff66af4ad in parsedict_do_avp (dict=0xabca40,
avp=0x7fffa8000b30,
mandatory=1, error_info=0x7fffc5fface0)
at /home/innocell2/openair-
cn/build/git_submodules/freeDiameter/libfdproto/messages.c:2237
2237 /home/innocell2/openair-
https://open-cells.com/index.php/2019/09/22/all-in-one-openairinterface/ 223/408
13/08/2023, 16:07 All in one OpenAirInterface – 4G and 5G reference software
Anthony
laurent
June 22, 2020 at 1:12 pm
Hi,
It looks like the bug we already fixed.
Your configuration looks different: openair-
cn/build/git_submodules/freeDiameter is not the patch we have
Laurent
Giuseppe
June 30, 2020 at 9:42 pm
Hi Laurent,
I have the following problem (I report the final part of the output):
Thanks in advance
laurent
July 1, 2020 at 2:59 pm
Dear Giuseppe,
Hard to answer
https://open-cells.com/index.php/2019/09/22/all-in-one-openairinterface/ 225/408
13/08/2023, 16:07 All in one OpenAirInterface – 4G and 5G reference software
Iverson
July 2, 2020 at 11:04 am
Hello Laurent
Would you mind giving more details about the solution above? I met the same
problem like Giuseppe which is caused by clock source and time source.
But I still have no ideas.
Best wishes !
Iverson
July 2, 2020 at 1:59 pm
Iverson
July 2, 2020 at 11:35 am
Hello sir
Do you solve this problem or not? If you are already successful, please give me
some suggestions or help.
Best wishes
laurent
July 3, 2020 at 6:43 am
Hi,
Regards,
Laurent
Giuseppe
July 6, 2020 at 10:13 am
I have an error similar to that of Iverson. I have tried with gdb as suggested by
Laurent. As Iverson did, I report the error:
liu
July 2, 2020 at 12:00 am
Hi laurent,
I followed your steps to run build_mme and found this
mme compilation failed
cp: cannot stat ‘/home/lht/openair-cn/build/mme/build/mme’: No such file or
directory
auth_request compiled
‘/home/lht/openair-cn/build/mme/build/auth_request’ ->
‘/usr/local/bin/auth_request’
auth_request installed
then I lookup the log/mme.txt and find error like this
/home/lht/openair-
cn/build/mme/build/CMakeFiles/r10.5/INTEGER_oer.c:15:26: error: unknown
type name ‘asn_oer_constraints_t’
https://open-cells.com/index.php/2019/09/22/all-in-one-openairinterface/ 228/408
13/08/2023, 16:07 All in one OpenAirInterface – 4G and 5G reference software
laurent
July 2, 2020 at 7:24 am
Dear Liu,
You compile the EPC with the ans1c ASN.1 compiler version for the eNB.
Probably you didn’t install our patch for the EPC, as it installs ans1c inside the
openair-cn directory to separate it from the openair RAN version.
Laurent
Iverson
July 2, 2020 at 9:26 am
Hi Laurent
I also met the error when running eNB of master branch. The details are attached
above
INFO] [UHD] linux; GNU C++ version 5.4.0 20160609; Boost_105800;
UHD_3.15.0.HEAD-0-gaea0e2de
[HW] Found USRP b200
Found USRP b200
[INFO] [B200] Detected Device: B210
[INFO] [B200] Operating over USB 3.
[INFO] [B200] Detecting internal GPSDO….
[INFO] [GPS] Found an internal GPSDO: LC_XO, Firmware Rev 0.929b
[INFO] [B200] Initialize CODEC control…
[INFO] [B200] Initialize Radio control…
https://open-cells.com/index.php/2019/09/22/all-in-one-openairinterface/ 229/408
13/08/2023, 16:07 All in one OpenAirInterface – 4G and 5G reference software
laurent
July 3, 2020 at 6:38 am
Trung
July 16, 2020 at 4:19 am
Hi Laurent,
I follow your instruction, at the step: ./lte-softmodem -O ~/opencells-
mods/enb.10MHz.b200
There was below error. Could you help show me a solution for this?
…..
LIBCONFIG] loader.oai_device: 2/2 parameters successfully set, (1 to default
value)
[LOADER] library liboai_device.so successfully loaded
[PHY] Checking for USRPs : UHD 4.0.0.0-711-ge62c93fe (4.0.0)
[INFO] [UHD] linux; GNU C++ version 7.5.0; Boost_106501; UHD_4.0.0.0-711-
ge62c93fe
[HW] Found USRP b200
Found USRP b200
https://open-cells.com/index.php/2019/09/22/all-in-one-openairinterface/ 230/408
13/08/2023, 16:07 All in one OpenAirInterface – 4G and 5G reference software
https://open-cells.com/index.php/2019/09/22/all-in-one-openairinterface/ 231/408
13/08/2023, 16:07 All in one OpenAirInterface – 4G and 5G reference software
https://open-cells.com/index.php/2019/09/22/all-in-one-openairinterface/ 232/408
13/08/2023, 16:07 All in one OpenAirInterface – 4G and 5G reference software
Research LLC
Jul 16 11:12:42 lttrung kernel: [ 3474.471319] usb 2-6: SerialNumber: [xxxxx]
Jul 16 11:12:42 lttrung mtp-probe: checking bus 2, device 6:
“/sys/devices/pci0000:00/0000:00:14.0/usb2/2-6”
Jul 16 11:12:42 lttrung mtp-probe: bus: 2, device: 6 was not an MTP device
I don’t know if this cause the issue due to usb connection. Could you show me the
output when you plug USRP B210?
laurent
July 16, 2020 at 6:53 am
Hi,
I think this comes from a mismatch in libUHD.so, the uhd driver C header files
or a B210 firmware error.
Please check you have only one version of UHD installed, and redo the USRP
firmware download procedure
Laurent
Trung
July 20, 2020 at 2:09 am
Hi Laurent,
I fresh install the OS, and re-install following the instruction, but I still met
the issue. Could you please advise me on this?
[PHY] max_I0 24, min_I0 12
[PHY] [recv] received 6144 samples out of 15360
[ERROR] [STREAMER] The receive packet handler caught a value exception.
ValueError: bad vrt header or packet fragment
[PHY] ERROR_CODE_BAD_PACKET
[PHY] rx_rf: Asked for 15360 samples, got 6144 from SDR
[PHY] rx_rf: rfdevice timing drift of -346534344 samples (ts_off 46369224)
[ERROR] [STREAMER] recv packet demuxer unexpected sid 0xffb300b8
[ERROR] [UHD] An unexpected exception was caught in a task loop.The task
https://open-cells.com/index.php/2019/09/22/all-in-one-openairinterface/ 233/408
13/08/2023, 16:07 All in one OpenAirInterface – 4G and 5G reference software
loop will now exit, things may not work.EnvironmentError: IOError: usb rx8
transfer status: LIBUSB_TRANSFER_ERROR
terminate called after throwing an instance of ‘uhd::io_error’
what(): EnvironmentError: IOError: usb rx6 transfer status:
LIBUSB_TRANSFER_ERROR
[PHY] problem receiving samplesLinux signal Aborted…
/home/lttrung/openairinterface5g/targets/RT/USER/lte-softmodem.c:253
signal_handler() Exiting OAI softmodem: softmodem starting exit procedure
laurent
July 21, 2020 at 7:03 am
Dear Trung,
This is errors inside the USRP driver.
OpenAir can reveal some similar cases, for example if you compiled with
“./build_oai –enable-deadline”
Else, I would suggest to try the UHD test tools like
/usr/lib/uhd/examples/benchmark_rate –rx_rate 15360000 –tx_rate
https://open-cells.com/index.php/2019/09/22/all-in-one-openairinterface/ 234/408
13/08/2023, 16:07 All in one OpenAirInterface – 4G and 5G reference software
15360000
to verify the USRP + UHD are working fine
Laurent
Trung
July 21, 2020 at 9:42 am
Dear Laurent,
RX Dboard: A
RX Subdev: FE-RX1
TX Channel: 0
TX DSP: 0
TX Dboard: A
TX Subdev: FE-TX2
TX Channel: 1
TX DSP: 1
TX Dboard: A
TX Subdev: FE-TX1
https://open-cells.com/index.php/2019/09/22/all-in-one-openairinterface/ 236/408
13/08/2023, 16:07 All in one OpenAirInterface – 4G and 5G reference software
https://open-cells.com/index.php/2019/09/22/all-in-one-openairinterface/ 237/408
13/08/2023, 16:07 All in one OpenAirInterface – 4G and 5G reference software
[PHY] rx_rf: Asked for 15360 samples, got 6144 from SDR
[PHY] rx_rf: rfdevice timing drift of -392036213 samples (ts_off
46436213)
[ERROR] [STREAMER] recv packet demuxer unexpected sid 0x26ffb4
[PHY] problem receiving samples[PHY] [recv] received 0 samples out of
15360
[PHY] ERROR_CODE_TIMEOUT
https://open-cells.com/index.php/2019/09/22/all-in-one-openairinterface/ 238/408
13/08/2023, 16:07 All in one OpenAirInterface – 4G and 5G reference software
– Could you please let me know which uhd version you used? I will switch
to it release.
Thanks,
Trung.
laurent
July 22, 2020 at 2:00 pm
Dear Trung,
I made a “git pull”, that also pulled “UHD_4.0.0.0-804-gb2527716”
It works also very badly on my computer, even if the errors messages I get
are different.
So, I rolled back to:
git checkout UHD-3.15.LTS
This version looks ok, it is probably the best choice for now.
Laurent
Trung
July 23, 2020 at 4:01 pm
Dear Laurent,
https://open-cells.com/index.php/2019/09/22/all-in-one-openairinterface/ 239/408
13/08/2023, 16:07 All in one OpenAirInterface – 4G and 5G reference software
Could you send me the output of command “lsusb” and “lsusb -t” when
you plug USRP B210?
Thanks,
Trung.
laurent
July 26, 2020 at 7:51 am
Dear Trung,
lsusb -t
when I plug the B210 it adds:
> |__ Port 5: Dev 6, If 0, Class=Vendor Specific Class, Driver=, 480M
lsusb:
> Bus 001 Device 005: ID 2500:0020
Trung
July 24, 2020 at 7:44 am
Dear Laurent,
If possible, could you please help “tail -f /var/log/syslog” when plug USRP
B210?
Thanks,
Trung.
laurent
July 26, 2020 at 7:55 am
Hi,
The output:
Jul 26 09:51:53 pc6600k kernel: [ 1727.138980] usb 1-5: new high-speed
https://open-cells.com/index.php/2019/09/22/all-in-one-openairinterface/ 240/408
13/08/2023, 16:07 All in one OpenAirInterface – 4G and 5G reference software
Laurent
Trung
July 27, 2020 at 12:51 am
Zhao
August 19, 2020 at 6:35 pm
Hi, the guide is very helpful ! But after i build mme successfully ,then ./run_mme:
\OPENAIRCN_DIR = /home/z/openair-cn
Initializing OAI Logging
Initializing MSC logs
https://open-cells.com/index.php/2019/09/22/all-in-one-openairinterface/ 241/408
13/08/2023, 16:07 All in one OpenAirInterface – 4G and 5G reference software
laurent
August 20, 2020 at 2:39 pm
Hi,
It is not a kernel issue.
I guess you have several free diameter libraries installed
Laurent
Paul
September 8, 2020 at 2:30 pm
regards Paul
laurent
September 9, 2020 at 4:39 pm
Hi Paul,
Proxy: by Linux ip tables configuration?
If UE don’t see the base station, my guess is the UE don’t manage the LTE radio
band you use
https://open-cells.com/index.php/2019/09/22/all-in-one-openairinterface/ 242/408
13/08/2023, 16:07 All in one OpenAirInterface – 4G and 5G reference software
Regards,
Laurent
Giuseppe
September 21, 2020 at 1:20 pm
I Laurent
1. I would like to use only one pc for both UE and eNB. I know it is inefficient, but
it would be for a test. When I start scripts with two USRPs (EU or eNB) I get the
following message (in both cases):
[HW] More than one USRP Device Found. Please specify device more precisely in
config file.
But which configuration file does it refer to? For example, in case of the eNB, in
enb.10MHz.b200.conf I can’t find anything to do that;
2. In other tutorials I saw the option to use Xforms (–d). It is an I/Q samples
analyzer. Obviously OAI works with them, but where can I see the I/Q samples
transmit (to analyze and modify them)? And where are the received ones? In
which files do I find this information?
Regards,
Giuseppe
laurent
September 22, 2020 at 3:40 pm
Hi,
1) multiple boards
https://files.ettus.com/manual/page_identification.html
https://open-cells.com/index.php/2019/09/22/all-in-one-openairinterface/ 243/408
13/08/2023, 16:07 All in one OpenAirInterface – 4G and 5G reference software
The value “arg” is in OAI configuration file: sdr_addrs (see examples in /ci-
scripts/conf_files/gnb.band78.tm1.106PRB.usrpn300.conf)
2) save IQ
see documentation: ./targets/ARCH/iqplayer/DOC/iqrecordplayer_usage.md
Regards,
Laurent
Giuseppe
October 1, 2020 at 1:46 pm
Hi Laureant,
Another question: I use the eNB and the UE with USRPs b210 only.
Using two different machines, at the UE side, I am running this:
sudo ./lte-uesoftmodem -C 2680000000 -r 25 –ue-rxgain 120 –ue-txgain 0
–ue-
max-power 0 –ue-scan-carrier –nokrnmod 1,
where all parameters are sett based on the config file of the eNB (as the
guide).
Now, the UE sees the BS but after many lines I get the following error:
https://open-cells.com/index.php/2019/09/22/all-in-one-openairinterface/ 245/408
13/08/2023, 16:07 All in one OpenAirInterface – 4G and 5G reference software
Regards,
Giuseppe.
laurent
October 2, 2020 at 7:20 am
Hi Guiseppe,
Bad DCI, there are two causes:
=> a bug in either eNB or OAI UE remain: we can see some of these messages
even with perfect signal
=> if you have many, the radio is too poor.
In your trace, I think the radio is very bad: some message are transmitted,
but it fails very quickly.
There could be many issues: parameters, antennas physical configuration, …
Regards,
Laurent
Trung Le
September 30, 2020 at 12:54 am
Dear Laurent,
What max download speed did you get when using USRP B210?
I just got 6Mbps when test with speedtest.com. When I use data, on eNB appears
https://open-cells.com/index.php/2019/09/22/all-in-one-openairinterface/ 246/408
13/08/2023, 16:07 All in one OpenAirInterface – 4G and 5G reference software
errors below:
Could you advise what is going on?
https://open-cells.com/index.php/2019/09/22/all-in-one-openairinterface/ 247/408
13/08/2023, 16:07 All in one OpenAirInterface – 4G and 5G reference software
https://open-cells.com/index.php/2019/09/22/all-in-one-openairinterface/ 248/408
13/08/2023, 16:07 All in one OpenAirInterface – 4G and 5G reference software
laurent
October 1, 2020 at 10:52 am
https://open-cells.com/index.php/2019/09/22/all-in-one-openairinterface/ 249/408
13/08/2023, 16:07 All in one OpenAirInterface – 4G and 5G reference software
Hi,
About “ULSCH in error in round”: there are bugs in eNB that trigger some lost
packets, but if you have a lot of them, it is a radio parameters issue.
When the sequence is each round 0/1/2/3, we could assume it is related to bugs
When the sequence doesn’t finish by round 3, it means the packet is re-
transmitted correctly before HARQ give up retrying (then TCP will retransmit
but it reduces a lot the effective transmission)
If you use the legacy EPC as in my tuto, there are also issues in this EPC.
You may use local speedtest server, for example:
https://github.com/librespeed/speedtest
Regards,
Laurent
sun
September 30, 2020 at 6:34 am
Hi Laurent,
I tried to run the All-in-one-openairinterface with 2 B210 for 2 eNB. The first eNB
works fine, but when run the second eNB, the following error occurs. do you have
any ideas for the error [NETLINK] Error opening socket oaitun_enm1 (16:Device
or resource busy)?
https://open-cells.com/index.php/2019/09/22/all-in-one-openairinterface/ 251/408
13/08/2023, 16:07 All in one OpenAirInterface – 4G and 5G reference software
https://open-cells.com/index.php/2019/09/22/all-in-one-openairinterface/ 252/408
13/08/2023, 16:07 All in one OpenAirInterface – 4G and 5G reference software
https://open-cells.com/index.php/2019/09/22/all-in-one-openairinterface/ 253/408
13/08/2023, 16:07 All in one OpenAirInterface – 4G and 5G reference software
laurent
October 1, 2020 at 11:00 am
Hi,
You are right, and it is not the single issue in OpenAir implementation of MBMS.
The interface name is hardcoded in the call to: netlink_init_mbms_tun()
You can modify the source code or run each eNB in a separate network
namespace, exactly as in our tuto: https://open-
cells.com/index.php/2019/09/23/rf-simulator-and-oai-ue-tutorial/
Laurent
ashutosh singh
October 20, 2020 at 11:30 pm
Hi Laurent ,
Doing a LTEsetup with opencells and using USRP B210 , I am getting error while
running ltesoftmodem:
./lte-softmodem -O ../../../../opencells-mods/enb.10MHz.b200
I ran the below command with gdb and found the where out as below :
gdb -args ./lte-softmodem -O ../../../../opencells-mods/enb.10MHz.b200
https://open-cells.com/index.php/2019/09/22/all-in-one-openairinterface/ 255/408
13/08/2023, 16:07 All in one OpenAirInterface – 4G and 5G reference software
https://open-cells.com/index.php/2019/09/22/all-in-one-openairinterface/ 256/408
13/08/2023, 16:07 All in one OpenAirInterface – 4G and 5G reference software
Research products
ii uhd-host 3.14.1.1-0ubuntu1~bionic1 amd64 hardware driver for Ettus Research
products – host apps
https://open-cells.com/index.php/2019/09/22/all-in-one-openairinterface/ 257/408
13/08/2023, 16:07 All in one OpenAirInterface – 4G and 5G reference software
export LD_LIBRARY_PATH=/usr/local/lib
thanks
Ashutosh
laurent
October 21, 2020 at 8:16 am
Ashutosh,
Thanks for sharing.
Anything we need to fix in our tutorial ?
Laurent
Ferho
October 27, 2020 at 12:57 pm
Dear Laurent,
Hi
Does this tutorial support X2 HO?
Thanks
Best regards
laurent
October 27, 2020 at 6:53 pm
Hi,
I didn’t try, it more complex setup.
Of course, HO require 2 eNBs, than would probably run on 2 different
https://open-cells.com/index.php/2019/09/22/all-in-one-openairinterface/ 258/408
13/08/2023, 16:07 All in one OpenAirInterface – 4G and 5G reference software
computers.
Best regards,
Laurent
Sadman Sakib
October 31, 2020 at 8:30 am
Hi Laurent,
I’m trying to run the LTE components. I’m using openairinterface5G repo in
gitlab and openair-epc-fed repo in github. I’m running the eNB and UE
executables, lte-softmodem and lte-uesoftmodem. During the Initial Attach, the
authentication procedure of UE succeeds. But when the MME tries to establish the
PDN connectivity, T3 Response timer expires 3 times and it produces the error
“N3 retries expired for transaction 0x7f3910004860”. Consequently, the Attach
procedure is rejected.
https://open-cells.com/index.php/2019/09/22/all-in-one-openairinterface/ 260/408
13/08/2023, 16:07 All in one OpenAirInterface – 4G and 5G reference software
Any idea how to solve this? If you need to see the configuration files too, please let
me know.
Best regards,
Sadman
tianye
November 18, 2020 at 12:01 am
best regards
laurent
November 18, 2020 at 8:06 am
Nasmesh driver is not very usefull with recent OAI: if you add the option “–
nokrnmod 1”, the main process uses directly Linux tunnels insead of the OAI
driver (called nasmesh)
Best regards,
Laurent
Charbel Lahoud
November 19, 2020 at 5:37 pm
Hello,
I have implemented OAI UE + eNB + EPC as well as the noS1 option, and in both
cases, the RRC connection fails. Only the synchronization (PCCH) of the physical
layer is working.
Thanks a lot.
Kind regards
Charbel
laurent
November 19, 2020 at 9:21 pm
Hi,
The radio link is probably poor.
Could you share selected trace lines?
Regards
Laurent
canghai
November 24, 2020 at 3:27 am
https://open-cells.com/index.php/2019/09/22/all-in-one-openairinterface/ 262/408
13/08/2023, 16:07 All in one OpenAirInterface – 4G and 5G reference software
Hi Laurent!
I have setup the EPC + eNB and my UE is able to connect and reach internet
through OAI network.
But The MME is craching after few minutes with the below error even with MCC
not starting with 0.
laurent
November 24, 2020 at 10:45 pm
https://open-cells.com/index.php/2019/09/22/all-in-one-openairinterface/ 263/408
13/08/2023, 16:07 All in one OpenAirInterface – 4G and 5G reference software
Hi,
It crashed when it receives the UE connection request
Is it specific to this IMSI value?
For example: 208930100001101 is working ?
Have you changed the MME configuration file from our tuto to your MNC ?
regards,
Laurent
canghai
November 25, 2020 at 7:25 am
Yeah,
I try it, it’s also crashed, when ue connect it, the mme should crashed.
canghai
November 25, 2020 at 10:20 am
Yeah,
I try it, changed IMSI or changed MNC, use different machine enb.
when ue connect mme, crashed.
The difference is the length of time, sometimes immediately, sometimes
waiting a few minutes
canghai
November 25, 2020 at 7:24 am
Yeah,
I try it,but 208930100001101 is also crashed.
When UE connected over,the mme crashed.
https://open-cells.com/index.php/2019/09/22/all-in-one-openairinterface/ 265/408
13/08/2023, 16:07 All in one OpenAirInterface – 4G and 5G reference software
/lib/x86_64-linux-gnu/libc.so.6(clone+0x6d) [0x7feefab364dd]
./run_mme: line 87: 85866 Segmentation fault $SUDO mme `echo
$exe_arguments` 2>&1
laurent
November 26, 2020 at 8:27 am
Hi,
I think I have seen this case.
Maybe the UE connected before, then is lost (Radio link), then the UE
reconnects.
In a sequence like this, the MME get lost at a time and make SEGV.
I think nobody will fix this old MME version.
Regards,
Laurent
canghai
November 29, 2020 at 11:30 am
Hi,
OK, I understand.
Thank you very much!
Puthirithea Khuntheng
November 26, 2020 at 10:07 am
Hi Laurent,
Can we use custom MCC as we wish (except the one begin with 00)? For example I
want to configure 855456 as my PLMN.
Thanks,
https://open-cells.com/index.php/2019/09/22/all-in-one-openairinterface/ 266/408
13/08/2023, 16:07 All in one OpenAirInterface – 4G and 5G reference software
laurent
November 26, 2020 at 10:28 am
Hi Puthirithea,
Yes, nevertheless specify in each needed file that your MNC is 3 digits
The 00 beging in a MME bug, if you use another EPC it will be fine.
Regards,
Ranjith
December 10, 2020 at 6:28 am
laurent
December 10, 2020 at 11:30 am
https://open-cells.com/index.php/2019/09/22/all-in-one-openairinterface/ 267/408
13/08/2023, 16:07 All in one OpenAirInterface – 4G and 5G reference software
Ranjith,
Help answer: (As per what is written) it failed to open a sctp socket.
Your IP address is wrong, or something like this.
Note that the MME trace file should contain the Linux answer with the issue
details
Regards,
Laurent
Rithea
December 22, 2020 at 10:50 am
Hi Laurent,
In my mme.log there are these erros:
“””
000182 00000:954641 7FB7937FE700 ERROR S6A .5.0/src/s6a/s6a_task.c:0080
Command Code: 257
000183 00000:954643 7FB7937FE700 ERROR S6A .5.0/src/s6a/s6a_task.c:0080
ApplicationId: 0
000184 00000:954646 7FB7937FE700 ERROR S6A .5.0/src/s6a/s6a_task.c:0080
Hop-by-Hop Identifier: 0x1D952A71
000185 00000:954648 7FB7937FE700 ERROR S6A .5.0/src/s6a/s6a_task.c:0080
End-to-End Identifier: 0x6123FA43
000186 00000:954650 7FB7937FE700 ERROR S6A .5.0/src/s6a/s6a_task.c:0080
{internal data}: src:hss.epc.lte(11) rwb:(nil) rt:2 cb:(nil),(nil)((nil))
qry:0x2223c20 asso:0 sess:(nil)
000187 00000:954653 7FB7937FE700 ERROR S6A .5.0/src/s6a/s6a_task.c:0080
AVP: ‘Result-Code'(268) l=12 f=-M val=’DIAMETER_SUCCESS’ (2001 (0x7d1))
000188 00000:954655 7FB7937FE700 ERROR S6A .5.0/src/s6a/s6a_task.c:0080
AVP: ‘Origin-Host'(264) l=19 f=-M val=”hss.epc.lte”
“””
Does the log above suggest it is something between HSS and MME only or
something else?
https://open-cells.com/index.php/2019/09/22/all-in-one-openairinterface/ 268/408
13/08/2023, 16:07 All in one OpenAirInterface – 4G and 5G reference software
Rithea
December 24, 2020 at 5:06 am
Dear Laurent,
Regards,
QH
February 6, 2021 at 8:19 pm
Hi Laurent,
“/usr/lib/uhd/utils/uhd_images_downloader.py”
Linux signal Aborted…
https://open-cells.com/index.php/2019/09/22/all-in-one-openairinterface/ 269/408
13/08/2023, 16:07 All in one OpenAirInterface – 4G and 5G reference software
/home/qh/workarea/openairinterface5g/targets/RT/USER/lte-softmodem.c:253
signal_handler() Exiting OAI softmodem: softmodem starting exit procedure
lte-softmodem: /usr/include/boost/thread/pthread/mutex.hpp:111:
boost::mutex::~mutex(): Assertion `!res’ failed.
Linux signal Aborted…
/home/qh/workarea/openairinterface5g/targets/RT/USER/lte-softmodem.c:253
signal_handler() Exiting OAI softmodem: softmodem starting exit procedure
-qh
laurent
February 8, 2021 at 8:10 am
Qh,
There are two issues:
[INFO] [B200] Operating over USB 2.
OAI need you use USB 3: too long cable, USB2 port on the host, …
“/usr/lib/uhd/utils/uhd_images_downloader.py”
I think you need only to run this command to download the new board firmware
Then, it will run fine with UHD 3.15
QH
February 7, 2021 at 1:33 am
Hi Laurent,
I got an error Signal 11. It happens during eNB lte-softmodem loading up.
https://open-cells.com/index.php/2019/09/22/all-in-one-openairinterface/ 270/408
13/08/2023, 16:07 All in one OpenAirInterface – 4G and 5G reference software
…
[New Thread 0x7ffff0863700 (LWP 39925)]
channel 0, Setting tx_gain offset 0.000000, rx_gain offset 110.000000, tx_freq
2630000000.000000, rx_freq 2510000000.000000
[PHY] Initializing frame parms for N_RB_DL 50, Ncp 0, osf 1
[PHY] lte_parms.c: Setting N_RB_DL to 50, ofdm_symbol_size 1024
[HW] [SCHED][eNB] ru_thread_prach started on CPU 6, sched_policy =
SCHED_FIFO , priority = 99, CPU Affinity= CPU_0 CPU_1 CPU_2 CPU_3 CPU_4
CPU_5 CPU_6 CPU_7 CPU_8 CPU_9 CPU_10 CPU_11 CPU_12 CPU_13 CPU_14
CPU_15 CPU_16 CPU_17 CPU_18 CPU_19 CPU_20 CPU_21 CPU_22 CPU_23
CPU_24 CPU_25 CPU_26 CPU_27 CPU_28 CPU_29 CPU_30 CPU_31 CPU_32
CPU_33 CPU_34 CPU_35 CPU_36 CPU_37 CPU_38 CPU_39 CPU_40 CPU_41
CPU_42 CPU_43 CPU_44 CPU_45 CPU_46 CPU_47
[PHY] Initializing RU signal buffers (if_south local RF) nb_tx 1
[PHY] thread ru created id=39924
[PHY] Starting RU 0 (eNodeB_3GPP,synch_to_ext_device),
waiting for sync
(ru_thread,-1/0x555556255248,0x55555697ede0,0x5555568349e0)
[PHY] ru_thread_prach() RU configured – RACH processing thread running
[PHY] [INIT] common.txdata[0] = 0x7ffff7e86040 (614400 bytes)
[PHY] nb_tx 1
[PHY] rxdata_7_5kHz[0] 0x7ffff7e49040 for RU 0
[PHY] [INIT] common.txdata_BF= 0x555556cd0c00 (8 bytes)
[PHY] txdataF_BF[0] 0x555556cd0c60 for RU 0
[PHY] rxdataF[0] 0x555556cded60 for RU 0
[LIBCONFIG] loader.oai_device: 2/2 parameters successfully set, (1 to default
value)
[LOADER] library liboai_device.so successfully loaded
[PHY] Checking for USRPs : UHD 3.15.0.0-release (3.15.0)
[New Thread 0x7fffd38c1700 (LWP 39926)]
[New Thread 0x7fffd30c0700 (LWP 39927)]
[New Thread 0x7fffd28bf700 (LWP 39928)]
[Thread 0x7fffd30c0700 (LWP 39927) exited]
[Thread 0x7fffd38c1700 (LWP 39926) exited]
[New Thread 0x7fffd20be700 (LWP 39929)]
[Thread 0x7fffd28bf700 (LWP 39928) exited]
[Thread 0x7fffd20be700 (LWP 39929) exited]
https://open-cells.com/index.php/2019/09/22/all-in-one-openairinterface/ 271/408
13/08/2023, 16:07 All in one OpenAirInterface – 4G and 5G reference software
https://open-cells.com/index.php/2019/09/22/all-in-one-openairinterface/ 272/408
13/08/2023, 16:07 All in one OpenAirInterface – 4G and 5G reference software
https://open-cells.com/index.php/2019/09/22/all-in-one-openairinterface/ 273/408
13/08/2023, 16:07 All in one OpenAirInterface – 4G and 5G reference software
laurent
February 8, 2021 at 12:11 pm
Paul Andrews
February 25, 2021 at 12:51 am
Lauren,
I am getting several S6A errors when I start the MME, including errors on
s6a_task.c:0080 libfdproto ‘1.2.0’ initialized.
s6a_task.c:0080 libgnutls ‘3.5.18’ initialized.
Any advices?
Thanks
Paul
_____________________
MME log:
——-
https://open-cells.com/index.php/2019/09/22/all-in-one-openairinterface/ 274/408
13/08/2023, 16:07 All in one OpenAirInterface – 4G and 5G reference software
https://open-cells.com/index.php/2019/09/22/all-in-one-openairinterface/ 275/408
13/08/2023, 16:07 All in one OpenAirInterface – 4G and 5G reference software
https://open-cells.com/index.php/2019/09/22/all-in-one-openairinterface/ 276/408
13/08/2023, 16:07 All in one OpenAirInterface – 4G and 5G reference software
https://open-cells.com/index.php/2019/09/22/all-in-one-openairinterface/ 277/408
13/08/2023, 16:07 All in one OpenAirInterface – 4G and 5G reference software
https://open-cells.com/index.php/2019/09/22/all-in-one-openairinterface/ 278/408
13/08/2023, 16:07 All in one OpenAirInterface – 4G and 5G reference software
https://open-cells.com/index.php/2019/09/22/all-in-one-openairinterface/ 279/408
13/08/2023, 16:07 All in one OpenAirInterface – 4G and 5G reference software
https://open-cells.com/index.php/2019/09/22/all-in-one-openairinterface/ 280/408
13/08/2023, 16:07 All in one OpenAirInterface – 4G and 5G reference software
https://open-cells.com/index.php/2019/09/22/all-in-one-openairinterface/ 281/408
13/08/2023, 16:07 All in one OpenAirInterface – 4G and 5G reference software
https://open-cells.com/index.php/2019/09/22/all-in-one-openairinterface/ 282/408
13/08/2023, 16:07 All in one OpenAirInterface – 4G and 5G reference software
Zheng Han
March 16, 2021 at 3:50 am
Hi Laurent
[MAC] UE 1ac9 : in synch, PHR 40 DLCQI 15 PUSCH 16 PUCCH 21 RLC disc 0 UL-
stat rcv 1428 err 309 bler 17.789292 mcsoff 0 bsr 0 sched 0 tbs 282581 cnt 1431 ,
DL-stat tbs 1251211 cnt 1249 rb 15912 buf 0 1st 0 ret 0 ri 0
https://open-cells.com/index.php/2019/09/22/all-in-one-openairinterface/ 283/408
13/08/2023, 16:07 All in one OpenAirInterface – 4G and 5G reference software
https://open-cells.com/index.php/2019/09/22/all-in-one-openairinterface/ 284/408
13/08/2023, 16:07 All in one OpenAirInterface – 4G and 5G reference software
https://open-cells.com/index.php/2019/09/22/all-in-one-openairinterface/ 285/408
13/08/2023, 16:07 All in one OpenAirInterface – 4G and 5G reference software
https://open-cells.com/index.php/2019/09/22/all-in-one-openairinterface/ 286/408
13/08/2023, 16:07 All in one OpenAirInterface – 4G and 5G reference software
https://open-cells.com/index.php/2019/09/22/all-in-one-openairinterface/ 287/408
13/08/2023, 16:07 All in one OpenAirInterface – 4G and 5G reference software
1/LCID 3
[MAC] Added physicalConfigDedicated 0x7f53d01d9530 for 0.0
[PHY] uplink segment error 0/2, aborted 1 segments
[MAC] UE 1ac9 : in synch, PHR 40 DLCQI 15 PUSCH 14 PUCCH 25 RLC disc 0 UL-
stat rcv 1714 err 466 bler 21.376147 mcsoff 0 bsr 0 sched 0 tbs 432171 cnt 1719 ,
DL-stat tbs 6348635 cnt 2731 rb 73264 buf 0 1st 0 ret 0 ri 0
[PHY] uplink segment error 1/4, aborted 2 segments
[MAC] UE 1ac9 : in synch, PHR 40 DLCQI 15 PUSCH 13 PUCCH 30 RLC disc 0 UL-
stat rcv 1775 err 476 bler 21.146157 mcsoff 0 bsr 0 sched 0 tbs 443071 cnt 1780 ,
DL-stat tbs 6414704 cnt 2815 rb 74148 buf 0 1st 0 ret 0 ri 0
[MAC] UE 1ac9 : in synch, PHR 40 DLCQI 15 PUSCH 14 PUCCH 29 RLC disc 0 UL-
stat rcv 1830 err 480 bler 20.779221 mcsoff 0 bsr 0 sched 0 tbs 447914 cnt 1835 ,
DL-stat tbs 6421128 cnt 2852 rb 74307 buf 0 1st 0 ret 0 ri 0
[MAC] UE 1ac9 : in synch, PHR 40 DLCQI 15 PUSCH 16 PUCCH 29 RLC disc 0 UL-
stat rcv 1896 err 481 bler 20.235591 mcsoff 0 bsr 0 sched 0 tbs 455995 cnt 1901 ,
DL-stat tbs 6449097 cnt 2918 rb 74755 buf 0 1st 0 ret 0 ri 0
[RRC] UE rnti 1ac9 failure timer 0/8
[PHY] prach_I0 = 0.0 dB
[PHY] max_I0 20 (rb 26), min_I0 17 (rb 3), avg I0 18
[MAC] UE 1ac9 : in synch, PHR 40 DLCQI 15 PUSCH 17 PUCCH 24 RLC disc 0 UL-
stat rcv 1950 err 481 bler 19.786096 mcsoff 0 bsr 0 sched 0 tbs 462632 cnt 1955 ,
DL-stat tbs 6451878 cnt 2953 rb 74872 buf 0 1st 0 ret 0 ri 0
[MAC] UE 1ac9 : in synch, PHR 40 DLCQI 15 PUSCH 17 PUCCH 30 RLC disc 0 UL-
stat rcv 2011 err 481 bler 19.301766 mcsoff 0 bsr 0 sched 0 tbs 469256 cnt 2016 ,
DL-stat tbs 6454635 cnt 2994 rb 74998 buf 0 1st 0 ret 0 ri 0
[MAC] UE 1ac9 : in synch, PHR 40 DLCQI 15 PUSCH 17 PUCCH 18 RLC disc 0 UL-
stat rcv 2069 err 494 bler 19.274288 mcsoff 0 bsr 0 sched 0 tbs 474139 cnt 2074 ,
DL-stat tbs 6457190 cnt 3041 rb 75139 buf 0 1st 0 ret 0 ri 0
[MAC] UE 1ac9 : in synch, PHR 40 DLCQI 15 PUSCH 18 PUCCH 12 RLC disc 0 UL-
stat rcv 2110 err 553 bler 20.766053 mcsoff 0 bsr 0 sched 0 tbs 477006 cnt 2115 ,
DL-stat tbs 6458607 cnt 3080 rb 75256 buf 0 1st 0 ret 0 ri 0
[MAC] UE 0 rnti 1ac9: UL Failure timer 1
[MAC] UE 1ac9 : in synch, PHR 40 DLCQI 15 PUSCH 15 PUCCH 14 RLC disc 0 UL-
stat rcv 2146 err 597 bler 21.764491 mcsoff 0 bsr 0 sched 0 tbs 481778 cnt 2151 ,
DL-stat tbs 6495284 cnt 3122 rb 75728 buf 0 1st 0 ret 0 ri 0
[MAC] UE 1ac9 : in synch, PHR 40 DLCQI 15 PUSCH 15 PUCCH 6 RLC disc 0 UL-stat
rcv 2146 err 597 bler 21.764491 mcsoff 0 bsr 0 sched 0 tbs 481778 cnt 2151 , DL-
https://open-cells.com/index.php/2019/09/22/all-in-one-openairinterface/ 288/408
13/08/2023, 16:07 All in one OpenAirInterface – 4G and 5G reference software
https://open-cells.com/index.php/2019/09/22/all-in-one-openairinterface/ 289/408
13/08/2023, 16:07 All in one OpenAirInterface – 4G and 5G reference software
https://open-cells.com/index.php/2019/09/22/all-in-one-openairinterface/ 290/408
13/08/2023, 16:07 All in one OpenAirInterface – 4G and 5G reference software
laurent
March 16, 2021 at 12:44 pm
Hi,
The key message is: Removing UE 1ac9 instance, because of uplink failure timer
timeout
the uplink fails:
poor radio: antennas gain, reference signal power, …
or OAI issue (try fairRR scheduler (see ci-
scripts/conf_files/rcc.band40.tm1.50PRB.FairScheduler.usrpb210.conf))
Regards
Zheng Han
March 16, 2021 at 3:25 pm
Thanks Laurent.
https://open-cells.com/index.php/2019/09/22/all-in-one-openairinterface/ 291/408
13/08/2023, 16:07 All in one OpenAirInterface – 4G and 5G reference software
laurent
March 21, 2021 at 3:28 pm
yes of course
Ranjith
April 1, 2021 at 4:37 am
Hi,
I have successfully this setup and able to connect 2 UE’s with the core network,
and did some speedtests. When I tried to make a phone call between the 2 UE’s
the MME gets crashed.
I would like to know whether using this setup can we make phone calls between
the connected UE’s in the same core network.
Anand
April 2, 2021 at 12:56 pm
Hi Laurent,
I’m also running into this issue when trying to run the hss_import command
above:
https://open-cells.com/index.php/2019/09/22/all-in-one-openairinterface/ 292/408
13/08/2023, 16:07 All in one OpenAirInterface – 4G and 5G reference software
Thanks,
Anand
Anand
April 2, 2021 at 1:11 pm
Hi Laurent,
In regards to my last post, I am forgot to leave out this last error:
opencells-mods/hss_import: line 19: echo_error: command not found
Thanks,
Anand
paul
April 19, 2021 at 1:31 pm
Hi laurent,
my set up worked fine till last week now I get following error (eNB):
[MAC] SCHED_MODE = 0
[PHY] prach_I0 = 0.0 dB
[PHY] max_I0 24, min_I0 0
Error: signal 11:
./cmake_targets/lte_build_oai/build/lte-softmodem(signal_handler+0x7c)
[0x5576483dd4ec]
/lib/x86_64-linux-gnu/libc.so.6(+0x3f040)[0x7ffafb7a8040]
/usr/lib/x86_64-linux-
gnu/libstdc++.so.6(_ZSt18_Rb_tree_incrementPSt18_Rb_tree_node_base+0x
24)[0x7ffafbe1bfb4]
./cmake_targets/lte_build_oai/build/lte-softmodem(+0x783028)
[0x557648782028]
./cmake_targets/lte_build_oai/build/lte-softmodem(itti_receive_msg+0x14b)
[0x55764878274b]
./cmake_targets/lte_build_oai/build/lte-softmodem(eNB_app_task+0xad)
[0x5576486449fd]
/lib/x86_64-linux-gnu/libpthread.so.0(+0x76db)[0x7ffafd60b6db]
https://open-cells.com/index.php/2019/09/22/all-in-one-openairinterface/ 293/408
13/08/2023, 16:07 All in one OpenAirInterface – 4G and 5G reference software
/lib/x86_64-linux-gnu/libc.so.6(clone+0x3f)[0x7ffafb88a71f]
libusb: warning [libusb_exit] application left some devices open
regards
paul
laurent
April 20, 2021 at 12:59 pm
Hi,
I don’t think anybody tested LimeSDR for a long while
Laurent
Dr Farhan Ahmad
May 12, 2021 at 11:18 am
Hi Laurent,
Thank you for a very detailed tutorial on OAI. Following the steps you mentioned,
I am able to successfully compile and run the eNB. However, I am unable to attach
the UE with eNB. I used the same parameters you mentioned: TAC = 1, MCC = 208,
and MNC = 92.
I am using MotoG 8 plus mobile. My mobile can see the eNB, but it can not
connect to the eNB. I get following message on the mobile “your sim doesn’t
allow connection to this network”. Any leads on solving this issue.
Kind Regards,
Farhan
https://open-cells.com/index.php/2019/09/22/all-in-one-openairinterface/ 294/408
13/08/2023, 16:07 All in one OpenAirInterface – 4G and 5G reference software
laurent
May 13, 2021 at 8:45 am
Dear Farhan,
What is the SIM ?
You need a SIM with subscription matching the HSS database.
Regards,
Laurent
Farhan
May 14, 2021 at 9:58 am
Dear Laurent,
mcc = 208
mnc=92
Tac=1
IMSI=208920100001100
ICCID=8988211000000094808
Ki=8baf473f2f8fd09487cccbd7097c6862
OPC=e734f8734007d65ce7a0508809e7e9c
ACC=0001
OPMODE=none
laurent
May 14, 2021 at 1:16 pm
https://open-cells.com/index.php/2019/09/22/all-in-one-openairinterface/ 295/408
13/08/2023, 16:07 All in one OpenAirInterface – 4G and 5G reference software
Farhan
May 14, 2021 at 1:44 pm
I have made change to the database and added the IMSI in the database. I
changed the users table and updated the three fields for the IMSI with the
values programmed in our sim:
1) IMEI:
2) Key:
3) OPc:
Arman
May 27, 2021 at 7:04 am
Hi Laurent,
laurent
May 27, 2021 at 7:52 pm
Hi,
Your CPU should support AVX2 instructions for OAI
https://open-cells.com/index.php/2019/09/22/all-in-one-openairinterface/ 297/408
13/08/2023, 16:07 All in one OpenAirInterface – 4G and 5G reference software
Regards,
Laurent
Arman
June 15, 2021 at 5:36 am
Dear Laurent,
Thank you for your reply.
Can I ask one more question about the test on branch
NR_SA_F1AP_5GRECORDS?
I have build up gNB with USRP b210 and Ubuntu 18.04.
When I tried to connect to 5G core with UE(HUAWEI HONOR V30 Pro), it
failed.
Below are the logs (a little bit long), I have tried several gains on tx and rx in
config file, but still did not work. Fail log repeated at the last part.
Could you please have a check on it? Thank you very much.
value)
[LIBCONFIG] log_config: 16/16 parameters successfully set, (16 to default
value)
log init done
…
….
About to call end_configmodule() from main()
/home/openairinterface5g/executables/nr-softmodem.c:867
got sync (L1_stats_thread)
got sync (ru_thread)
[CONFIG] calling config module end function…
[CONFIG] free 430 config value pointers
Called end_configmodule() from main()
/home/openairinterface5g/executables/nr-softmodem.c:869
TYPE TO TERMINATE
Entering ITTI signals handler
[PHY] RU 0 rf device ready
sleep…
sleep…
sleep…
sleep…
sleep…
sleep…
sleep…
sleep…
sleep…
ULLLLULLLLULLLLLULULLLLLLULLLL[PHY] [gNB 0][RAPROC] Frame 237,
slot 19 Initiating RA procedure with preamble 45, energy 75.0 dB (I0 411, thres
200), delay 8 start symbol 0 freq index 0
[NR_MAC] [gNB 0][RAPROC] CC_id 0 Frame 238, slotP 7: Generating RA-
Msg2 DCI, rnti 0x10b, state 1
[NR_MAC] [gNB] Generate RAR MAC PDU frame 238 slot 7 preamble index 45
TA command 8
[NR_MAC] In nr_fill_rar: Transmitted RAR with t_alloc 2 f_alloc 528
ta_command 8 mcs 0 freq_hopping 0 tpc_command 3 csi_req 0 t_crnti ef0d
[NR_MAC] [gNB 0][RAPROC] Frame 238, Subframe 7: RA state 2
[NR_MAC] Random Access 0 failed at state 2 (state is not WAIT_Msg3)
https://open-cells.com/index.php/2019/09/22/all-in-one-openairinterface/ 299/408
13/08/2023, 16:07 All in one OpenAirInterface – 4G and 5G reference software
laurent
June 15, 2021 at 4:03 pm
https://open-cells.com/index.php/2019/09/22/all-in-one-openairinterface/ 300/408
13/08/2023, 16:07 All in one OpenAirInterface – 4G and 5G reference software
Hi,
This is the right git branch, but it doesn’t work completely.
With Huawei, I have the same result as you: Msg3 fails (Fujitsu is working
on it also)
With Qualcomm X55 based phones, we reach network attach, we debug now
the data path.
Regards,
Laurent
Yu Chen
January 4, 2022 at 11:26 am
Hi Laurent,
Thanks for your solution. However, the error still occurs even though my CPU
supports AVX2. Is there any other reason causing the problem? Thank you.
Kind regards,
Yu Chen
Paul
June 8, 2021 at 10:10 am
Hi Laurent,
could you tell me what is the differents between:
~/openairinterface5g/targets/bin/lte-softmodem.Rel14
~/openairinterface5g/cmake_targets/lte_build_oai/build/lte-softmodem
https://open-cells.com/index.php/2019/09/22/all-in-one-openairinterface/ 301/408
13/08/2023, 16:07 All in one OpenAirInterface – 4G and 5G reference software
I tried both with the same config files and get the same output. Should I use
another config ?
How can I use the different LTE releases?
Regards,
Paul
Config File:
////////// Physical parameters:
component_carriers = (
{
node_function = “3GPP_eNODEB”;
node_timing = “synch_to_ext_device”;
node_synch_ref = 0;
frame_type = “FDD”;
tdd_config = 3;
tdd_config_s = 5;
prefix_type = “NORMAL”;
eutra_band = 1;
downlink_frequency = 2139950000L;
uplink_frequency_offset = -190000000;
Nid_cell = 0;
N_RB_DL = 25;
Nid_cell_mbsfn = 0;
nb_antenna_ports = 1;
nb_antennas_tx = 1;
nb_antennas_rx = 1;
tx_gain = 90;
rx_gain = 125;
pbch_repetition = “FALSE”;
prach_root = 0;
prach_config_index = 0;
prach_high_speed = “DISABLE”;
prach_zero_correlation = 1;
prach_freq_offset = 2;
pucch_delta_shift = 1;
pucch_nRB_CQI = 0;
https://open-cells.com/index.php/2019/09/22/all-in-one-openairinterface/ 302/408
13/08/2023, 16:07 All in one OpenAirInterface – 4G and 5G reference software
pucch_nCS_AN = 0;
pucch_n1_AN = 0;
pdsch_referenceSignalPower = -27;
pdsch_p_b = 0;
pusch_n_SB = 1;
pusch_enable64QAM = “DISABLE”;
pusch_hoppingMode = “interSubFrame”;
pusch_hoppingOffset = 0;
pusch_groupHoppingEnabled = “ENABLE”;
pusch_groupAssignment = 0;
pusch_sequenceHoppingEnabled = “DISABLE”;
pusch_nDMRS1 = 1;
phich_duration = “NORMAL”;
phich_resource = “ONESIXTH”;
srs_enable = “DISABLE”;
/* srs_BandwidthConfig =0;
srs_SubframeConfig =;
srs_ackNackST =;
srs_MaxUpPts =;*/
pusch_p0_Nominal = -96;
pusch_alpha = “AL1”;
pucch_p0_Nominal = -104;
msg3_delta_Preamble = 6;
pucch_deltaF_Format1 = “deltaF2”;
pucch_deltaF_Format1b = “deltaF3”;
pucch_deltaF_Format2 = “deltaF0”;
pucch_deltaF_Format2a = “deltaF0”;
pucch_deltaF_Format2b = “deltaF0”;
rach_numberOfRA_Preambles = 64;
rach_preamblesGroupAConfig = “DISABLE”;
/*
rach_sizeOfRA_PreamblesGroupA = ;
rach_messageSizeGroupA = ;
rach_messagePowerOffsetGroupB = ;
*/
https://open-cells.com/index.php/2019/09/22/all-in-one-openairinterface/ 303/408
13/08/2023, 16:07 All in one OpenAirInterface – 4G and 5G reference software
rach_powerRampingStep = 4;
rach_preambleInitialReceivedTargetPower = -108;
rach_preambleTransMax = 10;
rach_raResponseWindowSize = 10;
rach_macContentionResolutionTimer = 48;
rach_maxHARQ_Msg3Tx = 4;
pcch_default_PagingCycle = 128;
pcch_nB = “oneT”;
bcch_modificationPeriodCoeff = 2;
ue_TimersAndConstants_t300 = 1000;
ue_TimersAndConstants_t301 = 1000;
ue_TimersAndConstants_t310 = 1000;
ue_TimersAndConstants_t311 = 10000;
ue_TimersAndConstants_n310 = 20;
ue_TimersAndConstants_n311 = 1;
ue_TransmissionMode = 1;
https://open-cells.com/index.php/2019/09/22/all-in-one-openairinterface/ 304/408
13/08/2023, 16:07 All in one OpenAirInterface – 4G and 5G reference software
}
);
srb1_parameters :
{
# timer_poll_retransmit = (ms) [5, 10, 15, 20,… 250, 300, 350, … 500]
timer_poll_retransmit = 80;
# poll_byte = (kB)
[25,50,75,100,125,250,375,500,750,1000,1250,1500,2000,3000,infinity(>10000)]
poll_byte = 99999;
https://open-cells.com/index.php/2019/09/22/all-in-one-openairinterface/ 305/408
13/08/2023, 16:07 All in one OpenAirInterface – 4G and 5G reference software
NETWORK_INTERFACES :
{
ENB_INTERFACE_NAME_FOR_S1_MME = “lo”;
ENB_IPV4_ADDRESS_FOR_S1_MME = “127.0.0.10/8”;
ENB_INTERFACE_NAME_FOR_S1U = “lo”;
ENB_IPV4_ADDRESS_FOR_S1U = “127.0.0.10/8”;
ENB_PORT_FOR_S1U = 2152; # Spec 2152
ENB_IPV4_ADDRESS_FOR_X2C = “127.0.0.1/24”;
ENB_PORT_FOR_X2C = 36422; # Spec 36422
};
}
);
MACRLCs = (
{
num_cc = 1;
https://open-cells.com/index.php/2019/09/22/all-in-one-openairinterface/ 306/408
13/08/2023, 16:07 All in one OpenAirInterface – 4G and 5G reference software
tr_s_preference = “local_L1”;
tr_n_preference = “local_RRC”;
phy_test_mode = 0;
puSch10xSnr = 200;
puCch10xSnr = 200;
}
);
L1s = (
{
num_cc = 1;
tr_n_preference = “local_mac”;
}
);
RUs = (
{
local_rf = “yes”
nb_tx = 1
nb_rx = 1
att_tx = 60
att_rx = 60;
bands = [1];
max_pdschReferenceSignalPower = -27;
max_rxgain = 125;
eNB_instances = [0];
}
);
NETWORK_CONTROLLER :
{
FLEXRAN_ENABLED = “no”;
FLEXRAN_INTERFACE_NAME = “lo”;
FLEXRAN_IPV4_ADDRESS = “127.0.0.1”;
FLEXRAN_PORT = 2210;
FLEXRAN_CACHE = “/mnt/oai_agent_cache”;
https://open-cells.com/index.php/2019/09/22/all-in-one-openairinterface/ 307/408
13/08/2023, 16:07 All in one OpenAirInterface – 4G and 5G reference software
FLEXRAN_AWAIT_RECONF = “no”;
};
THREAD_STRUCT = (
{
#three config for level of parallelism “PARALLEL_SINGLE_THREAD”,
“PARALLEL_RU_L1_SPLIT”, or “PARALLEL_RU_L1_TRX_SPLIT”
parallel_config = “PARALLEL_SINGLE_THREAD”;
#parallel_config = “PARALLEL_RU_L1_TRX_SPLIT”;
#two option for worker “WORKER_DISABLE” or “WORKER_ENABLE”
worker_config = “WORKER_ENABLE”;
}
);
log_config :
{
global_log_level =”info”;
global_log_verbosity =”medium”;
hw_log_level =”info”;
hw_log_verbosity =”medium”;
phy_log_level =”info”;
phy_log_verbosity =”medium”;
mac_log_level =”info”;
mac_log_verbosity =”high”;
rlc_log_level =”info”;
rlc_log_verbosity =”medium”;
pdcp_log_level =”info”;
pdcp_log_verbosity =”medium”;
rrc_log_level =”info”;
rrc_log_verbosity =”medium”;
};
laurent
June 9, 2021 at 8:40 am
https://open-cells.com/index.php/2019/09/22/all-in-one-openairinterface/ 308/408
13/08/2023, 16:07 All in one OpenAirInterface – 4G and 5G reference software
~/openairinterface5g/targets/bin/lte-softmodem.Rel14
~/openairinterface5g/cmake_targets/lte_build_oai/build/lte-softmodem
are the same
The script “buil_oai” simply copies the binary in directory “targets/bin” (it
was the procedure before cmake based OAI build, we kept it for compatibility)
You can verify easily with many Linux tools that two files are identical
Paul
June 15, 2021 at 10:22 am
Hi laurent,
thanks for the quick answer. But I still don’t understand how I can switch
between LTE-M, NB-IoT or the other LTE releases. Could you tell me wich are
the parameters that I have to change?
regards
Paul
laurent
June 15, 2021 at 4:00 pm
Hi Paul,
The way I prefer: dig in CI (continuous integration) set of tests: these are
test cases described in a quite complex method (xml test description)
nevertheless all materials related to each test case are available.
See: https://open5glab.eurecom.fr:8083/jenkins/job/RAN-CI-develop/
it is live CI tests runs
then, in a run, the test list, choose the case you need.
https://open-cells.com/index.php/2019/09/22/all-in-one-openairinterface/ 309/408
13/08/2023, 16:07 All in one OpenAirInterface – 4G and 5G reference software
Kushal
July 11, 2021 at 11:21 am
Hi Laurant,
I am using OAI LTE eNB source over USRP 210, though I am able to attach
commercial UE (Samsung) but sometimes suddenly after UE attaching,
continuous “uplink segment error” starts happening, and then UE goes out of
sync
Is there a way to fix this issue ? From the L1 (PHY) source code, it seems the UL-
SCH decoding failed after multiple decode iterations. I am unable to understand if
that is due to limited UE’s UL power ? or its due to power saturation at eNB ?
laurent
July 11, 2021 at 7:37 pm
Hi,
USRP driver (UHD) prints ULLLLLL.
OpenAir doesn’t provide the signal to send in time
It can be CPU power, OpenAir bug, UHD bug, …
Laurent
https://open-cells.com/index.php/2019/09/22/all-in-one-openairinterface/ 310/408
13/08/2023, 16:07 All in one OpenAirInterface – 4G and 5G reference software
Kushal
July 12, 2021 at 6:36 am
Hi Laurent,
Antonis
August 3, 2021 at 12:49 pm
Hi,
The MME correctly detects the eNB thus i know the all in one epc/enb work
correctly. On a second machine i have build the OAI UE with the following
commands:
$ git clone https://gitlab.eurecom.fr/oai/openairinterface5g.git
$ cd ~/openairinterface5g/cmake_targets
$ ./build_oai -I –UE -c –install-system-files -w USRP
$ cd ~/Desktop/openairinterface5g && source oaienv
$ cd cmake_targets
$ sudo ./build_oai -w USRP -x -c –UE
https://open-cells.com/index.php/2019/09/22/all-in-one-openairinterface/ 311/408
13/08/2023, 16:07 All in one OpenAirInterface – 4G and 5G reference software
Also the two USRPs are connected with cables and a 30db attenuator on each cable
to eliminate the possibility of interference (is used antennas)…
This is the point that the UE is getting stack:
……
[RRC] [UE 0] Frame 402779: OUT OF SYNC FROM eNB 0 (T310 active 0 : T310
1000, N310 26605, N311 0)
[PHY] mode 0
[PHY] prach_start=7680, overflow=-62184
[PHY] [UE 0][RAPROC] PRACH PL 50 dB, power -26 dBm (max 23 dBm), digital
power 45 dB (amp 512)
[PHY] [UE 0][RAPROC] Frame 402780, subframe 1: Generating PRACH (eNB 0)
preamble index 62 for UL, TX power -26 dBm (PL 50 dB), l3msg
[RRC] [UE 0] Frame 402780: OUT OF SYNC FROM eNB 0 (T310 active 0 : T310
1000, N310 26606, N311 0)
[RRC] [UE 0] Frame 402781: OUT OF SYNC FROM eNB 0 (T310 active 0 : T310 1000,
N310 26607, N311 0)
[PHY] mode 0
[PHY] prach_start=7680, overflow=-62184
…..
Any idea of what might be the problem? Has anyone tried to attache the OAI UE to
the all in one enb/epc of oppen-cells with USRPs just as i did?
laurent
August 6, 2021 at 11:09 am
Hi,
your UE doesn’t sync likely because the signal power is not good.
With 30dB attenuator, you should decrease a lot the gains.
compile the scope (enbscope, uescope) and run with -d
the upper left graph is time domain: there should be some noise (filling 20% of
the range) at bottom of the graph
Laurent
Antonis
August 30, 2021 at 7:22 am
https://open-cells.com/index.php/2019/09/22/all-in-one-openairinterface/ 312/408
13/08/2023, 16:07 All in one OpenAirInterface – 4G and 5G reference software
Hello,
I reduced the gains and now i get this error every time (Any idea of what i can
do?):
Antonis
August 30, 2021 at 11:57 am
laurent
August 31, 2021 at 6:17 am
https://open-cells.com/index.php/2019/09/22/all-in-one-openairinterface/ 313/408
13/08/2023, 16:07 All in one OpenAirInterface – 4G and 5G reference software
Antonis
September 7, 2021 at 6:24 am
Hi Laurent,
So i run with -d and there is around 20% noise but still i get the same error
about missing real time. Any idea what else might be the problem?
keezer
August 14, 2021 at 8:30 am
Assertion (1 == 0) failed!
In mme_config_parse_file() /home/f459/openair-
cn/SRC/MME_APP/mme_config.c:209
Failed to parse MME configuration file /usr/local/etc/oai/mme.conf!
laurent
August 16, 2021 at 6:57 am
Hi,
Read the text:
https://open-cells.com/index.php/2019/09/22/all-in-one-openairinterface/ 314/408
13/08/2023, 16:07 All in one OpenAirInterface – 4G and 5G reference software
Larry
August 14, 2021 at 10:04 am
Hi,
I’ve got a problem with the MME.
I configure the mme.conf but I get the following:
root@nano:/home/f459/openair-cn/SCRIPTS# ./run_mme
OPENAIRCN_DIR = /home/f459/openair-cn
Initializing OAI Logging
Assertion (1 == 0) failed!
In mme_config_parse_file() /home/f459/openair-
cn/SRC/MME_APP/mme_config.c:209
Failed to parse MME configuration file /usr/local/etc/oai/mme.conf!
laurent
August 16, 2021 at 6:56 am
https://open-cells.com/index.php/2019/09/22/all-in-one-openairinterface/ 315/408
13/08/2023, 16:07 All in one OpenAirInterface – 4G and 5G reference software
Hi,
Read the text:
Failed to parse MME configuration file /usr/local/etc/oai/mme.conf
Seems quite clear
Larry
August 17, 2021 at 12:50 pm
Hi laurent
Does this mean copy the file mme_config.c directly to the following path?
/usr/local/etc/oai
Thank you
2003zoull
August 17, 2021 at 6:22 am
Hi Laurent
I use OAI eNB + OAI UE in noS1 mode. It always happens RAR fail. CRC of pusch is
error.The SNR is 20-50.Any idea of what might be the problem?
WangDong
September 9, 2021 at 1:40 pm
Hi Laurent,
When I connect OAI eNB with CostUE,it ouucres,how can I fix it?
https://open-cells.com/index.php/2019/09/22/all-in-one-openairinterface/ 317/408
13/08/2023, 16:07 All in one OpenAirInterface – 4G and 5G reference software
laurent
September 9, 2021 at 5:46 pm
https://open-cells.com/index.php/2019/09/22/all-in-one-openairinterface/ 318/408
13/08/2023, 16:07 All in one OpenAirInterface – 4G and 5G reference software
Hi,
your ue connects well, you reach
UE State = RRC_CONNECTED
then, the NB calls the core network and do some dialog, that ends quickly:
Msg of length 22 received from port 36412, on stream 1, PPID 18
[RRC] [FRAME 00000][eNB][MOD 00][RNTI 8e26] Logical Channel DL-DCCH,
Generate RRCConnectionRelease (bytes 3)
The core network rejects the UE for some reason
If you run wireshark on the interface between the core and the eNB, you will get
more details
Also, core network logs can help
Laurent
Wang
September 10, 2021 at 5:51 am
laurent
September 10, 2021 at 7:23 am
Hi,
UE describes it’s implemented security modes (the implemented
algorithms)
The core seems to not have something matching
what core network and what UE are you using ?
Zhenyu Wang
https://open-cells.com/index.php/2019/09/22/all-in-one-openairinterface/ 319/408
13/08/2023, 16:07 All in one OpenAirInterface – 4G and 5G reference software
laurent
September 14, 2021 at 8:05 am
Hi,
Parameter ‘eutra_band’, also the DL/UL frequency offset
you have several bands config files in /ci-scripts/conf_files/enb.band*
So, seeing the changes between these files, you can make a band 3 file
Tony
September 14, 2021 at 6:46 am
Hi Laurent,
My CostUE can connect to the eNB in 5MHz(25PRB) or 10MHz(50PRB).
But UE cannot find eNB in 20MHz(100PRB).
May I ask how did you make it : ), and what causes that.
laurent
September 14, 2021 at 8:06 am
I don’t know.
I used 20MHz for a long while, it was working nicely
Nico
October 28, 2021 at 10:47 am
Hi Laurent,
I know I can play with the attenuation of the rx and tx path to get different power
levels but is conf file a direct parameter to regulate the power of the SDR?
https://open-cells.com/index.php/2019/09/22/all-in-one-openairinterface/ 320/408
13/08/2023, 16:07 All in one OpenAirInterface – 4G and 5G reference software
Goli Srikanth
November 1, 2021 at 1:39 pm
Hi Laurent,
While running the code UE is able to send messages in up to security mode
complete. In the next step, MME is got exited and not able to complete attach
accept message in LTE registration procedure. Below is the following error in
MME running terminal
Thanks
laurent
November 4, 2021 at 9:02 pm
https://open-cells.com/index.php/2019/09/22/all-in-one-openairinterface/ 321/408
13/08/2023, 16:07 All in one OpenAirInterface – 4G and 5G reference software
Goli Srikanth
November 9, 2021 at 9:25 am
Hi Laurent,
I have verified the mme and spgw conf files. Nothing has modified
its actually, “ULR/ULA procedure returned non success\n”. Please help me out
with this issue
laurent
November 9, 2021 at 1:37 pm
keezer
November 1, 2021 at 1:53 pm
https://open-cells.com/index.php/2019/09/22/all-in-one-openairinterface/ 322/408
13/08/2023, 16:07 All in one OpenAirInterface – 4G and 5G reference software
Hi Laurent,
I am doing a independent study
I want to use Tracking Area update procedure and send a TAU_Reject and
Attach_Reject to the UE
so that the UE cannot connect to the Internet
Thank you
laurent
November 4, 2021 at 9:01 pm
Hi,
I think if you set a MME config file with TAC not matching the RAC list in the
MME, the MME will reject the TAU
Regards,
bing han
November 5, 2021 at 7:33 am
Hi Laurent,
Thank you so much for the tutorial
Now the problem is when I visit the http://127.0.0.1/phpmyadmin
my database oai_db only have table pdn users and mmeidentity ,so where is the
apn???
could you help me!
Thank you
laurent
https://open-cells.com/index.php/2019/09/22/all-in-one-openairinterface/ 323/408
13/08/2023, 16:07 All in one OpenAirInterface – 4G and 5G reference software
hi,
it is in pdn table
Laurent
Juan
November 12, 2021 at 5:02 pm
Hi Laurent,
I have a problem when I try to conect my mobile with my LTE network. I think I
have a problem with authentication but I do not see how solve it. I do not know if
the faults are in apn of my mobile, I have xiomi mi note 3.
https://open-cells.com/index.php/2019/09/22/all-in-one-openairinterface/ 324/408
13/08/2023, 16:07 All in one OpenAirInterface – 4G and 5G reference software
https://open-cells.com/index.php/2019/09/22/all-in-one-openairinterface/ 325/408
13/08/2023, 16:07 All in one OpenAirInterface – 4G and 5G reference software
lop/src/nas/emm/Authentication.c:0374 Entering
_auth_info_proc_success_cb()
012234 08030:561719 7F0AA37FE700 ERROR S6A 5g-cn-
develop/src/s6a/s6a_task.c:0090 {internal data}: src:hss.4GLaboratory(16) rwb:
(nil) rt:1 cb:(nil),(nil)((nil)) qry:0x7f0a380013c0 asso:0 sess:0x7f0a38001550
012235 08030:561723 7F0ACA35C700 INFO NAS-EM
lop/src/nas/emm/Authentication.c:0403 EMM-PROC – Received Vector 0:
012237 08030:561729 7F0ACA35C700 INFO NAS-EM
lop/src/nas/emm/Authentication.c:0404 EMM-PROC – Received XRES ..:
ea,8d,f8,1c,b1,a0,f4,1b,00,00,00,00,00,00,00,00
012236 08030:561725 7F0AA37FE700 ERROR S6A 5g-cn-
develop/src/s6a/s6a_task.c:0090 AVP: ‘Session-Id'(263) l=57 f=-M
val=”epc.4GLaboratory.4GLaboratory;1636726797;6;apps6a”
012238 08030:561737 7F0ACA35C700 INFO NAS-EM
lop/src/nas/emm/Authentication.c:0405 EMM-PROC – Received RAND ..:
c7,5e,9b,2d,86,a3,95,6f,68,ea,15,06,85,c1,15,64
012240 08030:561744 7F0ACA35C700 INFO NAS-EM
lop/src/nas/emm/Authentication.c:0406 EMM-PROC – Received AUTN ..:
4b,53,9b,da,17,91,80,00,81,77,17,f3,78,42,4c,f1
012239 08030:561742 7F0AA37FE700 ERROR S6A 5g-cn-
develop/src/s6a/s6a_task.c:0090 AVP: ‘Authentication-Info'(1413)
vend=’3GPP'(10415) l=144 f=VM val=(grouped)
012241 08030:561751 7F0ACA35C700 INFO NAS-EM
lop/src/nas/emm/Authentication.c:0408 EMM-PROC – Received KASME .:
1c,69,45,76,fe,03,2e,59,2a,97,ea,32,06,2a,53,25
44,71,1f,55,92,ca,f8,b7,69,2b,e6,d6,16,a1,fc,24
012242 08030:561755 7F0AA37FE700 ERROR S6A 5g-cn-
develop/src/s6a/s6a_task.c:0090 AVP: ‘E-UTRAN-Vector'(1414)
vend=’3GPP'(10415) l=132 f=VM val=(grouped)
012243 08030:561761 7F0ACA35C700 TRACE NAS-EM
evelop/src/nas/emm/sap/emm_sap.c:0122 Entering emm_sap_send()
012244 08030:561767 7F0ACA35C700 TRACE NAS-EM
evelop/src/nas/emm/sap/emm_reg.c:0110 Entering emm_reg_send()
012245 08030:561767 7F0AA37FE700 ERROR S6A 5g-cn-
develop/src/s6a/s6a_task.c:0090 AVP: ‘RAND'(1447) vend=’3GPP'(10415) l=28
f=VM val=
012246 08030:561772 7F0ACA35C700 TRACE NAS-EM
https://open-cells.com/index.php/2019/09/22/all-in-one-openairinterface/ 326/408
13/08/2023, 16:07 All in one OpenAirInterface – 4G and 5G reference software
https://open-cells.com/index.php/2019/09/22/all-in-one-openairinterface/ 327/408
13/08/2023, 16:07 All in one OpenAirInterface – 4G and 5G reference software
https://open-cells.com/index.php/2019/09/22/all-in-one-openairinterface/ 328/408
13/08/2023, 16:07 All in one OpenAirInterface – 4G and 5G reference software
https://open-cells.com/index.php/2019/09/22/all-in-one-openairinterface/ 329/408
13/08/2023, 16:07 All in one OpenAirInterface – 4G and 5G reference software
laurent
November 12, 2021 at 8:14 pm
Juan
November 16, 2021 at 6:44 pm
my USIM card.
NAS EPC Mobility Management Message Type: Authentication failure (0x5c).
-Cause failure (20).
– UEContextReleaseCommand [NAS-cause=unspecified]
In this failures I can see.
Cause: NAS (2).
nas: unspecified (3).
regards,
Juan.
laurent
November 17, 2021 at 10:22 am
hi,
I will need the the pcap file to try to understand.
MNC unknown: maybe you have not set the right plmn in xNG configuration, in
some core network files.
Regards
Laurent
Juan
November 19, 2021 at 12:05 pm
Hi Laurent,
Thank you very much for help me.
this file have the followings failure.
S1 Application Protocol
https://open-cells.com/index.php/2019/09/22/all-in-one-openairinterface/ 331/408
13/08/2023, 16:07 All in one OpenAirInterface – 4G and 5G reference software
laurent
November 19, 2021 at 3:16 pm
Hi,
I think you hss updates the opc each time it starts: recompute OPc from Ki and
OP.
https://open-cells.com/index.php/2019/09/22/all-in-one-openairinterface/ 332/408
13/08/2023, 16:07 All in one OpenAirInterface – 4G and 5G reference software
Zhenyu Wang
November 24, 2021 at 3:27 am
Hi Laurent,
I have successfully run the all in one tutorial and successfully connected to
costue.
And now I want to connect OAI eNB with OAI UE in two machines with usrpb210.
I run ENB and EPC according to the tutorial.
In UE machine, I run
sudo ./lte-uesoftmodem -C 2630000000 -r 50 –ue-scan-carrier –ue-txgain 90
–ue-rxgain 90
and it shows
[CONFIG] get parameters from cmdline , debug flags: 0x00400000
# /dev/cpu_dma_latency set to 0us
[CONFIG] log_config: 2/3 parameters successfully set
[CONFIG] log_config: 42/42 parameters successfully set
[CONFIG] log_config: 42/42 parameters successfully set
[CONFIG] log_config: 15/15 parameters successfully set
[CONFIG] log_config: 15/15 parameters successfully set
log init done
Reading in command-line options
[CONFIG] (root): 18/21 parameters successfully set
[CONFIG] (root): 4/5 parameters successfully set
[ENB_APP] nfapi running mode: MONOLITHIC
Running with 1 UE instances
[CONFIG] TTracer: 4/4 parameters successfully set
CPU Freq is 3.696246
ITTI init
[TMR] Starting itti queue: TASK_UNKNOWN as task 0
[TMR] Starting itti queue: TASK_TIMER as task 1
[TMR] Starting itti queue: TASK_L2L1 as task 2
https://open-cells.com/index.php/2019/09/22/all-in-one-openairinterface/ 333/408
13/08/2023, 16:07 All in one OpenAirInterface – 4G and 5G reference software
https://open-cells.com/index.php/2019/09/22/all-in-one-openairinterface/ 334/408
13/08/2023, 16:07 All in one OpenAirInterface – 4G and 5G reference software
https://open-cells.com/index.php/2019/09/22/all-in-one-openairinterface/ 335/408
13/08/2023, 16:07 All in one OpenAirInterface – 4G and 5G reference software
https://open-cells.com/index.php/2019/09/22/all-in-one-openairinterface/ 336/408
13/08/2023, 16:07 All in one OpenAirInterface – 4G and 5G reference software
CPU_5
[NAS]
/home/ngws/openairinterface5g/openair3/NAS/COMMON/UTIL/memory.c:117
MEMORY – USIM_DIR and PWD environment variables are not defined trying
local directory
[TMR] Created Posix thread TASK_NAS_UE
[NAS]
/home/ngws/openairinterface5g/openair3/NAS/COMMON/UTIL/memory.c:117
MEMORY – NVRAM_DIR and PWD environment variables are not defined trying
local directory
[NAS]
/home/ngws/openairinterface5g/openair3/NAS/COMMON/UTIL/memory.c:117
MEMORY – NVRAM_DIR and PWD environment variables are not defined trying
local directory
[TMR] Created Posix thread TASK_RRC_UE
ITTI tasks created
[NAS]
/home/ngws/openairinterface5g/openair3/NAS/UE/API/USER/user_api.c:143
USR-API – User’s UDP socket 68 is BOUND to ngws-Z390-GAMING-X/10000
[NAS]
/home/ngws/openairinterface5g/openair3/NAS/UE/API/USER/user_api.c:166
USR-API – Notification handlers successfully registered
[NAS]
/home/ngws/openairinterface5g/openair3/NAS/UE/EMM/emm_main.c:203
EMM-MAIN – USIM application data successfully read
[NAS]
/home/ngws/openairinterface5g/openair3/NAS/UE/EMM/emm_main.c:248
EMM-MAIN – usim_api_k: 8b af 47 3f 2f 8f d0 94 87 cc cb d7 09 7c 68 62
[NAS]
/home/ngws/openairinterface5g/openair3/NAS/UE/EMM/emm_main.c:249
EMM-MAIN – opc: e7 34 f8 73 40 07 d6 c5 ce 7a 05 08 80 9e 7e 9c
[NAS]
/home/ngws/openairinterface5g/openair3/NAS/UE/EMM/emm_main.c:403
EMM-MAIN – EMM data successfully read
[PHY] UE : Calling Layer 2 for initialization
[MAC] [MAIN] MAC_INIT_GLOBAL_PARAM IN…
[MAC] [MAIN] CALLING RLC_MODULE_INIT…
https://open-cells.com/index.php/2019/09/22/all-in-one-openairinterface/ 337/408
13/08/2023, 16:07 All in one OpenAirInterface – 4G and 5G reference software
https://open-cells.com/index.php/2019/09/22/all-in-one-openairinterface/ 338/408
13/08/2023, 16:07 All in one OpenAirInterface – 4G and 5G reference software
rx_num_channels 1)
waiting for sync
(UE_thread_sync,-1/0x55b71182b268,0x55b711f1a9e0,0x55b711dd0c80)
[LOADER] library liboai_device.so successfully loaded
[PHY] Checking for USRPs : UHD 4.2.0.git-77-g919043f3 (4.2.0)
[INFO] [UHD] linux; GNU C++ version 7.5.0; Boost_106501; UHD_4.2.0.git-77-
g919043f3
[HW] Found USRP b200
Found USRP b200
[INFO] [B200] Detected Device: B210
[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] Performing register loopback test…
[INFO] [B200] Register loopback test passed
[INFO] [B200] Asking for clock rate 30.720000 MHz…
[INFO] [B200] Actually got clock rate 30.720000 MHz.
Setting clock source to internal
[INFO] [B200] Asking for clock rate 30.720000 MHz…
[INFO] [B200] OK
[PHY] cal 0: freq 3500000000.000000, offset 44.000000, diff 870000000.000000
[PHY] cal 1: freq 2660000000.000000, offset 49.800000, diff 30000000.000000
[PHY] cal 2: freq 2300000000.000000, offset 51.000000, diff 330000000.000000
[PHY] cal 3: freq 1880000000.000000, offset 53.000000, diff 750000000.000000
[PHY] cal 4: freq 816000000.000000, offset 57.000000, diff 1814000000.000000
[PHY] RX Gain 0 90.000000 (52.800000) => 37.200000 (max 76.000000)
[PHY] USRP TX_GAIN:-0.25 gain_range:89.75 tx_gain:90.00
[PHY] Actual master clock: 30.720000MHz…
[PHY] RF board max packet size 1916, size for 100µs jitter 1536
[PHY] rx_max_num_samps 1536
[PHY] RX Channel 0
[PHY] Actual RX sample rate: 15.360000MSps…
[PHY] Actual RX frequency: 2.630000GHz…
[PHY] Actual RX gain: 37.000000…
[PHY] Actual RX bandwidth: 20.000000M…
https://open-cells.com/index.php/2019/09/22/all-in-one-openairinterface/ 339/408
13/08/2023, 16:07 All in one OpenAirInterface – 4G and 5G reference software
https://open-cells.com/index.php/2019/09/22/all-in-one-openairinterface/ 340/408
13/08/2023, 16:07 All in one OpenAirInterface – 4G and 5G reference software
https://open-cells.com/index.php/2019/09/22/all-in-one-openairinterface/ 341/408
13/08/2023, 16:07 All in one OpenAirInterface – 4G and 5G reference software
/home/ngws/openairinterface5g/openair3/NAS/UE/EMM/SAP/emm_as.c:1475
EMMAS-SAP – Send AS cell information request
[RRC] [FRAME 00000][ UE][MOD 00][RNTI 0] Init…
[RRC] [UE 0] INIT State = RRC_IDLE (eNB 0)
[RRC] [FRAME 00000][ UE][MOD 00][RNTI 0] UE?:OPENAIR RRC IN….
[PHY] Time in secs now: 27511785
[PHY] Time in secs last pps: 23106330
[PHY] [UE thread Synch] Running Initial Synch (mode 0)
[PHY] Initializing frame parms for N_RB_DL 50, Ncp 0, osf 1
[PHY] lte_parms.c: Setting N_RB_DL to 50, ofdm_symbol_size 1024
[PHY] [UE] lte_sync_time: Sync source = 0, Peak found at pos 45936, val =
533247 (28 dB)
[PHY] Initializing frame parms for N_RB_DL 50, Ncp 0, osf 1
[PHY] lte_parms.c: Setting N_RB_DL to 50, ofdm_symbol_size 1024
[PHY] Initializing frame parms for N_RB_DL 50, Ncp 1, osf 1
[PHY] lte_parms.c: Setting N_RB_DL to 50, ofdm_symbol_size 1024
[PHY] Initializing frame parms for N_RB_DL 50, Ncp 1, osf 1
[PHY] lte_parms.c: Setting N_RB_DL to 50, ofdm_symbol_size 1024
[PHY] Not yet implemented: noise power calculation when prefix length ==
EXTENDED
[PHY] Not yet implemented: noise power calculation when prefix length ==
EXTENDED
[PHY] FeMBMS CAS Extended prefix: CellId 429 metric 22, phase 4, flip 0, pbch -1
[PHY] Initializing frame parms for N_RB_DL 50, Ncp 0, osf 1
[PHY] lte_parms.c: Setting N_RB_DL to 50, ofdm_symbol_size 1024
[PHY] Initializing frame parms for N_RB_DL 50, Ncp 0, osf 1
[PHY] lte_parms.c: Setting N_RB_DL to 50, ofdm_symbol_size 1024
[PHY] Initializing frame parms for N_RB_DL 50, Ncp 1, osf 1
[PHY] lte_parms.c: Setting N_RB_DL to 50, ofdm_symbol_size 1024
[PHY] Initializing frame parms for N_RB_DL 50, Ncp 1, osf 1
[PHY] lte_parms.c: Setting N_RB_DL to 50, ofdm_symbol_size 1024
[PHY] Not yet implemented: noise power calculation when prefix length ==
EXTENDED
[PHY] [UE0] Initial sync : Estimated power: 0 dB
[PHY] [initial_sync] trying carrier off -100 Hz, rxgain 90 (DL 2629999900, UL
2509999900)
Setting USRP TX Freq 2509999900.000000, RX Freq 2629999900.000000
https://open-cells.com/index.php/2019/09/22/all-in-one-openairinterface/ 342/408
13/08/2023, 16:07 All in one OpenAirInterface – 4G and 5G reference software
https://open-cells.com/index.php/2019/09/22/all-in-one-openairinterface/ 343/408
13/08/2023, 16:07 All in one OpenAirInterface – 4G and 5G reference software
laurent
November 24, 2021 at 8:45 am
Dear Zy,
The UE frequency synchro doesn’t work well and the B210 oscillator is quite
poor.
https://open-cells.com/index.php/2019/09/22/all-in-one-openairinterface/ 344/408
13/08/2023, 16:07 All in one OpenAirInterface – 4G and 5G reference software
So, we use:
– either common 10MHz single external source to the 2 b210 boards
– or we shift the UE frequency manually (up to 8KHz with our cards) and with –
ue-scan-carrier
until the UE ends with a sucessfull synchro
After a first successful sync, copy the detected frequency for the next UE run, it
should sync quickly.
Zhenyu Wang
November 24, 2021 at 9:34 am
Hi Laurent,
Thanks for your reply,I will try the way you said.
But in noS1 mode, I can successfully synchronized. Are there any differences
in synchronization between them?
Regards,
Zy wang
laurent
November 26, 2021 at 2:10 pm
Dear Zy,
No, as you, i think it is exactly the same synchro process in the UE
Regards,
Laurent
Zhenyu Wang
December 17, 2021 at 6:42 am
https://open-cells.com/index.php/2019/09/22/all-in-one-openairinterface/ 345/408
13/08/2023, 16:07 All in one OpenAirInterface – 4G and 5G reference software
Hi Laurent,
In the UE machine ,
I first run the ../../nas_sim_tools/build/conf2uedata -c ~/opencells-
mods/sim.conf -o .
And run sudo ./lte-uesoftmodem -C 2630000000 -r 25 –ue-rxgain 100 –
ue-txgain 0 –ue-max-power -5 –ue-scan-carrier 2>&1 | tee UE.log
https://open-cells.com/index.php/2019/09/22/all-in-one-openairinterface/ 346/408
13/08/2023, 16:07 All in one OpenAirInterface – 4G and 5G reference software
https://open-cells.com/index.php/2019/09/22/all-in-one-openairinterface/ 347/408
13/08/2023, 16:08 All in one OpenAirInterface – 4G and 5G reference software
/home/ngws/oai/openairinterface5g/openair3/NAS/UE/EMM/SAP/emm_
send.c:92 EMMAS-SAP – Send EMM Status message (cause=98)
Zhenyu Wang
December 17, 2021 at 4:18 am
Hi Laurent,
Here is my UE log.
https://open-cells.com/index.php/2019/09/22/all-in-one-openairinterface/ 349/408
13/08/2023, 16:08 All in one OpenAirInterface – 4G and 5G reference software
https://open-cells.com/index.php/2019/09/22/all-in-one-openairinterface/ 350/408
13/08/2023, 16:08 All in one OpenAirInterface – 4G and 5G reference software
I think my RRC connection has successful here. But it shows Handed SDU is of
size 0! Ignoring… PDCP data request failed! It is happend in pdcp_run function in
pdcp.c . I think it is the PDCP layer cannot get data from the RLC layer.Is it right?
And how can I solve it? And then it shows lots of bad DCI.I have sent mails to the
oai maillist,but I didn’t not get the answer.
https://open-cells.com/index.php/2019/09/22/all-in-one-openairinterface/ 351/408
13/08/2023, 16:08 All in one OpenAirInterface – 4G and 5G reference software
[0m[0m[MAC] [UE 0] TX Multiplex RLC PDU TX Got 145 bytes for LcId3
[0m[0m[MAC] [UE 0] TX Multiplex RLC PDU TX Got 60 bytes for LcId3
[0m[0m[MAC] [UE 0] TX Multiplex RLC PDU TX Got 62 bytes for LcId3
[0m[0m[MAC] [UE 0] TX Multiplex RLC PDU TX Got 85 bytes for LcId3
[0m[0m[MAC] [UE 0] TX Multiplex RLC PDU TX Got 58 bytes for LcId3
[0m[0m[MAC] [UE 0] TX Multiplex RLC PDU TX Got 147 bytes for LcId3
[0m[0m[MAC] [UE 0] TX Multiplex RLC PDU TX Got 52 bytes for LcId3
[0m[0m[MAC] [UE 0] TX Multiplex RLC PDU TX Got 60 bytes for LcId3
[0m[0m[MAC] [UE 0] TX Multiplex RLC PDU TX Got 332 bytes for LcId3
[0m[0m[MAC] [UE 0] TX Multiplex RLC PDU TX Got 44 bytes for LcId3
[0m[0m[MAC] [UE 0] TX Multiplex RLC PDU TX Got 60 bytes for LcId3
[0m[0m[MAC] [UE 0] TX Multiplex RLC PDU TX Got 86 bytes for LcId3
[0mbad DCI 1A !!!
[0m[1;31m[PHY] [UE 0] Frame 1629, subframe 9: Problem in DCI!
[0m[0m[MAC] [UE 0] TX Multiplex RLC PDU TX Got 58 bytes for LcId3
[0m[0m[MAC] [UE 0] TX Multiplex RLC PDU TX Got 88 bytes for LcId3
[0mbad DCI 1A !!!
[0m[MAC] [UE 0] TX Multiplex RLC PDU TX Got 52 bytes for LcId3
[0m[0m[1;31m[PHY] frame 2471, subframe 0, rnti 6bcd, format 0: FATAL ERROR:
generate_ue_ulsch_params_from_dci, rb_alloc[339] > RIV_max[324]
[0m[0m[1;31m[PHY] Wrong DCI0 detection, do not transmit PUSCH for HARQID:
2
[0m[0m[93m[PHY] Delay to wake up UE_Thread_Rx (case 2) avg=1
iterations=10000 max=6:7:8:8:8:8:9:9:9:10
[0m[0m[93m[PHY] Delay to process sub-frame (case 3) avg=52 iterations=10000
max=190:192:199:201:201:201:221:387:409:448
[0m[0m[93m[PHY] Delay to wake up UE_Thread_Rx (case 2) avg=1
iterations=10000 max=5:5:5:5:5:5:6:6:8:10
[0m[0m[93m[PHY] Delay to process sub-frame (case 3) avg=49 iterations=10000
max=163:166:166:166:181:183:183:189:216:265
[0m[0m[93m[PHY] Delay between two IQ acquisitions (case 1) avg=999
iterations=20000 max=1028:1032:1035:1040:1040:1040:1048:1050:1055:1061
[0m[0m[MAC] [UE 0] TX Multiplex RLC PDU TX Got 52 bytes for LcId3
[0m[0m[93m[PHY] Delay to wake up UE_Thread_Rx (case 2) avg=1
iterations=20000 max=7:8:8:8:8:8:9:9:9:10
[0m[0m[93m[PHY] Delay to process sub-frame (case 3) avg=51 iterations=20000
max=201:201:201:221:223:237:309:387:409:448
https://open-cells.com/index.php/2019/09/22/all-in-one-openairinterface/ 352/408
13/08/2023, 16:08 All in one OpenAirInterface – 4G and 5G reference software
XIA FEI
December 24, 2021 at 11:01 am
Hi Laurent,
Thank you for your tutorials.
My eNB can connect to EPC, but when I try to attach the UE(bc95-g) to my
network, the MME crashed.
In gdp, it shows:
Albern
January 17, 2022 at 7:03 am
https://open-cells.com/index.php/2019/09/22/all-in-one-openairinterface/ 353/408
13/08/2023, 16:08 All in one OpenAirInterface – 4G and 5G reference software
Greetings Laurent,
I am having trouble running my OAI UE, it keeps on returning an error, your help
is greatly appreciated;
[RAPROC] Recieved RAR preamble does not match!!!
Sean
February 17, 2022 at 4:59 am
Hi Laurent, few years ago we bought some sim cards from https://open-
cells.com/index.php/sim-cards/. They works great for 4G LTE. However, they
seems not work with OAI 5G SA because the 5G network can’t be seen. Could you
tell if the current version of open-cells sim cards working with OAI 5G SA? If not,
could you recommend some 5G test sim cards?
laurent
February 17, 2022 at 11:08 am
Hi,
This is a frequent issue with 5G SA phones.
If the phone is 3GPP compliant, it should use the 4G SIM.
Most of today phones are not compliant, they use hidden restriction lists and
hidden checks.
See: https://mt-tech.fi/en/
Today we have no good solution, and I don’t think a 5G SIM would help.
Regards,
Laurent
SpandanM
March 25, 2022 at 11:13 pm
Hello Laurent, I’m able to successfully work with the above tutorial and get the
UE to send/receive data via the OAI setup to the internet on a single PC. However,
when I shift to 2 PCs, of for eNB and another for EPC. The UE successfully
connects to the network and is recognized. However, the packets from the PGW
https://open-cells.com/index.php/2019/09/22/all-in-one-openairinterface/ 354/408
13/08/2023, 16:08 All in one OpenAirInterface – 4G and 5G reference software
do not reach the internet over my SGi interface. My SGi interface has an IP
xx.xx.237.28. I monitored the NW on wireshark and I see that the UE(172.16.0.2)
sends a GTP request to connect to a TCP server(xx.xx.237.60). However, this does
not then forward the the internal TCP packet with Source to Destination
xx.xx.237.28-xx.xx.237.60. I see that there is no data on the GTP0 interface in
ifconfig as well. Any hint as to what I might be missing here? The GTP tunneling
should work given that the PGW successfully detects my interface for SGi.
Below is log for the SPGW when run on two PCs. (Reposting because the log copy
alignment got messed up)
cpss2@cpss2-OptiPlex-3046:~/openair-cn/scripts$ cd openair-cn; source
oaienv; cd scripts; sudo -E ./run_spgw
bash: cd: openair-cn: No such file or directory
bash: oaienv: No such file or directory
bash: cd: scripts: No such file or directory
OPENAIR_DIR =
Initializing OAI Logging
000000 00000:094684 7F4C714A8600 INFO SPGW-A /openair-
cn/src/sgw/sgw_config.c:0212 Parsing configuration file found S1u_S12_S4_up:
172.17.100.254/8 on enx0000ba60e66f
000001 00000:094696 7F4C714A8600 INFO SPGW-A /openair-
cn/src/sgw/sgw_config.c:0225 Parsing configuration file found S5_S8_up:
0.0.0.0/24 on none
000002 00000:094701 7F4C714A8600 INFO SPGW-A /openair-
cn/src/sgw/sgw_config.c:0238 Parsing configuration file found S11: 127.0.0.30/8
on lo
000003 00000:094779 7F4C714A8600 INFO SPGW-A /openair-
cn/src/sgw/pgw_config.c:0265 Parsing configuration file provided
/usr/local/etc/oai/spgw.conf
000004 00000:094785 7F4C714A8600 DEBUG SPGW-A /openair-
cn/src/sgw/pgw_config.c:0283 Parsing configuration file found SGI: on enp2s0
000005 00000:094789 7F4C714A8600 DEBUG SPGW-A /openair-
cn/src/sgw/pgw_config.c:0287 Masquerade SGI
000006 00000:094793 7F4C714A8600 DEBUG SPGW-A /openair-
cn/src/sgw/pgw_config.c:0294 CLAMP TCP MSS
000007 00000:094799 7F4C714A8600 DEBUG SPGW-A /openair-
cn/src/sgw/pgw_config.c:0352 Parsing configuration file default primary DNS
IPv4 address: 8080808
https://open-cells.com/index.php/2019/09/22/all-in-one-openairinterface/ 355/408
13/08/2023, 16:08 All in one OpenAirInterface – 4G and 5G reference software
https://open-cells.com/index.php/2019/09/22/all-in-one-openairinterface/ 356/408
13/08/2023, 16:08 All in one OpenAirInterface – 4G and 5G reference software
https://open-cells.com/index.php/2019/09/22/all-in-one-openairinterface/ 357/408
13/08/2023, 16:08 All in one OpenAirInterface – 4G and 5G reference software
https://open-cells.com/index.php/2019/09/22/all-in-one-openairinterface/ 358/408
13/08/2023, 16:08 All in one OpenAirInterface – 4G and 5G reference software
cn/src/sgw/pgw_config.c:0391 – SGi:
000055 00000:273643 7F4C714A8600 INFO SPGW-A /openair-
cn/src/sgw/pgw_config.c:0392 SGi iface …………: enp2s0
000056 00000:273646 7F4C714A8600 INFO SPGW-A /openair-
cn/src/sgw/pgw_config.c:0393 SGi ip (read)……..: 38.68.237.27
000057 00000:273648 7F4C714A8600 INFO SPGW-A /openair-
cn/src/sgw/pgw_config.c:0394 SGi MTU (read)……..: 1500
000058 00000:273654 7F4C714A8600 INFO SPGW-A /openair-
cn/src/sgw/pgw_config.c:0396 – MSS clamping: ……….: 1
000059 00000:273658 7F4C714A8600 INFO SPGW-A /openair-
cn/src/sgw/pgw_config.c:0397 – Masquerading: ……….: 1
000060 00000:273661 7F4C714A8600 INFO SPGW-A /openair-
cn/src/sgw/pgw_config.c:0398 – Push PCO: …………..: 1
000061 00000:273668 7F4C714A8600 INFO SPGW-A /openair-
cn/src/sgw/sgw_config.c:0259 ==== EURECOM S/P-GW vBranch: develop Abrev.
Hash: 724542d Date: Thu Jun 22 16:17:12 2017 +0200 ====
000062 00000:273672 7F4C714A8600 INFO SPGW-A /openair-
cn/src/sgw/sgw_config.c:0260 Configuration:
000063 00000:273676 7F4C714A8600 INFO SPGW-A /openair-
cn/src/sgw/sgw_config.c:0261 – File ……………………………:
/usr/local/etc/oai/spgw.conf
000064 00000:273679 7F4C714A8600 INFO SPGW-A /openair-
cn/src/sgw/sgw_config.c:0263 – S1-U:
000065 00000:273682 7F4C714A8600 INFO SPGW-A /openair-
cn/src/sgw/sgw_config.c:0264 port number ……: 2152
000066 00000:273685 7F4C714A8600 INFO SPGW-A /openair-
cn/src/sgw/sgw_config.c:0265 S1u_S12_S4 iface …..: enx0000ba60e66f
000067 00000:273689 7F4C714A8600 INFO SPGW-A /openair-
cn/src/sgw/sgw_config.c:0266 S1u_S12_S4 ip ……..: 172.17.100.254/8
000068 00000:273692 7F4C714A8600 INFO SPGW-A /openair-
cn/src/sgw/sgw_config.c:0267 – S5-S8:
000069 00000:273696 7F4C714A8600 INFO SPGW-A /openair-
cn/src/sgw/sgw_config.c:0268 S5_S8 iface ……….: none
000070 00000:273699 7F4C714A8600 INFO SPGW-A /openair-
cn/src/sgw/sgw_config.c:0269 S5_S8 ip ………….: 0.0.0.0/24
000071 00000:273703 7F4C714A8600 INFO SPGW-A /openair-
cn/src/sgw/sgw_config.c:0270 – S11:
https://open-cells.com/index.php/2019/09/22/all-in-one-openairinterface/ 359/408
13/08/2023, 16:08 All in one OpenAirInterface – 4G and 5G reference software
https://open-cells.com/index.php/2019/09/22/all-in-one-openairinterface/ 360/408
13/08/2023, 16:08 All in one OpenAirInterface – 4G and 5G reference software
https://open-cells.com/index.php/2019/09/22/all-in-one-openairinterface/ 361/408
13/08/2023, 16:08 All in one OpenAirInterface – 4G and 5G reference software
—————————————————————————-*
000106 00000:288985 7F4C714A8600 INFO GTPv2- 2-c/nwgtpv2c-
0.11/src/NwGtpv2c.c:0219 * *
000107 00000:288989 7F4C714A8600 INFO GTPv2- 2-c/nwgtpv2c-
0.11/src/NwGtpv2c.c:0220 * n w – g t p v 2 c *
000108 00000:288992 7F4C714A8600 INFO GTPv2- 2-c/nwgtpv2c-
0.11/src/NwGtpv2c.c:0221 * G P R S T u n n e l i n g P r o t o c o l v 2 c S t a c k *
000109 00000:288996 7F4C714A8600 INFO GTPv2- 2-c/nwgtpv2c-
0.11/src/NwGtpv2c.c:0222 * *
000110 00000:288999 7F4C714A8600 INFO GTPv2- 2-c/nwgtpv2c-
0.11/src/NwGtpv2c.c:0223 * *
000111 00000:289003 7F4C714A8600 INFO GTPv2- 2-c/nwgtpv2c-
0.11/src/NwGtpv2c.c:0224 * Copyright (c) 2010-2011 Amit Chawre *
000112 00000:289006 7F4C714A8600 INFO GTPv2- 2-c/nwgtpv2c-
0.11/src/NwGtpv2c.c:0225 * All rights reserved. *
000113 00000:289010 7F4C714A8600 INFO GTPv2- 2-c/nwgtpv2c-
0.11/src/NwGtpv2c.c:0226 * *
000114 00000:289013 7F4C714A8600 INFO GTPv2- 2-c/nwgtpv2c-
0.11/src/NwGtpv2c.c:0227 * Redistribution and use in source and binary forms,
with or without *
000115 00000:289016 7F4C714A8600 INFO GTPv2- 2-c/nwgtpv2c-
0.11/src/NwGtpv2c.c:0228 * modification, are permitted provided that the
following conditions *
000116 00000:289020 7F4C714A8600 INFO GTPv2- 2-c/nwgtpv2c-
0.11/src/NwGtpv2c.c:0229 * are met: *
000117 00000:289023 7F4C714A8600 INFO GTPv2- 2-c/nwgtpv2c-
0.11/src/NwGtpv2c.c:0230 * *
000118 00000:289027 7F4C714A8600 INFO GTPv2- 2-c/nwgtpv2c-
0.11/src/NwGtpv2c.c:0231 * 1. Redistributions of source code must retain the
above copyright *
000119 00000:289029 7F4C714A8600 INFO GTPv2- 2-c/nwgtpv2c-
0.11/src/NwGtpv2c.c:0232 * notice, this list of conditions and the following
disclaimer. *
000120 00000:289033 7F4C714A8600 INFO GTPv2- 2-c/nwgtpv2c-
0.11/src/NwGtpv2c.c:0233 * 2. Redistributions in binary form must reproduce the
above copyright *
000121 00000:289036 7F4C714A8600 INFO GTPv2- 2-c/nwgtpv2c-
https://open-cells.com/index.php/2019/09/22/all-in-one-openairinterface/ 362/408
13/08/2023, 16:08 All in one OpenAirInterface – 4G and 5G reference software
https://open-cells.com/index.php/2019/09/22/all-in-one-openairinterface/ 363/408
13/08/2023, 16:08 All in one OpenAirInterface – 4G and 5G reference software
https://open-cells.com/index.php/2019/09/22/all-in-one-openairinterface/ 364/408
13/08/2023, 16:08 All in one OpenAirInterface – 4G and 5G reference software
https://open-cells.com/index.php/2019/09/22/all-in-one-openairinterface/ 365/408
13/08/2023, 16:08 All in one OpenAirInterface – 4G and 5G reference software
https://open-cells.com/index.php/2019/09/22/all-in-one-openairinterface/ 366/408
13/08/2023, 16:08 All in one OpenAirInterface – 4G and 5G reference software
https://open-cells.com/index.php/2019/09/22/all-in-one-openairinterface/ 367/408
13/08/2023, 16:08 All in one OpenAirInterface – 4G and 5G reference software
https://open-cells.com/index.php/2019/09/22/all-in-one-openairinterface/ 368/408
13/08/2023, 16:08 All in one OpenAirInterface – 4G and 5G reference software
https://open-cells.com/index.php/2019/09/22/all-in-one-openairinterface/ 369/408
13/08/2023, 16:08 All in one OpenAirInterface – 4G and 5G reference software
https://open-cells.com/index.php/2019/09/22/all-in-one-openairinterface/ 370/408
13/08/2023, 16:08 All in one OpenAirInterface – 4G and 5G reference software
https://open-cells.com/index.php/2019/09/22/all-in-one-openairinterface/ 371/408
13/08/2023, 16:08 All in one OpenAirInterface – 4G and 5G reference software
sgw_handle_gtpv1uCreateTunnelResp() (rc=0)
000257 00096:116035 7F4C5F7FE700 TRACE SPGW-A penair-
cn/src/sgw/sgw_handlers.c:0226 Leaving
sgw_handle_create_session_request() (rc=0)
000256 00096:116033 7F4C6CD46700 DEBUG S11 ss2/openair-
cn/src/s11/s11_sgw.c:0187 Received S11_CREATE_SESSION_RESPONSE from S-
PGW APP
000258 00096:116044 7F4C6CD46700 TRACE GTPv2- 2-c/nwgtpv2c-
0.11/src/NwGtpv2c.c:1203 Entering nwGtpv2cProcessUlpReq()
000259 00096:116048 7F4C6CD46700 DEBUG GTPv2- 2-c/nwgtpv2c-
0.11/src/NwGtpv2c.c:1225 Received create local tunnel from ulp
000260 00096:116051 7F4C6CD46700 TRACE GTPv2- 2-c/nwgtpv2c-
0.11/src/NwGtpv2c.c:0686 Entering nwGtpv2cHandleUlpCreateLocalTunnel()
000261 00096:116055 7F4C6CD46700 DEBUG GTPv2- 2-c/nwgtpv2c-
0.11/src/NwGtpv2c.c:0687 Creating local tunnel with teid ‘0x1’ and peer IP
0x1400007f
000262 00096:116060 7F4C6CD46700 TRACE GTPv2- 2-c/nwgtpv2c-
0.11/src/NwGtpv2c.c:0700 Leaving nwGtpv2cHandleUlpCreateLocalTunnel()
(rc=0)
000263 00096:116063 7F4C6CD46700 TRACE GTPv2- 2-c/nwgtpv2c-
0.11/src/NwGtpv2c.c:1243 Leaving nwGtpv2cProcessUlpReq() (rc=0)
000264 00096:116067 7F4C6CD46700 DEBUG GTPv2- /nwgtpv2c-
0.11/src/NwGtpv2cMsg.c:0092 Created message 0x7f4c64001160!
000265 00096:116072 7F4C6CD46700 TRACE GTPv2- 2-c/nwgtpv2c-
0.11/src/NwGtpv2c.c:1203 Entering nwGtpv2cProcessUlpReq()
000266 00096:116076 7F4C6CD46700 DEBUG GTPv2- 2-c/nwgtpv2c-
0.11/src/NwGtpv2c.c:1219 Received triggered response from ulp
000267 00096:116079 7F4C6CD46700 TRACE GTPv2- 2-c/nwgtpv2c-
0.11/src/NwGtpv2c.c:0652 Entering nwGtpv2cHandleUlpTriggeredRsp()
000268 00096:116083 7F4C6CD46700 DEBUG GTPv2- 2-c/nwgtpv2c-
0.11/src/NwGtpv2c.c:0659 Sending response message over seq ‘0xf8a0’
000269 00096:116092 7F4C6CD46700 TRACE GTPv2- 2-c/nwgtpv2c-
0.11/src/NwGtpv2c.c:1390 Entering nwGtpv2cStartTimer()
000270 00096:116099 7F4C6D547700 DEBUG UDP
/src/udp/udp_primitives_server.c:0088 Looking for task 6
000271 00096:116102 7F4C6CD46700 DEBUG GTPv2- 2-c/nwgtpv2c-
0.11/src/NwGtpv2c.c:1444 Started timer 0x0 for info 0x0x7f4c64004770!
https://open-cells.com/index.php/2019/09/22/all-in-one-openairinterface/ 372/408
13/08/2023, 16:08 All in one OpenAirInterface – 4G and 5G reference software
https://open-cells.com/index.php/2019/09/22/all-in-one-openairinterface/ 373/408
13/08/2023, 16:08 All in one OpenAirInterface – 4G and 5G reference software
https://open-cells.com/index.php/2019/09/22/all-in-one-openairinterface/ 374/408
13/08/2023, 16:08 All in one OpenAirInterface – 4G and 5G reference software
https://open-cells.com/index.php/2019/09/22/all-in-one-openairinterface/ 375/408
13/08/2023, 16:08 All in one OpenAirInterface – 4G and 5G reference software
https://open-cells.com/index.php/2019/09/22/all-in-one-openairinterface/ 376/408
13/08/2023, 16:08 All in one OpenAirInterface – 4G and 5G reference software
https://open-cells.com/index.php/2019/09/22/all-in-one-openairinterface/ 377/408
13/08/2023, 16:08 All in one OpenAirInterface – 4G and 5G reference software
Aolin
May 5, 2022 at 2:05 am
Hi Laurent,
Thank you for the tutorial! But when I connect OAI eNB with CostUE,it ouucres:
https://open-cells.com/index.php/2019/09/22/all-in-one-openairinterface/ 379/408
13/08/2023, 16:08 All in one OpenAirInterface – 4G and 5G reference software
emm_proc_common_clear_args()
000953 00235:096144 7F53D710E700 TRACE NAS-EM air-
cn/src/nas/emm/sap/emm_sap.c:0110 Entering emm_sap_send()
000954 00235:096146 7F53D710E700 TRACE NAS-EM air-
cn/src/nas/emm/sap/emm_reg.c:0106 Entering emm_reg_send()
000955 00235:096147 7F53D710E700 TRACE NAS-EM air-
cn/src/nas/emm/sap/emm_fsm.c:0256 Entering emm_fsm_process()
000956 00235:096149 7F53D710E700 INFO NAS-EM air-
cn/src/nas/emm/sap/emm_fsm.c:0263 EMM-FSM – Received event
COMMON_PROC_REJ (3) in state COMMON-PROCEDURE-INITIATED
000957 00235:096153 7F53D710E700 TRACE NAS-EM
ap/EmmCommonProcedureInitiated.c:0090 Entering
EmmCommonProcedureInitiated()
000958 00235:096156 7F53D710E700 TRACE NAS-EM air-
cn/src/nas/emm/sap/emm_fsm.c:0176 Entering emm_fsm_set_status()
000959 00235:096159 7F53D710E700 INFO NAS-EM air-
cn/src/nas/emm/sap/emm_fsm.c:0182 UE 0x00000001 EMM-FSM – Status
changed: COMMON-PROCEDURE-INITIATED ===> DEREGISTERE
laurent
May 7, 2022 at 8:48 am
Hi,
in your log:
Security Mode Reject message code 23
Code 23: security capabilities mismatch between the core network and the UE
you should probably use a more recent EPC.
Regards,
Laurent
Mohammad Riyazudeen
May 12, 2022 at 1:15 pm
https://open-cells.com/index.php/2019/09/22/all-in-one-openairinterface/ 380/408
13/08/2023, 16:08 All in one OpenAirInterface – 4G and 5G reference software
Dear Experts,
We following the above document,we receiving the below output when we run the
eNB with USRP B210.
sudo -E ./targets/bin/lte-softmodem.Rel15 -O
/home/vestel/openairinterface5g/ci-
scripts/conf_files/enb.band7.tm1.25PRB.usrpb210.conf
UHD_3.15.0.0
https://open-cells.com/index.php/2019/09/22/all-in-one-openairinterface/ 381/408
13/08/2023, 16:08 All in one OpenAirInterface – 4G and 5G reference software
https://open-cells.com/index.php/2019/09/22/all-in-one-openairinterface/ 382/408
13/08/2023, 16:08 All in one OpenAirInterface – 4G and 5G reference software
https://open-cells.com/index.php/2019/09/22/all-in-one-openairinterface/ 383/408
13/08/2023, 16:08 All in one OpenAirInterface – 4G and 5G reference software
https://open-cells.com/index.php/2019/09/22/all-in-one-openairinterface/ 384/408
13/08/2023, 16:08 All in one OpenAirInterface – 4G and 5G reference software
[PHY] Required DLSCH mem size 2496 (bw scaling 4), dlsch->harq_processes[5]
0x7f695092c040
[PHY] Required DLSCH mem size 2496 (bw scaling 4), dlsch->harq_processes[6]
0x7f69508d8040
[PHY] Required DLSCH mem size 2496 (bw scaling 4), dlsch->harq_processes[7]
0x7f6950884040
[PHY] eNB->dlsch[0][1] 0x55d88110e720
[PHY] Allocating Transport Channel Buffers for DLSCH 1/8/1
[PHY] Required DLSCH mem size 2496 (bw scaling 4), dlsch->harq_processes[0]
0x7f6950830040
[PHY] Required DLSCH mem size 2496 (bw scaling 4), dlsch->harq_processes[1]
0x7f69507dc040
[PHY] Required DLSCH mem size 2496 (bw scaling 4), dlsch->harq_processes[2]
0x7f6950788040
[PHY] Required DLSCH mem size 2496 (bw scaling 4), dlsch->harq_processes[3]
0x7f6950734040
[PHY] Required DLSCH mem size 2496 (bw scaling 4), dlsch->harq_processes[4]
0x7f69506e0040
[PHY] Required DLSCH mem size 2496 (bw scaling 4), dlsch->harq_processes[5]
0x7f695068c040
[PHY] Required DLSCH mem size 2496 (bw scaling 4), dlsch->harq_processes[6]
0x7f6950638040
[PHY] Required DLSCH mem size 2496 (bw scaling 4), dlsch->harq_processes[7]
0x7f69505e4040
[PHY] eNB->dlsch[1][0] 0x55d8811a5960
[PHY] Required DLSCH mem size 2496 (bw scaling 4), dlsch->harq_processes[0]
0x7f6950590040
[PHY] Required DLSCH mem size 2496 (bw scaling 4), dlsch->harq_processes[1]
0x7f695053c040
[PHY] Required DLSCH mem size 2496 (bw scaling 4), dlsch->harq_processes[2]
0x7f69504e8040
[PHY] Required DLSCH mem size 2496 (bw scaling 4), dlsch->harq_processes[3]
0x7f6950494040
[PHY] Required DLSCH mem size 2496 (bw scaling 4), dlsch->harq_processes[4]
0x7f6950440040
[PHY] Required DLSCH mem size 2496 (bw scaling 4), dlsch->harq_processes[5]
0x7f69503ec040
https://open-cells.com/index.php/2019/09/22/all-in-one-openairinterface/ 385/408
13/08/2023, 16:08 All in one OpenAirInterface – 4G and 5G reference software
[PHY] Required DLSCH mem size 2496 (bw scaling 4), dlsch->harq_processes[6]
0x7f6950398040
[PHY] Required DLSCH mem size 2496 (bw scaling 4), dlsch->harq_processes[7]
0x7f6950344040
[PHY] eNB->dlsch[1][1] 0x55d88123cba0
[PHY] Allocating Transport Channel Buffers for DLSCH 2/8/1
[PHY] Required DLSCH mem size 2496 (bw scaling 4), dlsch->harq_processes[0]
0x7f69502f0040
[PHY] Required DLSCH mem size 2496 (bw scaling 4), dlsch->harq_processes[1]
0x7f695029c040
[PHY] Required DLSCH mem size 2496 (bw scaling 4), dlsch->harq_processes[2]
0x7f6950248040
[PHY] Required DLSCH mem size 2496 (bw scaling 4), dlsch->harq_processes[3]
0x7f69501f4040
[PHY] Required DLSCH mem size 2496 (bw scaling 4), dlsch->harq_processes[4]
0x7f69501a0040
[PHY] Required DLSCH mem size 2496 (bw scaling 4), dlsch->harq_processes[5]
0x7f695014c040
[PHY] Required DLSCH mem size 2496 (bw scaling 4), dlsch->harq_processes[6]
0x7f69500f8040
[PHY] Required DLSCH mem size 2496 (bw scaling 4), dlsch->harq_processes[7]
0x7f69500a4040
[PHY] eNB->dlsch[2][0] 0x55d8812d3de0
[PHY] Required DLSCH mem size 2496 (bw scaling 4), dlsch->harq_processes[0]
0x7f6950050040
[PHY] Required DLSCH mem size 2496 (bw scaling 4), dlsch->harq_processes[1]
0x7f694bfac040
[PHY] Required DLSCH mem size 2496 (bw scaling 4), dlsch->harq_processes[2]
0x7f694bf58040
[PHY] Required DLSCH mem size 2496 (bw scaling 4), dlsch->harq_processes[3]
0x7f694bf04040
[PHY] Required DLSCH mem size 2496 (bw scaling 4), dlsch->harq_processes[4]
0x7f694beb0040
[PHY] Required DLSCH mem size 2496 (bw scaling 4), dlsch->harq_processes[5]
0x7f694be5c040
[PHY] Required DLSCH mem size 2496 (bw scaling 4), dlsch->harq_processes[6]
0x7f694be08040
https://open-cells.com/index.php/2019/09/22/all-in-one-openairinterface/ 386/408
13/08/2023, 16:08 All in one OpenAirInterface – 4G and 5G reference software
[PHY] Required DLSCH mem size 2496 (bw scaling 4), dlsch->harq_processes[7]
0x7f694bdb4040
[PHY] eNB->dlsch[2][1] 0x55d88136b020
[PHY] Allocating Transport Channel Buffers for DLSCH 3/8/1
[PHY] Required DLSCH mem size 2496 (bw scaling 4), dlsch->harq_processes[0]
0x7f694bd60040
[PHY] Required DLSCH mem size 2496 (bw scaling 4), dlsch->harq_processes[1]
0x7f694bd0c040
[PHY] Required DLSCH mem size 2496 (bw scaling 4), dlsch->harq_processes[2]
0x7f694bcb8040
[PHY] Required DLSCH mem size 2496 (bw scaling 4), dlsch->harq_processes[3]
0x7f694bc64040
[PHY] Required DLSCH mem size 2496 (bw scaling 4), dlsch->harq_processes[4]
0x7f694bc10040
[PHY] Required DLSCH mem size 2496 (bw scaling 4), dlsch->harq_processes[5]
0x7f694bbbc040
[PHY] Required DLSCH mem size 2496 (bw scaling 4), dlsch->harq_processes[6]
0x7f694bb68040
[PHY] Required DLSCH mem size 2496 (bw scaling 4), dlsch->harq_processes[7]
0x7f694bb14040
[PHY] eNB->dlsch[3][0] 0x55d881402260
[PHY] Required DLSCH mem size 2496 (bw scaling 4), dlsch->harq_processes[0]
0x7f694bac0040
[PHY] Required DLSCH mem size 2496 (bw scaling 4), dlsch->harq_processes[1]
0x7f694ba6c040
[PHY] Required DLSCH mem size 2496 (bw scaling 4), dlsch->harq_processes[2]
0x7f694ba18040
[PHY] Required DLSCH mem size 2496 (bw scaling 4), dlsch->harq_processes[3]
0x7f694b9c4040
[PHY] Required DLSCH mem size 2496 (bw scaling 4), dlsch->harq_processes[4]
0x7f694b970040
[PHY] Required DLSCH mem size 2496 (bw scaling 4), dlsch->harq_processes[5]
0x7f694b91c040
[PHY] Required DLSCH mem size 2496 (bw scaling 4), dlsch->harq_processes[6]
0x7f694b8c8040
[PHY] Required DLSCH mem size 2496 (bw scaling 4), dlsch->harq_processes[7]
0x7f694b874040
https://open-cells.com/index.php/2019/09/22/all-in-one-openairinterface/ 387/408
13/08/2023, 16:08 All in one OpenAirInterface – 4G and 5G reference software
https://open-cells.com/index.php/2019/09/22/all-in-one-openairinterface/ 388/408
13/08/2023, 16:08 All in one OpenAirInterface – 4G and 5G reference software
[PHY] Required DLSCH mem size 2496 (bw scaling 4), dlsch->harq_processes[0]
0x7f694b2e0040
[PHY] Required DLSCH mem size 2496 (bw scaling 4), dlsch->harq_processes[1]
0x7f694b28c040
[PHY] Required DLSCH mem size 2496 (bw scaling 4), dlsch->harq_processes[2]
0x7f694b238040
[PHY] Required DLSCH mem size 2496 (bw scaling 4), dlsch->harq_processes[3]
0x7f694b1e4040
[PHY] Required DLSCH mem size 2496 (bw scaling 4), dlsch->harq_processes[4]
0x7f694b190040
[PHY] Required DLSCH mem size 2496 (bw scaling 4), dlsch->harq_processes[5]
0x7f694b13c040
[PHY] Required DLSCH mem size 2496 (bw scaling 4), dlsch->harq_processes[6]
0x7f694b0e8040
[PHY] Required DLSCH mem size 2496 (bw scaling 4), dlsch->harq_processes[7]
0x7f694b094040
[PHY] eNB->dlsch[5][0] 0x55d88165eb60
[PHY] Required DLSCH mem size 2496 (bw scaling 4), dlsch->harq_processes[0]
0x7f694b040040
[PHY] Required DLSCH mem size 2496 (bw scaling 4), dlsch->harq_processes[1]
0x7f694afec040
[PHY] Required DLSCH mem size 2496 (bw scaling 4), dlsch->harq_processes[2]
0x7f694af98040
[PHY] Required DLSCH mem size 2496 (bw scaling 4), dlsch->harq_processes[3]
0x7f694af44040
[PHY] Required DLSCH mem size 2496 (bw scaling 4), dlsch->harq_processes[4]
0x7f694aef0040
[PHY] Required DLSCH mem size 2496 (bw scaling 4), dlsch->harq_processes[5]
0x7f694ae9c040
[PHY] Required DLSCH mem size 2496 (bw scaling 4), dlsch->harq_processes[6]
0x7f694ae48040
[PHY] Required DLSCH mem size 2496 (bw scaling 4), dlsch->harq_processes[7]
0x7f694adf4040
[PHY] eNB->dlsch[5][1] 0x55d8816f5da0
[PHY] Allocating Transport Channel Buffers for DLSCH 6/8/1
[PHY] Required DLSCH mem size 2496 (bw scaling 4), dlsch->harq_processes[0]
0x7f694ada0040
https://open-cells.com/index.php/2019/09/22/all-in-one-openairinterface/ 389/408
13/08/2023, 16:08 All in one OpenAirInterface – 4G and 5G reference software
[PHY] Required DLSCH mem size 2496 (bw scaling 4), dlsch->harq_processes[1]
0x7f694ad4c040
[PHY] Required DLSCH mem size 2496 (bw scaling 4), dlsch->harq_processes[2]
0x7f694acf8040
[PHY] Required DLSCH mem size 2496 (bw scaling 4), dlsch->harq_processes[3]
0x7f694aca4040
[PHY] Required DLSCH mem size 2496 (bw scaling 4), dlsch->harq_processes[4]
0x7f694ac50040
[PHY] Required DLSCH mem size 2496 (bw scaling 4), dlsch->harq_processes[5]
0x7f694abfc040
[PHY] Required DLSCH mem size 2496 (bw scaling 4), dlsch->harq_processes[6]
0x7f694aba8040
[PHY] Required DLSCH mem size 2496 (bw scaling 4), dlsch->harq_processes[7]
0x7f694ab54040
[PHY] eNB->dlsch[6][0] 0x55d88178cfe0
[PHY] Required DLSCH mem size 2496 (bw scaling 4), dlsch->harq_processes[0]
0x7f694ab00040
[PHY] Required DLSCH mem size 2496 (bw scaling 4), dlsch->harq_processes[1]
0x7f694aaac040
[PHY] Required DLSCH mem size 2496 (bw scaling 4), dlsch->harq_processes[2]
0x7f694aa58040
[PHY] Required DLSCH mem size 2496 (bw scaling 4), dlsch->harq_processes[3]
0x7f694aa04040
[PHY] Required DLSCH mem size 2496 (bw scaling 4), dlsch->harq_processes[4]
0x7f694a9b0040
[PHY] Required DLSCH mem size 2496 (bw scaling 4), dlsch->harq_processes[5]
0x7f694a95c040
[PHY] Required DLSCH mem size 2496 (bw scaling 4), dlsch->harq_processes[6]
0x7f694a908040
[PHY] Required DLSCH mem size 2496 (bw scaling 4), dlsch->harq_processes[7]
0x7f694a8b4040
[PHY] eNB->dlsch[6][1] 0x55d881824200
[PHY] Allocating Transport Channel Buffers for DLSCH 7/8/1
[PHY] Required DLSCH mem size 2496 (bw scaling 4), dlsch->harq_processes[0]
0x7f694a860040
[PHY] Required DLSCH mem size 2496 (bw scaling 4), dlsch->harq_processes[1]
0x7f694a80c040
https://open-cells.com/index.php/2019/09/22/all-in-one-openairinterface/ 390/408
13/08/2023, 16:08 All in one OpenAirInterface – 4G and 5G reference software
[PHY] Required DLSCH mem size 2496 (bw scaling 4), dlsch->harq_processes[2]
0x7f694a7b8040
[PHY] Required DLSCH mem size 2496 (bw scaling 4), dlsch->harq_processes[3]
0x7f694a764040
[PHY] Required DLSCH mem size 2496 (bw scaling 4), dlsch->harq_processes[4]
0x7f694a710040
[PHY] Required DLSCH mem size 2496 (bw scaling 4), dlsch->harq_processes[5]
0x7f694a6bc040
[PHY] Required DLSCH mem size 2496 (bw scaling 4), dlsch->harq_processes[6]
0x7f694a668040
[PHY] Required DLSCH mem size 2496 (bw scaling 4), dlsch->harq_processes[7]
0x7f694a614040
[PHY] eNB->dlsch[7][0] 0x55d8818bb3c0
[PHY] Required DLSCH mem size 2496 (bw scaling 4), dlsch->harq_processes[0]
0x7f694a5c0040
[PHY] Required DLSCH mem size 2496 (bw scaling 4), dlsch->harq_processes[1]
0x7f694a56c040
[PHY] Required DLSCH mem size 2496 (bw scaling 4), dlsch->harq_processes[2]
0x7f694a518040
[PHY] Required DLSCH mem size 2496 (bw scaling 4), dlsch->harq_processes[3]
0x7f694a4c4040
[PHY] Required DLSCH mem size 2496 (bw scaling 4), dlsch->harq_processes[4]
0x7f694a470040
[PHY] Required DLSCH mem size 2496 (bw scaling 4), dlsch->harq_processes[5]
0x7f694a41c040
[PHY] Required DLSCH mem size 2496 (bw scaling 4), dlsch->harq_processes[6]
0x7f694a3c8040
[PHY] Required DLSCH mem size 2496 (bw scaling 4), dlsch->harq_processes[7]
0x7f694a374040
[PHY] eNB->dlsch[7][1] 0x55d881952600
[PHY] Allocating Transport Channel Buffer for ULSCH 0/8
[PHY] Allocating Transport Channel Buffer for ULSCH 1/8
[PHY] Allocating Transport Channel Buffer for ULSCH 2/8
[PHY] Allocating Transport Channel Buffer for ULSCH 3/8
[PHY] Allocating Transport Channel Buffer for ULSCH 4/8
[PHY] Allocating Transport Channel Buffer for ULSCH 5/8
[PHY] Allocating Transport Channel Buffer for ULSCH 6/8
https://open-cells.com/index.php/2019/09/22/all-in-one-openairinterface/ 391/408
13/08/2023, 16:08 All in one OpenAirInterface – 4G and 5G reference software
https://open-cells.com/index.php/2019/09/22/all-in-one-openairinterface/ 392/408
13/08/2023, 16:08 All in one OpenAirInterface – 4G and 5G reference software
[PHY] Required DLSCH mem size 2496 (bw scaling 4), dlsch->harq_processes[2]
0x7f69398a4040
[PHY] Required DLSCH mem size 2496 (bw scaling 4), dlsch->harq_processes[3]
0x7f6939850040
[PHY] Required DLSCH mem size 2496 (bw scaling 4), dlsch->harq_processes[4]
0x7f69397fc040
[PHY] Required DLSCH mem size 2496 (bw scaling 4), dlsch->harq_processes[5]
0x7f69397a8040
[PHY] Required DLSCH mem size 2496 (bw scaling 4), dlsch->harq_processes[6]
0x7f6939754040
[PHY] Required DLSCH mem size 2496 (bw scaling 4), dlsch->harq_processes[7]
0x7f6939700040
[PHY] init_eNB_proc(inst:0) RC.nb_CC[inst]:1
[PHY] Initializing eNB processes instance:0 CC_id 0
[PHY] eNB->single_thread_flag:0
[HW] thread_top_init() called with affinity>0, but overruled by #ifndef
CPU_AFFINITY.
[HW] thread_top_init() called with affinity>0, but overruled by #ifndef
CPU_AFFINITY.
[ENB_APP] ALL RUs ready – ALL eNBs ready
waiting for sync
(L1_stats_thread,-1/0x55d87e7291a8,0x55d87f18d600,0x55d87efe2ae0)
[HW] [SCHED][eNB] eNB_thread_prach started on CPU 1, sched_policy =
SCHED_FIFO , priority = 99, CPU Affinity= CPU_0 CPU_1 CPU_2 CPU_3 CPU_4
CPU_5 CPU_6 CPU_7
[HW] [SCHED][eNB] eNB_thread_prach_br started on CPU 0, sched_policy =
SCHED_FIFO , priority = 99, CPU Affinity= CPU_0 CPU_1 CPU_2 CPU_3 CPU_4
CPU_5 CPU_6 CPU_7
[ENB_APP] Sending sync to all threads
[MME_APP] Creating MME_APP eNB Task
got sync (ru_thread)
got sync (L1_stats_thread)
[LIBCONFIG] MMEs.[0]: 1/1 parameters successfully set, (1 to default value)
[ITTI] Created Posix thread TASK_MME_APP
[MCE_APP] Creating MCE_APP eNB Task
[ITTI] Created Posix thread TASK_MCE_APP
[ENB_APP] [MCE 0] MCE_app_register via M3AP for instance 0
https://open-cells.com/index.php/2019/09/22/all-in-one-openairinterface/ 393/408
13/08/2023, 16:08 All in one OpenAirInterface – 4G and 5G reference software
https://open-cells.com/index.php/2019/09/22/all-in-one-openairinterface/ 394/408
13/08/2023, 16:08 All in one OpenAirInterface – 4G and 5G reference software
https://open-cells.com/index.php/2019/09/22/all-in-one-openairinterface/ 395/408
13/08/2023, 16:08 All in one OpenAirInterface – 4G and 5G reference software
Thanks
laurent
May 13, 2022 at 12:32 pm
Dear Mohammad
It should emit RF on frequency 2.68GHz as in your setup file
Even a regular smartphone should detect the eNB if you do “manual network
selection” (regardless SIM card)
the B210 leds should turn on when you turn on emission (so when you start lte-
softmodem)
Regards;
Laurent
Yangwei Yi
May 24, 2022 at 3:42 am
Hi Laurent,
Thank you for your tutorial. I followed all the steps and the UE was able to attach.
But it seems the MME may crash every once in a while with the error showing
“./run_mme: line 87: 9001 Segmentation fault $SUDO mme `echo
$exe_arguments` 2>&1”
Below is the complete log. Could you kindly help me solve this issue? Thank you
very much for your help.
https://open-cells.com/index.php/2019/09/22/all-in-one-openairinterface/ 396/408
13/08/2023, 16:08 All in one OpenAirInterface – 4G and 5G reference software
https://open-cells.com/index.php/2019/09/22/all-in-one-openairinterface/ 397/408
13/08/2023, 16:08 All in one OpenAirInterface – 4G and 5G reference software
laurent
May 24, 2022 at 8:34 am
Hi,
At least you should run the MME in gdb, then after the segv do “where” or “bt”
Regards,
Laurent
Panagiotis
July 26, 2022 at 11:55 am
Hi Laurent,
I am trying to implement your setup not with a COTS UE but instead with a USRP
acting as UE (I made a registration to the database and it works) and I have fully
follow your guideline. The problem I am facing is due to some routing problems I
guess. Below are the most important things that’s happening for me:
1. nasmesh kernel module doesn’t work for me. I see on the OAI that this is not the
validated way, but I am not sure if I am doing something wrong.
2. I tried tunnel interfaces based on OAI and seems it works better than nasmesh
https://open-cells.com/index.php/2019/09/22/all-in-one-openairinterface/ 398/408
13/08/2023, 16:08 All in one OpenAirInterface – 4G and 5G reference software
Best,
Panagiotis
laurent
July 27, 2022 at 9:08 am
Hi Panagiotis,
1) nasmesh
nobody uses it now, nokrnmod is better
2) IP routing
If i understand what you describes
gtp packet (udp port 2152) occurs when you ping from the UE
this packets is decapsulated and sent to 8.8.8.8
8.8.8.8 sends you the answer
no gtp packet back from the core to the xNB
if yes, you need to configure the UE destination packet to the core network
https://open-cells.com/index.php/2019/09/22/all-in-one-openairinterface/ 399/408
13/08/2023, 16:08 All in one OpenAirInterface – 4G and 5G reference software
Panagiotis
August 2, 2022 at 1:34 pm
Hello Laurent,
thanks for your fast reply. How am I supposed to do the configuration that you
are talking about and why this is not by default done from the system itself?
Do I have to make any routing rules or are you talking for something else
which I do not understand? Can you be more specific on what changes I must
make, because I checked mme.conf and spgw.conf files but I didn’t find
something relative to what you talked about.
Thanks in advance.
laurent
August 4, 2022 at 7:52 am
Dear Panagiotis,
Just follow line by line the tutorial
If you do something different, tell me where you derivate, i’ll try to help you
Panagiotis
August 9, 2022 at 10:17 am
Hello Laurent,
thank you so much for your replies and apologies for bothering you.
any other public IP address too and get a reply back. But when I try to surf
on the Internet, by accessing a site, I cannot do it and I don’t even see
‘http’ requests (or anything else relative to this) in the Wireshark. Which
leads to the point that somehow Internet traffic does not even exist. It’s
like data are not even created or transmitted over the gtp0 interface. Thus,
the problem is not the reception of the data, but the transmission itself.
Because I am using USRP as UE I tried to route the traffic through the
gateway of EPC (by default 172.16.0.1) with command:
$ sudo ip route add default via 172.16.0.1
But problem still remains and http requests don’t even transmit/exist/are
created on the interface.
I don’t know if this sounds logical and if I made myself clear. Do you have
any idea about what is going wrong? Do you think that USRP for UE is a
bad idea?
Best,
Panagiotis
laurent
August 9, 2022 at 11:51 am
Hi Panagiotis,
If you can ping google from the UE and you see the two GTP encapsulated
ICMP packets, the IP routing is perfect, your setup is working fine.
https://open-cells.com/index.php/2019/09/22/all-in-one-openairinterface/ 401/408
13/08/2023, 16:08 All in one OpenAirInterface – 4G and 5G reference software
Regards,
Laurent
Panagiotis
August 10, 2022 at 11:17 am
Hello Laurent,
appreciate your help and thanks for your fast replies.
1. I cannot see GTP encapsulated ICMP packets in Wireshark. When I trace the GTP
interface, I can see ICMP requests transmitted/received. However, I cannot find
anywhere in the Wireshark packets that have been transmitted as “GTP ” or any
GTP protocol value. So, no encapsulation at all, only straight-forward packets.
2. In order to be sure for the previous assumption, I tried to send dummy UDP
packets from UE in a 3rd machine. Again, using Wireshark I am able to see only
UDP packets and not UDP encapsulated packets.
3. Based on the 2nd bullet, I can send UDP packets from source to destination and
vice versa, BUT this only happens when the UEs IP address is known by the 3rd
machine. Otherwise, replies from 3rd machine would stop/transmitted to the
EPC, because 3rd machine doesn’t know the IP of the UE, instead it understands
that EPC sent him a packet and reply to him, not to the UE. It feels like I am not
using the EPC bearers, but I am addressing directly the UE.
4. From the SPGW output I can see that GTP is normally/correctly initialized, but
it will be useful to trace GTP in the eNB. May I use it as argument in the execution
command, but how? Can you specify the way? Or how to set it in the configuration
file?
Best,
Panagiotis
https://open-cells.com/index.php/2019/09/22/all-in-one-openairinterface/ 402/408
13/08/2023, 16:08 All in one OpenAirInterface – 4G and 5G reference software
laurent
August 12, 2022 at 7:35 am
Hi Panagiotis,
So it seems your IP traffic is routed directly in Linux, not via the 4G/5G network.
The UE IP interface gets a IP address, so we are sure it connects correctly to the
cellular network.
On UE (if i understand well, you use OAI UE), if you make ‘ping -I oaitun_ue1
8.8.8.8’
you should see the gtp packet between the core network and the xNB in
wireshark
Panagiotis
August 31, 2022 at 12:43 pm
Hi Laurent,
sorry for the late reply and thanks for your interest.
Indeed I am using OAI UE, but the problem is that when I am doing from UE
‘ping 8.8.8.8’ I get ‘Network Unreachable’. However If I first specify the
interface by ‘ping -I oaitun_ue1 8.8.8.8’ or specify the gateway by ‘sudo ip
route add default via 172.16.0.1’ then I see ICMP packets but NOT gtp packets
in the Wireshark.
Same thing happens when I am sending UDP packets. If I don’t specify the
exact interface, then packets are not arriving to the destination. However if I
run ‘sudo ip route add default via 172.16.0.1’, then dummy UDP are
transmitted/received but NOT over gtp packets.
Best,
Panagiotis
https://open-cells.com/index.php/2019/09/22/all-in-one-openairinterface/ 403/408
13/08/2023, 16:08 All in one OpenAirInterface – 4G and 5G reference software
Alexander
September 20, 2022 at 3:22 pm
Hi Laurent,
With last verion of OAI (develop branch) I have multiple erors, which appear
continuously.
Despite this, eNB works and UE attaches.
But with snap version (snap install oai-ran) everything is fine.
Maybe, you have some thoughts, what can cause such errors.
Thank you.
Example of errors:
[PHY] add ue 45954 in fre list, context flag: 1
[MAC] rrc_mac_remove_ue: UE b382 not found
[RRC] [release_UE_in_freeList] remove UE b382 from freeList ra context: 0
[PHY] add ue 37764 in fre list, context flag: 1
[MAC] rrc_mac_remove_ue: UE 9384 not found
[RRC] [release_UE_in_freeList] remove UE 9384 from freeList ra context: 0
[PHY] add ue 11535 in fre list, context flag: 1
[MAC] rrc_mac_remove_ue: UE 2d0f not found
[RRC] [release_UE_in_freeList] remove UE 2d0f from freeList ra context: 0
[PHY] add ue 9021 in fre list, context flag: 1
[MAC] rrc_mac_remove_ue: UE 233d not found
laurent
September 20, 2022 at 4:19 pm
Dear Alexander,
Known bug.
The RACH detection can detect false RACH trial, to some extend it is correct in
3GPP standard.
but then, something is wrong in the code when we delete the UE because the
RACH doesn’t succeed.
https://open-cells.com/index.php/2019/09/22/all-in-one-openairinterface/ 404/408
13/08/2023, 16:08 All in one OpenAirInterface – 4G and 5G reference software
I identified it clearly in the source code, but i have not found time to fix it.
Laurent
Fata
October 18, 2022 at 3:24 am
Mla
March 14, 2023 at 8:29 am
Dear Laurent,
I am working on the OAI 5G SA, I could establish SA connection and the UE could
access internet but after some time it gets disconnected.
Would please assist?
With thanks,
Mla
laurent
March 15, 2023 at 9:22 am
dear Mla,
I will need more information
Laurent
Mla Vilakazi
March 30, 2023 at 7:02 am
Dear Laurent,
https://open-cells.com/index.php/2019/09/22/all-in-one-openairinterface/ 405/408
13/08/2023, 16:08 All in one OpenAirInterface – 4G and 5G reference software
I use OAI 5G RAN, Open5Gs Core Network, and Huawei P40 Pro (SA mode). UE
connects fine but after some time it gets disconnected from the network.
Sometimes the RAN will stop while the UE is connected, or UE gets released from
the network while both core and RAN are running.
Best Regards,
Mla
Mla Vilakazi
April 12, 2023 at 7:10 am
Dear Laurent,
I am running SA setup using OAI RAN, Open5Gs CN, and Huawei P40 Pro.
The issue is maintaining a stable Internet connection. The phone disconnects
from the network after a few seconds of Internet browsing.
We are running our setup indoors without an RF Cage. Not sure if the culprit is
poor RF conditions or the phone itself (inaccurately CQI reports).
laurent
April 13, 2023 at 11:47 am
Hi,
I removed your trace, as it is difficult to read.
Maybe the error is in this trace:
[32m04/05 17:13:33.006[0m: [[33mgmm[0m] [1;36mWARNING[0m: [imsi-
208950000000032] DNN Not Supported OR Not Subscribed in the Slice
(../src/amf/gmm-handler.c:1201)
Regards,
Mla Vilakazi
April 24, 2023 at 12:27 pm
https://open-cells.com/index.php/2019/09/22/all-in-one-openairinterface/ 406/408
13/08/2023, 16:08 All in one OpenAirInterface – 4G and 5G reference software
Dear Laurent,
Best regards,
Mla
laurent
April 24, 2023 at 1:23 pm
Dear Mla,
Thanks for sharing with everybody how to fix the issue.
Best regards,
Laurent
MSTK
July 13, 2023 at 6:05 am
Dear Laurent,
Is it possible to connect zcu102+adr9371 to OAI?
Masumeh Tohidi
July 15, 2023 at 8:12 am
Dear Laurent,
Is it possible to use adr 9371+zcu102 as the SDR with OAI?
Best regards.
laurent
July 17, 2023 at 5:02 am
https://open-cells.com/index.php/2019/09/22/all-in-one-openairinterface/ 407/408
13/08/2023, 16:08 All in one OpenAirInterface – 4G and 5G reference software
Dear Masumeh,
i think so, from HW perspective.
with this board and a FMC board with the AD9371, you have almost the same
HW as a USRP X300/N300.
but, you will have to write the FGPA firmware (using vivado) and the OAI
interface to this board.
The interface will be by Ethernet 10G, so you don’t need any Linux specific
driver, but to write a set of functions as in each oai/radio/xxx boards interface.
Open Cells is developing a board based on AD9371 that will provide the drivers
for OAI, SRSran, … but i still have no release date
https://open-cells.com/index.php/2019/09/22/all-in-one-openairinterface/ 408/408