public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
From: Hinko Kocevar <hinko.kocevar@cetrtapot.si>
To: suresh@mistralsolutions.com
Cc: linux-mtd@lists.infradead.org
Subject: Re: JFFS2 GC Bug?
Date: Thu, 24 Jul 2008 09:48:57 +0200	[thread overview]
Message-ID: <488833E9.1020207@cetrtapot.si> (raw)
In-Reply-To: <20080723201527.c93gjrlujjjswwc0@webmail.mistralsolutions.com>

suresh@mistralsolutions.com wrote:
> Hi,
> 
> Can files go missing if there is a powerfail when the garbage  
> collection is running (and doing updation to the file system) on a  
> JFFS2 filesystem.
> 

According to this doc not: http://www.linux-mtd.infradead.org/faq/jffs2.html

> Was this a bug in older kernels?

We are using 2.6.12 and 2.6.15 kernel on our embedded devices that use JFFS2 on NOR flash for rootfs. Devices are uncleanly shutdown every time, at least 3 times a day. Some devices are about 2.5 years in the wild and work as expected, while some fail to mount/use(!?) the rootfs right after the kernel has finished booting.
Right now we are testing 2.6.26 that does not fail to mount rootfs even under bigger stress tests than 2.6.12/2.6.15 kernels ever faced. Also a 'corrupt' flash that won't boot with 2.6.12/2.6.15 boots FINE with 2.6.26.

So my recommendation would be to use latest kernel sources.
 
my 2c,
Hinko

-- 
ČETRTA POT, d.o.o., Kranj
Planina 3
4000 Kranj
Slovenia, Europe
Tel. +386 (0) 4 280 66 03
E-mail: hinko.kocevar@cetrtapot.si
Http: www.cetrtapot.si

      reply	other threads:[~2008-07-24  7:49 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-07-24  1:15 JFFS2 GC Bug? suresh
2008-07-24  7:48 ` Hinko Kocevar [this message]

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=488833E9.1020207@cetrtapot.si \
    --to=hinko.kocevar@cetrtapot.si \
    --cc=linux-mtd@lists.infradead.org \
    --cc=suresh@mistralsolutions.com \
    /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