With the latest sources, I turned on checking echo +verify-all >/proc/yaffs then I received the above error. The error came from yaffs_FlushFilesChunkCache as cache->nBytes is -2048. The only place this is set is from yaffs_WriteDataToFile with the calculation for nToWriteBack. Has anyone seen this error? How do I fix it? Cal Page