On 1/25/19 8:01 AM, Yufen Yu wrote: > When we create a ubi image by ubinize, a UBI_LAYOUT_VOLUME_ID > volume will be created by ubigen_write_layout_vol(). > However, after the commit 4c00cf2c5816 (ubiformat: remove > no-volume-table option), ubiformat remove novtbl args in format(). > As a result, it will also create a layout volume. > > When we attempt to do ubiattach, it will fail for ubi_compare_lebs error: > ubi0 error: ubi_compare_lebs: unsupported on-flash UBI format > ubi0 error: ubi_attach_mtd_dev: failed to attach mtd1, error -22 > > Signed-off-by: Yufen Yu <yuyufen@xxxxxxxxxx> Thanks for testing and finding that! I applied it to mtd-utils.git master On 1/25/19 9:06 AM, Richard Weinberger wrote: > Oh shit! Thanks alot for identifying this regression. > David, can you please check which relases need a backport, > such that distros can pick it up? It was introduced shortly after 2.0.2, so it's not in any release yet. David ______________________________________________________ Linux MTD discussion mailing list http://lists.infradead.org/mailman/listinfo/linux-mtd/