Aerial testbed/DGX Spark: UE can attach, but DU crash soon

Hi Team,

The UE can attach, obtain the ip, then ping and browse the internet, but it can only last a few second,

the DU log as below, could you advise anything can do.

09:11:23.640004 CON timer_thread 0 [SCF.PHY] Cell  0 | DL    0.83 Mbps  195 Slots | UL    0.34 Mbps   33 Slots CRC   0 (     9) | Tick 186000
09:11:24.640004 CON timer_thread 0 [SCF.PHY] Cell  0 | DL    0.23 Mbps  165 Slots | UL    0.14 Mbps   22 Slots CRC   0 (     9) | Tick 188000
09:11:25.372412 ERR UlPhyDriver05 0 [AERIAL_CUPHYDRV_API_EVENT] [DRV.MAP_UL] Wait UL channel threads for Map 489 is taking more than 8000000 ns
09:11:25.372412 ERR UlPhyDriver05 0 [AERIAL_CUPHYDRV_API_EVENT] [DRV.FUNC_UL] waitChannelEndTask returned error for Slot Map 489 num_ul_tasks=7 num_ulc_tasks=2 num_ul_tasks_to_wait=2
09:11:25.372999 ERR UlPhyDriver06 0 [AERIAL_CUPHYDRV_API_EVENT] [DRV.MAP_UL] Wait UL threads for Map 490 is taking more than 8000000 ns
09:11:25.372999 ERR UlPhyDriver06 0 [AERIAL_CUPHYDRV_API_EVENT] [DRV.FUNC_UL] waitSlotEnd returned error
09:11:25.372999 ERR UlPhyDriver06 0 [AERIAL_CUPHYDRV_API_EVENT] [DRV.FUNC_UL] Calling ul_tx_error_fn 2739

09:11:25.373000 ERR UlPhyDriver06 0 [AERIAL_NVIPC_API_EVENT] [SCF.PHY] Send Err.ind for SFN 256.8 cell_id=0 msg_id=0x07 err_code=0x3A
09:11:25.380413 ERR UlPhyDriver05 0 [AERIAL_CUPHYDRV_API_EVENT] [DRV.MAP_UL] Wait UL threads for Map 489 is taking more than 8000000 ns
09:11:25.380413 ERR UlPhyDriver05 0 [AERIAL_CUPHYDRV_API_EVENT] [DRV.FUNC_UL] waitSlotEnd returned error
09:11:25.380413 ERR UlPhyDriver05 0 [AERIAL_CUPHYDRV_API_EVENT] [DRV.FUNC_UL] Calling ul_tx_error_fn 2739

09:11:25.381007 WRN UlPhyDriver06 0 [DRV.MAP_UL] waitULCTasksComplete for Map 490 is taking more than 8000000 ns
09:11:25.381007 WRN UlPhyDriver06 0 [DRV.FUNC_UL] task_work_function_ul_aggr_3_early_uci_ind timeout waiting for ULC Tasks, Slot Map 490
09:11:25.381009 WRN UlPhyDriver06 0 [DRV.FH] sendCPlane_timingCheck : sendCPlane Timing error for ULC start_tx_time 1791623485368108000 current_time 1791623485381009186
09:11:25.381009 WRN UlPhyDriver06 0 [DRV.FH] sendCPlane_timingCheck: Error at oframe_id_ 0 osfid_ 8 oslotid_ 1
09:11:25.381009 ERR UlPhyDriver06 0 [AERIAL_CUPHYDRV_API_EVENT] [DRV.FUNC_UL] UL C-plane prepare error for cell index 0,error type 2 Map 491 Abort UL Tasks!

09:11:25.381010 ERR UlPhyDriver06 0 [AERIAL_CUPHYDRV_API_EVENT] [DRV.FUNC_UL] Calling ul_tx_error_fn 1506

the full log is attached
start.log (11.5 MB)

Hi Alex,

These kinds of errors usually indicate the following possible causes:

  1. The SRS configuration is incorrect.
  2. The CPU core(s) assigned for the UL worker(s) (cores 5 and 6 in this case) was interrupted or degraded.
  3. One or multiple UL channel kernels hung due to a functional error.

For 1, please try to disable SRS on both the L2 sides. The following error indicates that SRS was assigned to the slow when the first error was encountered.

