Issue : jffs2 and ecc layout

Ming Lei tom.leiming at gmail.com
Fri Dec 24 09:40:40 EST 2010


Hi,

2010/12/24 Charles Manning <manningc2 at actrix.gen.nz>:

> 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.

The patch is still a good catch, with it, the following error
message does disappear:

[  299.433197] uncorrectable error :
[  299.436737] uncorrectable error :
[  299.440338] mtd->read(0x530 bytes from 0xf9202d0) returned ECC error
[  299.447875] uncorrectable error :
[  299.451263] uncorrectable error :
[  299.454833] mtd->read(0x44 bytes from 0xf927efc) returned ECC error
[  299.461822] uncorrectable error :
[  299.465240] uncorrectable error :
[  299.468780] uncorrectable error :
[  299.472534] mtd->read(0x5a4 bytes from 0xf940d84) returned ECC error

If not applying this patch, even Jason's patch is reverted, the error message
above will be printed out very frequently during 'mount'.

thanks,
-- 
Lei Ming



More information about the linux-mtd mailing list