UBIFS reboots issue

ZHOU Zhongjun Zhongjun.Zhou at alcatel-sbell.com.cn
Thu Dec 23 22:23:20 EST 2010


Why do you not to use YAFFS2 for NAND flash?  It seems that Yaffs2 is more popularity.


-----Original Message-----
From: linux-mtd-bounces at lists.infradead.org [mailto:linux-mtd-bounces at lists.infradead.org] On Behalf Of Boaz Ben-David
Sent: Thursday, December 23, 2010 8:52 PM
To: linux-mtd at lists.infradead.org
Subject: Re: UBIFS reboots issue

I am using kernel 2.6.31 for iMX35 and I'm not sure what version of UBIFS is patched in there.
What do I need to do in order to patch to the latest version? 
Is is enough to clone UBIFS 2.6.31 and copy over the fs/ubifs and mtd/ubi directories or are there any other directories I need to take into account?

Thanks,

Boaz.

On Wed, 2010-12-22 at 22:20 +0200, Artem Bityutskiy wrote:
> On Wed, 2010-12-22 at 16:36 +0200, Boaz Ben-David wrote:
> > Hi all,
> > 
> > We have an embedded system using a Samsung 2GB MLC NAND and are 
> > using UBIFS as the file system on it.
> > I have a question regarding UBIFS and hard reboots.
> > After some work with the flash (doing reads and writes to it), some 
> > times one of our partitions would fail to mount.
> > I suspected this has something to do with a reboot which happens 
> > during a write to the flash.
> > In order to test this I created a simple script which copies a file 
> > from to the partition, syncs, then deletes it and does this 
> > repeatedly until a hard reboot occurs (using the watch dog to cause the boot).
> > This process repeats itself until the partition fails to mount.
> > When I performed the test mentioned above, after about 3-4 times the 
> > partition would fail.
> > I am not sure if this behaviour is normal or not.
> > Did someone encounter similiar behaviour?
> 
> Just curious, did you see this:
> 
> http://linux-mtd.infradead.org/faq/ubifs.html#L_ubifs_mlc
> 
> I do not think you can just use UBI/UBIFS on MLC as is, you'd need to 
> make sure MLC-specific behavior is handled properly.
> 
> --
> Best Regards,
> Artem Bityutskiy (Битюцкий Артём)
> 

______________________________________________________
Linux MTD discussion mailing list
http://lists.infradead.org/mailman/listinfo/linux-mtd/



More information about the linux-mtd mailing list