> > 1) LILO loads kernel, kernel starts decompressing, and quickly hangs
> > with "Out of Memory" ... some kernels that I build just always fail like
> > this, some kernels that I build happen to get past decompression without
> > problems.... I can't see any obvious pattern to which ones have this
> > problem
>
> There is a patch for this (it uses gzip -3 not gzip -9 to avoid running
> out of boot workspace). That will make the rest of life easier.
I think the right fix is to increase the HEAP_SIZE to a sane value (which
got into 2.3.15 BTW).
--- v2.3.14/linux/arch/i386/boot/compressed/misc.c Wed Jun 24 14:30:08 1998
+++ linux/arch/i386/boot/compressed/misc.c Thu Aug 19 10:49:13 1999
@@ -104,7 +104,7 @@
#define LOW_BUFFER_START 0x2000
#define LOW_BUFFER_END 0x90000
#define LOW_BUFFER_SIZE ( LOW_BUFFER_END - LOW_BUFFER_START )
-#define HEAP_SIZE 0x2000
+#define HEAP_SIZE 0x3000
static int high_loaded =0;
static uch *high_buffer_start /* = (uch *)(((ulg)&end) + HEAP_SIZE)*/;
-- Matthias Hanisch office: matze@camline.com private: matze@pingu.franken.de +49 8137 935-219 +49 8441 82387"CAPS - Software from Experts for Experts"
- 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/