Filesystems over UBI can't handle badblocks

Richard Weinberger richard.weinberger at gmail.com
Wed Feb 24 13:30:43 PST 2016


On Wed, Feb 24, 2016 at 9:08 PM, Guilherme de Oliveira Costa
<guilherme.oliveira at autotrac.com.br> wrote:
> As you can see, UBI starts just fine, and I'm able to initialize ubiblk and at least mount the filesystem. I thought UBI was supposed to make any badblocks transparent to the upper layers... Is there a problem with that tought, or did my manual tampering (with nand markbad) got in the way of UBI's bad block management capabilities?

So, you marked a block as bad, _after_ setting up UBI and your rootfs?
Well, this cannot work as from UBI's point of view the block is now
gone --> the rootfs is missing something.

-- 
Thanks,
//richard



More information about the linux-mtd mailing list