eMMC failed
#12
My PBP is still on a brand new Hardkernel 256GB emmc so it's 0x01.

My Rockpro64 has a 128GB emmc from Pine64. The filesystem on that dates from August 2021, lifetime writes 1409 GB.
eMMC Life Time Estimation A [EXT_CSD_DEVICE_LIFE_TIME_EST_TYP_A]: 0x02
eMMC Life Time Estimation B [EXT_CSD_DEVICE_LIFE_TIME_EST_TYP_B]: 0x01
eMMC Pre EOL information [EXT_CSD_PRE_EOL_INFO]: 0x01

https://www.cnx-software.com/2019/08/16/...sh-memory/
Quote:The Extended Device Specific Data, formerly named Extended Card Specific Data, is where health reports are made available. It contains:

a vendor proprietary health report, 32 bytes long
device lifetime estimation type A, providing health status in increments of 10%
This refers to SLC blocks in our eMMC.
device life time estimation type B, providing health status in increments of 10%
This refers to MLC blocks in our eMMC.
pre-EOL info, reflecting device lifetime by average reserved blocks
returns values normal, warning (80% of reserved blocks consumed) and urgent (90% of reserved blocks consumed)

I don't think the one I had fail was from writing too much, I think it was a bug in the on-emmc firmware that corrupted the internal data structures leading to sudden failure. There does not have to be any warning, data on emmcs needs to be kept backed up at all times.

Although I hadn't set up zram yet back then and was swapping to the emmc, now that I have, iostat -h shows me that the kB_wrtn/s for zram0 is less than for mmcblk2, 9.9k vs 14.5k. With my usage, swapping to the emmc would less than double the data written.

This is with the following config changes applied:
https://wiki.archlinux.org/title/Zram#Op...ap_on_zram

IE, a higher swappiness (180) than the default (60).

However, vm.watermark_boost_factor = 0 prevents periodic "swap storms".
I don't have any data on how much that increased usage. I guess I could run with the default again to collect it.

The default value of watermark_boost_factor is terrible, it's what causes the PBP to lock up in out-of-memory conditions instead of having the OOM killer actually work.

Fwd: Debian 11: Tuning kernel parameters swappiness and watermark_boost_factor to stop SWAP Storm
  Reply


Messages In This Thread
eMMC failed - by Dendrocalamus64 - 10-17-2021, 09:02 AM
RE: eMMC failed - by KC9UDX - 10-17-2021, 09:39 PM
RE: eMMC failed - by Dendrocalamus64 - 10-20-2021, 08:17 PM
RE: eMMC failed - by TRS-80 - 10-29-2021, 09:18 AM
RE: eMMC failed - by Dendrocalamus64 - 11-03-2021, 12:39 PM
RE: eMMC failed - by Dendrocalamus64 - 11-09-2021, 05:10 PM
RE: eMMC failed - by lot378 - 11-09-2021, 08:09 PM
RE: eMMC failed - by Dendrocalamus64 - 11-11-2021, 09:26 AM
RE: eMMC failed - by lot378 - 11-12-2021, 08:48 AM
RE: eMMC failed - by Dendrocalamus64 - 11-12-2021, 11:08 AM
RE: eMMC failed - by Der Geist der Maschine - 05-04-2025, 10:41 AM
RE: eMMC failed - by Dendrocalamus64 - 05-04-2025, 01:50 PM
RE: eMMC failed - by Der Geist der Maschine - 05-04-2025, 04:51 PM
RE: eMMC failed - by Dendrocalamus64 - 05-04-2025, 06:53 PM
RE: eMMC failed - by Der Geist der Maschine - 06-09-2025, 12:59 AM
RE: eMMC failed - by Dendrocalamus64 - 06-09-2025, 12:03 PM
RE: eMMC failed - by ameridroid - 06-09-2025, 04:49 PM
RE: eMMC failed - by Der Geist der Maschine - 06-21-2025, 04:34 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Hardkernel 256GB eMMC with lvm2 on PBP Dendrocalamus64 2 1,207 12-21-2024, 06:07 AM
Last Post: KC9UDX
  256GB EMMC! sallyhaj 3 2,450 11-19-2024, 10:06 AM
Last Post: ameridroid
  Both hinges completely failed phuzy 20 19,698 01-02-2024, 02:03 AM
Last Post: Uturn
  Write to an A1-rated Micro SD card failed dsimic 12 16,157 07-28-2021, 11:38 AM
Last Post: dsimic
  Upgrade eMMC card - boot problems alpopa 0 3,046 09-16-2020, 12:31 PM
Last Post: alpopa
  128GB eMMC support dgkPBP 7 11,775 09-08-2020, 07:36 AM
Last Post: KC9UDX
  Manjaro 20.06 requires multiple boots from eMMC to launch successfully on PBP Spectre 0 2,854 07-09-2020, 06:12 PM
Last Post: Spectre
  eMMC to USB adapter "very" slow at reading data talpa 3 6,787 07-08-2020, 08:55 AM
Last Post: talpa
  Internal installation of additional eMMC Besouro 7 11,441 06-06-2020, 09:33 PM
Last Post: xmixahlx
  Boot problems with new 128GB eMMC module Kareema 1 4,210 05-31-2020, 10:36 AM
Last Post: Kareema

Forum Jump:


Users browsing this thread: 1 Guest(s)