From owner-cvs-all@FreeBSD.ORG Mon Dec 6 12:08:18 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 A868B16A4CE; Mon, 6 Dec 2004 12:08:18 +0000 (GMT) Received: from comp.chem.msu.su (comp.chem.msu.su [158.250.32.97]) by mx1.FreeBSD.org (Postfix) with ESMTP id AFD7943D5C; Mon, 6 Dec 2004 12:08:15 +0000 (GMT) (envelope-from yar@comp.chem.msu.su) Received: from comp.chem.msu.su (localhost [127.0.0.1]) by comp.chem.msu.su (8.12.9p2/8.12.9) with ESMTP id iB6C8A9d028560; Mon, 6 Dec 2004 15:08:10 +0300 (MSK) (envelope-from yar@comp.chem.msu.su) Received: (from yar@localhost) by comp.chem.msu.su (8.12.9p2/8.12.9/Submit) id iB6C86Pj028555; Mon, 6 Dec 2004 15:08:06 +0300 (MSK) (envelope-from yar) Date: Mon, 6 Dec 2004 15:08:05 +0300 From: Yar Tikhiy To: Peter Wemm Message-ID: <20041206120805.GB25110@comp.chem.msu.su> References: <200412021901.iB2J1kMr097197@repoman.freebsd.org> <200412041329.37673.peter@wemm.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200412041329.37673.peter@wemm.org> User-Agent: Mutt/1.5.6i cc: cvs-src@freebsd.org cc: src-committers@freebsd.org cc: cvs-all@freebsd.org Subject: Re: cvs commit: src/sys/boot/i386/mbr Makefile mbr.s src/sys/boot/i386/boot2 Makefile boot1.S 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: Mon, 06 Dec 2004 12:08:18 -0000 On Sat, Dec 04, 2004 at 01:29:37PM -0800, Peter Wemm wrote: > On Thursday 02 December 2004 11:01 am, Yar Tikhiy wrote: > > yar 2004-12-02 19:01:46 UTC > > > > FreeBSD src repository > > > > Modified files: (Branch: RELENG_5) > > sys/boot/i386/mbr Makefile mbr.s > > sys/boot/i386/boot2 Makefile boot1.S > > Log: > > MFC: Try using packet mode by default, but provide a user > > with a knob to disable it at build time--flag 0x80 for > > BOOT_MBR_FLAGS and BOOT_BOOT1_FLAGS. In fact, disabling > > packet mode completely, even a test for it, should be > > necessary only for old and brain-damaged machines FreeBSD 5 > > will hardly run on. > > BTW: I tried to install 5.3-R on an empty 160G disk. I created a single > 16G swap and the rest was a single fs (it was a test box). boot2 could > not find the loader. > > Is this the same problem that you've fixed, or is this something else? At least, it is likely to be that kind of a problem, as long as the boot2 code uses a disk read subroutine from boot1. Could you show the BIOS disk geometry on that machine? > Maybe having the rootfs start 16GB into the disk is a bad idea? With a modern BIOS and bug-free loader, it shouldn't be a bad idea. The EDD interface to the disk BIOS (also known as packet mode) uses 64-bit block addressing, thus allowing for fabulous disk sizes, so the closest limit is that of the PC partition table, 2TB. -- Yar