From owner-freebsd-stable@FreeBSD.ORG Fri Jun 17 18:26:22 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 DF71C106566B for ; Fri, 17 Jun 2011 18:26:22 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from cyrus.watson.org (cyrus.watson.org [65.122.17.42]) by mx1.freebsd.org (Postfix) with ESMTP id B66858FC0C for ; Fri, 17 Jun 2011 18:26:22 +0000 (UTC) Received: from bigwig.baldwin.cx (66.111.2.69.static.nyinternet.net [66.111.2.69]) by cyrus.watson.org (Postfix) with ESMTPSA id 559B546B24; Fri, 17 Jun 2011 14:26:22 -0400 (EDT) Received: from jhbbsd.localnet (unknown [209.249.190.124]) by bigwig.baldwin.cx (Postfix) with ESMTPSA id E06298A01F; Fri, 17 Jun 2011 14:26:21 -0400 (EDT) From: John Baldwin To: Henri Hennebert Date: Fri, 17 Jun 2011 13:37:38 -0400 User-Agent: KMail/1.13.5 (FreeBSD/8.2-CBSD-20110325; KDE/4.5.5; amd64; ; ) References: <201106161335.46337.jhb@freebsd.org> <4DFB898E.4070202@restart.be> In-Reply-To: <4DFB898E.4070202@restart.be> MIME-Version: 1.0 Content-Type: Text/Plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <201106171337.39104.jhb@freebsd.org> X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.2.6 (bigwig.baldwin.cx); Fri, 17 Jun 2011 14:26:22 -0400 (EDT) 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 18:26:23 -0000 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: > > 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' Hmm, ok. No other ideas off the top of my head. -- John Baldwin