From owner-freebsd-stable@FreeBSD.ORG Wed Oct 1 14:26:03 2014 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 6ABDBC00 for ; Wed, 1 Oct 2014 14:26:03 +0000 (UTC) Received: from hydra.pix.net (hydra.pix.net [IPv6:2001:470:e254::4]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 45DC8E09 for ; Wed, 1 Oct 2014 14:26:03 +0000 (UTC) Received: from torb.pix.net (torb.pix.net [IPv6:2001:470:e254:10:12dd:b1ff:febf:eca9]) (authenticated bits=0) by hydra.pix.net (8.14.9/8.14.9) with ESMTP id s91EQ1C2002686; Wed, 1 Oct 2014 10:26:01 -0400 (EDT) (envelope-from lidl@pix.net) Message-ID: <542C0EF9.1030801@pix.net> Date: Wed, 01 Oct 2014 10:26:01 -0400 From: Kurt Lidl User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:31.0) Gecko/20100101 Thunderbird/31.1.2 MIME-Version: 1.0 To: freebsd-stable Subject: Re: FreeBSD 10.1-BETA3 - zfs bootblocks broken References: <54299195.2010900@pix.net> In-Reply-To: <54299195.2010900@pix.net> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 01 Oct 2014 14:26:03 -0000 On 9/29/14 1:06 PM, Kurt Lidl wrote: > I got the FreeBSD 10.1-BETA3 distribution ISO and tried > two things this morning. > > 1) Following the system prompts, it will successfully > create and install into UFS filesystems. > > 2) Following a procedure that I've used many times in > the past to install the sparc64 onto ZFS-only media, > it fails to boot. > > The "zfsloader" program is failing: > > Executing last command: boot disk0 > Boot device: /pci@1f,0/pci@1/scsi@8/disk@0,0 File and args: > > >> FreeBSD/sparc64 ZFS boot block > Boot path: /pci@1f,0/pci@1/scsi@8/disk@0,0:a > Consoles: Open Firmware console > Memory Address not Aligned > > I reported this problem with the 10.1-BETA2 iso as well. > > I spent some time this last weekend tracking down the cause of > this failure, using the 10.1-BETA2 code. I've narrowed the > failure down to this call, in .../sys/boot/zfsimpl.c (line 1155): > > error = zio_decompress_data(cpfunc, pbuf, > BP_GET_PSIZE(bp), buf, BP_GET_LSIZE(bp)); > > I don't know when this was broken. I have an ISO image I created > from r264194 that works fine. (Built back on 06-Apr-2014.) > > Thanks for any help. > > -Kurt For those of you following this saga, I've tracked down the root problem and produced a patch that allows zfsloader to function on sparc64 again. Report and patch are here: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=194071 -Kurt