#8715 BLOC 8.2.0 (: XO doesn't activate in latest build/ofw

Zarro Boogs per Child bugtracker at laptop.org
Mon Sep 29 16:45:47 EDT 2008


#8715: XO doesn't activate in latest build/ofw
-------------------------+--------------------------------------------------
   Reporter:  kimquirk   |       Owner:  cscott              
       Type:  defect     |      Status:  new                 
   Priority:  blocker    |   Milestone:  8.2.0 (was Update.2)
  Component:  initramfs  |     Version:  not specified       
 Resolution:             |    Keywords:  blocks?:8.2.0       
Next_action:  never set  |    Verified:  0                   
  Blockedby:             |    Blocking:                      
-------------------------+--------------------------------------------------
Changes (by wmb at firmworks.com):

  * owner:  wmb at firmworks.com => cscott
  * component:  ofw - open firmware => initramfs


Comment:

 On the USB stick in question, the /lease.sig file in the root directory is
 in the JSON-encapsulated form as produced by the activation server.

 OFW, by design, does not process JSON-format files in the root directory,
 but rather it processes raw "act01:" records from /security/lease.sig .
 There is no such file on either the USB key or the NAND.

 It is the responsibility of the Linux init code to read the JSON
 /lease.sig file, extract the relevant record for the machine, and write
 the raw act01: format file to /security/lease.sig , typically on the NAND.
 This is apparently not happening, since there is no
 nand:\security\lease.sig .  I also looked in various other places like
 nand:\versions\pristine\765\security and nand:\versions\run\765\security .
 There was not lease.sig file in any of those security directories.

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


More information about the Bugs mailing list