Ticket #11814 (closed defect: fixed)
ext2 filesystem flush fails with 0 attempt to corrupt superblock or group descriptor
| Reported by: | Quozl | Owned by: | Quozl |
|---|---|---|---|
| Priority: | normal | Milestone: | 1.75-firmware |
| Component: | ofw - open firmware | Version: | Development firmware |
| Keywords: | Cc: | wmb@… | |
| Action Needed: | no action | Verified: | no |
| Deployments affected: | Blocked By: | ||
| Blocking: |
Description
In Open Firmware, if a reasonable amount of data is written to a file on the ext2 filesystem on a USB drive, the close flush fails with a message:
0 attempt to corrupt superblock or group descriptor
Reproducer on a 128MB USB flash drive created using ext2test.sh:
\ OLPC boot script visible no-page .( test 0025 space released after delete ) cr 0 value fd 0 value buf d# 1024 dup * constant /buf d# 32 value big : make-big-file ( "file" -- ) parse-word r/w open-file abort" can't open file" to fd /buf alloc-mem to buf buf /buf erase big 0 do buf /buf fd fputs [char] . emit loop buf /buf free-mem fd close-file abort" can't close file" ; make-big-file u:\big
Q4D11 XO-1.75 os884
Change History
Note: See
TracTickets for help on using
tickets.


