From owner-freebsd-current Mon Oct 9 1: 4: 8 2000 Delivered-To: freebsd-current@freebsd.org Received: from netplex.com.au (adsl-64-163-195-99.dsl.snfc21.pacbell.net [64.163.195.99]) by hub.freebsd.org (Postfix) with ESMTP id 4951237B502; Mon, 9 Oct 2000 01:04:05 -0700 (PDT) Received: from netplex.com.au (peter@localhost [127.0.0.1]) by netplex.com.au (8.11.0/8.9.3) with ESMTP id e99841G14893; Mon, 9 Oct 2000 01:04:01 -0700 (PDT) (envelope-from peter@netplex.com.au) Message-Id: <200010090804.e99841G14893@netplex.com.au> X-Mailer: exmh version 2.1.1 10/15/1999 To: Mike Smith Cc: Mitsuru IWASAKI , rb@gid.co.uk, keichii@peorth.iteration.net, current@FreeBSD.ORG Subject: Re: Recent kernels won't boot In-Reply-To: <200010090610.e9969xh03937@mass.osd.bsdi.com> Date: Mon, 09 Oct 2000 01:04:01 -0700 From: Peter Wemm Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Mike Smith wrote: > > > That was it. Is the 4MB kernel size limit documented anywhere? > > > > I don't know :-) I luckily noticed this by a lot of trials. > > I'm not aware of any 4MB limit on kernel size (and I ought to be if there > is one 8). Can you run the details past me? (I've regularly booted much > larger kernels in the past...) Uhh, are you sure? Ignore the size of the file, what does 'size(1)' say about these large kernels? Does text+data+bss excede 4MB? I have a nagging suspicion that we only set up 4MB of page tables during the early part of the bootstrap process in locore.s. (forgive me for not looking, I have a most evil headache and locore.s is no way to improve it :-). Thinking about it some more, there may be a 3MB limit as we load above 1MB. I recall some heavy magic with the SMP bootstrap where we only use one PTD slot for 0-4MB in early boot.... Cheers, -Peter -- Peter Wemm - peter@FreeBSD.org; peter@yahoo-inc.com; peter@netplex.com.au "All of this is for nothing if we don't go to the stars" - JMS/B5 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message