PATCH Re: "System is too big" error

Cameron MacKinnon (mackin@interlog.com)
Fri, 28 Feb 1997 02:12:11 -0500


Don Fisher <dfisher@as.arizona.edu> wrote:
> Sorry if this one has beed asked a hundred times, but I couldn't find
> anything on it:-( I was trying to build 2.1.27 and got a message that
> the kernel was "too big". I this a hard limit forced by something or is
> there a way to have bigger kernels?

Note the correct way to address innocents' questions: An answer AND an
appropriate patch to prevent further instances of the question.

Don: Read Documentation/Changes in the kernel source tree and try "make
bzImage" instead of "make zImage".

Linus: How 'bout including this in the next 2.0 and 2.1 kernels.
P.S. Welcome to North America from a Canadian who's NOT wearing tee
shirts outside right now.

*** ../linux-2.1.21/arch/i386/boot/tools/build.c Wed Jul 10
06:10:59 1996
--- arch/i386/boot/tools/build.c Fri Feb 28 02:09:00 1997
***************
*** 256,262 ****
#endif
sys_size = (sz + 15) / 16;
if (sys_size > SYS_SIZE)
! die("System is too big");
while (sz > 0) {
int l, n;

--- 256,264 ----
#endif
sys_size = (sz + 15) / 16;
if (sys_size > SYS_SIZE)
! die("System is too big: "
! "Try 'make bz{Image,lilo,disk}' "
! "and see Documentation/Changes");
while (sz > 0) {
int l, n;