srsRAN_4G
srsRAN_4G copied to clipboard
Error running make test
When running make test from the latest version, it didn't pass the whole suite of tests:
I'm using this tutorial: https://docs.srsran.com/projects/project/en/latest/tutorials/source/srsUE/source/index.html#multi-ue-emulation
Distributor ID: Ubuntu Description: Ubuntu 22.04.4 LTS Release: 22.04 Codename: jammy
While running docker-5gc correctly, I'll try to run the gNB I got this error:
user@pc:~/srsRAN_Project/build/apps/gnb$ sudo ./gnb -c gnb_zmq.yaml
The PRACH detector will not meet the performance requirements with the configuration {Format 0, ZCZ 0, SCS 1.25kHz, Rx ports 1}.
Lower PHY in executor blocking mode.
--== srsRAN gNB (commit 4d9f22329) ==--
Connecting to AMF on 10.53.1.2:38412
Available radio types: zmq.
srsGNB ERROR: Unable to create radio session.
I don't know if it is correlated.
Could you provide gnb and srsUE logs?
Please, tell me how to get them.
They are located at /tmp/gnb.log
, and /tmp.ueX.log
Could you try running this command in the srsRAN-4G build directory:
./lib/src/radio/test/benchmark_radio -d zmq -a "tx_port=tcp://*:2000,rx_port=tcp://localhost:2000,tx_port=tcp://*:2001,rx_port=tcp://localhost:2001,tx_port=tcp://*:2002,rx_port=tcp://localhost:2002,tx_port=tcp://*:2003,rx_port=tcp://localhost:2003" -p 4 -g 100
and post its output here.
They are located at
/tmp/gnb.log
, and/tmp.ueX.log
Could you try running this command in the srsRAN-4G build directory:
./lib/src/radio/test/benchmark_radio -d zmq -a "tx_port=tcp://*:2000,rx_port=tcp://localhost:2000,tx_port=tcp://*:2001,rx_port=tcp://localhost:2001,tx_port=tcp://*:2002,rx_port=tcp://localhost:2002,tx_port=tcp://*:2003,rx_port=tcp://localhost:2003" -p 4 -g 100
and post its output here.
Active RF plugins: libsrsran_rf_zmq.so Inactive RF plugins: Instantiating objects and allocating memory... Initialising instances... Opening 4 channels in RF device=zmq with args=tx_port=tcp://:2000,rx_port=tcp:/ /localhost:2000,tx_port=tcp://:2001,rx_port=tcp://localhost:2001,tx_port=tcp:// :2002,rx_port=tcp://localhost:2002,tx_port=tcp://:2003,rx_port=tcp://localhost :2003 Supported RF device list: zmq file Current sample rate is 1.92 MHz with a base rate of 23.04 MHz (x12 decimation) CH0 rx_port=tcp://localhost:2000 CH0 tx_port=tcp://:2000 Error: binding transmitter socket (tcp://:2000): Address already in use [zmq] Error: opening transmitter Error: Calling radio_multi constructor Tearing down... Failed! gnb.log ue.log
It seems that some active process is already using the socket. Please kill the process and try again. You can find out the process ID with:
sudo netstat -nlp | grep 2000
It seems that some active process is already using the socket. Please kill the process and try again. You can find out the process ID with:
sudo netstat -nlp | grep 2000
is it possible to change the port of gNB (2000) for another one? another required software is using it.
Sure, you can set any port you want. You have to change the port number in the srsgnb config and also in gnuradio-compantion.