*BSD News Article 8149


Return to BSD News archive

Newsgroups: comp.unix.bsd
Path: sserve!manuel.anu.edu.au!munnari.oz.au!network.ucsd.edu!usc!sol.ctr.columbia.edu!hamblin.math.byu.edu!news.byu.edu!ux1!fcom.cc.utah.edu!cs.weber.edu!terry
From: terry@cs.weber.edu (A Wizard of Earth C)
Subject: Re: At boot: file too big to load
Message-ID: <1992Nov23.220935.12838@fcom.cc.utah.edu>
Sender: news@fcom.cc.utah.edu
Organization: Weber State University  (Ogden, UT)
References: <1992Nov22.225044.1344@ghost.dsi.unimi.it> <1992Nov23.070212.9393@tfs.com>
Date: Mon, 23 Nov 92 22:09:35 GMT
Lines: 45

In article <1992Nov23.070212.9393@tfs.com> julian@tfs.com (Julian Elischer) writes:
>In article <1992Nov22.225044.1344@ghost.dsi.unimi.it> serini@ghost.dsi.unimi.it (Piero Serini) writes:
>>Hi.
>>At the end I succeeded recompiling that damn kernel.
>>A little problem still keeps me unhappy: if I install the new
>>kernel in /386bsd, at boot time bootas tells me: file too big to load.
>>
[ ... ]
>I'll bet that if yu do a 'size' on the kernel,
>it shows that the sum of the partitions in the file are bigger than that.
>don't forget the zero filled section is not in the file, it just bzeros it.
>
[ ... ]
>The only answer is to have a kernel that can load above 1MB
>otherwise it and the loader have to fit in the 640k window.
>bill jolitz says 0.2 will be able to do this.
>I frequently have to decide what to leave out of the kernel
>to add some other feature.

You can load larger than 1 Meg kernels by loading above 1 Meg with Julians
boot code.  You lose the memory below 1 Meg unless you hack to add it back
into the free pool.

The main "gotcha" is giving a "link-to" address when building the kernel,
since this isn't automatic.

This works just fine for me with 1.0.

Julian's boot code also has the advantage of allowing you multiple load
devices (like other SCSI disks) without changing anything else... although
this won't make things like ISC UNIX (which requires the boot partition be
the active one so it can find itself) happy.


					Terry Lambert
					terry@icarus.weber.edu
					terry_lambert@novell.com
---
Any opinions in this posting are my own and not those of my present
or previous employers.
-- 
-------------------------------------------------------------------------------
                                        "I have an 8 user poetic license" - me
 Get the 386bsd FAQ from agate.berkeley.edu:/pub/386BSD/386bsd-0.1/unofficial
-------------------------------------------------------------------------------