From owner-freebsd-questions Mon Jul 10 15:37:31 2000 Delivered-To: freebsd-questions@freebsd.org Received: from pike.osd.bsdi.com (pike.osd.bsdi.com [204.216.28.222]) by hub.freebsd.org (Postfix) with ESMTP id B222C37C079; Mon, 10 Jul 2000 15:37:17 -0700 (PDT) (envelope-from jhb@foo.osd.bsdi.com) Received: from foo.osd.bsdi.com (root@foo.osd.bsdi.com [204.216.28.137]) by pike.osd.bsdi.com (8.9.3/8.9.3) with ESMTP id PAA42783; Mon, 10 Jul 2000 15:37:16 -0700 (PDT) (envelope-from jhb@foo.osd.bsdi.com) Received: (from jhb@localhost) by foo.osd.bsdi.com (8.9.3/8.9.3) id PAA50836; Mon, 10 Jul 2000 15:36:30 -0700 (PDT) (envelope-from jhb) Message-ID: X-Mailer: XFMail 1.4.0 on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: <20000710225704.G94380@strontium.scientia.demon.co.uk> Date: Mon, 10 Jul 2000 15:36:30 -0700 (PDT) Organization: BSD, Inc. From: John Baldwin To: Ben Smithurst Subject: Re: Automatic reboot out of the blue. Cc: freebsd-questions@FreeBSD.org Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On 10-Jul-00 Ben Smithurst wrote: > John Baldwin wrote: > >> With an ELF kernel (such as we've had since 3.1), the debugging >> symbols are skipped over when the kernel is loaded, so the memory >> usage will stay the same. > > Aha, thanks. The handbook says this: > > You may also install the unstripped kernel, but symbol table lookup time > for some programs will drastically increase, and since the whole kernel > is loaded entirely at boot time and cannot be swapped out later, several > megabytes of physical memory will be wasted. > > You're saying that's wrong? If so, I may as well make use of my new > commit bit and fix it. :-) Is the bit about symbol talble lookup time > still correct? If so, I suggest removing everything from "and since" > onwards. There's another problem with that bit, which is addressed in > a PR I'm looking at (basically it says to copy the kernel and strip it, > but this is done for you these days). It was right for a.out kernels, but it is wrong for ELF kernels. :) We've been using ELF kernels since 3.1 though. > -- > Ben Smithurst / ben@FreeBSD.org / PGP: 0x99392F7D -- John Baldwin -- http://www.FreeBSD.org/~jhb/ PGP Key: http://www.cslab.vt.edu/~jobaldwi/pgpkey.asc "Power Users Use the Power to Serve!" - http://www.FreeBSD.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message