[Beaglebone] SD Card Corruption Solutions

Hi Dear Group Members,

I am developing an application on beaglebone but I am suffering SD card corruption on hw resets. Here there errors:

Uncompressing Linux… done, booting the kernel.
systemd-fsck[53]: Angstrom: clean, 50313/218592 files, 314183/873534 blocks
[ 15.661254] mmcblk0: error -110 transferring data, sector 1802385, nr 128, cmd response 0x900, card status 0x200b00
[ 19.912536] mmcblk0: error -110 transferring data, sector 1802496, nr 17, cmd response 0x900, card status 0x0
[ 19.923004] end_request: I/O error, dev mmcblk0, sector 1802496

[ 133.652099] mmcblk0: error -110 transferring data, sector 1802507, nr 6, cmd response 0x900, card status 0x0
[ 133.662414] end_request: I/O error, dev mmcblk0, sector 1802507
[ 136.464843] mmcblk0: error -110 transferring data, sector 1802508, nr 5, cmd response 0x900, card status 0x0

Hence, it never boots completely. As a temprorary solution, I am reformatting sd card and writing latest image with dd command.
But it is really annoying. Are there any robust solutions about this? Maybe making file system read only prevents this but I could not find a proper solution guide.

Do you have a suggestion?

Regards

Hi,

Did you try the squashFS?

Here is a link: http://www.tlpd.org/HOWTO/SquashFS-HOWTO/

BR,
Leví

2012/8/28 Özen Özkaya <ozenozkaya@gmail.com>

There is a package on Debian named flashybrid which ease mounting read-only and syncing periodically. It lets you define which are mounted read-only and aren´t changed (i.e /bin), which are modified (i.e /var/log) and which changes can be dropped (i.e /var/tmp).

On the DreamPlug/GuruPlug and other ARM SoC is quite used.

Hi,

I could not get read only file system work. But I tried lots other of things and problem still occures. My application uses tcp/ip communication frequently. Can it be the cause of corruption?

Is there any one who successfully use read only file system on angstrom linux?

If yes, can you suggest step list?

Regards

28 Ağustos 2012 Salı 18:46:34 UTC+3 tarihinde Juanjo yazdı: