kernel panics (Monterey)

All your general support questions for OpenZFS on OS X.

kernel panics (Monterey)

Postby hamiid » Tue Jun 21, 2022 3:49 pm

This happens randomly but I've only experienced when multiple zfs commands are run from a script. Something like:
Code: Select all
sudo zpool create local ./file1.img
sudo zpool create remote ./file2.img
sudo zpool create gh ./file3.img
sudo chown -R hamid:wheel /Volumes/local
sudo chown -R hamid:wheel /Volumes/remote
sudo zfs create local/normal
sudo chown hamid:wheel /Volumes/local/normal

cp ~/tmp/tunnel.log /Volumes/local
cp ~/brew_installed_formulae.txt /Volumes/local/normal
sudo zfs snapshot -r local@macOS1
sudo zfs send -Rwc local@macOS1 | sudo zfs recv -v -F remote

cp "1.jpg" /Volumes/local/normal
sudo zfs snapshot -r local@macOS2
sudo zfs send -R -I local@macOS1 local@macOS2 | sudo zfs recv -v -F remote

cp "2.png" /Volumes/local/normal
sudo zfs destroy -r local@macOS1
sudo zfs rename -r local@macOS2 local@macOS1
sudo zfs snapshot -r local@macOS2

sudo zfs send -R -I local@macOS1 local@macOS2 | sudo zfs recv -v -F remote


Sytem info and panic dump:

Code: Select all
zfs-macOS-2.1.0-1
zfs-kmod-2.1.0-1


Code: Select all
panic(cpu 4 caller 0xffffff800add5bf3): Kernel trap at 0xffffff7fa4e59c84, type 14=page fault, registers:
CR0: 0x000000008001003b, CR2: 0x0000000000000288, CR3: 0x0000000896641085, CR4: 0x00000000003626e0
RAX: 0x0000000000000000, RBX: 0xffffffd102927d00, RCX: 0x00000000ffffffff, RDX: 0xffffffd1089b1a58
RSP: 0xffffffd0c7fab940, RBP: 0xffffffd0c7fab970, RSI: 0xffffff7fa509d587, RDI: 0xffffffd1074a51a0
R8:  0x0000000000000000, R9:  0xf645cd33ab72a480, R10: 0x0000000000000001, R11: 0x0000000000004000
R12: 0x0000000000000000, R13: 0xffffffd1028bb380, R14: 0xffffffd1027f7850, R15: 0xffffffd1028d3d00
RFL: 0x0000000000010286, RIP: 0xffffff7fa4e59c84, CS:  0x0000000000000008, SS:  0x0000000000000000
Fault CR2: 0x0000000000000288, Error code: 0x0000000000000000, Fault CPU: 0x4, PL: 0, VF: 0

