From owner-freebsd-hackers Sun Oct 29 17:36:41 1995 Return-Path: owner-hackers Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id RAA21775 for hackers-outgoing; Sun, 29 Oct 1995 17:36:41 -0800 Received: from genesis.atrad.adelaide.edu.au (genesis.atrad.adelaide.edu.au [129.127.96.120]) by freefall.freebsd.org (8.6.12/8.6.6) with ESMTP id RAA21769 for ; Sun, 29 Oct 1995 17:36:36 -0800 Received: from msmith@localhost by genesis.atrad.adelaide.edu.au (8.6.9/8.6.9) id MAA00303; Mon, 30 Oct 1995 12:00:50 +1030 From: Michael Smith Message-Id: <199510300130.MAA00303@genesis.atrad.adelaide.edu.au> Subject: Re: boot disk.... To: terry@lambert.org (Terry Lambert) Date: Mon, 30 Oct 1995 12:00:49 +1030 (CST) Cc: msmith@atrad.adelaide.edu.au, terry@lambert.org, lenzi@cwbone.bsi.com.br, hackers@FreeBSD.ORG In-Reply-To: <199510271832.LAA23625@phaeton.artisoft.com> from "Terry Lambert" at Oct 27, 95 11:32:28 am Content-Type: text Content-Length: 2966 Sender: owner-hackers@FreeBSD.ORG Precedence: bulk Terry Lambert stands accused of saying: > > Here are some scribbles wrt. what I'm trying to work out... > > > > Bootmanager (MBR) looks up first sector of FreeBSD slice. > > Have to assume (for now) that it knows how to reach beyond the 1024 cyl. > > mark. > > It doesn't. It can't. Then we're not going to get much further in support of big stupid disks. 8( > This is useless because the BSD BIOS-based second stage boot doesn't > know about non-standard-about-to-be-stomped-on-by-boot-selector-replacement > LBA-type addressing. It only knows about standard INT 21. Who's using 21 at the BIOS level? Confuse me if I'm wrong, but my recollection has 21 as the DOS entrypoint. > > Stage 1 boostrap (lives in first track(s) of FreeBSD slice) (code that > > currently gives the Boot: prompt) should search all FreeBSD slices > > and partitions looking for an 'a' filesystem containing a file called > > 'boot2' (or whatever - it's the stage 2 bootstrap code). > > This should be read in (version checks? checksums? fallbacks?) and called. > > (Still in real mode) > > This is the "boot program without the 8k limit" idea. This would in > fact be a third stage bootstrap. > > I find it really questionable that this much work would be put into > what is basically a kludge to get around the lack of firmware access > in the protected mode code. It's really a much less general soloution > than the implementation of a VM86() mode, considering there are three > working examples (1) Linux, (2) NetBSD, and (3) CMU Mach, on how to > implement a VM86() mode. It's more that this much work be put in to maintain compatability with the existing scheme. If I Were To Have My Way (tm), I'd have another partition in the FreeBSD slice for holding kernels and bootstrap tools, stuck at the front of the slice. (Reminiscent of the SVR4 /stand (?) concept). I can see right now the fracas this would cause 8( > I believe that we could benefit from discarding the segments containing > the code after boot (ie: code/data/boot code/boot data/etc.), but I > think doing the BIOS thing in a third stage boot is unnecessary. What I'm trying to do is come up with a semi-rational way of getting around the problems that we currently face with large IDE disks, and with the currently too-squashed bootstrap code. It's quite likely that I'm trying to hit too many things and consequently visualising too large a hammer. > That would make me a purist. 8-). You weren't aware of this? 8) > Not me, at least not right now. 8-(. Oh, you have a job too? 8) > Terry Lambert -- ]] Mike Smith, Software Engineer msmith@atrad.adelaide.edu.au [[ ]] Genesis Software genesis@atrad.adelaide.edu.au [[ ]] High-speed data acquisition and [[ ]] realtime instrument control (ph/fax) +61-8-267-3039 [[ ]] My car has "demand start" -Terry Lambert UNIX: live FreeBSD or die! [[