SD Card error : cbb-fabric

While insert a SD card , it pop up error message continually.

[ 547.001606] mmc1: sdhci: ============ SDHCI REGISTER DUMP ===========
[ 547.013248] WARNING: CPU: 0 PID: 0 at drivers/soc/tegra/cbb/tegra234-cbb.c:521 tegra234_cbb_err_isr+0x128/0x170
[ 547.013249] mmc1: sdhci: Sys addr: 0xffffffff | Version: 0x0000ffff
[ 547.013252] mmc1: sdhci: Blk size: 0x0000ffff | Blk cnt: 0x0000ffff
[ 547.030271] mmc1: sdhci: Argument: 0xffffffff | Trn mode: 0x0000ffff
[ 547.043538] mmc1: sdhci: Present: 0xffffffff | Host ctl: 0x000000ff
[ 547.043540] mmc1: sdhci: Power: 0x000000ff | Blk gap: 0x000000ff
[ 547.056795] mmc1: sdhci: Wake-up: 0x000000ff | Clock: 0x0000ffff
[ 547.056797] mmc1: sdhci: Timeout: 0x000000ff | Int stat: 0xffffffff
[ 547.070063] mmc1: sdhci: Int enab: 0xffffffff | Sig enab: 0xffffffff
[ 547.076688] mmc1: sdhci: ACmd stat: 0x0000ffff | Slot int: 0x0000ffff
[ 547.076691] mmc1: sdhci: Caps: 0xffffffff | Caps_1: 0xffffffff
[ 547.089956] mmc1: sdhci: Cmd: 0x0000ffff | Max curr: 0xffffffff
[ 547.089959] mmc1: sdhci: Resp[0]: 0xffffffff | Resp[1]: 0xffffffff
[ 547.103204] mmc1: sdhci: Resp[2]: 0xffffffff | Resp[3]: 0xffffffff
[ 547.109829] mmc1: sdhci: Host ctl2: 0x0000ffff
[ 547.109832] mmc1: sdhci: ADMA Err: 0xffffffff | ADMA Ptr: 0xffffffffffffffff
[ 547.121762] mmc1: sdhci: ============================================
[ 547.128493] —[ end trace 0131299950e7857e ]—
[ 547.133278] CPU:0, Error:cbb-fabric@0x13a00000, irq=21
[ 547.138566] **************************************
[ 547.143498] CPU:0, Error:cbb-fabric, Errmon:2
[ 547.147984] Error Code : TIMEOUT_ERR
[ 547.152020] Overflow : Multiple TIMEOUT_ERR
[ 547.156691]
[ 547.158221] Error Code : TIMEOUT_ERR
[ 547.162255] MASTER_ID : CCPLEX
[ 547.165757] Address : 0x3400000
[ 547.169353] Cache : 0x1 – Bufferable
[ 547.173659] Protection : 0x2 – Unprivileged, Non-Secure, Data Access
[ 547.180654] Access_Type : Read
[ 547.184153] Access_ID : 0x11
[ 547.184154] Fabric : cbb-fabric
[ 547.191073] Slave_Id : 0x35
[ 547.194308] Burst_length : 0x0
[ 547.197809] Burst_type : 0x1
[ 547.201140] Beat_size : 0x2
[ 547.204364] VQC : 0x0
[ 547.207149] GRPSEC : 0x7e
[ 547.210199] FALCONSEC : 0x0
[ 547.213425] T234_CBB_SN_AXI2APB_35_BLOCK_TMO_STATUS : 0x2
[ 547.219249] T234_CBB_SN_AXI2APB_35_BLOCK1_TMO : 0x40
[ 547.224624] **************************************
[ 547.228396] mmc1: Reset 0x2 never completed.

What does it mean?

Please attach full log as text file

Also, please try different kind of sdcard and see if only specific kind would hit error.

Which jetpack release is in use? Is this on Orin developer kit?

Hi nVidia team,
#1. Using different SD card is still failed.
#2. Jetpack 5.0.2.
#3. AGX-ORIN with our carrier board.
boot_and_error.log (133.0 KB)

Ok… is this issue reproducible with nv devkit?

While inserting a SD card in Dev-Kit. it get the error.

