Uncompressing broken with commit e7db7b4270

Uwe Kleine-König u.kleine-koenig at pengutronix.de
Fri Jan 29 09:46:01 EST 2010


On Thu, Jan 28, 2010 at 05:03:49PM +0000, Catalin Marinas wrote:
> Hi,
> 
> For whatever reason, with commit e7db7b4270 (arm: add support for
> LZO-compressed kernels) if the kernel Image goes beyond a certain size
> it fails to uncompress. Reverting this commit solves the problem.
> Removing some random kernel features also solves the uncompressing as
> the kernel image gets smaller.
With the same commit zImage stopped printing dots during decompression.

Something that isn't mentioned in the commit log of e7db7b4270 is that
the decompressing routine for gzip is changed.

Before lib/inflate.c was included by arch/arm/boot/compressed/misc.c,
since e7db7b4270 it's lib/decompress_inflate.c.

Maybe the new implementation needs more stack space?  If so it might
help to increase the stack size.  (This is defined in the last line of
arch/arm/boot/compressed/head.S.  If you change the value be sure to
adapt the value just before the LC1 label in the same file, too.)

Best regards
Uwe

-- 
Pengutronix e.K.                              | Uwe Kleine-König            |
Industrial Linux Solutions                    | http://www.pengutronix.de/  |



More information about the linux-arm-kernel mailing list