Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 9 Oct 2002 21:52:34 +0200
From:      Bernd Walter <ticso@cicely8.cicely.de>
To:        Poul-Henning Kamp <phk@critter.freebsd.dk>
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>
In-Reply-To: <11046.1034186034@critter.freebsd.dk>
References:  <20021009174457.GP17920@cicely8.cicely.de> <11046.1034186034@critter.freebsd.dk>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20021009195233.GQ17920>