From owner-cvs-all@FreeBSD.ORG Tue Mar 30 20:29:39 2004 Return-Path: Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 050DD16A4CE; Tue, 30 Mar 2004 20:29:39 -0800 (PST) Received: from mailout1.pacific.net.au (mailout1.pacific.net.au [61.8.0.84]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3AF6243D45; Tue, 30 Mar 2004 20:29:38 -0800 (PST) (envelope-from bde@zeta.org.au) Received: from mailproxy2.pacific.net.au (mailproxy2.pacific.net.au [61.8.0.87])i2V4TT4u007511; Wed, 31 Mar 2004 14:29:29 +1000 Received: from gamplex.bde.org (katana.zip.com.au [61.8.7.246]) i2V4TPsg009201; Wed, 31 Mar 2004 14:29:26 +1000 Date: Wed, 31 Mar 2004 14:29:24 +1000 (EST) From: Bruce Evans X-X-Sender: bde@gamplex.bde.org To: Bruce M Simpson In-Reply-To: <20040331030428.GI756@empiric.dek.spc.org> Message-ID: <20040331142321.I768@gamplex.bde.org> References: <200403261846.i2QIkVuT063179@repoman.freebsd.org> <200403261706.46836.jhb@FreeBSD.org> <20040326223518.GA78950@dragon.nuxi.com> <4064ED3E.4000407@freebsd.org> <20040327063641.GA85117@dragon.nuxi.com> <20040327071459.GA98009@FreeBSD.org> <20040327072259.GA85580@dragon.nuxi.com> <20040331020010.GA53349@dragon.nuxi.com> <20040331030428.GI756@empiric.dek.spc.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: src-committers@FreeBSD.org cc: John Baldwin cc: juli mallett cc: cvs-src@FreeBSD.org cc: Scott Long cc: David O'Brien cc: cvs-all@FreeBSD.org cc: Dag-Erling Sm?rgrav Subject: Re: cvs commit: src/sys/boot/i386/boot0 boot0ext.s src/sys/boot/i386/boot0ext Makefile X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 31 Mar 2004 04:29:39 -0000 On Wed, 31 Mar 2004, Bruce M Simpson wrote: > On Tue, Mar 30, 2004 at 06:00:10PM -0800, David O'Brien wrote: > > > > Sorry, but I'd like to have a useful boot0 -- one that tells me my > > > > partition is something other than "???". That can't be done with a > > > > 1-sector boot0. > > > > > > Are you sure that the bug you're seeing isn't the one that was fixed > > > by this commit: > > > > 99% sure. Our boot0 doesn't understand all possbile MS partition types. > > I recognised this and was the one who put David up to this. :-) > > Other things, such as grokking EMBRs to allow boot from extended partitions, > or support for serial console other than COM1, can't be done in the 512-byte > space we currently have. > > But because of system incompatibilities, I would emphasize boot0ext remain > purely optional; and added to son-of-sysinstall with the relevant warnings. No; neither boot0ext nor boot0sio should exist. boot0 should just load the next stage, which may or may not consist if a single 512-byte sector in the sector following boot0. The problems are to allocate space for the next stage and find this space in boot0. boot0ext only works if the next sector is free and will remain free. Bruce