From owner-freebsd-stable@FreeBSD.ORG Thu Jun 16 19:07:59 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 8C0E51065725 for ; Thu, 16 Jun 2011 19:07:59 +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 1DA248FC15 for ; Thu, 16 Jun 2011 19:07:58 +0000 (UTC) Received: by fxm11 with SMTP id 11so1924708fxm.13 for ; Thu, 16 Jun 2011 12:07:57 -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=ic/8QG36h7PR7D86NSUo5swv+xrRhe+wfFZO0W9+l3s=; b=yBXmtWdUqAxFQWv5buOCSLbj6VkHO2HEuZBkhUyW7tjQHW0cpBCtQEN+PpyJLWs4ch 2xbD/DfQNWESbFnwiPb9zdsFvMvzlAtJVC94jEHqELIV7w9V/eI7sVeEyJCUH8HEGmUg d/ghG+2TWcrhEhtBYlmuucgEUBWBHL+NWOavI= 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=TjcqWjlHa2rnq9pzTETkMxmpWN1Ix0Wtd0erktofNspXAybwx/9JCUyc3RDhFMOaNb Nt67emchfQoZGQSXDYQkxaTW2IiV9fBiylUy8hFKHmHiaXf+wc2T+1O+Z0dSUeduvPhd VEh8szeolm4BmtzRiAOqmDdgf2SLg9dDU2VZA= MIME-Version: 1.0 Received: by 10.223.127.213 with SMTP id h21mr1551766fas.45.1308251277549; Thu, 16 Jun 2011 12:07:57 -0700 (PDT) Received: by 10.223.95.195 with HTTP; Thu, 16 Jun 2011 12:07:57 -0700 (PDT) In-Reply-To: <201106161335.46337.jhb@freebsd.org> References: <4DF9F8CE.4020409@restart.be> <201106161335.46337.jhb@freebsd.org> Date: Thu, 16 Jun 2011 14:07:57 -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: Thu, 16 Jun 2011 19:07:59 -0000 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 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=A0Due to space constraints, the UFS boot2 and boot1 use an evil hack = where > =C2=A0boot2 calls back into boot1 to perform disk reads. =C2=A0The ZFS MB= R boot blocks > =C2=A0do not have the same space constraints, so remove this hack for ZFS= . > =C2=A0While here, remove commented out code to support C/H/S addressing f= rom > =C2=A0zfsldr. =C2=A0The ZFS and GPT bootstraps always just use EDD LBA ad= dressing. > > =C2=A0MFC after: =C2=A0 =C2=A02 weeks > > Modified: > =C2=A0head/sys/boot/i386/boot2/Makefile > =C2=A0head/sys/boot/i386/common/drv.c > =C2=A0head/sys/boot/i386/zfsboot/Makefile > =C2=A0head/sys/boot/i386/zfsboot/zfsldr.S > > -- > John Baldwin > --=20 Zhihao Yuan, nickname lichray The best way to predict the future is to invent it. ___________________________________________________ 4BSD -- http://4bsd.biz/