Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 16 Jun 2011 14:07:57 -0500
From:      Zhihao Yuan <lichray@gmail.com>
To:        John Baldwin <jhb@freebsd.org>
Cc:        Henri Hennebert <hlh@restart.be>, freebsd-stable@freebsd.org
Subject:   Re: ZFS boot inside on the second partition inside a slice
Message-ID:  <BANLkTikcjeXwxNcTQ6iB6X9EhpmH2wx-Kw@mail.gmail.com>
In-Reply-To: <201106161335.46337.jhb@freebsd.org>
References:  <BANLkTi=drd8vY84_4jqDZTFK%2Bsq=n0Kx9g@mail.gmail.com> <4DF9F8CE.4020409@restart.be> <BANLkTimskJPk3%2BBAdQo59UHEDp=K4U%2BtMw@mail.gmail.com> <201106161335.46337.jhb@freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help

I wish I can get a binary version... Because I have no working FreeBSD
box now....

On Thu, Jun 16, 2011 at 12:35 PM, John Baldwin <jhb@freebsd.org> wrote:
> On Thursday, June 16, 2011 8:45:41 am Zhihao Yuan wrote:
>> Exactly. The MFCed ZFSv28 is different from any patch maintained by
>> mm@. Maybe some untested changes involved.
>
> Can you try reverting this change:
>
> Author: jhb
> Date: Thu Apr 28 17:44:24 2011
> New Revision: 221177
> URL: http://svn.freebsd.org/changeset/base/221177
>
> Log:
>  Due to space constraints, the UFS boot2 and boot1 use an evil hack where
>  boot2 calls back into boot1 to perform disk reads.  The ZFS MBR boot blocks
>  do not have the same space constraints, so remove this hack for ZFS.
>  While here, remove commented out code to support C/H/S addressing from
>  zfsldr.  The ZFS and GPT bootstraps always just use EDD LBA addressing.
>
>  MFC after:    2 weeks
>
> Modified:
>  head/sys/boot/i386/boot2/Makefile
>  head/sys/boot/i386/common/drv.c
>  head/sys/boot/i386/zfsboot/Makefile
>  head/sys/boot/i386/zfsboot/zfsldr.S
>
> --
> John Baldwin
>



-- 
Zhihao Yuan, nickname lichray
The best way to predict the future is to invent it.
___________________________________________________
4BSD -- http://4bsd.biz/



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