[PATCH v3 0/6] UBI: add max_beb_per1024 parameter / ioctl

Artem Bityutskiy dedekind1 at gmail.com
Mon Sep 3 07:53:00 EDT 2012


On Mon, 2012-09-03 at 12:57 +0200, Richard Genoud wrote:
> > If you could somehow reproduce this with nandsim, it would make it easy
> > for me to find the bug.
> here it is:
> [    0.921875] [nandsim] warning: read_byte: unexpected data output
> cycle, state is STATE_READY return 0x0
> [    0.929687] [nandsim] warning: read_byte: unexpected data output
> cycle, state is STATE_READY return 0x0
> [    0.937500] [nandsim] warning: read_byte: unexpected data output
> cycle, state is STATE_READY return 0x0
> [    0.953125] [nandsim] warning: read_byte: unexpected data output
> cycle, state is STATE_READY return 0x0
> [    0.960937] [nandsim] warning: read_byte: unexpected data output
> cycle, state is STATE_READY return 0x0
> [    0.968750] [nandsim] warning: read_byte: unexpected data output
> cycle, state is STATE_READY return 0x0
> [    0.976562] NAND device: Manufacturer ID: 0x98, Chip ID: 0x39
> (Toshiba NAND 128MiB 1,8V 8-bit), page size: 512, OOB size: 16
> [    0.992187] flash size: 128 MiB
> [    0.992187] page size: 512 bytes
> [    0.992187] OOB area size: 16 bytes
> [    1.000000] sector size: 16 KiB
> [    1.000000] pages number: 262144
> [    1.007812] pages per sector: 32
> [    1.007812] bus width: 8
> [    1.007812] bits in sector size: 14
> [    1.015625] bits in page size: 9
> [    1.015625] bits in OOB size: 4
> [    1.023437] flash size with OOB: 135168 KiB
> [    1.023437] page address bytes: 4
> [    1.031250] sector address bytes: 3
> [    1.031250] options: 0x42
> [    1.039062] Scanning device for bad blocks
> [    1.242187] Creating 1 MTD partitions on "NAND 128MiB 1,8V 8-bit":
> [    1.250000] 0x000000000000-0x000008000000 : "NAND simulator partition 0"
> 
> # flash_erase /dev/mtd0 0 8192

Hmm, cannot reproduce on my x86_64.

-- 
Best Regards,
Artem Bityutskiy
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part
URL: <http://lists.infradead.org/pipermail/linux-mtd/attachments/20120903/c26f99d5/attachment.sig>


More information about the linux-mtd mailing list