From manningc2@actrix.gen.nz Fri Jan 15 00:29:22 2010
Received: from smtp.firstline.co.nz ([203.167.210.162] helo=firstline.co.nz)
	by stoneboat.aleph1.co.uk with smtp (Exim 4.69)
	(envelope-from <manningc2@actrix.gen.nz>) id 1NVa3u-0002Fv-NM
	for yaffs@lists.aleph1.co.uk; Fri, 15 Jan 2010 00:29:21 +0000
Received: (qmail 9555 invoked by uid 453); 15 Jan 2010 00:29:03 -0000
X-Virus-Checked: Checked by ClamAV on firstline.co.nz
Received: from Unknown (HELO linux-dual-head.local) (10.14.210.25)
	by firstline.co.nz (qpsmtpd/0.40) with ESMTP;
	Fri, 15 Jan 2010 13:29:03 +1300
From: Charles Manning <manningc2@actrix.gen.nz>
To: yaffs@lists.aleph1.co.uk
Date: Fri, 15 Jan 2010 13:29:03 +1300
User-Agent: KMail/1.9.10
References: <6811210.864481263475538432.JavaMail.coremail@bj163app54.163.com>
In-Reply-To: <6811210.864481263475538432.JavaMail.coremail@bj163app54.163.com>
MIME-Version: 1.0
Content-Type: text/plain;
  charset="utf-8"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
Message-Id: <201001151329.03077.manningc2@actrix.gen.nz>
X-SA-Exim-Connect-IP: 203.167.210.162
X-SA-Exim-Mail-From: manningc2@actrix.gen.nz
X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on
	stoneboat.aleph1.co.uk
X-Spam-Level: 
X-Spam-Status: No, score=-1.2 required=4.5 tests=AWL,BAYES_05,SPF_NEUTRAL
	autolearn=no version=3.2.5
X-SA-Exim-Version: 4.2.1 (built Wed, 25 Jun 2008 17:14:11 +0000)
X-SA-Exim-Scanned: Yes (on stoneboat.aleph1.co.uk)
Subject: Re: [Yaffs] lost all file
X-BeenThere: yaffs@lists.aleph1.co.uk
X-Mailman-Version: 2.1.11
Precedence: list
List-Id: Discussion of YAFFS NAND flash filesystem <yaffs.lists.aleph1.co.uk>
List-Unsubscribe: <http://lists.aleph1.co.uk/cgi-bin/mailman/options/yaffs>,
	<mailto:yaffs-request@lists.aleph1.co.uk?subject=unsubscribe>
List-Archive: <http://lists.aleph1.co.uk/lurker/list/yaffs.html>
List-Post: <mailto:yaffs@lists.aleph1.co.uk>
List-Help: <mailto:yaffs-request@lists.aleph1.co.uk?subject=help>
List-Subscribe: <http://lists.aleph1.co.uk/cgi-bin/mailman/listinfo/yaffs>,
	<mailto:yaffs-request@lists.aleph1.co.uk?subject=subscribe>
X-List-Received-Date: Fri, 15 Jan 2010 00:29:22 -0000

On Friday 15 January 2010 02:25:38 yang wrote:
> I had port yaffs to my embed board(with a 512M nand flash and ucos system )
> for a few months. It work well mostly. But for a few times, I lost all
> files in yaffs2 after a reboot, nothing left event in lost and found. It
> seem to be a totally new disk partation.
>     This problem didn't happend frequently, and I can't find a method to
> debug or hunt it down.
>     Any one konw what would case this happend? And ,what can I do to trace
> this problem? Any suggest whould be appreciate!

I've never see that happen.

When this happens have a look at the dmesg.
Turn on all tracing and try again.
What does a nand dump look like? Perhaps the flash was erased or overwritten?

-- Charles


