From owner-freebsd-current Mon Oct 9 2:10:50 2000 Delivered-To: freebsd-current@freebsd.org Received: from isbalham.ist.co.uk (isbalham.ist.co.uk [192.31.26.1]) by hub.freebsd.org (Postfix) with ESMTP id EC48E37B503; Mon, 9 Oct 2000 02:10:43 -0700 (PDT) Received: (from uucp@localhost) by isbalham.ist.co.uk (8.9.2/8.8.7) with UUCP id KAA72685; Mon, 9 Oct 2000 10:09:28 +0100 (BST) (envelope-from rb@gid.co.uk) Received: from [194.32.164.2] (eccles [194.32.164.2]) by seagoon.gid.co.uk (8.9.3/8.9.3) with ESMTP id JAA86947; Mon, 9 Oct 2000 09:52:55 +0100 (BST) (envelope-from rb@gid.co.uk) X-Sender: rb@194.32.164.1 Message-Id: In-Reply-To: <200010090804.e99841G14893@netplex.com.au> References: <200010090610.e9969xh03937@mass.osd.bsdi.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Date: Mon, 9 Oct 2000 09:52:54 +0100 To: Peter Wemm From: Bob Bishop Subject: Re: Recent kernels won't boot Cc: Mike Smith , Mitsuru IWASAKI , keichii@peorth.iteration.net, current@FreeBSD.ORG Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hi, At 01:04 -0700 9/10/00, Peter Wemm wrote: >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.... Example: % size kernel*/kernel text data bss dec hex filename 3302182 206816 2265368 5774366 581c1e kernel.old/kernel 2947194 207168 168152 3322514 32b292 kernel/kernel Same kernel config except that top one includes KTR options and won't boot, bottom one has no KTR and boots OK. I've been running with SMP_DEBUG, KTR and the rest for a while, this trouble started a few days ago. -- Bob Bishop (0118) 977 4017 international code +44 118 rb@gid.co.uk fax (0118) 989 4254 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message