UBIFS becomes read-only when written, then fails to mount

Matt Hevern matt.hevern at gmail.com
Wed Jul 2 18:20:42 PDT 2014


On Tue, Jul 01, 2014 at 04:55:52PM +0300, Artem Bityutskiy wrote:
> On Wed, 2014-06-18 at 14:44 +1000, Matt Hevern wrote:
> > Hi All,
> > 
> > 
> > I am running UBIFS on freescale i.MX28, kernel 2.6.35.3, based on
> > freescale's IMX tree:
> > http://git.freescale.com/git/cgit.cgi/imx/linux-2.6-imx.git/?h=imx_2.6.35_maintain
> > The flash is NAND, Micron 256MiB (MT29F2G08)
> 
> In your dumps I see that there are errors related to UBIFS not being
> able to find an LEB for the garbage collector. And I remember we fixed
> bugs in this area.
> 
> For example, "6fb4374 UBIFS: fix GC LEB recovery", and there were more.
> Search for 'ubifs_rcvry_gc_commit' in 'git log -p fs/ubifs/recovery.c'.


Thanks for your response. I can see that I don't currently have this commit.
I'll attempt to pull in this and any others that look relevant.

Thanks,


Matt



More information about the linux-mtd mailing list