All of lore.kernel.org
 help / color / mirror / Atom feed
* MTD Read OOB Question
@ 2014-12-05  3:32 gmail
  2014-12-05 17:00 ` gmail
  0 siblings, 1 reply; 2+ messages in thread
From: gmail @ 2014-12-05  3:32 UTC (permalink / raw)
  To: linux-mtd

Hi,

I have a question about how mtd read OOB. Does MTD assume the OOB is not
covered by ECC? I think if raw read the OOB data, it hardly to guarantee
the data consistency. I met this issue when system scans BBT, the BBT list
changes in each time.

Is that a general problem? Any comments for it? Thanks.

Han Xu

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: MTD Read OOB Question
  2014-12-05  3:32 MTD Read OOB Question gmail
@ 2014-12-05 17:00 ` gmail
  0 siblings, 0 replies; 2+ messages in thread
From: gmail @ 2014-12-05 17:00 UTC (permalink / raw)
  To: linux-mtd

Hi,

Too clarify my question, test log was attached. The data in brackets are 
the first 10 bytes of OOB and the first data is for badblock pattern 
check. The log shows the inconsistency of raw read OOB data. Please 
check the block 2716 in first round and the block 4131 in second round.

The first round test:
===========================================================
nand: Micron MT29F128G08CFAABWP
nand: 8192MiB, MLC, page size: 8192, OOB size: 448
nand: 2 chips detected
gpmi-nand 1806000.gpmi-nand: enable the asynchronous EDO mode 5
Scanning device for bad blocks
Bad eraseblock 90 at 0x00000b400000    [00 00 00 00 00 00 00 00 00 00]
Bad eraseblock 91 at 0x00000b600000    [00 00 00 00 00 00 00 00 00 00]
Bad eraseblock 279 at 0x000022e00000   [00 00 00 00 00 00 00 00 00 00]
Bad eraseblock 708 at 0x000058800000   [00 00 00 00 00 00 00 00 00 00]
Bad eraseblock 805 at 0x000064a00000   [00 00 00 00 00 00 00 00 00 00]
Bad eraseblock 897 at 0x000070200000   [00 00 00 00 00 00 00 00 00 00]
Bad eraseblock 990 at 0x00007bc00000   [f7 ff ff ff ff ff ff ff ff ff]
Bad eraseblock 1217 at 0x000098200000  [00 00 00 00 00 00 00 00 00 00]
Bad eraseblock 1337 at 0x0000a7200000  [fb ff ff ff ff ff ff ff ff ff]
Bad eraseblock 1671 at 0x0000d0e00000  [00 00 00 00 00 00 00 00 00 00]
Bad eraseblock 1756 at 0x0000db800000  [00 00 00 00 00 00 00 00 00 00]
Bad eraseblock 1790 at 0x0000dfc00000  [00 00 00 00 00 00 00 00 00 00]
Bad eraseblock 2432 at 0x000130000000  [ef ff ff ff ff ff ff ff ff ff]
Bad eraseblock 2463 at 0x000133e00000  [bf ff ff ff ff ff ff ff ff ff]
Bad eraseblock 2611 at 0x000146600000  [00 00 00 00 00 00 00 00 00 00]
Bad eraseblock 2716 at 0x000153800000  [fb ff ff ff ff ff ff ff ff ff]  
<-- Does _NOT_ appear in other rounds
Bad eraseblock 3436 at 0x0001ad800000  [00 00 00 00 00 00 00 00 00 00]
Bad eraseblock 3584 at 0x0001c0000000  [fb ff ff ff ff ff ff ff ff ff]
Bad eraseblock 3667 at 0x0001ca600000  [bf ff ff ff ff ff ff ff ff ff]
Bad eraseblock 3772 at 0x0001d7800000  [bf ff ff ff ff ff ff ff ff ff]
Bad eraseblock 3974 at 0x0001f0c00000  [00 00 00 00 00 00 00 00 00 00]
Bad eraseblock 4058 at 0x0001fb400000  [00 00 00 00 00 00 00 00 00 00]
Bad eraseblock 4131 at 0x000204600000  [bf ff ff ff ff ff ff ff ff ff]
Bad eraseblock 4135 at 0x000204e00000  [00 00 00 00 00 00 00 00 00 00]
Bad eraseblock 4186 at 0x00020b400000  [00 00 00 00 00 00 00 00 00 00]
Bad eraseblock 4187 at 0x00020b600000  [00 00 00 00 00 00 00 00 00 00]
Bad eraseblock 4871 at 0x000260e00000  [bf ff ff ff ff ff ff ff ff ff]
Bad eraseblock 4952 at 0x00026b000000  [f7 00 00 00 00 00 00 00 00 00]
Bad eraseblock 5010 at 0x000272400000  [00 00 00 00 00 00 00 00 00 00]
Bad eraseblock 5018 at 0x000273400000  [00 00 00 00 00 00 00 00 00 00]
Bad eraseblock 5114 at 0x00027f400000  [00 00 00 00 00 00 00 00 00 00]
Bad eraseblock 5358 at 0x00029dc00000  [bf 00 00 00 00 00 00 00 00 00]
Bad eraseblock 5712 at 0x0002ca000000  [fb ff ff ff ff ff ff ff ff ff]
Bad eraseblock 6017 at 0x0002f0200000  [00 00 00 00 00 00 00 00 00 00]
Bad eraseblock 6066 at 0x0002f6400000  [fb 00 00 00 00 00 00 00 00 00]
Bad eraseblock 6225 at 0x00030a200000  [ef ff ff ff ff ff ff ff ff ff]
Bad eraseblock 6806 at 0x000352c00000  [fb ff ff ff ff ff ff ff ff ff]
Bad eraseblock 7105 at 0x000378200000  [bf ff ff ff ff ff ff ff ff ff]
Bad eraseblock 7536 at 0x0003ae000000  [fb ff ff ff ff ff ff ff ff ff]
Bad eraseblock 7906 at 0x0003dc400000  [bf 00 00 00 00 00 00 00 00 00]
Bad eraseblock 7935 at 0x0003dfe00000  [bf ff ff ff ff ff ff ff ff ff]
Bad eraseblock 8139 at 0x0003f9600000  [bf 00 00 00 00 00 00 00 00 00]

