Re: [Sugar-devel] 883 on XO1

2012-01-08 Thread Alan Jhonn Aguiar Schwyn


"Having builds available via bittorrent or some other p2p tool would be very 
useful when the dev team in in China"
In China and everywhere...
Now, I not good connection (i'm using a 3G modem) but I can make .torrent of 
883 and another image...
When I try to make .torrents... ever have problems with the trackers :-(
Someone have experience?
I think that is important have (at least) the last image in some P2P.. for the 
places that the connection is notgood..
Regards!
Alan  ___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] 883 on XO1

2012-01-08 Thread David Leeming
Thanks to James, we successfully repaired the download. A very neat solution 
that I had not realised was possible.

For others that may find it useful, we used the Linux split command (I used the 
XS) to chop the faulty download into 128 small chunks of about 5MB each and 
then did checksum with md5sum on each, identified the errant chunk, which I 
then downloaded and used cat command to rejoin them.

I now have the 883 build for the PNG schools. Many thanks James and Alec

David 

-Original Message-
From: Richard Smith [mailto:smithb...@gmail.com] On Behalf Of Richard A. Smith
Sent: Monday, 9 January 2012 6:02 a.m.
To: Alec Muffett
Cc: David Leeming; Sugar devel; de...@laptop.org
Subject: Re: [Sugar-devel] 883 on XO1

On 01/06/2012 03:46 AM, Alec Muffett wrote:
> At the risk of sounding perverse you could do block-level repair on
> this by having someone put the same file up for Bittorrent somewhere,
> and David could start the torrent, pause his "repeat" download,
> install a copy of previously-downloaded file, restart his Bittorrent
> client and have it download/repair the corrupted blocks for fairly
> small bandwidth consumption.

Having builds available via bittorrent or some other p2p tool would be 
very useful when the dev team in in China.  Bandwidth at the factory is 
limited on per IP basis.  If the builds were available via p2p with 
swarming then the team could peer each other and we all would download 
chunks in parallel.   We do this sometimes manually now by cutting up 
the file into chunks and each of us download a chunk.

I started to do this one trip but got stuck trying to find a text mode 
bittorrent server that you could work with via ssh and then get it 
working. I'm only a casual bittorrent user.

-- 
Richard A. Smith  
One Laptop per Child



___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] 883 on XO1

2012-01-06 Thread James Cameron
The method used was to take a checksum of each of 128 parts of the file,
compare the checksums, and then transmit only the corrupted part.

This recovery method is only applicable if the file size matches, but the
checksum does not.

I've written this up at http://wiki.laptop.org/go/Download#Wrong_Data

-- 
James Cameron
http://quozl.linux.org.au/
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] 883 on XO1

2012-01-06 Thread Chris Leonard
On Fri, Jan 6, 2012 at 8:22 PM, James Cameron  wrote:
> (we have discovered that only a tiny part of the file is corrupted ...
> so far one part in 128).
>

So only about 70 cents worth.

cjl
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] 883 on XO1

2012-01-06 Thread James Cameron
(we have discovered that only a tiny part of the file is corrupted ...
so far one part in 128).

-- 
James Cameron
http://quozl.linux.org.au/
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] 883 on XO1

2012-01-06 Thread David Leeming
Hi Chris!

Working on a neat repair with James - will report back how it goes. Cheers
for the support! 

Let me know off list on the localising.  

David 

-Original Message-
From: Chris Leonard [mailto:cjlhomeaddr...@gmail.com] 
Sent: Saturday, 7 January 2012 12:59 a.m.
To: David Leeming
Cc: Sugar devel; de...@laptop.org
Subject: Re: [Sugar-devel] 883 on XO1

On Fri, Jan 6, 2012 at 12:26 AM, David Leeming
 wrote:

> So i conclude I have just thrown USD 85 down the toilet.
>

Ouch,

David, I will happily keep you supplied with pre-tested OLPC image
downloads (by snail-mail CD-ROM) in exchange for some help recruiting
localizers for the Oceanic languages.  Consider it a standing offer.

cjl
Sugar Labs Translation Team Coordinator



___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] 883 on XO1

2012-01-06 Thread Chris Leonard
On Fri, Jan 6, 2012 at 12:26 AM, David Leeming
 wrote:

> So i conclude I have just thrown USD 85 down the toilet.
>

Ouch,

David, I will happily keep you supplied with pre-tested OLPC image
downloads (by snail-mail CD-ROM) in exchange for some help recruiting
localizers for the Oceanic languages.  Consider it a standing offer.

cjl
Sugar Labs Translation Team Coordinator
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] 883 on XO1

2012-01-06 Thread James Cameron
On Fri, Jan 06, 2012 at 08:46:25AM +, Alec Muffett wrote:
> Lacking that has anyone got an equivalent hash-the-blocks-based binary
> diff tool, or does one just need to be written?

rdiff or rsync is what I would use.  But all such tools require some
effort to explain, or in David's case, to download.

-- 
James Cameron
http://quozl.linux.org.au/
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] 883 on XO1

