From owner-cvs-all Wed Oct 9 10:54: 8 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 E2B1937B401; Wed, 9 Oct 2002 10:54:06 -0700 (PDT) Received: from critter.freebsd.dk (critter.freebsd.dk [212.242.86.163]) by mx1.FreeBSD.org (Postfix) with ESMTP id 20B7643E4A; Wed, 9 Oct 2002 10:54:06 -0700 (PDT) (envelope-from phk@critter.freebsd.dk) Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.12.6/8.12.6) with ESMTP id g99HrspS011047; Wed, 9 Oct 2002 19:53:54 +0200 (CEST) (envelope-from phk@critter.freebsd.dk) To: ticso@cicely.de Cc: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sys/boot/common ufsread.c In-Reply-To: Your message of "Wed, 09 Oct 2002 19:44:58 +0200." <20021009174457.GP17920@cicely8.cicely.de> Date: Wed, 09 Oct 2002 19:53:54 +0200 Message-ID: <11046.1034186034@critter.freebsd.dk> From: Poul-Henning Kamp 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 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. I'm very interested in people with access to hardware to work on this... -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 phk@FreeBSD.ORG | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can adequately be explained by incompetence. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message