*BSD News Article 5117


Return to BSD News archive

Path: sserve!manuel!munnari.oz.au!uunet!mcsun!sun4nl!tuegate.tue.nl!svin09!wzv!guido
From: guido@wzv.win.tue.nl (Guido van Rooij)
Newsgroups: comp.unix.bsd
Subject: Re: Maximal kernel size (was Re: /dev/lp and LARGEW  configurations)
Message-ID: <3860@wzv.win.tue.nl>
Date: 15 Sep 92 18:48:21 GMT
References: <5717@blue.cis.pitt.edu.UUCP> <1992Sep14.183224.20942@news.th-darmstadt.de>
Organization: Eindhoven University of Technology, The Netherlands
Lines: 18

In article <1992Sep14.183224.20942@news.th-darmstadt.de> deeken@iti.informatik.th-darmstadt.de (Hans-Christoph Deeken) writes:
>Paul (dri@gl.pitt.edu) wrote:
>> BTW, when I use the LARGE configuration the kernel builds but when I
>> reboot with the new kernel the boot loader complains that the file
>> (386bsd) is too large to load, andd tries to load 386bsd.alt and
>> 386bsd.old.  What is causing this?
>
>I had this problem also. I fiddled a bit with the configuration and got
>the result, that only kernels with a size (text+data+bss) <= 640KB were
>able to boot. The standard PC limit ;-)
Hmmm..we had the same discussion about 5 months ago on the 0.0 386bsd version.
I remember very well that someone posted the maximum bootable kernel
size. And yes, the problem (at least then) was the boot program is loaded
on top of the memory. The system is not running in protected mode at that
time, so this top is at 640 k. In order not to overwrite the boot program,
the kernel should be smaller then 640-'a little bit'.

-Guido