--- linux-2.6.12-printserver/scripts/Makefile.lib 2005-06-28 12:45:20.000000000 +0200 +++ linux-2.6.12-pentium/scripts/Makefile.lib 2005-07-01 23:36:30.000000000 +0200 @@ -177,7 +177,7 @@ # --------------------------------------------------------------------------- quiet_cmd_gzip = GZIP $@ -cmd_gzip = gzip -f -9 < $< > $@ +cmd_gzip = cat < $< > $@ # =========================================================================== # Generic stuff --- linux-2.6.12-printserver/arch/i386/boot/compressed/misc.c 2005-06-17 21:48:29.000000000 +0200 +++ linux-2.6.12-pentium/arch/i386/boot/compressed/misc.c 2005-07-01 23:34:55.000000000 +0200 @@ -374,7 +374,15 @@ makecrc(); putstr("Uncompressing Linux... "); - gunzip(); + int i; + for (i = 0; i < input_len / WSIZE; i++) { + memcpy(window, input_data+i*WSIZE, WSIZE); + outcnt = WSIZE; + flush_window(); + } + memcpy(window, input_data+i*WSIZE, input_len % WSIZE); + outcnt = input_len % WSIZE; + flush_window(); putstr("Ok, booting the kernel.\n"); if (high_loaded) close_output_buffer_if_we_run_high(mv); return high_loaded;