Return-Path: Received: from web83511.mail.sp1.yahoo.com (web83511.mail.sp1.yahoo.com [216.252.120.167]) by ozlabs.org (Postfix) with SMTP id 07C21DDF9B for ; Wed, 28 May 2008 06:26:17 +1000 (EST) Date: Tue, 27 May 2008 13:26:16 -0700 (PDT) From: Ron Madrid Subject: Re: JFFS2 FS not writeable To: Scott Wood In-Reply-To: <483C4DF6.8060006@freescale.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Message-ID: <850932.26140.qm@web83511.mail.sp1.yahoo.com> Cc: linuxppc-dev@ozlabs.org List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , In which function should I start searching for this problem? What would cause a block to be marked bad? Ron --- Scott Wood wrote: > Ron Madrid wrote: > > I have tried the latest code and now, I'm able to > > write a limited amount. After which when I > reboot, > > more than 100 contiguous blocks have been marked > bad, > > through the end of the device (according to the > dts). > > Is this something that has been seen before? > > Yes, but not with the latest code. > > > My NAND device is a large page. > > I've only had small page devices to test on, so it's > quite likely that > there's a large page bug in the driver somewhere. > > If your erase block size is not 128K, try the latest > set_addr patch in > the mtd-2.6.22.1 branch of u-boot-nand-flash (I > still need to send it > out for Linux). > > -Scott >