2012-01-05 Thread James Cameron
G'day David,

The file fs.zip on the USB drive is correct.

The file os883.img on the USB drive is incorrect.  The md5sum you
calculate differs from what I calculate.

I calculate e9e8d45a513b10f6c23145f7c6ba766b and my calculation matches
the md5 file we have on our web server:
http://download.laptop.org/xo-1/os/official/883/os883.img.md5

I've also checked the file on the server in case it was corrupt there.
It is correct.

The file length is correct.  664,448 KB, at 1024 bytes per KB, exactly
matches the file size on the server of 680,394,752 bytes.

So some of the bytes are incorrect.

I'll post you a private mail next with a method to check the file in
more detail.  There may be an easy fix.

-- 
James Cameron
http://quozl.linux.org.au/
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] 883 on XO1

2012-01-05 Thread David Leeming
Correction (883 not 833)

Hi James,

Here is the info below. Maybe it is something else? It fails at exactly the
same place regardless which flashdrive I use. It's an XO-1 with build 852

David 

-Original Message-
From: qu...@us.netrek.org [mailto:qu...@us.netrek.org] On Behalf Of James
Cameron
Sent: Friday, 6 January 2012 4:42 p.m.
To: David Leeming
Cc: 'Sugar devel'; de...@laptop.org
Subject: Re: [Sugar-devel] 883 on XO1

Please provide:

1.  the names of the files on the USB drive,

os883.img 
fs.zip (renamed from os883.img.fs.zip)

2.  the sizes of the two files, in bytes, especially the files os883.img
and fs.zip,

os883.img 664,448 KB
fs.zip 428 KB

3.  the md5sum of the two files.

30ae72e62e78a4de32e21e5d76dd46fc  fs.zip
d23b46324cc2a50deb60fdb96649a828  os883.img
md5sum -c ...:
fs.zip OK
os883.img OK


This will let me check your download.

You might be able to find some people here to do your downloads by post
for much less than $USD 85.

-- 
James Cameron
http://quozl.linux.org.au/



___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] 883 on XO1

2012-01-05 Thread David Leeming
Hi James,

Here is the info below. Maybe it is something else? It fails at exactly the
same place regardless which flashdrive I use. It's an XO-1 with build 852

David 

-Original Message-
From: qu...@us.netrek.org [mailto:qu...@us.netrek.org] On Behalf Of James
Cameron
Sent: Friday, 6 January 2012 4:42 p.m.
To: David Leeming
Cc: 'Sugar devel'; de...@laptop.org
Subject: Re: [Sugar-devel] 883 on XO1

Please provide:

1.  the names of the files on the USB drive,

os833.img 
fs.zip (renamed from os883.img.fs.zip)

2.  the sizes of the two files, in bytes, especially the files os883.img
and fs.zip,

os833.img 664,448 KB
fs.zip 428 KB

3.  the md5sum of the two files.

30ae72e62e78a4de32e21e5d76dd46fc  fs.zip
d23b46324cc2a50deb60fdb96649a828  os883.img
md5sum -c ...:
fs.zip OK
os883.img OK


This will let me check your download.

You might be able to find some people here to do your downloads by post
for much less than $USD 85.

-- 
James Cameron
http://quozl.linux.org.au/



___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] 883 on XO1

2012-01-05 Thread James Cameron
Please provide:

1.  the names of the files on the USB drive,

2.  the sizes of the two files, in bytes, especially the files os883.img
and fs.zip,

3.  the md5sum of the two files.

This will let me check your download.

You might be able to find some people here to do your downloads by post
for much less than $USD 85.

-- 
James Cameron
http://quozl.linux.org.au/
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


[Sugar-devel] 883 on XO1

2012-01-05 Thread David Leeming
Apologies if this has been explored before, I have not been able to stay
current. I am posting on both Sugar and OLPC dev lists.

 

I live in Solomon Islands, where we have very poor Internet access and
downloading is affected by satellite latency etc.

 

I just tried to install the latest stable  for XO1, advertised as 883 /
11.3.0 on one of my few XO-1s. I have not had access to any higher versions
of the XO and am working with a programme in PNG which has XO-1s.

 

I downloaded the image (BTW in Solomon Islands that cost me USD 85) using a
download manager Star Downloader (to protect me against Internet drop outs).
It downloaded with no errors reported. I then tried to install on my XO
using a flashdrive as per the usual 4-game key method.

 

On first attempt it failed during the part where you see the progress
indicated graphically with the memory grid in green yellow and black. It
says:

 

4ce Bad hash for eblock# 4ca

Your USB key may be bad...please see http:/wiki.laptop.org/go/Bad_hash 

 

The diagnosis is that it's either bad flashdrive or bad download. I tried 2
other flashdrives that have successfully been used before, and same result
at same place.

 

So i conclude I have just thrown USD 85 down the toilet.

 

Can anyone with similar or relevant experience comment. 

 

 

David in Solomon Islands  "Not Happy"

___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel