From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mx02.posteo.de ([89.146.194.165]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1ZN71C-00014v-JS for linux-mtd@lists.infradead.org; Wed, 05 Aug 2015 22:18:39 +0000 Message-ID: <1438813074.6328.35.camel@embedded.rocks> Subject: Re: ubi_wl_get_peb: Unable to get a free PEB from user WL pool From: =?ISO-8859-1?Q?J=F6rg?= Krause To: Richard Weinberger , linux-mtd@lists.infradead.org Date: Thu, 06 Aug 2015 00:17:54 +0200 In-Reply-To: <55C287A9.8000006@nod.at> References: <1438809724.6328.18.camel@embedded.rocks> <55C28070.2000804@nod.at> <1438810690.6328.26.camel@embedded.rocks> <55C2840B.5000709@nod.at> <1438811611.6328.32.camel@embedded.rocks> <55C287A9.8000006@nod.at> Content-Type: text/plain; charset="UTF-8" Mime-Version: 1.0 Content-Transfer-Encoding: 8bit List-Id: Linux MTD discussion mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , On Do, 2015-08-06 at 00:01 +0200, Richard Weinberger wrote: > Am 05.08.2015 um 23:53 schrieb Jörg Krause: > > On Mi, 2015-08-05 at 23:45 +0200, Richard Weinberger wrote: > > > Jörg, > > > > > > Am 05.08.2015 um 23:38 schrieb Jörg Krause: > > > > On Mi, 2015-08-05 at 23:30 +0200, Richard Weinberger wrote: > > > > [snip] > > > > > > > > > > I attached the kernel boot log. > > > > > > Thanks. > > > That's a really small UBI setup. > > > [ 3.202421] ubi1: default fastmap pool size: 10 > > > [ 3.207174] ubi1: default fastmap WL pool size: 5 > > > > What do you exactly mean by small UBI setup? The fastmap pool size? > > The > > UBI layout? > > The UBI image it self. Your MTD is very small. > But it should not matter. > > > [snip] > > > > > > > > > > It is enabled in the kernel config. Not sure how to use it. > > > > > > Then just disable it. :) > > > > I did :) I thought fastmap is used automatically by the UBI driver? > > It will *use* fastmap automatically but not convert non-fastmap UBI > images > to fastmap. > You can enable ubi.fm_autoconvert to do so. Sorry for asking, but how do I create an UBI image with fastmap support? I've never read something about this. > > > Meanwhile I'll find out what exactly is going on. > > > > Many thanks! > > Can you please apply the attached debug patch? > I wonder why exactly the auto resize function is failing. autoresize: cannot auto-resize volume 0: -28 Jörg