Rock Pi 4B+ Lockups (related to mmc?)

Hi there,

I’ve been observing seemingly random lockups/freezes of my Rock Pi 4B+. When connecting the Serial Console over USB cable I can more or less reliably reproduce this error running memtester and waiting for a few hours.

Whenever the Lockup Happens the Console shows something like this:

[49914.845109] mmc2: tuning execution failed
[49914.847196] mmc2: tuning execution failed
[49914.850194] mmc2: tuning execution failed
[49914.853192] mmc2: tuning execution failed
[49919.311432] INFO: task kworker/1:2:295 blocked for more than 120 seconds.
[49919.312058]       Not tainted 4.4.154-112-rockchip-gfdb18c8bab17 #1
[49919.312628] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
[49919.313702] Kernel panic - not syncing: hung_task: blocked tasks
[49919.314247] CPU: 1 PID: 39 Comm: khungtaskd Not tainted 4.4.154-112-rockchip-gfdb18c8bab17 #1
[49919.315001] Hardware name: ROCK PI 4B (DT)
[49919.315056] bcmsdh_sdmmc: Failed to Write byte F1:@0x1001f=00, Err: -5

Any ideas what to do about this?

Thanks a lot in advance!

What is the OS, kernel, CPU temperature, uSD, eMMC or NVMe booting?. Also what PSU you are using, Watts/Voltage/Amps?

It’s more like the mmc clock is higher than expected. Which image are you using?

Hi @jack @jtremblant,

the image i’ve used was the one i’ve got here

rockpi4b_ubuntu_focal_server_arm64_20210125_2353-gpt.img.gz

CPU temp is okay (i guess?) usually around 45-50°C with longer periods of load. But this also happens without load 31-33°C.

OS:

 lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 20.04.2 LTS
Release:        20.04
Codename:       focal

Kernel:

uname -r
4.4.154-112-rockchip-gfdb18c8bab17

no microSD
booting from eMMC
no NVMe

power over usb 3 (5V, 2A or 9V, 1.67A, not sure which it is to be honest, some Samsung charger) but it seems to happen with the SATA HAT on top and power over the HAT (12V, 5A).

Thanks for the responses / help. Much appreciated!

Check the newer images here:

https://dl.radxa.com/rockpi4/images/ubuntu/rockpi4b_ubuntu_focal_server_arm64_20210608_1232-gpt.img.gz

It should be fixed already.

1 Like

thanks i will try

Based on my experience, I’d recommend using Radxa official PSU’s only. PD 65W PSU is the preferred choice to us, stability wise with RockPi4B+ or 4C boards, specially if you’re using any type of HAT or NVMe or plan to overclock.