M Matthew L. Creech #
Message details and related content
Hi, I posted this on the Linux-MTD list but haven't gotten any hits. Since it looks like it could be MPC83xx-specific, I'm reposting here. Rick Johnson noted a problem in fsl_elbc_nand.c back in May which might be related: http://lists.infradead.org/pipermail/linux-mtd/2011-May/035372.html We've gotten some devices back from the field which all suffer from this same problem on bootup when attaching UBI (these messages are from U-Boot): ... Bad block table found at page 524224, version 0x01 Bad block table found at page 524160, version 0x01 nand_bbt: ECC error while reading bad block table ...(long stream of bogus bad blocks)... UBI: attaching mtd1 to ubi0 UBI: physical eraseblock size: 131072 bytes (128 KiB) UBI: logical eraseblock size: 129024 bytes UBI: smallest flash I/O unit: 2048 UBI: sub-page size: 512 UBI: VID header offset: 512 (aligned 512) UBI: data offset: 2048 UBI error: vtbl_check: volume table check failed: record 0, error 9 UBI error: ubi_init: cannot attach mtd1 UBI error: ubi_init: UBI error: cannot initialize UBI, error -22 UBI init error -22 Full console dumps from 2 devices are here: http://mcreech.com/work/bbt-ecc-error.txt http://mcreech.com/work/bbt-ecc-error2.txt Another device encountered a slightly different error, but which I assume is due to the same underlying problem: UBI error: init_volumes: not enough PEBs, required 8061, available 8059 UBI error: ubi_wl_init_scan: no enough physical eraseblocks (-2, need 1)