Re: Linux 2.2.13pre18

Jeff Garzik (jgarzik@mandrakesoft.com)
Tue, 19 Oct 1999 13:20:42 -0400


Rogier Wolff wrote:
>
> Alan Cox wrote:
> > > In 2.2.13pre18 it is set to 0x2000, so I changed it and it solved the
> > > problem.
> > >
> > > Could this be changed 'officially' in pre19 ?
> >
> > In 2.2.14 probably. I don't want to tinker with boot up code everyone depends
> > on until 2.2.13 is out
>
> Alan,
>
> The problem, if I remember correctly, is that some kernels end up
> gzipping exceptionally good and therefore require lots of space during
> decompression. Wouldn't it be an idea to change the gzip -9 in
> arch/i386/boot/compressed/Makefile to something like gzip -5 (Or
> better yet, just gzip)? This will cause a slight kernel size
> increase, but allows it to decompress in all cases.....

That change is in 2.2.13 pre 18, as I noted yesterday. FWIW, "gzip" by
itself typically selects compression level 6.

Jeff

diff -u --exclude-from ../exclude --new-file --recursive
linux.vanilla/arch/i386
/boot/compressed/Makefile linux.13p18/arch/i386/boot/compressed/Makefile
--- linux.vanilla/arch/i386/boot/compressed/Makefile Mon Jul 20
18:05:15 1998
+++ linux.13p18/arch/i386/boot/compressed/Makefile Thu Sep 23
14:04:38 1999
@@ -37,7 +37,7 @@
tmppiggy=_tmp_$$$$piggy; \
rm -f $$tmppiggy $$tmppiggy.gz $$tmppiggy.lnk; \
$(OBJCOPY) $(SYSTEM) $$tmppiggy; \
- gzip -f -9 < $$tmppiggy > $$tmppiggy.gz; \
+ gzip -f -3 < $$tmppiggy > $$tmppiggy.gz; \
echo "SECTIONS { .data : { input_len = .; LONG(input_data_end -
input_da
ta) input_data = .; *(.data) input_data_end = .; }}" > $$tmppiggy.lnk; \
$(LD) -m elf_i386 -r -o piggy.o -b binary $$tmppiggy.gz -b
elf32-i386 -T
$$tmppiggy.lnk; \
rm -f $$tmppiggy $$tmppiggy.gz $$tmppiggy.lnk

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/