srsran / srsRAN_4G

Open source SDR 4G software suite from Software Radio Systems (SRS) https://docs.srsran.com/projects/4g
https://www.srsran.com
GNU Affero General Public License v3.0
3.42k stars 1.13k forks source link

Error buffer pool empty in setting the eNodeB #915

Open ssonkokevin opened 2 years ago

ssonkokevin commented 2 years ago

Issue Description

My eNodeB shows an error of Buffer Pool empty upon starting the eNodeB

Setup Details

I am running srsRAN on two laptops connected to an SDR Nuand BladeRF X40. On One laptop, i ran sudo srsepc and sudo srsenb The other laptop i ran sudo srsue

Expected Behavior

d2d@d2d-Lenovo-G50-70:~$ sudo srsenb Active RF plugins: libsrsran_rf_blade.so Inactive RF plugins: --- Software Radio Systems LTE eNodeB ---

Couldn't open , trying /root/.config/srsran/enb.conf Reading configuration file /root/.config/srsran/enb.conf... Couldn't open sib.conf, trying /root/.config/srsran/sib.conf Couldn't open rr.conf, trying /root/.config/srsran/rr.conf WARNING: cpu0 scaling governor is not set to performance mode. Realtime processing could be compromised. Consider setting it to performance mode before running the application.

Built in Release mode using commit f2dff0b7a on branch master.

Opening 1 channels in RF device=default with args=default Supported RF device list: bladeRF file Trying to open RF device 'bladeRF' Opening bladeRF... Set RX sampling rate 1.92 Mhz, filter BW: 2.50 Mhz RF device 'bladeRF' successfully opened

==== eNodeB started === Type to view trace Set RX sampling rate 11.52 Mhz, filter BW: 10.00 Mhz Setting frequency: DL=2680.0 Mhz, UL=2560.0 MHz for cc_idx=0 nof_prb=50 set TX frequency to 2680000001 set RX frequency to 2560000001 ...................................................................................................................................................................................................................................................... .................................................................................................................................................................................................................................................

Actual Behaviour

d2d@d2d-Lenovo-G50-70:~$ sudo srsenb --rf.device_name=bladeRF Active RF plugins: libsrsran_rf_blade.so Inactive RF plugins: --- Software Radio Systems LTE eNodeB ---

Couldn't open , trying /root/.config/srsran/enb.conf Reading configuration file /root/.config/srsran/enb.conf... Couldn't open sib.conf, trying /root/.config/srsran/sib.conf Couldn't open rr.conf, trying /root/.config/srsran/rr.conf WARNING: cpu0 scaling governor is not set to performance mode. Realtime processing could be compromised. Consider setting it to performance mode before running the application.

Built in Release mode using commit f2dff0b7a on branch master.

Opening 1 channels in RF device=bladeRF with args=default Supported RF device list: bladeRF file Opening bladeRF... [WARNING @ host/libraries/libbladeRF/src/board/bladerf1/bladerf1.c:592] FPGA v0.14.0 was detected, which requires firmware v2.4.0 or later. The device firmware is currently v2.3.2. Please upgrade the device firmware before continuing.

Set RX sampling rate 1.92 Mhz, filter BW: 2.50 Mhz

==== eNodeB started === Type to view trace Set RX sampling rate 11.52 Mhz, filter BW: 10.00 Mhz Setting frequency: DL=2680.0 Mhz, UL=2560.0 MHz for cc_idx=0 nof_prb=50 set TX frequency to 2680000001 set RX frequency to 2560000001 Error - buffer pool is empty Error - buffer pool is empty Error - buffer pool is empty Error - buffer pool is empty Error - buffer pool is empty Error - buffer pool is empty Error - buffer pool is empty Error - buffer pool is empty Error - buffer pool is empty Error - buffer pool is empty Error - buffer pool is empty Error - buffer pool is empty Error - buffer pool is empty Error - buffer pool is empty Error - buffer pool is empty Error - buffer pool is empty Error - buffer pool is empty Error - buffer pool is empty Error - buffer pool is empty Error - buffer pool is empty Error - buffer pool is empty Error - buffer pool is empty Error - buffer pool is empty Error - buffer pool is empty Error - buffer pool is empty Error - buffer pool is empty Error - buffer pool is empty Error - buffer pool is empty

Steps to reproduce the problem

sudo srsepc sudo srsenb

Additional Information

EPC Logs

d2d@d2d-Lenovo-G50-70:~$ sudo srsepc [sudo] password for d2d:

Built in Release mode using commit f2dff0b7a on branch master.

--- Software Radio Systems EPC ---

Couldn't open , trying /root/.config/srsran/epc.conf Reading configuration file /root/.config/srsran/epc.conf... Couldn't open user_db.csv, trying /root/.config/srsran/user_db.csv HSS Initialized. MME S11 Initialized MME GTP-C Initialized MME Initialized. MCC: 0xf001, MNC: 0xff01 SPGW GTP-U Initialized. SPGW S11 Initialized. SP-GW Initialized. Received S1 Setup Request. S1 Setup Request - eNB Name: srsenb01, eNB id: 0x19b S1 Setup Request - MCC:001, MNC:01 S1 Setup Request - TAC 7, B-PLMN 0xf110 S1 Setup Request - Paging DRX v128 Sending S1 Setup Response SCTP Association Shutdown. Association: 4 Deleting eNB context. eNB Id: 0x19b Releasing UEs context No UEs to be released

andrepuschmann commented 1 year ago

Could you solve the issue meanwhile? It's not clear to me where the Error - buffer pool is empty could come from when you just started the eNB. Provide logs please so we can check.

junaidriaz commented 1 year ago

I was facing exactly the same issue. I solved it by