Ticket #9972 (closed defect: fixed)
openfirmware writes fail on an ext2 filesystem with large_file feature set
|Reported by:||Quozl||Owned by:||wmb@…|
|Component:||ofw - open firmware||Version:||Development build as of this date|
|Action Needed:||add to build||Verified:||no|
|Deployments affected:||Blocked By:|
Context: OpenFirmware Q3A25 Q3A26, with an ext2 filesystem 1050000 sectors in size, using the Forth verbs copy and to-file .
Symptom: the verbs fail and display a Flushbuf error. With show-aborts on the extended output is:
<buffer@ff9cf498>:53: Flushbuf error
Analysis: if the size of the filesystem is reduced to 1040000 sectors, the symptom does not occur. Output from dumpe2fs shows a different structure is chosen by mke2fs at this size threshold.
Logs: serial console logs from the good and fail case, as well as the dumpe2fs output, have been mailed to Mitch. The test scripts that generate the filesystem with the boot/olpc.fth file on it can be found at: