Ubuntu server kernel issue

This is still happening. I’m currently at: 18.04.2. I have the device on a regular reboot ( everyday at 2 AM ). This seems to have mitigated the problem, but after about 1 1/2 weeks of non-intervention I got this yesterday ( the box never finished rebooting )…:

Mar 17 01:54:03 localhost kernel: [86028.321552] bcmsdh_sdmmc: Failed to Write byte F1:@0x1001f=00, Err: -5

Mar 17 01:54:03 localhost kernel: [86028.323048] bcmsdh_sdmmc: Failed to Read byte F1:@0x1001f=ff, Err: -5

Mar 17 01:54:03 localhost kernel: [86028.325575] bcmsdh_sdmmc: Failed to Read byte F1:@0x1001f=ff, Err: -5

Mar 17 01:54:03 localhost kernel: [86028.328113] bcmsdh_sdmmc: Failed to Read byte F1:@0x1001f=ff, Err: -5

Mar 17 01:54:03 localhost kernel: [86028.329709] bcmsdh_sdmmc: Failed to Write byte F1:@0x1001f=00, Err: -5

Mar 17 01:54:03 localhost kernel: [86028.332252] bcmsdh_sdmmc: Failed to Write byte F1:@0x1001f=00, Err: -5

Mar 17 01:54:03 localhost kernel: [86028.334765] bcmsdh_sdmmc: Failed to Write byte F1:@0x1001f=00, Err: -5

Mar 17 01:54:03 localhost kernel: [86028.336343] bcmsdh_sdmmc: Failed to Read byte F1:@0x1001f=ff, Err: -5

Mar 17 01:54:03 localhost kernel: [86028.338844] bcmsdh_sdmmc: Failed to Read byte F1:@0x1001f=ff, Err: -5

Mar 17 01:54:03 localhost kernel: [86028.341411] bcmsdh_sdmmc: Failed to Read byte F1:@0x1001f=ff, Err: -5

Mar 17 01:54:03 localhost kernel: [86028.342982] bcmsdh_sdmmc: Failed to Write byte F1:@0x1001f=00, Err: -5

Mar 17 01:54:03 localhost kernel: [86028.345570] bcmsdh_sdmmc: Failed to Write byte F1:@0x1001f=00, Err: -5

Is anyone running these 24/7? I’d be interested in hearing what your setup looks like.

We will take this seriously. We have checked the armbian kernel device tree, it’s mostly the same as ours. Need more digging. We tried to reproduce it in the office before but we did not see it.

@Nechoj what sd card are you using?

I’m using a 64GB eMMC

I tried different cards:
Samsung EVO 32GB
SanDisk Ultra HC1 16GB
Transcend Extreme-speed 16GB

all cards have been UHS-1 / class 10.

Note: the errors in the SD card interface were gone, when I applied the dtb patch mentioned above to the Ubuntu kernel. Then I switched to RockPi Armbian and likewise, no SD card errors showed up.

What remained are the errors in the dhd_tcpdata_info_get which are related to the WiFi interface. Those errors show up in Armbian as well. Surprisingly, these errors are being logged in the kernel log, but the wifi interface does not report any lost data.

I am running ubuntu since 1 week (boot device is a 64GB eMMC card) and yesterday the rock pi crashed after hundreds of
bcmsdh_sdmmc: Failed to Read byte F1:@0x1001f=ff, Err: -5
errors.
So the problem still exists and I have to try another image.

And also
bcmsdh_sdmmc: Failed to Write byte F1:@0x1001f=00, Err: -5
errors.

Is there any advancements on this. I just had the same issue. RockPi crashed after around 30 days of uptime.
Running Ubuntu 18.04.1 Linux 4.4.154-59-rockchip-g5e70f14 on a 32Gb eMMC and nvme SSD.
Got the same errors before locking up.

[ 275.201939] bcmsdh_sdmmc: Failed to Write byte F1:@0x1001f=00, Err: -5
[ 275.202920] bcmsdh_sdmmc: Failed to Read byte F1:@0x1001f=ff, Err: -5

I updated to the most current kernel (4.4.154-83) as indicated https://wiki.radxa.com/Rockpi4/radxa-apt.
Since these errors takes some time to show up, I will come back to report if it continues to happen. Unless the update fixed the issue.

This output should not crash the ROCK Pi 4. If it crashed, there must be some other reasons.

This looks to be the the same issue noted here and is “resolvable” by blacklisting bcmdhd, but then you lose wifi.

It’s not “crashed” as such, it’s still running but not responsive. The log file fills up with a stream of those errors but there is not getting into the machine other than to reboot.

Same problem. How to fix it?

You could try the new images by ayufan

https://github.com/ayufan-rock64/linux-build/releases/download/0.9.0/bionic-minimal-rockpi4b-0.9.0-1142-arm64.img.xz

https://github.com/ayufan-rock64/linux-build/releases/download/0.9.0/stretch-minimal-rockpi4b-0.9.0-1142-arm64.img.xz