Hello!
I have few devices, where yaffs2 mounting failed.
Mounting failed here:
yaffs_ScanBackwards()
yaffs_PutChunkIntoFile()
yaffs_AddOrFindLevel0Tnode()
/* failed in this condition */
if (chunkId > YAFFS_MAX_CHUNK_ID) {
return NULL;
}
I have insert in the code some debug info:
chunkId = 1048576
YAFFS_MAX_CHUNK_ID = 1048575
fStruct->fileSize = 2147483647
fStruct->scannedFileSize = 2147483647
OK, I see, that chunkId is incorrect, but why this single error prevent
mounting the whole file system ? It's critical error? But why we can't
fix it?
--
Nickolay Vinogradov
Protei Research and Development Center
St.Petersburg, 194044, Russia
Tel.: +7 812 449 47 27