- Code: Select all
tank encryption aes-256-gcm -
tank keylocation file:///Users/jeffc/.passphrase local
tank keyformat passphrase -
tank pbkdf2iters 350000 -
tank encryptionroot tank -
tank keystatus available -
I was copying a huge directory tree into the pool using "cp -Rp". It copied a few dozen files and directories before it crashed. (And in case anyone is wondering, the passphrase is on a FileVault protected volume).
The package I installed was OpenZFSonOsX-2.0.0-Big.Sur-11.0.pkg. The pool was a freshly formatted, and empty, mirror of NVMe drives. If it matters, this is a hackintosh.
Edit: Here's the output from "zfs version".
- Code: Select all
zfs-2.0.0-1
zfs-kmod-macOS-2.0.0-2-g0197ddc9c5-dirty
The panic:
- Code: Select all
panic(cpu 4 caller 0xffffff7fa40950f3): VERIFY3(0 == spa_do_crypt_abd(B_TRUE, spa, &zio->io_bookmark, BP_GET_TYPE(bp), BP_GET_DEDUP(bp), BP_SHOULD_BYTESWAP(bp), salt, iv, mac, psize, zio->io_abd, eabd, &no_crypt)) failed (0 == 12)
Backtrace (CPU 4), Frame : Return Address
0xffffffa16c6739c0 : 0xffffff8001cb9aed mach_kernel : _handle_debugger_trap + 0x3dd
0xffffffa16c673a10 : 0xffffff8001dfc6e3 mach_kernel : _kdp_i386_trap + 0x143
0xffffffa16c673a50 : 0xffffff8001decd1a mach_kernel : _kernel_trap + 0x55a
0xffffffa16c673aa0 : 0xffffff8001c5ea2f mach_kernel : _return_from_trap + 0xff
0xffffffa16c673ac0 : 0xffffff8001cb938d mach_kernel : _DebuggerTrapWithState + 0xad
0xffffffa16c673be0 : 0xffffff8001cb9678 mach_kernel : _panic_trap_to_debugger + 0x268
0xffffffa16c673c50 : 0xffffff80024be3ca mach_kernel : _panic + 0x54
0xffffffa16c673cc0 : 0xffffff7fa40950f3 net.lundman.zfs : _spl_panic + 0x73
0xffffffa16c673e30 : 0xffffff7fa3f3534e net.lundman.zfs : _zio_encrypt + 0x55e
0xffffffa16c673ec0 : 0xffffff7fa3f32de2 net.lundman.zfs : _zio_execute + 0xa2
0xffffffa16c673f00 : 0xffffff7fa40a4c64 net.lundman.zfs : _taskq_thread + 0x204
0xffffffa16c673fa0 : 0xffffff8001c5e13e mach_kernel : _call_continuation + 0x2e
Kernel Extensions in backtrace:
net.lundman.zfs(2.0)[ECE8A16E-4291-3907-B14F-C8A732F68C6E]@0xffffff7fa3e0d000->0xffffff7fa4135fff
dependency: com.apple.iokit.IOStorageFamily(2.1)[AA8F8B9D-BA6E-3EBB-8195-4792042ADF71]@0xffffff800474c000->0xffffff800475dfff
Process name corresponding to current thread: kernel_task
Boot args: -v keepsyms=1 debug=0x100 igfxonln=1 chunklist-security-epoch=0 -chunklist-no-rev2-dev
Mac OS version:
20C69
Kernel version:
Darwin Kernel Version 20.2.0: Wed Dec 2 20:39:59 PST 2020; root:xnu-7195.60.75~1/RELEASE_X86_64
Kernel UUID: 82E2050C-5936-3D24-AD3B-EC4EC5C09E11
KernelCache slide: 0x0000000001a00000
KernelCache base: 0xffffff8001c00000
Kernel slide: 0x0000000001a10000
Kernel text base: 0xffffff8001c10000
__HIB text base: 0xffffff8001b00000
System model name: iMac20,2 (Mac-xxxxxxx)
System shutdown begun: NO
Panic diags file available: YES (0x0)
Hibernation exit count: 0
System uptime in nanoseconds: 7439054611515
Last Sleep: absolute base_tsc base_nano
Uptime : 0x000006c40a35262d
Sleep : 0x0000000000000000 0x0000000000000000 0x0000000000000000
Wake : 0x0000000000000000 0x000000150f94d6fe 0x0000000000000000