Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 01 Oct 2014 10:26:01 -0400
From:      Kurt Lidl <lidl@pix.net>
To:        freebsd-stable <freebsd-stable@freebsd.org>
Subject:   Re: FreeBSD 10.1-BETA3 - zfs bootblocks broken
Message-ID:  <542C0EF9.1030801@pix.net>
In-Reply-To: <54299195.2010900@pix.net>
References:  <54299195.2010900@pix.net>

next in thread | previous in thread | raw e-mail | index | archive | help
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





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?542C0EF9.1030801>