Messages in this thread Patch in this message | | | Date | Sun, 26 Jan 1997 13:34:42 +0100 (MET) | From | Hans Lermen <> | Subject | Re: Linux-2.1.22 or lilo? |
| |
On Sat, 25 Jan 1997, Peter Leif Rasmussen wrote:
> I have the habit to use "make bzImage" when I compile new kernels, and with the > It says something like: Less than 4MB memory > --- system halted
I already posted a fix for Loadlin on this list, however, this also solves the problems for LILO. The part that is sufficient for LILO is below, Loadlin users should look at
ftp://elserv.ffm.fgan.de/pub/linux/loadlin-1.6/update-1.6a/*
for the complete fix.
Hans <lermen@fgan.de>
------------------------Patch-------------------------------------------- --- linux-2.1.22-clean/arch/i386/boot/compressed/misc.c Thu Jan 23 20:22:51 1997 +++ linux-2.1.22/arch/i386/boot/compressed/misc.c Fri Jan 24 01:25:17 1997 @@ -356,7 +357,11 @@ void setup_output_buffer_if_we_run_high(struct moveparams *mv) { high_buffer_start = (uch *)(((ulg)&end) + HEAP_SIZE); +#ifdef STANDARD_MEMORY_BIOS_CALL if (EXT_MEM_K < (3*1024)) error("Less than 4MB of memory.\n"); +#else + if (EXT_MEM_K*64 < (3*1024)) error("Less than 4MB of memory.\n"); +#endif mv->low_buffer_start = output_data = (char *)LOW_BUFFER_START; high_loaded = 1; free_mem_end_ptr = (long)high_buffer_start; ------------------------------------------------------------------------------
| |