RAM corruption, possible eMMC corruption
#1
Hi everyone, 

I've been tinkering with my PinePhone for a while and noticed that eMMC is likely corrupt/being corrupted sometimes.
I tested that by downloading files from remote host and checking if their sha256sums match, which they didn't. Also rsync just fails to copy file quoting the same mismatch error.
After running PostmarketOS update using apk update && apk upgrade it just stopped unlocking (lock screen just reappears after a valid pin code), though apk verify said nothing about that.

I'd like to know if anyone else has/had that problem and if there're any workarounds to get eMMC stable.

Forgot to mention: I also tried mounting tmpfs (which should be RAM-backed, I believe) and downloading my image there, but the result is the same — checksums mismatch

Another addition: each time I run sha256sum on the same file, it yields a different checksum, so that's possibly RAM and not eMMC (updating thread title as well)
  Reply
#2
i don't know how easily to test ram memory, but i'm skilled enough to use command "dd" to test emmc mem. however, booting sdcard is necessary and tests still wipes data from emmc.

basic idea is to create 1 gigabyte of random bytes to write to disk and then read and verify it. knowledge of dd, /dev/urandom and sha256 is required.

at this point, test booting from sdcard first, and maybe proceed to test emmc.
  Reply
#3
Tested that, looks like it's a RAM issue indeed. A quick fix for that is to use u-boot image with reduced DRAM frequency from https://forum.pine64.org/showthread.php?tid=9832. Hope the issue is resolved properly in the software/kernel though.
  Reply
#4
There are various ways that an eMMC could become corrupted. Some common causes of eMMC corruption include improper power supply, moisture and humidity, overheating, and shock. If any of these conditions are present, the data on the eMMC may be corrupted. If the corruption is due to improper power supply, try connecting the eMMC to a powered USB port instead of a DC power adapter.
  Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  emmc speed via usb? joe1 0 362 04-27-2024, 08:07 PM
Last Post: joe1
  eMMC upgrade EuvzO8 5 2,720 11-08-2023, 11:58 PM
Last Post: brken
  Emmc yvan 1 1,780 07-07-2022, 08:16 AM
Last Post: Chief
  Any experiences with hardware mod to improve eMMC speeds? kqlnut 9 7,453 04-19-2022, 02:36 PM
Last Post: kk22
  Where is the Pinephone eMMc? tgz 12 13,650 02-10-2021, 06:24 PM
Last Post: dsimic
  Pine phone eMMC read speeds ? bcnaz 14 16,736 11-20-2020, 02:52 AM
Last Post: LinAdmin2
  eMMC won't flash RodMyers 3 5,505 09-12-2020, 06:38 PM
Last Post: SwordfishII
  broken emmc nieral 7 10,055 08-26-2020, 09:24 AM
Last Post: nieral
Question UBports Edition Flashing eMMC slow speeds FOSSagent0 0 1,982 08-12-2020, 07:03 AM
Last Post: FOSSagent0
  [BH] Issues booting from eMMC with NON-BOOTABLE SD card inserted Segfault 7 8,837 06-24-2020, 04:18 PM
Last Post: Luke

Forum Jump:


Users browsing this thread: 1 Guest(s)