JFFS2 mount fail & crash on 2.4.26 kernel

David Woodhouse dwmw2 at infradead.org
Thu Feb 11 15:33:52 EST 2010


On Fri, 2010-02-12 at 09:22 +1300, Amol Lad wrote:
> Sorry for non giving enough information. The devices are in the field
> since last 5 years and never showed problems. (This shows the
> robustness of jffs2 fs). Recently only some devices are approaching
> 90% usage and this problem showed up....

OK, if it's really been in the field for 5 years then perhaps you're not
_quite_ as insane as I thought you were for using a 2.4 kernel -- so
maybe I was a little harsh in my initial response. But only a little --
even by 2005, deploying a 2.4 kernel was a strange thing to do.

Did you get a proper backtrace?

> It will be completely unfair to ask for any fix on such an old kernel.
> So any ideas on recovery will help before I push RED button (i.e. call
> the devices back to factory and re-flash jffs2 image..)
> 
> Do we have any tool like fsck that can be used for recovery? (I tried
> mounting the device after these errors and crash, but mount hangs and
> never returns. "ps" shows mount in "D" state)

Does this crash every time you mount the file system? That makes it nice
and simple, in some ways.

Can you take an image and try mounting it with a 2.6.3x kernel -- I
assume it'll be fine, but if it _does_ fail, then you magically get us
to care.

And if it does work, then you get to look through the commits between
then and now and work out how we fixed it...

-- 
David Woodhouse                            Open Source Technology Centre
David.Woodhouse at intel.com                              Intel Corporation




More information about the linux-mtd mailing list