tar: short read on linux-3.8.tar.xz

John Spencer maillist-busybox at barfooze.de
Sun Feb 24 21:37:29 UTC 2013


On 02/24/2013 09:14 PM, John Spencer wrote:
> http://www.kernel.org/pub/linux/kernel/v3.0/linux-3.8.tar.xz
>
> using busybox 1.20.2 and xz 5.0.3 or xz 5.0.4:
>
> $ tar xf linux-3.8.tar.xz
>
> i get: "short read" and exit status 1.
> however the data seems to be there (at least partial).



the culprit is the file linux-3.8/drivers/media/tuners/mt2063.c

after doing xzcat linux-3.8.tar.xz > linux-3.8.tar , that file is 
truncated after 4096*2+512 bytes.

xzcat is from busybox (not from xz, as i assumed earlier)

the .tar file is truncated at this point as well, it is only 200 MB, but 
with xzcat from xz package, it is > 500 MB.




More information about the busybox mailing list