XO-1.75 Q4B12ja (svn 2623) leaves an ext2 filesystem inconsistent after a file delete
|Reported by:||Quozl||Owned by:||Quozl|
|Component:||ofw - open firmware||Version:||Development firmware|
|Deployments affected:||Action Needed:||no action|
After test 0023 glob file copy in the ext2test.fth the filesystem is left in an inconsistent state as reported by e2fsck on build 881:
bash-4.1# e2fsck -f /dev/sda1 e2fsck 1.41.12 (17-May-2010) Pass 1: Checking inodes, blocks, and sizes Pass 2: Checking directory structure Entry 'f.tst' in / (2) has deleted/unused inode 26. Clear<y>?
It is the last file deleted in the script that is affected.
Tested on a 128MB and a 2GB USB flash drive.
The minimum reproducer is an olpc.fth file containing:
\ OLPC to-file u:\f.tst cr del u:\f.tst
Adding a dir u:\ command to the end of the reproducer prevents the symptom. Theory: a cache is flushed.
Entering the commands interactively instead of using \boot\olpc.fth makes no difference to the symptom.
Deleting a pre-existing file does not produce the symptom.
Change History (5)
Changed 5 years ago by Quozl
comment:2 Changed 5 years ago by wmb@…
- Action Needed changed from diagnose to test in build
- Owner changed from wmb@… to Quozl