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 at 1f,0/pci at 1/scsi at 8/disk at 0,0 File and args:
>
> >> FreeBSD/sparc64 ZFS boot block
> Boot path: /pci at 1f,0/pci at 1/scsi at 8/disk at 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