From owner-freebsd-stable@FreeBSD.ORG Tue Jun 21 01:11:01 2011 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 275B5106566B; Tue, 21 Jun 2011 01:11:01 +0000 (UTC) (envelope-from lichray@gmail.com) Received: from mail-fx0-f54.google.com (mail-fx0-f54.google.com [209.85.161.54]) by mx1.freebsd.org (Postfix) with ESMTP id 796C28FC0C; Tue, 21 Jun 2011 01:11:00 +0000 (UTC) Received: by fxm11 with SMTP id 11so2691953fxm.13 for ; Mon, 20 Jun 2011 18:10:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=8LA8rtiMoB+2sS6H4dXanSDunyPTgB/+FsAJXURIYYo=; b=fy0FEt9cKrtMkqVX2kCUVzhJtU3SUo56TTjv9gbx/YRennIrbdphOusVmXCI4kR7WV HbB8THgqCBM37pfYhKPaLOA13YLh9CX3Xd9K8z+bh764MSCJjpQChtM9TXs+9oYz9ItT bK4pMleUwkajvX5Bpbl3/AbODdAGn1//VxN68= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=tnlefGti9EWGpz2ldQc5aLInVbHVJVSREzDb7SJx0JC8Qt8g4iZFp5Yyrr0YWVyF/c +2TwmHsemrknWPOnn5Ex08Xr8Yxpf6sF32ANUHRaimqWxWeHfcK9egHgl1ZZurFAuuZ0 IYo5o2lAzQ3HcDReiDLxYIDhoxhHO5DK+wf/U= MIME-Version: 1.0 Received: by 10.223.127.213 with SMTP id h21mr1276984fas.45.1308618659282; Mon, 20 Jun 2011 18:10:59 -0700 (PDT) Received: by 10.223.95.195 with HTTP; Mon, 20 Jun 2011 18:10:59 -0700 (PDT) In-Reply-To: References: <201106161335.46337.jhb@freebsd.org> <4DFB898E.4070202@restart.be> <201106171337.39104.jhb@freebsd.org> Date: Mon, 20 Jun 2011 20:10:59 -0500 Message-ID: From: Zhihao Yuan To: John Baldwin Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Cc: Henri Hennebert , freebsd-stable@freebsd.org Subject: Re: ZFS boot inside on the second partition inside a slice X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 21 Jun 2011 01:11:01 -0000 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 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 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/