ubuntu@localhost:~$ [ 40.961723] mmc1: Data timeout error
[ 40.961914] mmc1: sdhci: ============ SDHCI REGISTER DUMP ===========
[ 40.962122] mmc1: sdhci: Sys addr: 0x000000a8 | Version: 0x00000505
[ 40.962340] mmc1: sdhci: Blk size: 0x00007200 | Blk cnt: 0x00000097
[ 40.962552] mmc1: sdhci: Argument: 0x01d7f478 | Trn mode: 0x0000003b
[ 40.962770] mmc1: sdhci: Present: 0x01fb0000 | Host ctl: 0x0000001b
[ 40.962994] mmc1: sdhci: Power: 0x00000001 | Blk gap: 0x00000000
[ 40.963209] mmc1: sdhci: Wake-up: 0x00000000 | Clock: 0x00000007
[ 40.963417] mmc1: sdhci: Timeout: 0x0000000e | Int stat: 0x00000000
[ 40.963617] mmc1: sdhci: Int enab: 0x03ff000b | Sig enab: 0x03fc000b
[ 40.963823] mmc1: sdhci: ACmd stat: 0x00000000 | Slot int: 0x00000000
[ 40.964029] mmc1: sdhci: Caps: 0x3f6cd08c | Caps_1: 0x18002f73
[ 40.964481] mmc1: sdhci: Cmd: 0x0000123a | Max curr: 0x00000000
[ 40.965594] mmc1: sdhci: Resp[0]: 0x00000900 | Resp[1]: 0x04800e92
[ 40.966704] mmc1: sdhci: Resp[2]: 0x34cb8000 | Resp[3]: 0x00000240
[ 40.967810] mmc1: sdhci: Host ctl2: 0x0000008b
[ 40.969054] mmc1: sdhci: ADMA Err: 0x00000000 | ADMA Ptr: 0x0000007ffffff218
[ 40.976336] mmc1: sdhci: ============================================
[ 40.985182] blk_update_request: I/O error, dev mmcblk1, sector 30930216 op 0x0:(READ) flags 0x80700 phys_seg 2 prio class 0

The Devi-Kit has no such error after formatting the SD card.

Then does your board still have such issue after formatting the sd?

Yes,
By the way, there is another error on our carrier board.

[ 83.140444] WARNING: CPU: 0 PID: 103 at drivers/soc/tegra/cbb/tegra234-cbb.c:521 tegra234_cbb_err_isr+0x128/0x170
[ 83.150917] —[ end trace 61afe48c2a4943c5 ]—
[ 83.155528] CPU:0, Error:cbb-fabric@0x13a00000, irq=21
[ 83.160736] **************************************
[ 83.165547] CPU:0, Error:cbb-fabric, Errmon:2
[ 83.169840] Error Code : TIMEOUT_ERR
[ 83.173772] Overflow : Multiple TIMEOUT_ERR
[ 83.178330]
[ 83.179898] Error Code : TIMEOUT_ERR
[ 83.183836] MASTER_ID : CCPLEX
[ 83.187073] Address : 0x34001c0
[ 83.190573] Cache : 0x1 – Bufferable
[ 83.194774] Protection : 0x2 – Unprivileged, Non-Secure, Data Access
[ 83.201509] Access_Type : Write
[ 83.205185] Access_ID : 0x0
[ 83.205186] Fabric : cbb-fabric
[ 83.211922] Slave_Id : 0x35
[ 83.215072] Burst_length : 0x0
[ 83.218311] Burst_type : 0x1
[ 83.221634] Beat_size : 0x2
[ 83.224785] VQC : 0x0
[ 83.227586] GRPSEC : 0x7e
[ 83.230735] FALCONSEC : 0x0
[ 83.233711] T234_CBB_SN_AXI2APB_35_BLOCK_TMO_STATUS : 0x2
[ 83.239399] T234_CBB_SN_AXI2APB_35_BLOCK1_TMO : 0x40
[ 83.244474] **************************************

Please always try to attach full log… This cbb_err_isr is just a common error which could be triggered by any kind of driver. We cannot tell the exact error just by the log you posted…

This block error (cbb-fabric) will repeatly shows up infinitly. To provide repeated error messages is meaningless.

Hi Liszt,

Only one question. Is that issue related to sdcard or not?

It’s does SD card issue. If we inserted a SD card before system boot up. The system will get that error message descbibed above also during booting. During to loop message, it will never touch log-in sentence (boot completed).

And if that happens to only your custom board, how about your share the board schematic and full dts?

If you are not willing to share schematic, then try to reproduce 100% same issue on devkit so we can help.

Hi,
The dtb/dts and schematic has provided.
Thank you
tegra234-air030.dtb (417.3 KB)
tegra234-air030.dts (7.1 KB)
AIR-030-SCH-A101-1_20220810A.pdf (3.6 MB)

Please convert your dtb back to dts and attach that dts. The dts file you just shared is not full one.

Hi,
tegra234-air030.dts (417.3 KB)
Please review the decompiled dts,
Thank you

Please still dump the boot log before the error log loop starts.

Need to check some early sdhci driver log.

Hi,
The boot log has attached.
Thank you
sdcard_boot_dmesg.txt (174.9 KB)

Hi,

There is no error in the log you provided. Could you describe how this error would start?

Or do you have the log when this error getting starts to print?

boot_with_sdcard_inserted.txt (250.4 KB)
The SD card error message occur while sdcard be plugged in the board.