The second round test:
===========================================================
nand: Micron MT29F128G08CFAABWP
nand: 8192MiB, MLC, page size: 8192, OOB size: 448
nand: 2 chips detected
gpmi-nand 1806000.gpmi-nand: enable the asynchronous EDO mode 5
Scanning device for bad blocks
Bad eraseblock 90 at 0x00000b400000  [00 00 00 00 00 00 00 00 00 00]
Bad eraseblock 91 at 0x00000b600000  [00 00 00 00 00 00 00 00 00 00]
Bad eraseblock 279 at 0x000022e00000  [00 00 00 00 00 00 00 00 00 00]
Bad eraseblock 708 at 0x000058800000  [00 00 00 00 00 00 00 00 00 00]
Bad eraseblock 805 at 0x000064a00000  [00 00 00 00 00 00 00 00 00 00]
Bad eraseblock 897 at 0x000070200000  [00 00 00 00 00 00 00 00 00 00]
Bad eraseblock 990 at 0x00007bc00000  [f7 ff ff ff ff ff ff ff ff ff]
Bad eraseblock 1217 at 0x000098200000  [00 00 00 00 00 00 00 00 00 00]
Bad eraseblock 1337 at 0x0000a7200000  [fb ff ff ff ff ff ff ff ff ff]
Bad eraseblock 1671 at 0x0000d0e00000  [00 00 00 00 00 00 00 00 00 00]
Bad eraseblock 1756 at 0x0000db800000  [00 00 00 00 00 00 00 00 00 00]
Bad eraseblock 1790 at 0x0000dfc00000  [00 00 00 00 00 00 00 00 00 00]
Bad eraseblock 2432 at 0x000130000000  [ef ff ff ff ff ff ff ff ff ff]
Bad eraseblock 2463 at 0x000133e00000  [bf ff ff ff ff ff ff ff ff ff]
Bad eraseblock 2611 at 0x000146600000  [00 00 00 00 00 00 00 00 00 00]
Bad eraseblock 3436 at 0x0001ad800000  [00 00 00 00 00 00 00 00 00 00]
Bad eraseblock 3584 at 0x0001c0000000  [fb ff ff ff ff ff ff ff ff ff]
Bad eraseblock 3667 at 0x0001ca600000  [bf ff ff ff ff ff ff ff ff ff]
Bad eraseblock 3772 at 0x0001d7800000  [bf ff ff ff ff ff ff ff ff ff]
Bad eraseblock 3974 at 0x0001f0c00000  [00 00 00 00 00 00 00 00 00 00]
Bad eraseblock 4058 at 0x0001fb400000  [00 00 00 00 00 00 00 00 00 00]
Bad eraseblock 4131 at 0x000204600000  [bf ff ff ff ff ff ff ff ff ff]  
<-- Does _NOT_ appear in third round
Bad eraseblock 4135 at 0x000204e00000  [00 00 00 00 00 00 00 00 00 00]
Bad eraseblock 4186 at 0x00020b400000  [00 00 00 00 00 00 00 00 00 00]
Bad eraseblock 4187 at 0x00020b600000  [00 00 00 00 00 00 00 00 00 00]
Bad eraseblock 4871 at 0x000260e00000  [bf ff ff ff ff ff ff ff ff ff]
Bad eraseblock 4952 at 0x00026b000000  [f7 00 00 00 00 00 00 00 00 00]
Bad eraseblock 5010 at 0x000272400000  [00 00 00 00 00 00 00 00 00 00]
Bad eraseblock 5018 at 0x000273400000  [00 00 00 00 00 00 00 00 00 00]
Bad eraseblock 5114 at 0x00027f400000  [00 00 00 00 00 00 00 00 00 00]
Bad eraseblock 5358 at 0x00029dc00000  [bf 00 00 00 00 00 00 00 00 00]
Bad eraseblock 5712 at 0x0002ca000000  [fb ff ff ff ff ff ff ff ff ff]
Bad eraseblock 6017 at 0x0002f0200000  [00 00 00 00 00 00 00 00 00 00]
Bad eraseblock 6066 at 0x0002f6400000  [fb 00 00 00 00 00 00 00 00 00]
Bad eraseblock 6225 at 0x00030a200000  [ef ff ff ff ff ff ff ff ff ff]
Bad eraseblock 6806 at 0x000352c00000  [fb ff ff ff ff ff ff ff ff ff]
Bad eraseblock 7105 at 0x000378200000  [bf ff ff ff ff ff ff ff ff ff]
Bad eraseblock 7536 at 0x0003ae000000  [fb ff ff ff ff ff ff ff ff ff]
Bad eraseblock 7906 at 0x0003dc400000  [bf 00 00 00 00 00 00 00 00 00]
Bad eraseblock 7935 at 0x0003dfe00000  [bf ff ff ff ff ff ff ff ff ff]
Bad eraseblock 8139 at 0x0003f9600000  [bf 00 00 00 00 00 00 00 00 00]

The third round test:
===========================================================
nand: Micron MT29F128G08CFAABWP
nand: 8192MiB, MLC, page size: 8192, OOB size: 448
nand: 2 chips detected
gpmi-nand 1806000.gpmi-nand: enable the asynchronous EDO mode 5
Scanning device for bad blocks
Bad eraseblock 90 at 0x00000b400000  [00 00 00 00 00 00 00 00 00 00]
Bad eraseblock 91 at 0x00000b600000  [00 00 00 00 00 00 00 00 00 00]
Bad eraseblock 279 at 0x000022e00000  [00 00 00 00 00 00 00 00 00 00]
Bad eraseblock 708 at 0x000058800000  [00 00 00 00 00 00 00 00 00 00]
Bad eraseblock 805 at 0x000064a00000  [00 00 00 00 00 00 00 00 00 00]
Bad eraseblock 897 at 0x000070200000  [00 00 00 00 00 00 00 00 00 00]
Bad eraseblock 990 at 0x00007bc00000  [f7 ff ff ff ff ff ff ff ff ff]
Bad eraseblock 1217 at 0x000098200000  [00 00 00 00 00 00 00 00 00 00]
Bad eraseblock 1337 at 0x0000a7200000  [fb ff ff ff ff ff ff ff ff ff]
Bad eraseblock 1671 at 0x0000d0e00000  [00 00 00 00 00 00 00 00 00 00]
Bad eraseblock 1756 at 0x0000db800000  [00 00 00 00 00 00 00 00 00 00]
Bad eraseblock 1790 at 0x0000dfc00000  [00 00 00 00 00 00 00 00 00 00]
Bad eraseblock 2432 at 0x000130000000  [ef ff ff ff ff ff ff ff ff ff]
Bad eraseblock 2463 at 0x000133e00000  [bf ff ff ff ff ff ff ff ff ff]
Bad eraseblock 2611 at 0x000146600000  [00 00 00 00 00 00 00 00 00 00]
Bad eraseblock 3436 at 0x0001ad800000  [00 00 00 00 00 00 00 00 00 00]
Bad eraseblock 3584 at 0x0001c0000000  [fb ff ff ff ff ff ff ff ff ff]
Bad eraseblock 3667 at 0x0001ca600000  [bf ff ff ff ff ff ff ff ff ff]
Bad eraseblock 3772 at 0x0001d7800000  [bf ff ff ff ff ff ff ff ff ff]
Bad eraseblock 3974 at 0x0001f0c00000  [00 00 00 00 00 00 00 00 00 00]
Bad eraseblock 4058 at 0x0001fb400000  [00 00 00 00 00 00 00 00 00 00]
Bad eraseblock 4135 at 0x000204e00000  [00 00 00 00 00 00 00 00 00 00]
Bad eraseblock 4186 at 0x00020b400000  [00 00 00 00 00 00 00 00 00 00]
Bad eraseblock 4187 at 0x00020b600000  [00 00 00 00 00 00 00 00 00 00]
Bad eraseblock 4871 at 0x000260e00000  [bf ff ff ff ff ff ff ff ff ff]
Bad eraseblock 4952 at 0x00026b000000  [f7 00 00 00 00 00 00 00 00 00]
Bad eraseblock 5010 at 0x000272400000  [00 00 00 00 00 00 00 00 00 00]
Bad eraseblock 5018 at 0x000273400000  [00 00 00 00 00 00 00 00 00 00]
Bad eraseblock 5114 at 0x00027f400000  [00 00 00 00 00 00 00 00 00 00]
Bad eraseblock 5358 at 0x00029dc00000  [bf 00 00 00 00 00 00 00 00 00]
Bad eraseblock 5712 at 0x0002ca000000  [fb ff ff ff ff ff ff ff ff ff]
Bad eraseblock 6017 at 0x0002f0200000  [00 00 00 00 00 00 00 00 00 00]
Bad eraseblock 6066 at 0x0002f6400000  [fb 00 00 00 00 00 00 00 00 00]
Bad eraseblock 6225 at 0x00030a200000  [ef ff ff ff ff ff ff ff ff ff]
Bad eraseblock 6806 at 0x000352c00000  [fb ff ff ff ff ff ff ff ff ff]
Bad eraseblock 7105 at 0x000378200000  [bf ff ff ff ff ff ff ff ff ff]
Bad eraseblock 7536 at 0x0003ae000000  [fb ff ff ff ff ff ff ff ff ff]
Bad eraseblock 7906 at 0x0003dc400000  [bf 00 00 00 00 00 00 00 00 00]
Bad eraseblock 7935 at 0x0003dfe00000  [bf ff ff ff ff ff ff ff ff ff]
Bad eraseblock 8139 at 0x0003f9600000  [bf 00 00 00 00 00 00 00 00 00]

On 12/4/2014 9:32 PM, gmail wrote:
> Hi,
>
> I have a question about how mtd read OOB. Does MTD assume the OOB is not
> covered by ECC? I think if raw read the OOB data, it hardly to guarantee
> the data consistency. I met this issue when system scans BBT, the BBT 
> list
> changes in each time.
>
> Is that a general problem? Any comments for it? Thanks.
>
> Han Xu
>

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2014-12-05 17:01 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-12-05  3:32 MTD Read OOB Question gmail
2014-12-05 17:00 ` gmail

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.