#12684 HIGH Not Tri: save-mfg-data misbehaves

Zarro Boogs per Child bugtracker at laptop.org
Mon May 20 19:28:41 EDT 2013


#12684: save-mfg-data misbehaves
---------------------------------+------------------------------------------
 Reporter:  Quozl                |                 Owner:  Quozl        
     Type:  defect               |                Status:  new          
 Priority:  high                 |             Milestone:  Not Triaged  
Component:  ofw - open firmware  |               Version:  not specified
 Keywords:                       |           Next_action:  never set    
 Verified:  0                    |   Deployment_affected:               
Blockedby:                       |              Blocking:               
---------------------------------+------------------------------------------
 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
 }}}

-- 
Ticket URL: <http://dev.laptop.org/ticket/12684>
One Laptop Per Child <http://laptop.org/>
OLPC bug tracking system


More information about the Bugs mailing list