*BSD News Article 5025


Return to BSD News archive

Newsgroups: comp.unix.bsd
Path: sserve!manuel!munnari.oz.au!spool.mu.edu!agate!tfs.com!tfs.com!julian
From: julian@tfs.com (Julian Elischer)
Subject: Re: Maximal kernel size (was Re: /dev/lp and LARGEW  configurations)
Message-ID: <1992Sep14.201421.2496@tfs.com>
Organization: TRW Financial Systems
References: <5717@blue.cis.pitt.edu.UUCP> <1992Sep14.183224.20942@news.th-darmstadt.de>
Date: Mon, 14 Sep 1992 20:14:21 GMT
Lines: 45

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 ;-)
>It seems as if the kernel gets loaded into the memory below the area where
>the I/O-cards live. I didn't investigate this further, since I got my kernel
>small enough to boot, with all the features I needed.
>
>Shouldn't it be possible to modify ??boot and boot?? to load the kernel at
>the _end_ of physical memory?
>
>Hannes

The new bootblocks (BIOS based) will load the kernel to wherever it is linked
to e.g. if you link for FE100000 it will load to 100000.
if you link for FE000000 if will load it at 0. This gives us support needed
to start experimenting with loading the kernel above the IO map area at 640k
(e.g. loading at 1MB) The information as to where to load it is 
taken from the a.out header at the front of the kernel.

It should also allow the kernel to have it's symbols loaded (which none
of the kernels i have here can do, because then they wont fit
below the boot loader at 608k.) The kernel debugger is SO much
easier to use with symbols (having used in on mach).

I plan on releasing a beta set of the bootblocks and scsi system
next week-end.. stay tuned

julian
+----------------------------------+       ______ _  __
|   __--_|\  Julian Elischer       |       \     U \/ / On assignment
|  /       \ julian@tfs.com        +------>x   USA    \ in a very strange
| (   OZ    ) 2118 Milvia st. Berkeley CA. \___   ___ | country !
+- X_.---._/  USA+(510) 704-3137(wk)           \_/   \\            
          v