09:11:25.388419 WRN UlPhyDriver05 0 [DRV.FUNC_UL] task_work_function_ul_aggr_1_srs timeout waiting for ULC Tasks, Slot Map 489

The following log indicates the SRS was enabled on the L1 side.

09:09:31.422035 CON phy_init 0 \[CTL.YAML\] Enable SRS : 1

However, the eAxC IDs for SRS were incorrect because the IDs are different from the other UL channels. I think our default YAML file causes confusion, but WNC O-RUs (Foxconn/LiteOn as well) don’t support multiple sections on the same slot. All the UL channels for section type 1 should be delivered on the same section. Therefore, the eAxC IDs for SRS need to be the same as other UL channels (except for PRACH, which uses section type 3). In addition to that, Aerial needs to be compiled with the SCF_FAPI_10_04_SRS=ON flag for OAI.

09:09:31.422058 CON phy_init 0 \[CTL.YAML\]   Flow list SRS: 
09:09:31.422058 CON phy_init 0 \[CTL.YAML\]     8
09:09:31.422058 CON phy_init 0 \[CTL.YAML\]     9
09:09:31.422058 CON phy_init 0 \[CTL.YAML\]     10
09:09:31.422058 CON phy_init 0 \[CTL.YAML\]     11

To disable SRS on the L2 side, please set do_SRS to 0.

For 2, please review the system to see if there are any different configurations from our documentation that make CPUs low-performance.
For 3, please check the dmesg log to see if there are any GPU exceptions with an Xid and capture nvipc.pcap to see if there are any invalid parameters in the FAPI messages in UL_TTI.request.

Thank you,
Nori

thanks @nhashimoto

the RU is cat a, no srs supported. checking from the pcap, there is no srs c-plane is sent. And the ru type is 1, only 1 section in the c-plane,

I will re-test after disabling the SRS in L1/L2.

Hi @nhashimoto

Do the container nv-cubb need start the mps?

Yes, MPS is mandatory to run Aerial.

Hi @xuyc1

We are also working with a CAT-A O-RU (Benetel650). We tried disabling SRS in OAI conf file (do_SRS = “none”) and cuphycontroller (eAxc_id_srs: [ ]). Then also we are getting MSG5 error. The UE reinitiates RACH after MSG4 ACK again and again.
Since we are using DPDK in VA mode, the physical port aerial00 is mapped to mlx5_0. We see no virtual MAC addresses getting created. Is this understanding correct? Is this the reason why we see no U-plane packets? In RU, we have to configure the DU MAC address for both C-plane and U-plane (we are keeping physical MAC of aerial00 port).

[05:40:38.838514] [NR_MAC] I Frame.Slot 128.0
UE RNTI b7c9 CU-UE-ID 1 in-sync PH 46 dB PCMAX 23 dBm, average RSRP -109 (2 meas)
UE b7c9: CQI 11, RI 2, PMI (5,1)
UE b7c9: dlsch_rounds 5/4/4/4, dlsch_errors 3, pucch0_DTX 15 (SNR 8.5-1.5 dB), BLER 0.18100 MCS (0) 0 CCE fail 1, goodput 0.00 Mbps
UE b7c9: ulsch_rounds 11/6/6/6, ulsch_errors 6, ulsch_DTX 21, BLER 0.28661 MCS (0) 0 (Qm 2 deltaMCS 0 dB) NPRB 5 SNR 6.7 (-3.3) dB CCE fail 2, goodput 0.00 Mbps
UE b7c9: LCID 1: TX 79 RX 67 bytes

[05:40:38.839009] [NR_MAC] I 128 1: RA RNTI 310e CC_id 0 Scheduling retransmission of Msg3 in (128,4)
2523.063130 [W] 1535045984: nr_error_ind_cb: [VNF] Received NFAPI_NR_PHY_MSG_TYPE_ERROR_INDICATION idx:1 phy_id:0
2523.063133 [W] 1535045984: nr_error_ind_cb: [VNF] Previous message 0x81 resulted in an error on the PNF
2523.063134 [W] 1535045984: nr_error_ind_cb: [VNF] Received error code 0x44 (SCF_ERROR_CODE_L1_MISSING_UL_IQ)
[05:40:38.843023] [NR_MAC] I UE b7c9: reported RSRP out of 5G usable range -155 dBm
[05:40:38.844010] [NR_MAC] I 12811: RA RNTI 310e CC_id 0 Scheduling retransmission of Msg3 in (128,14)