From owner-freebsd-current@FreeBSD.ORG Thu Feb 18 06:26:58 2010 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 B39941065670 for ; Thu, 18 Feb 2010 06:26:58 +0000 (UTC) (envelope-from mattjreimer@gmail.com) Received: from mail-yx0-f171.google.com (mail-yx0-f171.google.com [209.85.210.171]) by mx1.freebsd.org (Postfix) with ESMTP id 687288FC16 for ; Thu, 18 Feb 2010 06:26:58 +0000 (UTC) Received: by yxe1 with SMTP id 1so459726yxe.3 for ; Wed, 17 Feb 2010 22:26:57 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type; bh=PWJwMNc0NTZfX8JGI/R6Vrio2Ma0SDX+UFFa1e2Xh4I=; b=d/XESb95ifCo1YdrvsldzOVPEcYowaBZGHuJYIZB+sI68oqRmzClrLrkyRuCp260K8 8lY03j2w/Jql6OMDw6kK4p5ghmk7doxvHT5gk2JDhlpAlZQK0nGy1xtSEgappoGkXhLy nW4/EJE05A3bsfz75OhnXLyWelxM9CYUun5Uo= 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; b=xQfDO4F89Kz5hDLFaW4ceAXMidHLMOdN968ztH4RT2jTq8DHD2xMYzSej25qZRIS7q 6uYI2RIXFectl0q199oP1hjDu5SzbuD4eUg0l3GvVUdRMX/lAO6J/5jHkWSIe64YoWl+ 5rScrlFhzslWEQITTJvsWd76sBLHuxXEJYxI8= MIME-Version: 1.0 Received: by 10.151.131.8 with SMTP id i8mr5201054ybn.338.1266474417822; Wed, 17 Feb 2010 22:26:57 -0800 (PST) In-Reply-To: <64aa03031002171949gdfbd99ci8eab7f29399cc011@mail.gmail.com> References: <64aa03031002161803h667734cal4d668b9eb9c0a1a8@mail.gmail.com> <790a9fff1002161842g17de8ecfvf2cfa8c77f03c32@mail.gmail.com> <64aa03031002161849s7b66b9e3l727aafd2afd3d596@mail.gmail.com> <201002171840.41088.ken@mthelicon.com> <790a9fff1002171303u4b40a90cr626ef856efee473b@mail.gmail.com> <64aa03031002171416s128ff196y92a5be5a6abadeb@mail.gmail.com> <64aa03031002171949gdfbd99ci8eab7f29399cc011@mail.gmail.com> Date: Wed, 17 Feb 2010 22:26:57 -0800 Message-ID: From: Matt Reimer To: Chris Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Scot Hetzel , Pegasus Mc Cleaft , freebsd-current@freebsd.org Subject: Re: Seeing the dreaded "ZFS: i/o error - all block copies unavailable" on 9.0-CURRENT 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: Thu, 18 Feb 2010 06:26:58 -0000 On Wed, Feb 17, 2010 at 7:49 PM, Chris wrote: > As a follow-up to this, I rebuilt world and kernel and updated my > system to the latest 8.0-STABLE. I'm still seeing the problem and I > can still get around it by choosing my hard drive from the F12 boot > menu. I did notice that the bootloader now says it's ZFS enabled > whereas it didn't while on 8.0-RELEASE. I also updated the bootcode > with: "gpart bootcode -b /boot/pmbr -p /boot/gptzfsboot -i 1 adX" > after installing world. No help there. > > It seems to me that there's a difference in the way the ZFS-enabled > bootloader sees the drives that the BIOS reports as opposed to the > non-ZFS-enabled bootloader. Anyone have any ideas on that? I checked > for any BIOS updates but it looks like I'm current. It sure would be > nice to not have to select my hard drive each time. > Can you paste the exact error? Are you getting something like: error 1: lba 32 error 1: lba 1 When I've seen the above sequence, it was due to a stack overflow (IIRC), with the result that the loader would start a second time and barf out these errors. The "large number" in the error might give us a clue as to what's going on. If the number is really large, it might be an indication that your BIOS doesn't reliably read past a certain threshold. ZFS writes a sort of label at the beginning and end of its drives; perhaps the loader is trying to read the label at the end of the disk and is failing (I don't recall whether it tries to read both labels). Matt