Issue : jffs2 and ecc layout

Charles Manning manningc2 at actrix.gen.nz
Thu Dec 23 22:02:36 EST 2010


On Thursday 23 December 2010 21:24:35 Ming Lei wrote:
> Hi,
>
> 2010/9/28 Ghorai, Sukumar <s-ghorai at ti.com>:
> > Hi,
> > I was using the following ecc layout which is not working to mount the
> > jffs2 File-system. I was in 2.6.32 kernel and working; but same layout is
> > not working with latest 2.6 kernel.
> >
> > Observation is that - no read request issued to the driver (say omap2.c).
> >
> > # mount -t jffs2 /dev/mtdblock4 /mnt/nand
> > [   32.505218] cannot read OOB for EB at 00000000, requested 8 bytes,
> > read 0 bytes, error -22 mount: Mounting /dev/mtdblock4 on /mnt/nand
> > failed: Input/output error
>
> I meet the issue too, kernel is  2.6.37-rc6-next-20101217+, and board is
> beagle B5.
>
> Is there any way to fix or workaround the issue?
>
>
> thanks,

THis might be due to the way the omap2.c driver is now screwed up so that it 
does not read when not u32 aligned.

Try this:
http://www.spinics.net/linux/lists/linux-omap/msg42422.html

Please report back if that fixes the problem for you.

-- Charles






More information about the linux-mtd mailing list