UBIFS corruption after software upgrade

Artem Bityutskiy dedekind1 at gmail.com
Wed Aug 22 09:21:56 EDT 2012


On Wed, 2012-08-01 at 08:40 -0400, Russell Zuck wrote:
> On 7/24/2012 5:02 PM, Russell Zuck wrote:
> > I have not yet attempted to reproduce this issue using nandsim nor do I
> > have a simple reproducer for the problem yet.  Please provide some ideas
> > about how to simulate the reboot using nandsim as I think the reboot
> > portion of this scenario will be critical to reproducing the issue.
> 
> Can anyone direct me to some information that might help me simulate a 
> reboot using nandsim to attempt to reproduce my UBIFS corruption issue?
> 
> Additionally, I would really appreciate any suggestions, tips, tricks, 
> criticisms of the upgrade process I outlined previously, or "Have you 
> considered this" type questions.  I've read everything I could find that 
> even remotely pertains to my scenario but nothing is clicking for me 
> yet.  I'm desperately trying to resolve my issue.  Any guidance would be 
> welcome.

I'd first forget about your update scheme and just stress-tested UBIFS.
Mount it, try testing it using the integck test - does it work? E.g.,
run 'integck -n0' and let it run for hours or overnight. If that is ok,
try to power-cut the device while integck is working. Does it mount
after reboot? Can you remove the integck working files and re-run it?
Does it work? Try to repeat power cut several times.

-- 
Best Regards,
Artem Bityutskiy
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part
URL: <http://lists.infradead.org/pipermail/linux-mtd/attachments/20120822/1e0a2284/attachment.sig>


More information about the linux-mtd mailing list