From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from a.ns.miles-group.at ([95.130.255.143] helo=radon.swed.at) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1X1zTx-0005YP-V7 for linux-mtd@lists.infradead.org; Tue, 01 Jul 2014 14:56:30 +0000 Message-ID: <53B2CC06.3000205@nod.at> Date: Tue, 01 Jul 2014 16:56:06 +0200 From: Richard Weinberger MIME-Version: 1.0 To: Akshay Bhat Subject: Re: UBIFS Panic References: <53AC825F.7040602@lutron.com> <53ACD890.4030805@huawei.com> <53B15F8E.3030309@lutron.com> <53B19D09.2000007@lutron.com> <53B20A42.6020008@huawei.com> <53B267E6.7060708@nod.at> <53B2C321.4050407@lutron.com> <53B2C682.7080605@nod.at> <53B2C9BA.2090507@lutron.com> In-Reply-To: <53B2C9BA.2090507@lutron.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Cc: linux-mtd , hujianyang List-Id: Linux MTD discussion mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Am 01.07.2014 16:46, schrieb Akshay Bhat: > > > On Tue 01 Jul 2014 10:32:34 AM EDT, Richard Weinberger wrote: >> Am 01.07.2014 16:18, schrieb Akshay Bhat: >>> >>> >>> On Tue 01 Jul 2014 03:48:54 AM EDT, Richard Weinberger wrote: >>>> Am 01.07.2014 03:09, schrieb hujianyang: >>>>>> >>>>>> Is enabling UBI_FASTMAP the cause for the panic? If so I can disabled the >>>>>> feature and re-test. Do you see any compatibility issue going from: >>>>>> Current config -> New config -> Failsafe config >>>>>> >>>>> >>>>> I don't know. But I found func ubi_wl_get_peb() in drivers/mtd/ubi/wl.c >>>>> will return an error ENOSPC without any error messages. And this func >>>>> seems related with fastmap feature. >>>> >>>> I have sort of an idea what could going on. >>>> Akshay, can you please confirm that you face the issue only with UBI_FASTMAP=y? >>> >>> I have not been able to recreate the issue with UBI_FASTMAP=n >> >> Okay, you test case basically fills the filesystem over and over? >> And after some time you face the said issue. >> Is this correct? > > Yes. From testing, the "some time" is typically after crossing the WL threshold. Good. I'll dig into that by the end of the week. Thanks, //richard