#12106 LOW Not Tri: initramfs sometimes inflated, sometimes not

Zarro Boogs per Child bugtracker at laptop.org
Sun Sep 16 15:59:33 EDT 2012

#12106: initramfs sometimes inflated, sometimes not
 Reporter:  dsd                  |                 Owner:  wmb at firmworks.com
     Type:  defect               |                Status:  new              
 Priority:  low                  |             Milestone:  Not Triaged      
Component:  ofw - open firmware  |               Version:  not specified    
 Keywords:                       |           Next_action:  never set        
 Verified:  0                    |   Deployment_affected:                   
Blockedby:                       |              Blocking:                   
 I'm simulating the secure boot path with:

 false to require-signatures?
 " \boot"   pn-buf place
 " int:" load-from-list drop

 I have found a difference between signed boot and unsigned boot and I'm
 not sure if its intentional, regarding decompression of the ramdisk.

 In the unsigned path, $load-ramdisk calls boot-read, which calls (boot-
 read) and then ?inflate-loaded

 In the secure path, bundle-present? calls (boot-read) directly and doesn't
 seem to inflate the ramdisk anywhere.

 This can be seen by debugging linux-place-ramdisk and comparing the input
 parameters passed to that word. In the unsecure path, the len parameter is
 much bigger than the size of the on-disk ramdisk, whereas in the secure
 path the length matches the on-disk filesize exactly.

 I haven't checked if the kernel handling path is more consistent.

 XO-1.75, Q4D21.

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

More information about the Bugs mailing list