sh: 2173165883 out of range

Kevin Holland khollan at daktronics.com
Thu Mar 27 22:03:32 UTC 2008


Hi all,

I wrote a script to download files to a flash device and
calculate/verify checksums.  I found that depending on the value of the
cksum this part of my code will fail and give an error of sh: 2173165883
out of range.

if [ $CKSUM2 -eq $CKSUM ]; then
   echo "Done"
   exit 0
else
   echo "Check Sum Failed"
   exit 1
fi

I enabled 64 bit math in busybox to see if this would help but it
didn't, is this a 32 bit signed integer problem?  Is there a way to fix
it?  I'm using an older version 1.5.1 if this has been fixed in a newer
version please let me know.

Thanks

Kevin




More information about the busybox mailing list