From owner-freebsd-hackers Thu Mar 9 9:25:41 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from biggusdiskus.flyingfox.com (parker-T1-2-gw.sf3d.best.net [209.157.165.30]) by hub.freebsd.org (Postfix) with ESMTP id 0BE3A37B681 for ; Thu, 9 Mar 2000 09:25:39 -0800 (PST) (envelope-from jas@flyingfox.com) Received: (from jas@localhost) by biggusdiskus.flyingfox.com (8.8.8/8.8.5) id JAA06634; Thu, 9 Mar 2000 09:08:58 -0800 (PST) Date: Thu, 9 Mar 2000 09:08:58 -0800 (PST) From: Jim Shankland Message-Id: <200003091708.JAA06634@biggusdiskus.flyingfox.com> To: bsdknowledgeseeker@hotmail.com, K.J.Koster@kpn.com Subject: RE: freeBSD booting src info Cc: freebsd-hackers@FreeBSD.ORG In-Reply-To: <59063B5B4D98D311BC0D0001FA7E45220131396D@l04.research.kpn.com> Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG "'BSDknowledge seeker'" asks: > Is there a document available which explains the freeBSD's > booting sequence - ie. the place where the kernel is mapped, > initialisation of the page tables, segment descriptors and so > on. If the relevant files are also mentioned, all the better. And "Koster, K.J." responds: > http://www.freebsd.org/handbook/internals.html Since I'm digging into this now also, let me point out that the above reference is a bit ... prolix. It does *not* address the specific issues bsdknowledgeseeker asked about: the place where the kernel is mapped, initialization of page tables, etc. For example, here is the entirety of what the above document has to say about boot2: boot2 is slightly more sophisticated, and understands the FreeBSD filesystem enough to find files on it, and can provide a simple interface to choose the kernel or loader to run. Since the loader is much more sophisticated, and provides a nice easy-to-use boot configuration, boot2 usually runs it, but previously it was tasked to run the kernel directly. If there is more detailed documentation somewhere, I'd be happy to receive a pointer to it. For now, I'm in UTSL mode. If I survive that, maybe I'll write something up. Was mich nicht umbringt, macht mich staerker :-). Jim Shankland NLynx Systems, Inc. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message