Sorry to barge in, but this looks quite similar to my incessant kernel panics with 2.1.0rc1 and znapzend.
They occur at times when a snapshot is expected to be created. Sample panic report follows:
- Code: Select all
panic(cpu 8 caller 0xffffff80015c58f6): Kernel trap at 0xffffff80015bd833, type 14=page fault, registers:
CR0: 0x000000008001003b, CR2: 0x0000000000000008, CR3: 0x000000046f4c710c, CR4: 0x00000000003626e0
RAX: 0x0000000000000000, RBX: 0x0000000000000000, RCX: 0x0000000000000000, RDX: 0x0000000001000000
RSP: 0xffffffc7a1737558, RBP: 0xffffffc7a1737570, RSI: 0x0000000000000000, RDI: 0x0000000000000000
R8: 0x0000000000000000, R9: 0x0000000000000000, R10: 0x0000000000000000, R11: 0x0000000000000001
R12: 0xffffffc208212180, R13: 0xffffffc208212160, R14: 0x0000000000000000, R15: 0xffffffc208211b00
RFL: 0x0000000000010282, RIP: 0xffffff80015bd833, CS: 0x0000000000000008, SS: 0x0000000000000010
Fault CR2: 0x0000000000000008, Error code: 0x0000000000000000, Fault CPU: 0x8, PL: 0, VF: 0
Backtrace (CPU 8), Frame : Return Address
0xffffffc7a1736f70 : 0xffffff800148e0dd mach_kernel : _handle_debugger_trap + 0x3fd
0xffffffc7a1736fc0 : 0xffffff80015d4f33 mach_kernel : _kdp_i386_trap + 0x143
0xffffffc7a1737000 : 0xffffff80015c552a mach_kernel : _kernel_trap + 0x55a
0xffffffc7a1737050 : 0xffffff8001432a2f mach_kernel : _return_from_trap + 0xff
0xffffffc7a1737070 : 0xffffff800148d8fd mach_kernel : _DebuggerTrapWithState + 0xad
0xffffffc7a1737190 : 0xffffff800148dbf3 mach_kernel : _panic_trap_to_debugger + 0x273
0xffffffc7a1737200 : 0xffffff8001c9d81a mach_kernel : _panic + 0x54
0xffffffc7a1737270 : 0xffffff80015c58f6 mach_kernel : _sync_iss_to_iks + 0x2c6
0xffffffc7a17373f0 : 0xffffff80015c55dd mach_kernel : _kernel_trap + 0x60d
0xffffffc7a1737440 : 0xffffff8001432a2f mach_kernel : _return_from_trap + 0xff
0xffffffc7a1737460 : 0xffffff80015bd833 mach_kernel : _lck_mtx_lock_spin_always + 0x3
0xffffffc7a1737570 : 0xffffff7f9e04b9be org.openzfsonosx.zfs : _zfs_resume_fs + 0x26e
0xffffffc7a17375b0 : 0xffffff7f9e03fc86 org.openzfsonosx.zfs : _zfs_ioc_recv_impl + 0x9c6
0xffffffc7a1737770 : 0xffffff7f9e03e07e org.openzfsonosx.zfs : _zfs_ioc_recv + 0x25e
0xffffffc7a1737a60 : 0xffffff7f9e0363ba org.openzfsonosx.zfs : _zfsdev_ioctl_common + 0x57a
0xffffffc7a1737b30 : 0xffffff7f9e040678 org.openzfsonosx.zfs : _zfsdev_ioctl + 0x68
0xffffffc7a1737b70 : 0xffffff8001760ca5 mach_kernel : _spec_ioctl + 0x75
0xffffffc7a1737ba0 : 0xffffff8001755294 mach_kernel : _VNOP_IOCTL + 0x144
0xffffffc7a1737c30 : 0xffffff80017460fc mach_kernel : _utf8_normalizeOptCaseFoldAndMatchSubstring + 0xebc
0xffffffc7a1737e30 : 0xffffff8001a4eb4b mach_kernel : _ioctl + 0x51b
0xffffffc7a1737f40 : 0xffffff8001b3fc9e mach_kernel : _unix_syscall64 + 0x2ce
0xffffffc7a1737fa0 : 0xffffff80014331f6 mach_kernel : _hndl_unix_scall64 + 0x16
Kernel Extensions in backtrace:
org.openzfsonosx.zfs(2.1)[5116548C-0A14-34BD-A9CE-BF135FCA92F6]@0xffffff7f9df3e000->0xffffff7f9e270fff
dependency: com.apple.iokit.IOStorageFamily(2.1)[A0D72FE9-649B-316A-8B5C-934E295FF0B5]@0xffffff800406d000->0xffffff800407efff
Process name corresponding to current thread: zfs
Boot args: keepsyms=1 darkwake=3 shikigva=80 debug=0x100 igfxonln=1 igfxfw=2 forceRenderStandby=0 alcid=11 kernel_stack_pages=8
Mac OS version:
20F71
Kernel version:
Darwin Kernel Version 20.5.0: Sat May 8 05:10:33 PDT 2021; root:xnu-7195.121.3~9/RELEASE_X86_64
Kernel UUID: 52A1E876-863E-38E3-AC80-09BBAB13B752
KernelCache slide: 0x0000000001200000
KernelCache base: 0xffffff8001400000
Kernel slide: 0x0000000001210000
Kernel text base: 0xffffff8001410000
__HIB text base: 0xffffff8001300000
System model name: iMac19,1 (Mac-AA95B1DDAB278B95)
System shutdown begun: NO
Panic diags file available: YES (0x0)
Hibernation exit count: 0
System uptime in nanoseconds: 7585160525710
Last Sleep: absolute base_tsc base_nano
Uptime : 0x000006e60ecc79d2
Sleep : 0x000006e2a4b4090a 0x000000012afb0cf7 0x0000033323733441
Wake : 0x000006e2bc9caf3b 0x000000012b3fa6a8 0x000006e2ae169a5d
My only customization is the "kernel_stack_pages=8" argument.
I've disabled znazpend and things get along smoothly, it seems.
Once again, thanks for your work!