From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from co202.xi-lite.net ([149.6.83.202]) by merlin.infradead.org with esmtp (Exim 4.76 #1 (Red Hat Linux)) id 1S0wbM-0004zv-1y for linux-mtd@lists.infradead.org; Fri, 24 Feb 2012 14:58:28 +0000 Message-ID: <4F47A58E.80702@parrot.com> Date: Fri, 24 Feb 2012 15:58:22 +0100 From: Matthieu CASTET MIME-Version: 1.0 To: Patrick , Linux mtd Subject: Re: Re : UBI: infinite error loop References: <1330090528.12272.YahooMailNeo@web29011.mail.ird.yahoo.com> <4F479601.9010605@parrot.com> <1330094829.26769.YahooMailNeo@web29019.mail.ird.yahoo.com> In-Reply-To: <1330094829.26769.YahooMailNeo@web29019.mail.ird.yahoo.com> Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit List-Id: Linux MTD discussion mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Please keep mtd ML in CC Patrick a écrit : > >>> Dear mailing-list, >>> >>> I am still trying to use UBI and UBIFS on my board running a 3.0.21 kernel. >>> >>> When I am doing an the ubiattach -p /dev/mtd4 command I have the following infinite error loop: >>> >>> >>> ..... >>> >>> >>> I don't think it's normal that this error loop infinitely again and again... >>> >>> Any help is appreciated ! >>> >>> Thanks in advance >>> >> What's your nand driver ? >> What's your nand device ? >> >> Look like it doesn't handle subpage reading : you have ecc error when reading >> 512 bytes at offset 512. >> >> Maybe you should pass -O 2048 to ubiattach >> > > Hello Matthieu, > > Thanks for your answer. > > I have a Micron MT29F4G08ABBDAH4 and I use the MTD_NAND driver. But what driver is using your nand controller ? > I have made a try with the -O 2048 flag but it's worst: You need to use before ubiformat with the same flag. Matthieu