Re: another issue with ubifs on v3.6-rc2: attaching an formatted device

Artem Bityutskiy
2012-08-21T10:27:13Z

[-- Attachment #1: Type: text/plain, Size: 2094 bytes --]

On Tue, 2012-08-21 at 18:24 +0800, Huang Shijie wrote:
> 于 2012年08月21日 17:35, Uwe Kleine-König 写道:
> > On Mon, Aug 20, 2012 at 10:11:07PM +0300, Artem Bityutskiy wrote:
> >> On Mon, 2012-08-20 at 18:07 +0200, Uwe Kleine-König wrote:
> >>> [ 163.714143] uncorrectable error :
> >>> [ 163.727597] UBI warning: ubi_io_read: error -74 (ECC error) while
> >>> reading 64 bytes from PEB 0:0, read only 64 bytes, retry
> >>> [ 163.740737] uncorrectable error :
> >>> [ 163.744032] UBI warning: ubi_io_read: error -74 (ECC error) while
> >>> reading 64 bytes from PEB 0:0, read only 64 bytes, retry
> >>> [ 163.757119] uncorrectable error :
> >>> [ 163.760487] UBI warning: ubi_io_read: error -74 (ECC error) while
> >>> reading 64 bytes from PEB 0:0, read only 64 bytes, retry
> >>> [ 163.774427] uncorrectable error :
> >>> [ 163.777808] UBI error: ubi_io_read: error -74 (ECC error) while
> >>> reading 64 bytes from PEB 0:0, read 64 bytes
> >> This looks like your flash does not really support sub-pages while
> >> declares that it does. Check it with MTD subpage test.
> > the subpages test fails with:
> >
> > [ 82.435792] mtd_subpagetest: written up to eraseblock 7424
> > [ 82.905775] mtd_subpagetest: written up to eraseblock 7680
> > [ 83.375201] mtd_subpagetest: written up to eraseblock 7936
> > [ 83.840447] mtd_subpagetest: written 8192 eraseblocks
> > [ 83.845522] mtd_subpagetest: verifying all eraseblocks
> > [ 83.852740] uncorrectable error :
> > [ 83.856086] mtd_subpagetest: error: read failed at 0x0
> > [ 83.861469] mtd_subpagetest: error -74 occurred
> > [ 83.866093] =================================================
> > Error: could not insert module ./drivers/mtd/tests/mtd_subpagetest.ko: Bad message
> The mx35 does not use the gpmi nand driver, but the mxc-nand driver.
>
> So I have no idea about this issue too. I do not know whether the
> mxc-nand support the subpage writes or not.

OK, sorry, I was confused, thought that Uwe uses the gpmi driver.

--
Best Regards,
Artem Bityutskiy

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 836 bytes --]