Re: XO still bootable with incomplete fs-update

2012-04-12 Thread Martin Langhoff
On Thu, Apr 12, 2012 at 1:56 AM, James Cameron qu...@laptop.org wrote: We found that erase commands sent to certain microSD cards would fail. We removed the erase commands from the start of fs-update.  This would have worked against you. Ouch! I hadn't realized we had removed the commands

Re: XO still bootable with incomplete fs-update

2012-04-12 Thread James Cameron
On Thu, Apr 12, 2012 at 11:36:15AM -0400, Martin Langhoff wrote: Sridhar - the changes (and the fix James proposes) apply to the internal organization of the .zd files. So the fix willbe in the OOB toolchain. Applied, #11776. -- James Cameron http://quozl.linux.org.au/

Re: XO still bootable with incomplete fs-update

2012-04-12 Thread Jerry Vonau
On Fri, 2012-04-13 at 09:46 +1000, James Cameron wrote: On Thu, Apr 12, 2012 at 11:36:15AM -0400, Martin Langhoff wrote: Sridhar - the changes (and the fix James proposes) apply to the internal organization of the .zd files. So the fix willbe in the OOB toolchain. Applied, #11776. Is

Re: XO still bootable with incomplete fs-update

2012-04-12 Thread James Cameron
On Thu, Apr 12, 2012 at 06:58:00PM -0500, Jerry Vonau wrote: On Fri, 2012-04-13 at 09:46 +1000, James Cameron wrote: On Thu, Apr 12, 2012 at 11:36:15AM -0400, Martin Langhoff wrote: Sridhar - the changes (and the fix James proposes) apply to the internal organization of the .zd files. So

XO still bootable with incomplete fs-update

2012-04-11 Thread Sridhar Dhanapalan
Perhaps I misunderstood, but I thought that fs-update had been modified to make the XO unbootable unless the process was allowed to complete. I think this was achieved by blanking the first block and only writing it properly at the end. I am finding that XOs that have received an incomplete

Re: XO still bootable with incomplete fs-update

2012-04-11 Thread James Cameron
No, fs-update was not modified for this. zhashfs in olpc-os-builder was modified to place the zero block last in the .zd file. This would have worked in your favour. We found that erase commands sent to certain microSD cards would fail. We removed the erase commands from the start of fs-update.