#9947 BLOC 1.5-sof: Disk space is lost as suspend/resumes happen

Zarro Boogs per Child bugtracker at laptop.org
Tue Jan 5 00:04:19 EST 2010


#9947: Disk space is lost as suspend/resumes happen
---------------------------------+------------------------------------------
           Reporter:  wad        |       Owner:  cjb                               
               Type:  defect     |      Status:  new                               
           Priority:  blocker    |   Milestone:  1.5-software-update               
          Component:  distro     |     Version:  1.5 Software Build os64 aka 10.1.0
         Resolution:             |    Keywords:  XO-1.5                            
        Next_action:  reproduce  |    Verified:  1                                 
Deployment_affected:             |   Blockedby:                                    
           Blocking:             |  
---------------------------------+------------------------------------------

Comment(by wad):

 The tests were run with the Sugar desktop loaded, but the tests run from
 the VT consoles.

 The method used to suspend/resume was the dortc script, as attached to
 this ticket.  This script removes the wireless drivers, then suspends for
 four minutes after twenty seconds of execution.

 The problems occur before three hundred cycles have executed.

 The SD wear leveling tests are guaranteed not to leak disk space over time
 --- I originally ran them with only ten or twenty MB to spare.   They have
 usually been running when performing this test.   They do generate log
 files, but these aren't 100 MB in size for such short runs.

 I will test without the SD wear levelling scripts tmw.

 The scripts for running the SD and RTC tests are available at:
  http://dev.laptop.org/~wad/nand.tgz

 Download it, untar it in the root directory, and create /logs/nand.  Then
 run /nand/test.sh and /nand/dortc from different VTs.

 dsd,
   There were no executables, activities, or other added to these laptops
 during the tests.   What seems suspicious is that while du -sk
 /versions/run/652 reported the same amount on both laptops (freshly
 installed or out of disk), du -sk /versions/* reported that the out of
 disk /versions/run had 130 extra MB in it.   That happens to be the amount
 of disk space I seem to have lost...

 I've reproduced this bug on at least six C1 2G (SKU D4) laptops running
 OS64 --- two of them were left running in the garden for cjb to use.

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


More information about the Bugs mailing list