From owner-freebsd-current@FreeBSD.ORG Thu Aug 5 17:34:15 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 41A8E16A4CE for ; Thu, 5 Aug 2004 17:34:15 +0000 (GMT) Received: from mail.parodius.com (mail.parodius.com [64.62.145.229]) by mx1.FreeBSD.org (Postfix) with ESMTP id D549243D1D for ; Thu, 5 Aug 2004 17:34:14 +0000 (GMT) (envelope-from jdc@pentarou.parodius.com) Received: from pentarou.parodius.com (jdc@localhost [127.0.0.1]) by mail.parodius.com (8.12.11/8.12.11) with ESMTP id i75HYCa0083050 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Thu, 5 Aug 2004 10:34:12 -0700 (PDT) (envelope-from jdc@pentarou.parodius.com) Received: (from jdc@localhost) by pentarou.parodius.com (8.12.11/8.12.11/Submit) id i75HYCDG083049 for current@freebsd.org; Thu, 5 Aug 2004 10:34:12 -0700 (PDT) (envelope-from jdc) Date: Thu, 5 Aug 2004 10:34:12 -0700 From: Jeremy Chadwick To: FreeBSD Current List Message-ID: <20040805173412.GA82994@parodius.com> Mail-Followup-To: FreeBSD Current List References: <4109B4EF.605@samsco.org> <20040730152119.GA43119@freefall.freebsd.org> <20040805062728.GA58762@freefall.freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20040805062728.GA58762@freefall.freebsd.org> User-Agent: Mutt/1.5.6i Subject: Re: HEADS UP! boot2 problems X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 05 Aug 2004 17:34:15 -0000 All, This commit works great. I also tested boot0sio (just for fun), works fine as well. Greatly appreciated; and a big thanks to Matt Dillon (as usual). :-) -- | Jeremy Chadwick jdc at parodius.com | | Parodius Networking http://www.parodius.com/ | | UNIX Systems Administrator Mountain View, CA, USA | | Making life hard for others since 1977. | On Thu, Aug 05, 2004 at 06:27:28AM +0000, Alexander Kabaev wrote: > On Fri, Jul 30, 2004 at 03:21:19PM +0000, Alexander Kabaev wrote: > > On Thu, Jul 29, 2004 at 08:39:43PM -0600, Scott Long wrote: > > > All, > > > > > > The GCC 3.4 import seems to have broken the boot2 loader on at least > > > i386. This doesn't affect normal world and kernel builds and installs, > > > but does affect writing new bootblocks via the disklabel program. You > > > should refrain from doing this until it gets fixed. It's being looked > > > into right now. > > > > > > Scott > > > > Commit below made boot2 usable again. > > As suggested by Matt Dillon, the problems were caused by imcompletely > zeroed out BSS. I merged approproate fixes from DragonflyBSD in commit > below. Success/failure reports from people affected are appreciated. > > kann 2004-08-05 06:00:05 UTC > > FreeBSD src repository > > Modified files: > sys/boot/i386/boot2 boot1.S > sys/boot/i386/btx/lib btxcsu.s > Log: > Move boot2 BSS zeroing into btx startup code out of boot1. boot1 does not > have clear idea on boot2 BSS size and leaves portion of it not zeroed out. > btxcsu.s is in much better position for this job. > > Obtained from: DragonflyBSD (with minor adjustments) > > Revision Changes Path > 1.29 +0 -4 src/sys/boot/i386/boot2/boot1.S > 1.4 +9 -1 src/sys/boot/i386/btx/lib/btxcsu.s > > _______________________________________________ > freebsd-current@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"