#9294 NORM Not Tri: OFW not flexible when looking for file develop.sig
Zarro Boogs per Child
bugtracker at laptop.org
Fri Mar 20 15:58:22 EDT 2009
#9294: OFW not flexible when looking for file develop.sig
---------------------------------+------------------------------------------
Reporter: mikus | Owner: wmb at firmworks.com
Type: defect | Status: new
Priority: normal | Milestone: Not Triaged
Component: ofw - open firmware | Version: OFW development version
Keywords: | Next_action: never set
Verified: 0 | Deployment_affected:
Blockedby: | Blocking:
---------------------------------+------------------------------------------
I keep a "permanent" SD card in each of my XOs. In addition to
"offloading" executables and data, my SD card provides file
'/security/developer.sig' so that non-signed builds should boot even when
'copy-nand' has wiped out the existing /security/develop.sig on NAND.
Found out that OFW does not recognize '/security/develop.sig' on a
removable storage device (i.e., SD card) if that file is on a partition
(on the device) other than the first actual partition to be found in that
device's partition table. It was quite difficult to figure out why
booting had failed (with a sad face) when the output (with 'check'
pressed) given by Q2E33 OFW was:
{{{
Trying nand:security,\develop sig
NAND: No such partition
Trying nand:\security\develop.sig
Trying nand:\boot\bootfw.zip
Trying nand:\boot\runos.zip
Boot failed
}}}
This despite a correct '/security/develop.sig' on /dev/mmcblk0p2.
I even got the same failure (including those messages) after putting
'/security/develop.sig' on an USB stick, booting with that stick inserted,
__copying__ develop.sig to /security on NAND, and afterwards trying reboot
without using the USB stick. [In other words, failing to access
/security/develop.sig in the first partition listed in the SD card's
partition table - confused OFW enough that it *also* failed to access
/security/develop.sig in NAND.]
----
BTW -- every partition on every removable storage device which has a
partition type of 0x82 or 0x83 causes OFW messages:
{{{
Error: Unknown file system
Can't open disk label package
}}}
--
Ticket URL: <http://dev.laptop.org/ticket/9294>
One Laptop Per Child <http://laptop.org/>
OLPC bug tracking system
More information about the Bugs
mailing list