On Sunday 26 September 2010 13:45:59 RK Chen wrote: > Hi Charles, > > No, I am not using the latest yaffs2. I an using the YAFFS2 in Android 2.2 > (Froyo). > > Is it possible for me to just patch some patches to fix this problem? The easiest thing to do is to patch in the whole of the latest yaffs and try that. -- Charles > > > > regards, > > RK > > > > regards, > > RK > > On 2010-09-25 02:30, Charles Manning wrote: > > 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