*BSD News Article 8620


Return to BSD News archive

Newsgroups: comp.unix.bsd
Path: sserve!manuel.anu.edu.au!munnari.oz.au!hp9000.csc.cuhk.hk!saimiri.primate.wisc.edu!zaphod.mps.ohio-state.edu!uwm.edu!linac!pacific.mps.ohio-state.edu!cis.ohio-state.edu!magnus.acs.ohio-state.edu!usenet.ins.cwru.edu!agate!tfs.com!tfs.com!julian
From: julian@tfs.com (Julian Elischer)
Subject: Re: At boot: file too big to load.
Message-ID: <1992Dec8.023230.13812@tfs.com>
Organization: TRW Financial Systems
References: <3627@tansei1.tansei.cc.u-tokyo.ac.jp>
Date: Tue, 8 Dec 1992 02:32:30 GMT
Lines: 38

In article <3627@tansei1.tansei.cc.u-tokyo.ac.jp> mhiroshi@tansei.cc.u-tokyo.ac.jp (H. Murakami) writes:
>
>>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 also have this trouble.
>I applied the patches to enable the Julian's 
>new new SCSI drivers for AHA busmaster cards.
>
>The fatted kernel no longer be loaded at the boot time.
>	If any person knows the effective cure for this 
>problem, please let me know.
>
>Thank you.
>
>	Hiroshi Murakami
>	mhiroshi@tansei.cc.u-tokyo.ac.jp
>	hiroshi@teine.chem2.hokudai.ac.jp
>
The new bootblocks MAY solve this problem
(they were posted with the SCSI stuff)
they calculate the size slightly differently.

if you do a 'size' of the kernel and the 'decimal' column
is grater than about 625k then you will probably not be able to boot
in any circumstance anyhow. (it has to fit, together
with a couple of extra pages, below 640k)

the quick answer is to remove something you don't need
if you don't use ddb, removing it saves close on 100k.

(eventually kernels will load above 1MB)

julian