Panicked task 0xffffff904c72a700: 13 threads: pid 323: mds_stores
Backtrace (CPU 4), panicked thread: 0xffffff86b5c71aa0, Frame : Return Address
0xffffffd0c7fab370 : 0xffffff800ac85ffd mach_kernel : _handle_debugger_trap + 0x41d
0xffffffd0c7fab3c0 : 0xffffff800ade6035 mach_kernel : _kdp_i386_trap + 0x145
0xffffffd0c7fab400 : 0xffffff800add5803 mach_kernel : _kernel_trap + 0x533
0xffffffd0c7fab450 : 0xffffff800ac25a60 mach_kernel : _return_from_trap + 0xe0
0xffffffd0c7fab470 : 0xffffff800ac863cd mach_kernel : _DebuggerTrapWithState + 0xad
0xffffffd0c7fab590 : 0xffffff800ac85b86 mach_kernel : _panic_trap_to_debugger + 0x2b6
0xffffffd0c7fab5f0 : 0xffffff800b516409 mach_kernel : _panic + 0x54
0xffffffd0c7fab660 : 0xffffff800add5bf3 mach_kernel : _sync_iss_to_iks + 0x2c3
0xffffffd0c7fab7e0 : 0xffffff800add58d8 mach_kernel : _kernel_trap + 0x608
0xffffffd0c7fab830 : 0xffffff800ac25a60 mach_kernel : _return_from_trap + 0xe0
0xffffffd0c7fab850 : 0xffffff7fa4e59c84 org.openzfsonosx.zfs : _dmu_tx_hold_sa + 0x164
0xffffffd0c7fab970 : 0xffffff7fa4f2a365 org.openzfsonosx.zfs : _zfs_vnop_pageoutv2 + 0x3b5
0xffffffd0c7faba60 : 0xffffff800af72ccd mach_kernel : _VNOP_PAGEOUT + 0x6d
0xffffffd0c7fabae0 : 0xffffff800b30da38 mach_kernel : _vnode_pageout + 0x7c8
0xffffffd0c7fabbb0 : 0xffffff800ad193c7 mach_kernel : _vnode_pager_cluster_write + 0x117
0xffffffd0c7fabc10 : 0xffffff800ad1920f mach_kernel : _vnode_pager_data_return + 0xf
0xffffffd0c7fabc20 : 0xffffff800ad276d8 mach_kernel : _memory_object_lock_request + 0x1288
0xffffffd0c7fabe20 : 0xffffff800ad27e1f mach_kernel : _memory_object_destroy + 0x9f
0xffffffd0c7fabe80 : 0xffffff800ad4e35e mach_kernel : _vm_map_msync + 0x3fe
0xffffffd0c7fabf10 : 0xffffff800b26293b mach_kernel : _msync_nocancel + 0x9b
0xffffffd0c7fabf40 : 0xffffff800b39d984 mach_kernel : _unix_syscall64 + 0x204
0xffffffd0c7fabfa0 : 0xffffff800ac26226 mach_kernel : _hndl_unix_scall64 + 0x16
      Kernel Extensions in backtrace:
         org.openzfsonosx.zfs(2.1)[0C4F7405-EDAA-3B4C-B9DB-B9C93AC441A8]@0xffffff7fa4e23000->0xffffff7fa5122fff
            dependency: com.apple.iokit.IOStorageFamily(2.1)[160B70B8-9236-38ED-8AC9-A215D071A76B]@0xffffff800d928000->0xffffff800d93efff

Process name corresponding to current thread (0xffffff86b5c71aa0): mds_stores

Mac OS version:
21D62

Kernel version:
Darwin Kernel Version 21.3.0: Wed Jan  5 21:37:58 PST 2022; root:xnu-8019.80.24~20/RELEASE_X86_64
Kernel UUID: 93729D02-FE6F-355B-BA76-BA930AA7103F
KernelCache slide: 0x000000000aa00000
KernelCache base:  0xffffff800ac00000
Kernel slide:      0x000000000aa10000
Kernel text base:  0xffffff800ac10000
__HIB  text base: 0xffffff800ab00000
System model name: MacPro7,1 (Mac-27AD2F918AE68F61)
System shutdown begun: NO
Panic diags file available: YES (0x0)
Hibernation exit count: 0

System uptime in nanoseconds: 20004630582684
Last Sleep:           absolute           base_tsc          base_nano
  Uptime  : 0x00001231b0e65803
  Sleep   : 0x0000000000000000 0x0000000000000000 0x0000000000000000
  Wake    : 0x0000000000000000 0x00031293c85af960 0x0000000000000000
Zone info:
Foreign   : 0xffffff801a662000 - 0xffffff801a66f000
Native    : 0xffffff804c5f7000 - 0xffffffa04c5f7000
Readonly  : 0xffffff85192c3000 - 0xffffff86b2c57000
Metadata  : 0xffffffd79750c000 - 0xffffffd7b782c000
Bitmaps   : 0xffffffd7b782c000 - 0xffffffd7c382c000
hamiid
 
Posts: 3
Joined: Tue Nov 28, 2017 1:08 pm

Return to General Help

Who is online

Users browsing this forum: No registered users and 6 guests

cron