Re: [Yaffs] Yaffs2 crashed in yaffs_AddObjectToDirectory

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: Charles Manning
Date:  
To: yaffs
CC: RK Chen
Subject: Re: [Yaffs] Yaffs2 crashed in yaffs_AddObjectToDirectory
On Saturday 25 September 2010 04:57:12 RK Chen wrote:
> Recently I had a Yaffs2 crash issue. It crashed in
> yaffs_AddObjectToDirectory.
> I ran stress test with a tool, fsstress, on Yaffs2.
> The steps I used is listed below:
> 1. Run fsstress to test any file operations on Yaffs2.
> 2. Reset device suddenly.
> 3. Repeat step 1, and step2
>
> After the test, I found a device eventually failed to reboot successfully,
> since it crashed in yaffs_AddObjectToDirectory.
>
> The dmesg log is listed at the bottom:
>
> The issue is very similiar to the message posted in
> http://wookware.org/lurker/message/20100616.085237.b6e6828b.ca.html
> It looks like a reused objectID.
>
> Do you have any idea about this issue?


Is this with the latest yaffs2?

Fuzz testing kicked up a few problems. I checked in some changes along these
lines a few weeks back.

-- Charles