Skip to content

Assertion (i < 20) failed! In writerEnqueue() when running nr-uesoftmodem in FDD mode with RFsim

I have tried to run the the RFSIMULATOR in band 1 and these are the commands I have used to run the gNB and UE:

gNB:

sudo ./nr-softmodem -O ../../../targets/PROJECTS/GENERIC-NR-5GC/CONF/gnb.sa.band1.u0.52PRB.usrpb210.conf --gNBs.[0].min_rxtxtime 6 --rfsim

UE:

sudo ./nr-uesoftmodem -r 52 --numerology 0 --band 1 -C 2115650000 --CO -190000000 --ssb 192 --uicc0.imsi 001010000000001 --rfsim

I am on the develop branch and the out put of the git log is:

commit 6d9c2c35b825c51879d83d4d4357978b8d790cf5 (HEAD -> develop, tag: 2025.w07, origin/develop, origin/HEAD)
Merge: ff58b5e169 87c83f72cb
Author: Robert Schmidt <robert.schmidt@eurecom.fr>
Date:   Tue Feb 18 11:37:07 2025 +0000

    Merge branch 'integration_2025_w07' into 'develop'

    Integration: `2025.w07`

    Closes #812, #901, #904, #881, and #819

    See merge request oai/openairinterface5g!3258

    * !3055 Dynamic PDCCH aggregation level
    * !3176 Refactor and extend NAS Registration Request
    * !3256 Add check on force_local in custom_command CI handling
    * !3257 Bugfix in gNB modulated DCI buffer size
    * !3249 Improvements in TDD configuration
    * !3194 fix NTN LEO scenarios
    * !3200 FHI72: remove polling, fix memory leak
    * !3127 Optimizations of PDSCH Resource Mapping in nr_dlsch.c/nr_modulation.c
    * !3252 \[E2 agent\] Multi RC REPORT service styles support

commit 87c83f72cb25578e0a4ed2f65b0522f9b3229259
Author: Francesco Mani <email@francescomani.it>
:

and I see the following message in the terminal of the UE:

[NR_RRC]   SIB1 decoded
[MAC]   Initialization of 4-Step CBRA procedure
[NR_MAC]   PRACH scheduler: Selected RO Frame 247, Slot 4, Symbol 0, Fdm 0
[PHY]   PRACH [UE 0] in frame.slot 247.4, placing PRACH in position 1428, Msg1/MsgA-Preamble frequency start 0 (k1 0), preamble_offset 1, first_nonzero_root_idx 0, preambleIndex = 8
[NR_MAC]   [UE 0][RAPROC][RA-RNTI 0005] Got BI RAR subPDU 57 ms
[NR_MAC]   [UE 0][RAPROC][RA-RNTI 0039] Got RAPID RAR subPDU
[NR_MAC]   [UE 0][RAPROC][248.3] Found RAR with the intended RAPID 8
[MAC]   received TA command 31
[PHY]   RAR-Msg2 decoded
[NR_MAC]   [RAPROC][249.1] RA-Msg3 transmitted
[NR_MAC]   [RAPROC][250.4] RA-Msg3 retransmitted

Assertion (i < 20) failed!
In writerEnqueue() /home/arashsahbafard/openairinterface5g/radio/COMMON/common_lib.c:195
Write queue full

Exiting execution
/home/arashsahbafard/openairinterface5g/radio/COMMON/common_lib.c:195 writerEnqueue() Exiting OAI softmodem: _Assert_Exit_
Aborted
arashsahbafard@arashsahbafard-Mini-Air12:~/openairinterface5g/cmake_targets/ran_build/build$ sudo ./nr-uesoftmodem -r 52 --numerology 0 --band 1 -C 2115650000 --CO -190000000 --ssb 192 --uicc0.imsi 001010000000001 --rfsim
Edited by Arash Sahbafard