kern/146272: ZFS byteswapping works fine, but panics with TODO

Michael Moll kvedulv at
Mon May 3 21:30:01 UTC 2010

>Number:         146272
>Category:       kern
>Synopsis:       ZFS byteswapping works fine, but panics with TODO
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Mon May 03 21:30:01 UTC 2010
>Originator:     Michael Moll
>Release:        9.0-CURRENT / 8.0-STABLE
FreeBSD 8.0-STABLE FreeBSD 8.0-STABLE #0: Mon May  3 21:11:19 CEST 2010     mmoll at  amd64
FreeBSD 9.0-CURRENT FreeBSD 9.0-CURRENT #0: Mon May  3 12:32:02 UTC 2010    root at sparc64
When trying to do a zfs send/receive from FreeBSD/amd64 to FreBSD/sparc64 the receiving box paniced with "zfs_ace_byteswap:112: TODO"

I recompiled kernels without the TODO-#ifdef, tried several send/receives in both directions and everything seems to be fine. Maybe this code can be enabled also on FreeBSD?
Do a zfs send/receive from a BE to a LE box or vice versa.
Comment out the TODO-#ifdef in /sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zfs_byteswap.c


More information about the freebsd-bugs mailing list