From: Richard Weinberger <richard@nod.at>
To: Yufen Yu <yuyufen@huawei.com>
Cc: linux-mtd@lists.infradead.org, david.oberhollenzer@sigma-star.at
Subject: Re: [PATCH] mtd-utils: avoid to create two UBI_LAYOUT_VOLUME_ID volume
Date: Fri, 25 Jan 2019 09:06:45 +0100 [thread overview]
Message-ID: <2590396.W4XxvPTK3g@blindfold> (raw)
In-Reply-To: <20190125070124.58260-1-yuyufen@huawei.com>
Am Freitag, 25. Januar 2019, 08:01:24 CET schrieb Yufen Yu:
> 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
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?
Thanks,
//richard
______________________________________________________
Linux MTD discussion mailing list
http://lists.infradead.org/mailman/listinfo/linux-mtd/
next prev parent reply other threads:[~2019-01-25 8:07 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-01-25 7:01 [PATCH] mtd-utils: avoid to create two UBI_LAYOUT_VOLUME_ID volume Yufen Yu
2019-01-25 8:06 ` Richard Weinberger [this message]
2019-01-25 11:55 ` David Oberhollenzer
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=2590396.W4XxvPTK3g@blindfold \
--to=richard@nod.at \
--cc=david.oberhollenzer@sigma-star.at \
--cc=linux-mtd@lists.infradead.org \
--cc=yuyufen@huawei.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.