From owner-freebsd-current@FreeBSD.ORG Thu Feb 25 03:12:38 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 E0730106566B for ; Thu, 25 Feb 2010 03:12:37 +0000 (UTC) (envelope-from behrnetworks@gmail.com) Received: from mail-bw0-f216.google.com (mail-bw0-f216.google.com [209.85.218.216]) by mx1.freebsd.org (Postfix) with ESMTP id 405578FC14 for ; Thu, 25 Feb 2010 03:12:36 +0000 (UTC) Received: by bwz8 with SMTP id 8so409734bwz.3 for ; Wed, 24 Feb 2010 19:12:31 -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 :content-transfer-encoding; bh=02qiaZJ0bH41ItumKeG/ajNFYaH+w7SieKYEPTXV0ac=; b=BWtaHq+MmzWgebaSKiKk+VGq1i2k1OTMOk2wthUVk7W9N9xcDJfMkU/dJL7JsX8QMo E5Ebia0EoRlNPqnNIOULIc60TM+XVm5Os+xtPv6UhpKJMfN8ieZwFgSeq0r7soWimFbR wKCzME8AtSHn4+nJrNPPUECW2CD+RaImv2abA= 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=ALy1WGPGQa4uA6NsRxiYshfVf+H8Rm4jlJ6eU8/9L6dPpwmNzFtSqV0eLop/IjmUz9 vwyqdLZ1DRlsNMA4yeElo7QZdcfcf/lhNbwnihmHDBZ7VwdkkYMGtQ1BZffzg21GDfji kYMsSQeNZqb/0zt2q1mYiI7jxG6SIbscnbUDE= MIME-Version: 1.0 Received: by 10.204.38.71 with SMTP id a7mr368084bke.159.1267067545428; Wed, 24 Feb 2010 19:12:25 -0800 (PST) In-Reply-To: References: <64aa03031002161803h667734cal4d668b9eb9c0a1a8@mail.gmail.com> <64aa03031002181921m2d00966cx6a3bb2c6e761970d@mail.gmail.com> <64aa03031002181938rb9355a3sae56e9d854bdcf78@mail.gmail.com> <201002231120.54401.jhb@freebsd.org> Date: Wed, 24 Feb 2010 22:12:25 -0500 Message-ID: <64aa03031002241912t396b3001ub89fec82a020f891@mail.gmail.com> From: Chris To: Matt Reimer Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: Scot Hetzel , freebsd-current@freebsd.org, Pegasus Mc Cleaft 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, 25 Feb 2010 03:12:38 -0000 So it sounds like somehow my system is trying to use the old boot2 method when I don't hit F12. I'm guessing the difference is due to how the hard drive is getting presented to the boot loader by the BIOS. How can I get rid of the legacy boot system and use only the ZFS bootloader? On Tue, Feb 23, 2010 at 1:03 PM, Matt Reimer wrote: > On Tue, Feb 23, 2010 at 8:20 AM, John Baldwin wrote: >> >> On Thursday 18 February 2010 10:38:38 pm Chris wrote: >> > > I'm seeing some difference in the bootloader output between using th= e >> > > F12 workaround or not: >> > > >> > > F12 workaround mode: >> > > >> > > FreeBSD/i386 boot >> > > Default: zroot:/boot/zfsloader >> > > boot: status >> > > config: >> > > >> > > =A0 =A0 =A0 =A0 =A0 =A0 NAME =A0 =A0 STATE >> > > =A0 =A0 =A0 =A0 =A0 =A0 zroot =A0 =A0ONLINE >> > > =A0 =A0 =A0 =A0gpt/disk0 =A0 ONLINE >> > > >> > > >> > > No F12 key pressed: >> > > >> > > FreeBSD/i386 boot >> > > Default: zroot:/boot/kernel/kernel >> > > config: >> > > >> > > =A0 =A0 =A0 =A0 =A0 =A0 =A0NAME =A0 =A0 STATE >> > > =A0 =A0 =A0 =A0 =A0 =A0 =A0 zroot =A0 =A0ONLINE >> > > =A0 =A0 =A0 =A0 =A0gpt/disk0 =A0 ONLINE >> > > >> > > >> > > What's up with the differences between the Default boot setting? >> > > >> > >> > Sorry for the spam but I'm seeing something else very interesting.... >> > If I boot to Good Mode (F12) and break to the "boot:" prompt, the >> > system boots if I type /boot/zfsloader. However, if I type >> > /boot/kernel/kernel (as was seen in the Default setting when I didn't >> > hit F12), =A0I get a crash that looks like the following: >> > ----------------------------------------- >> > FreeBSD/i386 boot >> > Default: zroot:/boot/zfsloader >> > boot: /boot/kernel/kernel >> > int=3D00000006 =A0 =A0err=3D00000000 =A0efl=3D00010882 =A0eip=3D002000= 00 >> > eax=3D0018b070 =A0ebx=3Ded7706bd ecx=3Dc72e2ca8 edx=3D00000000 >> > esi=3D00000040 =A0 edi=3D000929d0 =A0ebp=3D0009279c esp=3D00009401 >> > cs=3D0008 =A0ds=3D0010 =A0 es=3D0010 =A0fs=3D0010 =A0gs=3D0010 =A0ss= =3D0010 >> > cs:eip=3Dff ff ff ff ff ff ff ff 7f-00 00 00 00 00 00 00 00 >> > =A0 =A0 =A0 =A0 =A0 =A000 00 00 00 00 00 00 00-00 00 00 00 00 00 00 00 >> > ss:esp=3D36 80 0d 07 90 00 00 01-e9 c4 fc ff ff aa ac 84 >> > =A0 =A0 =A0 =A0 =A0 =A0 =A0c0 0f 84 86 00 00 00 a8-80 74 f2 88 c5 b0 3= d aa >> > BTX halted >> > ----------------------------------------- >> >> I'm not sure how well we support booting a kernel from boot2 anymore, mu= ch >> less from zfsboot. =A0Using /boot/loader (or /boot/zfsloader) is probabl= y >> the >> only tested (and realistically supported) case. > > Yeah, the last time I tried this it didn't work, but I didn't hunt down w= hy. > Matt >> >> >