risk factor - ext4 and disk corruption

Richard A. Smith richard at laptop.org
Thu Sep 8 11:01:56 EDT 2011

On 09/07/2011 01:26 PM, Martin Langhoff wrote:
> On Wed, Sep 7, 2011 at 12:52 PM, John Watlington<wad at laptop.org>  wrote:
>> The classic trigger for corruption problems (especially w. SD cards)
>> is sudden power off events.   I believe we now have the ability
> Wrote http://dev.laptop.org/attachment/ticket/11220/fstorture.sh which
> uses sysrq to tell the kernel to do a hard reboot. Happy to replace
> that with a direct EC command issued via debugfs if we have one.

I think you missed my response on IRC.

  echo "4b:0" > /sys/kernel/debug/olpc-ec/generic

Will tell the EC to power cycle.

Richard A. Smith  <richard at laptop.org>
One Laptop per Child

More information about the Devel mailing list