linux-mtd.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
From: Artem Bityutskiy <dedekind1@gmail.com>
To: Boaz Ben-David <boaz.bd@wellsense-tech.com>
Cc: "linux-mtd@lists.infradead.org" <linux-mtd@lists.infradead.org>
Subject: Re: UBIFS reboots issue
Date: Wed, 22 Dec 2010 22:20:45 +0200	[thread overview]
Message-ID: <1293049245.2051.4.camel@koala> (raw)
In-Reply-To: <39A4B204C321D34DA3490E3B119D5A6C68BF77673F@SBS2008.wellsense.local>

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 (Битюцкий Артём)

  parent reply	other threads:[~2010-12-22 20:20 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-12-22 14:36 UBIFS reboots issue Boaz Ben-David
2010-12-22 16:37 ` Steve Iribarne
2010-12-22 17:32 ` Boaz Ben-David
2010-12-22 17:35   ` Boaz Ben-David
2010-12-22 18:09     ` Steve Iribarne
2010-12-22 18:53       ` Boaz Ben-David
2010-12-22 20:20 ` Artem Bityutskiy [this message]
2010-12-23 12:51   ` Boaz Ben-David
2010-12-24  3:23     ` ZHOU Zhongjun
2010-12-24 10:40       ` Boaz Ben-David
2010-12-28 15:47         ` Boaz Ben-David
2011-01-05  8:32           ` Artem Bityutskiy
2011-01-05  8:28     ` Artem Bityutskiy

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1293049245.2051.4.camel@koala \
    --to=dedekind1@gmail.com \
    --cc=boaz.bd@wellsense-tech.com \
    --cc=linux-mtd@lists.infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).