From owner-freebsd-stable@FreeBSD.ORG Fri Jun 17 17:06:26 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 91FDC1065675; Fri, 17 Jun 2011 17:06:26 +0000 (UTC) (envelope-from hlh@restart.be) Received: from tignes.restart.be (tignes.restart.be [IPv6:2001:41d0:2:56bf:0:1::]) by mx1.freebsd.org (Postfix) with ESMTP id 188158FC13; Fri, 17 Jun 2011 17:06:26 +0000 (UTC) Received: from restart.be (avoriaz.tunnel.bel [IPv6:2001:41d0:2:56bf:1:ffff::]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "smtp.restart.be", Issuer "CA master" (verified OK)) by tignes.restart.be (Postfix) with ESMTPS id 2CD2C14D5A; Fri, 17 Jun 2011 19:06:25 +0200 (CEST) Received: from meribel.restart.bel (meribel.restart.bel [IPv6:2001:41d0:2:56bf:1:8::]) (authenticated bits=0) by restart.be (8.14.5/8.14.5) with ESMTP id p5HH6M5D091237 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=OK); Fri, 17 Jun 2011 19:06:24 +0200 (CEST) (envelope-from hlh@restart.be) X-DKIM: Sendmail DKIM Filter v2.8.3 restart.be p5HH6M5D091237 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=restart.be; s=avoriaz; t=1308330384; bh=iZw1TT1J1NBigyThhYV9exZ6Zj2Yv56RpsNIVqyRQrk=; h=Message-ID:Date:From:MIME-Version:To:CC:Subject:References: In-Reply-To:Content-Type:Content-Transfer-Encoding; b=a0qc+OFIbqkg4S1efQlP8bZC04IWZMtdQRvYLABPTy6/76A6vcH16JUGPNnOH+vOX ABQpFPt9rp35Jk7faNmCA== X-DomainKeys: Sendmail DomainKeys Filter v1.0.2 restart.be p5HH6M5D091237 DomainKey-Signature: a=rsa-sha1; s=avoriaz; d=restart.be; c=nofws; q=dns; h=message-id:date:from:user-agent:mime-version:to:cc:subject: references:in-reply-to:x-enigmail-version:openpgp:content-type:content-transfer-encoding; b=BkZ3oXo81dg13hTG3SsTva7u8IPrnIstmjPMELfh8iD2TmTMJKvLOB/Qr854wUoiG OCJLmmaQ9gmgh1iIlsz8g== Message-ID: <4DFB898E.4070202@restart.be> Date: Fri, 17 Jun 2011 19:06:22 +0200 From: Henri Hennebert User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.9.2.17) Gecko/20110430 Thunderbird/3.1.10 MIME-Version: 1.0 To: John Baldwin References: <4DF9F8CE.4020409@restart.be> <201106161335.46337.jhb@freebsd.org> In-Reply-To: <201106161335.46337.jhb@freebsd.org> X-Enigmail-Version: 1.1.2 OpenPGP: id=D351A503 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Cc: 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: Fri, 17 Jun 2011 17:06:26 -0000 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: > 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 > I try with this revision (221177) reverted to no avail: same error - 'read error' Henri