Date: Mon, 20 Jun 2011 20:10:59 -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: <BANLkTi=-h6Wo=bj1kKVb2geLTehn2WEGyg@mail.gmail.com> In-Reply-To: <BANLkTi=ddTFO8p0K5UOD7fYtqSjNE-VSEA@mail.gmail.com> References: <BANLkTi=drd8vY84_4jqDZTFK%2Bsq=n0Kx9g@mail.gmail.com> <201106161335.46337.jhb@freebsd.org> <4DFB898E.4070202@restart.be> <201106171337.39104.jhb@freebsd.org> <BANLkTi=ddTFO8p0K5UOD7fYtqSjNE-VSEA@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
I finally redo everything with GPT-based solution. At the same time, I found a problem with zpool.cache and I fixed with: http://forums.freebsd.org/showthread.php?t=3D4185 zpool.cache will be changed after you exported the zpool... Anyway, now I'm OK with my freebsd-only box, again. On Fri, Jun 17, 2011 at 9:18 PM, Zhihao Yuan <lichray@gmail.com> wrote: > If this problem can not be solved, I probably have to redo everything > to use GPT-based solution and lose my Windows............. > > On Fri, Jun 17, 2011 at 12:37 PM, John Baldwin <jhb@freebsd.org> wrote: >> On Friday, June 17, 2011 1:06:22 pm Henri Hennebert wrote: >>> On 06/16/2011 19:35, John Baldwin 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: >>> > =C2=A0 Due to space constraints, the UFS boot2 and boot1 use an evil = hack where >>> > =C2=A0 boot2 calls back into boot1 to perform disk reads. =C2=A0The Z= FS MBR boot blocks >>> > =C2=A0 do not have the same space constraints, so remove this hack fo= r ZFS. >>> > =C2=A0 While here, remove commented out code to support C/H/S address= ing from >>> > =C2=A0 zfsldr. =C2=A0The ZFS and GPT bootstraps always just use EDD L= BA addressing. >>> > >>> > =C2=A0 MFC after: =C2=A0 =C2=A02 weeks >>> > >>> > Modified: >>> > =C2=A0 head/sys/boot/i386/boot2/Makefile >>> > =C2=A0 head/sys/boot/i386/common/drv.c >>> > =C2=A0 head/sys/boot/i386/zfsboot/Makefile >>> > =C2=A0 head/sys/boot/i386/zfsboot/zfsldr.S >>> > >>> I try with this revision (221177) reverted to no avail: >>> same error - 'read error' >> >> Hmm, ok. =C2=A0No other ideas off the top of my head. >> >> -- >> John Baldwin >> > > > > -- > Zhihao Yuan, nickname lichray > The best way to predict the future is to invent it. > ___________________________________________________ > 4BSD -- http://4bsd.biz/ > --=20 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?BANLkTi=-h6Wo=bj1kKVb2geLTehn2WEGyg>