[U-Boot] UBIFS LZO decompression failure

Mark Retallack mark.retallack at siemens.com
Wed Oct 14 08:45:57 CEST 2009


Simon Kagstrom <simon.kagstrom <at> netinsight.net> writes:

> 
> Hi List!
> 
> I have a slight problem with UBIFS on the OpenRD base board (an ARM
> board very similar to sheevaplug). Loading files which have been
> compressed with LZO by ubifs fails:

>    OpenRD>> ubifsload 0x8000000 /boot/primary/uImage
>    Loading file '/boot/primary/uImage' to addr 0x08000000 with size 7196920
(0x006dd0f8)...
>    UBIFS error (pid 0): ubifs_decompress: cannot decompress 3204 bytes,
compressor LZO, error -6
>    UBIFS error (pid 0): read_block: bad data node (block 0, inode 88)
>    UBIFS error (pid 0): do_readpage: cannot read page 0 of inode 88, error -22
>    Error reading file '/boot/primary/uImage'
> 
> I've created the filesystem in Linux on the target (v2.6.31). The
> compression error -6 is LZO_E_LOOKBEHIND_OVERRUN, and it fails because
> of this test in lzo1x_decompress.c:
> 
> 			if (HAVE_LB(m_pos, out, op))
> 				goto lookbehind_overrun;
> 
> where HAVE_LB is defined as  (m_pos < out || m_pos >= op)  and the
> m_pos, out and op values are 0x07ffde77, 0x08000000, 0x08000083 (i.e.,
> the first test fails).
> 
> The lzo1x_decompress.c file is identical to that in Linux, so something
> is fishy here. Does it work for the rest of you?
> 
> // Simon
> 

Hello, 

Just looking around and found this message. I am also getting the 
same error. 

Does anyone have any more info on it? for example what causes a look 
behind overrun?

Thanks in advance

Mark Retallack.





More information about the U-Boot mailing list