jffs2 failing after reboot on dataflash. 2.6.24
Hi,
I use a dataflash for jffs2. The filesystem seems to work correctly but at the first reboot I have some different and some file corruption. This is the different of two dump:
9475c9475,9489
< Empty space: 18268, dirty space: 0
---
Quoted 14 lines
Empty space found from
0x00444cecto0x00444de0Inode node at 0x00444de0, totlen 0x0000041b, #ino 681, version 67, isize 66031, csize 983, dsize 2701, offset 49632 Wrong bitmask at 0x004451fc, 0x0000 Empty space found from 0x00445200 to 0x00504f00 Inode node at 0x00504f00, totlen 0x00000590, #ino 681, version 68, isize 66031, csize 1356, dsize 3168, offset 49632 Inode node at 0x00505490, totlen 0x00000044, #ino 681, version 69, isize 66031, csize 0, dsize 1056, offset 52800 Inode node at 0x005054d4, totlen 0x00000531, #ino 681, version 70, isize 66031, csize 1261, dsize 3168, offset 53856 Inode node at 0x00505a08, totlen 0x00000044, #ino 681, version 71, isize 66031, csize 0, dsize 1056, offset 57024 Inode node at 0x00505a4c, totlen 0x00000641, #ino 681, version 72, isize 66031, csize 1533, dsize 3168, offset 58080 Inode node at 0x00506090, totlen 0x00000044, #ino 681, version 73, isize 66031, csize 0, dsize 1056, offset 61248 Inode node at 0x005060d4, totlen 0x0000063b, #ino 681, version 74, isize 66031, csize 1527, dsize 3168, offset 62304 Inode node at 0x00506710, totlen 0x00000044, #ino 681, version 75, isize 66031, csize 0, dsize 559, offset 65472 Dirent node at 0x00506754, totlen 0x00000032, #pino 673, version 680, #ino 682, nsize 10, name pulldom.py Padding node at 0x00506788, totlen 0x00000038
Quoted 1 line
Empty space: 2933884, dirty space: 4
The file #ino 681 is corrupted.
The first is the original images creates with mkfs.jffs2, the second one is the filesystem after the first reboot. I don't understand why there new inode created, that invalidate my image.
Regards Michael