Ticket #12684 (closed defect: fixed)

Opened 17 months ago

Last modified 15 months ago

save-mfg-data misbehaves

Reported by: Quozl Owned by: Quozl
Priority: high Milestone: 13.2.0
Component: ofw - open firmware Version: not specified
Keywords: Cc:
Action Needed: no action Verified: no
Deployments affected: Blocked By:
Blocking:

Description

XO-4 Q7B31 with ext2 on USB drive:

  • fails first try,
  • creates a duplicate file on second try.
ok save-mfg-data
Creating u:\SHC24700.6C2
Can't open file
ok dir u:\
ext2-file-system
---drwxr-xr-x      1024  2013-05-20 23:22:10  .
---drwxr-xr-x      1024  2013-05-20 23:22:10  ..
---drwx------     12288  2013-05-20 23:22:10  lost+found
----rw-rw-rw-         0  2013-05-20 23:22:24  SHC24700.6C2
ok save-mfg-data
Creating u:\SHC24700.6C2
ok dir u:\
ext2-file-system
---drwxr-xr-x      1024  2013-05-20 23:22:10  .
---drwxr-xr-x      1024  2013-05-20 23:22:10  ..
---drwx------     12288  2013-05-20 23:22:10  lost+found
----rw-rw-rw-     65536  2013-05-20 23:22:24  SHC24700.6C2
----rw-rw-rw-         0  2013-05-20 23:22:37  SHC24700.6C2
ok save-mfg-data
Creating u:\SHC24700.6C2
ok dir u:\      
ext2-file-system
---drwxr-xr-x      1024  2013-05-20 23:22:10  .
---drwxr-xr-x      1024  2013-05-20 23:22:10  ..
---drwx------     12288  2013-05-20 23:22:10  lost+found
----rw-rw-rw-     65536  2013-05-20 23:22:24  SHC24700.6C2
----rw-rw-rw-         0  2013-05-20 23:22:37  SHC24700.6C2
----rw-rw-rw-         0  2013-05-20 23:25:13  SHC24700.6C2
ok 

Filesystem is corrupted:

# e2fsck -f /dev/sdc1
e2fsck 1.42.5 (29-Jul-2012)
Pass 1: Checking inodes, blocks, and sizes
Pass 2: Checking directory structure
Duplicate entry 'SHC24700.6C2' found.
        Marking / (2) to be rebuilt.

Pass 3: Checking directory connectivity
Pass 3A: Optimising directories
Entry 'SHC24700.6C2' in / (2) has a non-unique filename.
Rename to SHC24700.6~0<y>? yes
Entry 'SHC24700.6C2' in / (2) has a non-unique filename.
Rename to SHC24700.6~1<y>? yes
Pass 4: Checking reference counts
Pass 5: Checking group summary information

ext2: ***** FILE SYSTEM WAS MODIFIED *****
ext2: 14/30720 files (0.0% non-contiguous), 5498/122880 blocks

Change History

Changed 17 months ago by Quozl

Does not occur on XO-1.75 Q4D30, or on XO-1.5 Q3C14.

Changed 17 months ago by Quozl

Cause of second try duplicate names resolved:

  • uses of $create-file need $delete in front of them so that a duplicate file is not created. ext2 driver allows duplicate files,
  • $create-file did create the new file, then immediately close the file and call $open-file to open the original file,
  • fix for duplicate names in svn 3662.

Changed 17 months ago by Quozl

An abort during save-mfg-data leaves the keyboard disabled. Fixed in svn 3663.

Changed 17 months ago by Quozl

  • next_action changed from never set to reproduce

The original problem of Can't open file cannot be reproduced now, so it must have been an artefact of the USB drive, the content of which had not been controlled prior to the test.

Changed 16 months ago by Quozl

  • next_action changed from reproduce to package

Is in Q2F18 and Q3C15, yet to be included in releases for XO-1.75 and XO-4

Changed 16 months ago by Quozl

  • next_action changed from package to add to build
  • milestone changed from Not Triaged to 13.2.0

Is in Q7B33 for XO-4,

Changed 16 months ago by Quozl

Is in Q4D31 for XO-1.75.

Changed 15 months ago by Quozl

  • status changed from new to closed
  • next_action changed from add to build to no action
  • resolution set to fixed

Is in 32011o2 and 32011o4.

Note: See TracTickets for help on using tickets.