*BSD News Article 18504


Return to BSD News archive

Path: sserve!newshost.anu.edu.au!munnari.oz.au!news.Hawaii.Edu!ames!haven.umd.edu!uunet!pipex!uknet!mcsun!sunic!isgate!veda.is!adam
From: adam@veda.is (Adam David)
Newsgroups: comp.os.386bsd.questions
Subject: Re: KERNEL PANIC ANYONE
Message-ID: <CA8wL9.7G4@veda.is>
Date: 16 Jul 93 06:55:42 GMT
References: <22222@durer.cme.nist.gov> <1993Jul12.180752.29982@prepress.com> <GENE.93Jul14074659@stark.uucp>
Organization: Veda Systems, Iceland
Lines: 15

gene@cs.sunysb.edu!stark (Gene Stark) writes:

>Maybe people don't know this.  I didn't, and it sure ruined one of my weekends.
>When you build a kernel, it is important to use "nm" to make sure that _end
>has been assigned an address strictly less than 0xFE090000.  If not, then
>some of your BSS area will be overlapping the bootstrap loader.

Julian's bootblocks will let you have 612k of kernel starting at 0, and zeroes
out the BSS if the kernel is bigger than 576k. 612k corresponds to 0xFE099000.
It is also possible to use 'size' to determine kernel size, if the hex value
does not go above 99000 it is alright. Since patchkit 0.2.4 the boot code is
changed so that if the kernel is too big it will not try to run.

--
adam@veda.is