[ECOS] decompression error: incorrect data check

Jack Morton jmorton@bandspeed.com
Fri Sep 13 12:52:00 GMT 2002


Mark-
I updated my code and tried to download my test files but ran into some
problems.  Whenever I try to load a zipped file with the -d option, my
transfer locks up.  The Y-modem display in minicom reports several
retries and the error "Retry 0: NAK on sector".  Eventually it reports
"Retry Count Exceeded" and aborts the transfer.  I tried several
different files and had success with only a very small one that was 169
bytes.  All the other ones I tried, which were bigger (364B, 429B, and
623KB), locked up.  I tried both X- and Y-modem with minicom and
hyperterminal and had the same results.  Doing a normal load without the
-d option works fine.

Jack   

-----Original Message-----
From: Mark Salter [mailto:msalter@redhat.com] 
Sent: Thursday, September 12, 2002 4:30 PM
To: Jack Morton
Cc: ecos-discuss@sources.redhat.com
Subject: Re: [ECOS] decompression error: incorrect data check

>>>>> Jack Morton writes:

> Mark-
> Thanks for the quick reply.  I updated my inflate.c file and ran my
test
> again and the "Decompression error:  incorrect data check" error
didn't
> show up.  Unfortunately, it still looks like the end of my file is
> getting truncated.  It appears that the file is loaded up until the
last
> 256-byte boundary and then stops, e.g. if the file was 540 bytes
(before
> compression), only the first 512 bytes get written into memory.  Any
> idea why this may be happening?

A bug in RedBoot. I missed it with my test case because I wasn't looking
closely enough. Anyway, a fix is now checked in to the redboot package.

Thanks for finding and reporting that, BTW.

--Mark

--
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss



More information about the Ecos-discuss mailing list