View Single Post
Posts: 946 | Thanked: 1,650 times | Joined on Oct 2009 @ Germany
#3520
Originally Posted by Jokah View Post
I have errors too checking my dmesg
what are those related and how to fix?
those seem to normal bad blocks which occur on NAND flash and are automatically corrected (like bad sectors on harddisk).
it should be fine if you have less than 20 of them
(see bold lines below from my log)

Code:
[  925.998352] Scanning device for bad blocks
[  926.022369] onenand_bbt_wait: ecc error = 0x2222, controller error 0x2400
[  926.022430] Bad eraseblock 421 at 0x034a0000
[  926.028961] onenand_bbt_wait: ecc error = 0x2222, controller error 0x2400
[  926.028991] Bad eraseblock 536 at 0x04300000
[  926.114837] Creating 6 MTD partitions on "omap2-onenand":
[  926.114868] 0x00000000-0x00020000 : "bootloader"
[  926.115264] 0x00020000-0x00080000 : "config"
[  926.115509] 0x00080000-0x000c0000 : "log"
[  926.118041] mtdoops: Attached to MTD device 2
[  926.118072] 0x000c0000-0x002c0000 : "kernel"
[  926.118347] 0x002c0000-0x004c0000 : "initfs"
[  926.118621] 0x004c0000-0x10000000 : "rootfs"
[  926.120697] UBI: attaching mtd5 to ubi0
[  926.120758] UBI: physical eraseblock size:   131072 bytes (128 KiB)
[  926.120788] UBI: logical eraseblock size:    129024 bytes
[  926.120819] UBI: smallest flash I/O unit:    2048
[  926.120849] UBI: sub-page size:              512
[  926.120880] UBI: VID header offset:          512 (aligned 512)
[  926.120910] UBI: data offset:                2048
[  926.254974] UBI: attached mtd5 to ubi0
[  926.255035] UBI: MTD device name:            "rootfs"
[  926.255065] UBI: MTD device size:            251 MiB
[  926.255096] UBI: number of good PEBs:        2008
[  926.255126] UBI: number of bad PEBs:         2
[  926.255157] UBI: max. allowed volumes:       128
[  926.255187] UBI: wear-leveling threshold:    4096
[  926.255218] UBI: number of internal volumes: 1
[  926.255249] UBI: number of user volumes:     1
[  926.255279] UBI: available PEBs:             0
[  926.255310] UBI: total number of reserved PEBs: 2008
[  926.255340] UBI: number of PEBs reserved for bad PEB handling: 20
[  926.255371] UBI: max/mean erase counter: 164/68
[  926.255401] UBI: image sequence number: 12
 

The Following User Says Thank You to titan For This Useful Post: