corrupt microsd card after reboot
#1
The microsd card and my Pine A64 2GB becomes corrupted after a reboot, shutdown or power outage, which in turn leads to various bugs or renders the system unbootable, even after repairing the card using fsck.

Could anyone please tell me if this could be related to the microsd card brand(it is a fast Kingston model) or if it means my Pine A64 is defective and good to go to the trash can.

This problem occurs on all Pine A64 images I've tried: ubuntu, android and debian.

Thank you in advance.
  Reply
#2
Not sure if it is microSD related, but have you tried a different card to eliminate that possibility?
  Reply
#3
(02-06-2017, 01:32 PM)Ghost Wrote: Not sure if it is microSD related, but have you tried a different card to eliminate that possibility?

Nope, I was hopping to get more clues on the issue before buying another card Confused
  Reply
#4
(02-06-2017, 02:12 PM)maxpayne Wrote:
(02-06-2017, 01:32 PM)Ghost Wrote: Not sure if it is microSD related, but have you tried a different card to eliminate that possibility?

Nope, I was hopping to get more clues on the issue before buying another card Confused

Buying another microSD to test seems like a relatively cheap way of finding out whether the card is at fault or not. 

How are you shutting down the Pine? Via the software menu activated by a short press of the power button, or just by pulling out the power cord?

Incorrect shutdown procedure can lead to a card getting corrupted. MicroSD cards are very susceptible to this.

The card also needs to have good random read/write speeds. Many cards, even modern ones, are only good at linear reads and writes. This is fine for simply uploading and downloading media to and from the card, but running an operating system requires more complexity than this and so needs to be efficient when it comes to random read/write performance. Some cards just can't handle it.
  Reply
#5
(02-06-2017, 05:09 PM)Ghost Wrote:
(02-06-2017, 02:12 PM)maxpayne Wrote:
(02-06-2017, 01:32 PM)Ghost Wrote: Not sure if it is microSD related, but have you tried a different card to eliminate that possibility?

Nope, I was hopping to get more clues on the issue before buying another card Confused

Buying another microSD to test seems like a relatively cheap way of finding out whether the card is at fault or not. 

How are you shutting down the Pine? Via the software menu activated by a short press of the power button, or just by pulling out the power cord?

Incorrect shutdown procedure can lead to a card getting corrupted. MicroSD cards are very susceptible to this.

The card also needs to have good random read/write speeds. Many cards, even modern ones, are only good at linear reads and writes. This is fine for simply uploading and downloading media to and from the card, but running an operating system requires more complexity than this and so needs to be efficient when it comes to random read/write performance. Some cards just can't handle it.

My pine64 has no power button, but any method to reboot/shut down I've used causes the microSD card to become corrupt:
sudo reboot, poweroff, shutdown -h or pulling the power cord all lead to the same issue.

Will try to buy another microSD card tomorrow to see if it makes any diference.
  Reply
#6
(02-06-2017, 06:07 PM)maxpayne Wrote: My pine64 has no power button, but any method to reboot/shut down I've used causes the microSD card to become corrupt:
sudo reboot, poweroff, shutdown -h or pulling the power cord all lead to the same issue.

Will try to buy another microSD card tomorrow to see if it makes any diference.

You can add a power button, but that is another topic altogether.

If you are shutting down the pine64 or rebooting via the proper commands like reboot, poweroff, shutdown -h and the microSD card is being corrupted... then it's most likely your microSD that's at fault. What distro / image are you using? Any of the linux installs using a ext2/3/4 file system are pretty robust, and are hard to completely break, even with a unexpected power outage.
  Reply
#7
Sorry for not replying sooner guys, but since I didn't find the time to buy a micro sd card yesterday, there was really not much more to add to the subject at the time.

The pine64 is now working with a slower Samsung evo card, after several reboots, poweroffs and even unplugging the power cord, longsleep's ubuntu image is still booting normally, so I guess the much faster Kingston micro SD is a no go for the pine64, too bad most brands don't provide info regarding the IOPS of their cards.

Thank a lot for the help.

PS: Is there any power button on ebay or a similar shop that fits the pine64 ? (I don't feel like paying 12$ shipping for a $0.5 button on the pine64 shop).
  Reply


Possibly Related Threads...
Thread Author Replies Views Last Post
  SD Card locked icemeister 5 846 05-13-2020, 11:59 PM
Last Post: alexenwaston
  How to boot from the SD card and install to eMMC? ravanh 2 235 03-18-2020, 09:42 AM
Last Post: tophneal
  recommended micro sd card ? mronhb 91 42,251 03-03-2020, 11:34 PM
Last Post: siyatalerja
  PINE64 Installer - Simple Way to Image Your MicroSD pineadmin 101 39,691 01-15-2020, 12:46 PM
Last Post: tophneal
  PSCI, u-boot and reboot on Sopine ClusterBoard hbaxmann 0 182 09-03-2019, 11:57 PM
Last Post: hbaxmann
  eMMC card on adapter Malmgren 8 1,767 03-20-2018, 11:14 AM
Last Post: Malmgren
  recommended micro sd card? Gustavo Woltmann 1 567 01-03-2017, 11:38 PM
Last Post: MarkHaysHarris777
  What is on the Micro SC card that came with the board? clawinus 1 771 11-03-2016, 02:33 PM
Last Post: MarkHaysHarris777
  SD card burn img size problems stephen0205 17 4,320 09-22-2016, 06:28 AM
Last Post: tkaiser
  Phoenix Card and Norton Security don't mix . . . mjgoode 5 890 08-17-2016, 01:49 PM
Last Post: MarkHaysHarris777

Forum Jump:


Users browsing this thread: 1 Guest(s)