#9441 NORM Not Tri: Workaround OFW's ignorance of sig02

Zarro Boogs per Child bugtracker at laptop.org
Fri Aug 21 11:13:41 EDT 2009


#9441: Workaround OFW's ignorance of sig02
-----------------------------+----------------------------------------------
 Reporter:  martin.langhoff  |                 Owner:  martin.langhoff
     Type:  defect           |                Status:  new            
 Priority:  normal           |             Milestone:  Not Triaged    
Component:  initramfs        |               Version:  not specified  
 Keywords:                   |           Next_action:  never set      
 Verified:  0                |   Deployment_affected:                 
Blockedby:  2, 3, 8          |              Blocking:                 
-----------------------------+----------------------------------------------
 This is a workaround for #9440

 Confronted with a sig02+act01 'delegated lease', OFW calls the initrd with
 an 'activate' command.

 The 'activate' codepath in the initrd trusts OFW, and does not re-check
 the FS. In this case, where OFW trails userland in its understanding of
 sig formats, this is an issue.

 To workaround this issue, re-check the FS to ensure we don't have a valid
 lease before starting to look for one.

 This adds approx 2 seconds to the boot time -- only until #9440 is fixed.

 Patches at
 http://dev.laptop.org/git/users/martin/olpcrd-
 rough.git/commit/?id=19a3b244370f30a052589a2e641185d14dc82fab
 http://dev.laptop.org/git/users/martin/olpcrd-
 rough.git/commit/?id=f647f21d34ecaedfd7fc126c8d83ff2cdd8ce8fa

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


More information about the Bugs mailing list