From owner-cvs-all Wed Oct 9 12:52:51 2002 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 3CA9C37B401; Wed, 9 Oct 2002 12:52:50 -0700 (PDT) Received: from srv1.cosmo-project.de (srv1.cosmo-project.de [213.83.6.106]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5758B43E65; Wed, 9 Oct 2002 12:52:48 -0700 (PDT) (envelope-from ticso@cicely8.cicely.de) Received: from cicely5.cicely.de (cicely5.cicely.de [IPv6:3ffe:400:8d0:301:200:92ff:fe9b:20e7]) by srv1.cosmo-project.de (8.12.5/8.12.5) with ESMTP id g99Jqc6K025439 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=OK); Wed, 9 Oct 2002 21:52:40 +0200 (CEST) (envelope-from ticso@cicely8.cicely.de) Received: from cicely8.cicely.de (cicely8.cicely.de [10.1.1.10]) by cicely5.cicely.de (8.12.6/8.12.6) with ESMTP id g99JqagK059993 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=NO); Wed, 9 Oct 2002 21:52:37 +0200 (CEST) (envelope-from ticso@cicely8.cicely.de) Received: from cicely8.cicely.de (localhost [127.0.0.1]) by cicely8.cicely.de (8.12.6/8.12.6) with ESMTP id g99Jqalv021221; Wed, 9 Oct 2002 21:52:36 +0200 (CEST) (envelope-from ticso@cicely8.cicely.de) Received: (from ticso@localhost) by cicely8.cicely.de (8.12.6/8.12.6/Submit) id g99JqZo2021220; Wed, 9 Oct 2002 21:52:35 +0200 (CEST) Date: Wed, 9 Oct 2002 21:52:34 +0200 From: Bernd Walter To: Poul-Henning Kamp Cc: ticso@cicely.de, cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sys/boot/common ufsread.c Message-ID: <20021009195233.GQ17920@cicely8.cicely.de> Reply-To: ticso@cicely.de References: <20021009174457.GP17920@cicely8.cicely.de> <11046.1034186034@critter.freebsd.dk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <11046.1034186034@critter.freebsd.dk> X-Operating-System: FreeBSD cicely8.cicely.de 5.0-CURRENT i386 User-Agent: Mutt/1.5.1i Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Wed, Oct 09, 2002 at 07:53:54PM +0200, Poul-Henning Kamp wrote: > In message <20021009174457.GP17920@cicely8.cicely.de>, Bernd Walter writes: > >On Tue, Oct 08, 2002 at 08:46:45AM -0700, Poul-Henning Kamp wrote: > >> phk 2002/10/08 08:46:45 PDT > >> > >> Modified files: > >> sys/boot/common ufsread.c > >> Log: > >> It seems that the only problem with UFS2 booting on i386 is the 64bit > >> divide/remainder calls. For reasons not resolved, compiling the > >> relevant routines from libkern into boot2 results in stack corruption. > >> > >> Do the simple thing: Don't use 64bit divide/remainder operations. > >> > >> Sponsored by: DARPA & NAI Labs > > > >Are there any known show stoppers to try booting an UFS2 partition > >on alpha? > > Not that I know of. I don't know how the bootcode arrangement is > on alpha, much less what size the UFS2 code results in. I pressume > you could give your 'a' partition a start of something like 64k if > it larger than the default space, whatever that is. The original UFS1+2 boot code did boot UFS1. If it's not much bigger than before it should still fit. I'll have to do a buildworld before I can try to boot an UFS2 partition and recheck that it still boots an UFS1 partition. -- B.Walter COSMO-Project http://www.cosmo-project.de ticso@cicely.de Usergroup info@cosmo-project.de To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message