General performance of NAND operations i.e mount and ls

Artem Bityutskiy dedekind at infradead.org
Thu Sep 6 06:53:12 EDT 2007


On Thu, 2007-09-06 at 11:37 +0200, Konstantin Kletschke wrote:
> UBI: empty MTD device detected
> UBI: create volume table (copy #1)
> UBI error: ubi_io_write: error -5 while writing 512 bytes to PEB 0:512,
> written 0 bytes
> UBI error: ubi_io_write: error -5 while writing 512 bytes to PEB 1:512,
> written 0 bytes
> UBI error: ubi_io_write: error -5 while writing 512 bytes to PEB 2:512,
> written 0 bytes
> UBI error: ubi_io_write: error -5 while writing 512 bytes to PEB 3:512,
> written 0 bytes
> UBI error: ubi_io_write: error -5 while writing 512 bytes to PEB 4:512,
> written 0 bytes
> UBI error: ubi_io_write: error -5 while writing 512 bytes to PEB 5:512,
> written 0 bytes
> UBI warning: io_init: EC and VID headers are in the same minimal I/O
> unit, switch to read-only mode
> UBI error: validate_ec_hdr: bad VID header offset 512, expected 128
> UBI error: validate_ec_hdr: bad EC header
> UBI error: ubi_io_read_ec_hdr: validation failed for PEB 0

This means your driver does not support sub-pages, but reports it does.
You should either fix sub-page support or do not report it is present.

There are good NANDtests available at

git://git.infradead.org/~ahunter/nand-tests.git
(http://git.infradead.org/?p=users/ahunter/nand-tests.git;a=summary)


Try them to make sure your NAND driver is all-right. Well, you may want
to avoid the torture test, but it is also very useful to run it with
limited amount of erase cycles to make sure your flash/driver survive
really high I/O load.

-- 
Best regards,
Artem Bityutskiy (Битюцкий Артём)




More information about the linux-mtd mailing list