From owner-freebsd-current@FreeBSD.ORG Sat Jun 27 17:16:03 2009 Return-Path: Delivered-To: freebsd-current@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3AC121065670 for ; Sat, 27 Jun 2009 17:16:03 +0000 (UTC) (envelope-from jonathan@kc8onw.net) Received: from vps.kc8onw.net (kc8onw.net [69.31.85.203]) by mx1.freebsd.org (Postfix) with ESMTP id F25858FC0A for ; Sat, 27 Jun 2009 17:16:02 +0000 (UTC) (envelope-from jonathan@kc8onw.net) Received: from [10.70.3.197] (in-67-236-240-112.dhcp.embarqhsd.net [67.236.240.112]) by vps.kc8onw.net (Postfix) with ESMTPSA id 0248F17031; Sat, 27 Jun 2009 13:16:01 -0400 (EDT) Message-ID: <4A4653C7.8050705@kc8onw.net> Date: Sat, 27 Jun 2009 13:15:51 -0400 From: Jonathan User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9.1b3pre) Gecko/20090223 Thunderbird/3.0b2 MIME-Version: 1.0 To: Norikatsu Shigemura References: <4A44427E.3040309@kc8onw.net> <20090627134926.c6267822.nork@FreeBSD.org> In-Reply-To: <20090627134926.c6267822.nork@FreeBSD.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-current@FreeBSD.org Subject: Re: GPT boot with ZFS RAIDZ "ZFS: i/o error - all block copies unavailable" X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 27 Jun 2009 17:16:03 -0000 On 6/27/2009 12:49 AM, Norikatsu Shigemura wrote: > Hi Jonathan. > > On Thu, 25 Jun 2009 23:37:34 -0400 > Jonathan wrote: >> I currently seem to be having 2 issues. One is that I get several >> screenfulls of "error 1 lba xxx" with numbers like 4292179434 and >> 4292179446. Similar errors were reported here >> http://lists.freebsd.org/pipermail/freebsd-fs/2008-December/005511.html >> but I did not find anything in that thread that worked for me. The >> error message itself comes from here >> http://svn.freebsd.org/viewvc/base/head/sys/boot/i386/gptboot/gptboot.c?revision=181436&view=markup > > I don't have any idea. > >> The loader then proceeds to load the kernel, opensolaris, and zfs >> modules. Right before the displaying the loader menu it shows the >> message "ZFS: i/o error - all block copies unavailable" which comes from >> here >> http://svn.freebsd.org/viewvc/base/head/sys/boot/zfs/zfsimpl.c?revision=192194&view=markup > > I confirmed this issue on my environment. I was analyzing it. > So I understood that gptzfsboot/loader doesn't support gang > block. As the result, gptzfsboot doesn't read gang-blocked > loader or kernel, loader doesn't read gang-blocked kernel or > modules by "ZFS: i/o error - all block copies unavailable". > > I'm trying to implement gang-block support, but I done checksum > code. I'm trying to implement 'read gang block' code. But I > cannot find 'read gang block' code on zfs, yet. So now analyzing > phase.... I tried your patch (it needed a few tweaks to make it compile) but I still have the same errors as before. Jonathan