#9455 NORM 1.5-sof: maybe use data=ordered for root mount

Zarro Boogs per Child bugtracker at laptop.org
Fri Dec 11 18:58:21 EST 2009


#9455: maybe use data=ordered for root mount
--------------------------------+-------------------------------------------
           Reporter:  cjb       |       Owner:  dsd                              
               Type:  defect    |      Status:  new                              
           Priority:  normal    |   Milestone:  1.5-software-final               
          Component:  distro    |     Version:  Development build as of this date
         Resolution:            |    Keywords:                                   
        Next_action:  diagnose  |    Verified:  0                                
Deployment_affected:            |   Blockedby:                                   
           Blocking:  9858      |  
--------------------------------+-------------------------------------------

Comment(by Quozl):

 Reproduced again on two newly arrived B2's, using os57, removing DC power
 after the XO and journal icon appear after nick and colour choice.

 Further analysis of the systems in this state showed owner.key,
 owner.key.pub and datastore/version were corrupt, in that they contained
 zero bytes (0x00, NUL) in place of the expected content.

 Removing the three files and rebooting corrected the problem.

 {{{
 rm -f .sugar/default/owner.key{,.pub}
 rm -f .sugar/default/datastore/version
 }}}

 I'm sure I saw a patch to Sugar Datastore that handled the possibility of
 a zero-filled version file.  I think it was over at Sugarlabs.  I don't
 think we have it on the build, because the datastore.log contained this
 traceback:

 {{{
 Traceback (most recent call last):
   File "/usr/bin/datastore-service", line 24, in <module>
     ds = DataStore()
   File "/usr/lib/python2.6/site-packages/carquinyol/datastore.py", line
 57, in __init__
     if layout_manager.get_version() == 0:
   File "/usr/lib/python2.6/site-packages/carquinyol/layoutmanager.py",
 line 49, in get_version
     version = int(open(version_path, 'r').read())
 ValueError: invalid literal for int() with base 10: ''
 }}}

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


More information about the Bugs mailing list