Mmcblk0: recovery failed including various other errors, dying SD?

Creating a bug report/issue

Required Information

  • DietPi version | 8.12.1
  • Distro version | bullseye 0
  • Kernel version | Linux DietPi 5.15.84-v8+ #1613 SMP PREEMPT Thu Jan 5 12:03:08 GMT 2023 aarch64 GNU/Linux
  • SBC model | Raspberry Pi 3 Model B Plus Rev 1.3
  • Power supply used | Generic 5.1V 2.5A
  • SD card used | SanDisk ultra

Hello. I’m having some issues with an unstable system, having hard crashes with mmcblk0 recovery fail loop where i have to unplug the power to restart, sometimes after restarts it will crash again while rebooting. The crashes seem to happen particularly around if kodi have been in the background for a while, but also under any amount of activity streaming. Could this point to a filesystem problem or sd card read/write issue? or maybe memory problem?

Note i will be replacing the sd soon, I’m just interested in figuring out what’s happening.

I managed to take a photo of one part of the error messages of the last crash while it was happening, this time it was overnight with kodi running in the background, i’ll post it here if it gives any insight…

Buffer I/O error on dev mmcblk0p2, logical block 65536, lost sync page write
JBD2: Error -5 detected when updating journal superblock for mmcblk0p2-8.
mmcblk0: recovery failed!
mmcblk0: recovery failed!
mmcblk0: recovery failed!
mmcblk0: recovery failed!
mmcblk0: recovery failed!
mmcblk0: recovery failed!
mmcblk0: recovery failed!
mmcblk0: recovery failed!
Buffer I/O error on dev mmcblk0p2, logical block 0, lost sync page write
EXT4-fs (mmcblk0p2): I/O error while writing superblock
mmcblk0: recovery failed!
Buffer I/O error on dev mmcblk0p2, logical block 0, lost sync page write
EXT4-fs (mmcblk0p2): I/O error while writing superblock
mmcblk0: recovery failed!
Buffer I/O error on dev mmcblk0p2, logical block 0, lost sync page write
EXT4-fs (mmcblk0p2): I/O error while writing superblock
EXT4-fs (mmcblk0p2): Remounting filesystem read-only
mmcblk0: recovery failed!
mmcblk0: recovery failed!
mmcblk0: recovery failed!
mmcblk0: recovery failed!
mmcblk0: recovery failed!

I would like to post a full journal log but i’m being character limited… what can i do to provide more info?

You could copy the log into a file and attach it to your post.

Anyway you have serious file system corruption on your SD card. Probably it’s a dieing one.

1 Like

Thanks for confirming, it’s an older model card and i suspect it’s been damaged since flashing with an iffy reader.