From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from b.ns.miles-group.at ([95.130.255.144] helo=radon.swed.at) by merlin.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1WAxrX-000337-Db for linux-mtd@lists.infradead.org; Wed, 05 Feb 2014 08:29:40 +0000 Message-ID: <52F1F658.9080701@nod.at> Date: Wed, 05 Feb 2014 09:29:12 +0100 From: Richard Weinberger MIME-Version: 1.0 To: "Wiedemer, Thorsten (Lawo AG)" Subject: Re: UBI leb_write_unlock NULL pointer Oops (continuation) References: <52EF772D.8080207@nod.at> , <52EF9FFE.4020405@nod.at> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: "linux-mtd@lists.infradead.org" , Bill Pringlemeir List-Id: Linux MTD discussion mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Am 04.02.2014 18:01, schrieb Wiedemer, Thorsten (Lawo AG): > Hi, > > I made a "hardcore test" with: > $ while [ 1 ]; do cp tmp/; sync; done & > $ while [ 1 ]; do cp tmp/; sync; done & > $ while [ 1 ]; do cp tmp/; sync; done & > > It took about 2-3 hours until I had an error (two times): This test ran the over night without any error on my imx51 board. :-\ Bill's great analysis showed that it may be a linked list corruption in rw_semaphore. Thorsten, can you please enable CONFIG_DEBUG_LIST? Also try whether you can trigger the issue with lock debugging enabled. Thanks, //richard