[Sonoma] kernel panic on 2.1.6

All your general support questions for OpenZFS on OS X.

[Sonoma] kernel panic on 2.1.6

Postby xenophon » Thu Oct 05, 2023 8:17 am

[Sonoma kernel panic]
Hi, I just got this KP on my very stable OX86 system (GA Designare Z390), running

> zpool version
zfs-macOS-2.1.6-1
zfs-kmod-2.1.6-1

A filemaker database was open, that resides on a zfs volume.

pool: eAtreio
state: ONLINE
scan: scrub repaired 0B in 00:18:29 with 0 errors on Sat Jun 24 10:25:59 2023
config:

NAME STATE READ WRITE CKSUM
eAtreio ONLINE 0 0 0
mirror-0 ONLINE 0 0 0
media-A3B89632-8D99-C146-8A36-BDE03346AEF1 ONLINE 0 0 0
media-AB71C1CA-17F8-574A-8D3E-593F55A2000F ONLINE 0 0 0


This file system has been very stable (on OpenZFS) for years and years.

panic(cpu 2 caller 0xffffff801e9877d3): Kernel trap at 0xffffff801e97f4f3, type 14=page fault, registers:
CR0: 0x000000008001003b, CR2: 0x0000000000000000, CR3: 0x0000000b0032627c, CR4: 0x00000000003626e0
RAX: 0xffffff801f4b4bc0, RBX: 0x0000000000000000, RCX: 0x0000000000000000, RDX: 0x0000000001000000
RSP: 0xffffffd3e0c17528, RBP: 0xffffffd3e0c17540, RSI: 0x0000000000000000, RDI: 0x0000000000000000
R8: 0x0000000000000006, R9: 0x4d1691c9187f5000, R10: 0xffffffb923949240, R11: 0x0000000000000000
R12: 0xffffffdec4b6fac0, R13: 0x0000000000000000, R14: 0xffffffdec4b70130, R15: 0xffffffdec4b70110
RFL: 0x0000000000010282, RIP: 0xffffff801e97f4f3, CS: 0x0000000000000008, SS: 0x0000000000000010
Fault CR2: 0x0000000000000000, Error code: 0x0000000000000000, Fault CPU: 0x2, PL: 0, VF: 0

Panicked task 0xffffffb274d189d8: 2 threads: pid 2854: zfs
Backtrace (CPU 2), panicked thread: 0xffffffa4151b65a8, Frame : Return Address
0xffffffd3e0c16ea0 : 0xffffff801e83a111 mach_kernel : _handle_debugger_trap + 0x4b1
0xffffffd3e0c16ef0 : 0xffffff801e997be0 mach_kernel : _kdp_i386_trap + 0x110
0xffffffd3e0c16f30 : 0xffffff801e98732c mach_kernel : _kernel_trap + 0x55c
0xffffffd3e0c16fb0 : 0xffffff801e7d6951 mach_kernel : _return_from_trap + 0xc1
0xffffffd3e0c16fd0 : 0xffffff801e83a3fd mach_kernel : _DebuggerTrapWithState + 0x5d
0xffffffd3e0c170c0 : 0xffffff801e839aa3 mach_kernel : _panic_trap_to_debugger + 0x1e3
0xffffffd3e0c17120 : 0xffffff801efd900b mach_kernel : _panic + 0x84
0xffffffd3e0c17210 : 0xffffff801e9877d3 mach_kernel : _sync_iss_to_iks + 0x2c3
0xffffffd3e0c17390 : 0xffffff801e9874b7 mach_kernel : _kernel_trap + 0x6e7
0xffffffd3e0c17410 : 0xffffff801e7d6951 mach_kernel : _return_from_trap + 0xc1
0xffffffd3e0c17430 : 0xffffff801e97f4f3 mach_kernel : _lck_mtx_lock_spin_always + 0x3
0xffffffd3e0c17540 : 0xffffff7fb488cb71 org.openzfsonosx.zfs : _zfsvfs_teardown + 0x221
0xffffffd3e0c17570 : 0xffffff7fb4852114 org.openzfsonosx.zfs : _zfs_ioc_recv_impl + 0xa34
0xffffffd3e0c17750 : 0xffffff7fb4850505 org.openzfsonosx.zfs : _zfs_ioc_recv + 0x225
0xffffffd3e0c17a50 : 0xffffff7fb4848521 org.openzfsonosx.zfs : _zfsdev_ioctl_common + 0x541
0xffffffd3e0c17b20 : 0xffffff7fb4888e28 org.openzfsonosx.zfs : _zfsdev_ioctl + 0x68
0xffffffd3e0c17b60 : 0xffffff801ea59b88 mach_kernel : _spec_ioctl + 0x98
0xffffffd3e0c17b90 : 0xffffff801ea4bf04 mach_kernel : _VNOP_IOCTL + 0xc4
0xffffffd3e0c17bf0 : 0xffffff801ea3e8eb mach_kernel : _u32CharToUTF8Bytes + 0x91b
0xffffffd3e0c17e00 : 0xffffff801ecf5234 mach_kernel : _sys_fcntl_nocancel + 0x3954
0xffffffd3e0c17e30 : 0xffffff801ed565a4 mach_kernel : _ioctl + 0x484
0xffffffd3e0c17f40 : 0xffffff801ee53dcd mach_kernel : _unix_syscall64 + 0x1dd
0xffffffd3e0c17fa0 : 0xffffff801e7d6d96 mach_kernel : _hndl_unix_scall64 + 0x16
Kernel Extensions in backtrace:
org.openzfsonosx.zfs(2.1.6)[31DC2C31-BEAB-3ED7-A2CF-8AA9F9D567E2]@0xffffff7fb4734000->0xffffff7fb4a94fff
dependency: com.apple.iokit.IOStorageFamily(2.1)[A96D850A-038F-31D7-9F3D-A6775064548E]@0xffffff8020c49000->0xffffff8020c60fff

Process name corresponding to current thread (0xffffffa4151b65a8): zfs
Boot args: keepsyms=1 darkwake=3 shikigva=80 debug=0x100 igfxonln=1 igfxfw=2 forceRenderStandby=0 alcid=11 agdpmod=pikera amfi=0x80

Mac OS version:
23A344

Kernel version:
Darwin Kernel Version 23.0.0: Fri Sep 15 14:42:42 PDT 2023; root:xnu-10002.1.13~1/RELEASE_X86_64
Kernel UUID: 0905511D-D697-32D8-8069-EA653FED4635
roots installed: 0
KernelCache slide: 0x000000001e400000
KernelCache base: 0xffffff801e600000
Kernel slide: 0x000000001e4e0000
Kernel text base: 0xffffff801e6e0000
__HIB text base: 0xffffff801e500000
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: 1813733130569
Last Sleep: absolute base_tsc base_nano
Uptime : 0x000001a64aeb4481
Sleep : 0x0000000000000000 0x0000000000000000 0x0000000000000000
Wake : 0x0000000000000000 0x00000032881516c1 0x0000000000000000
Compressor Info: 0% of compressed pages limit (OK) and 0% of segments limit (OK) with 0 swapfiles and OK swap space
Zone info:
Zone map: 0xffffff98e0911000 - 0xffffffb8e0911000
. PGZ : 0xffffff98e0911000 - 0xffffff98e6912000
. VM : 0xffffff98e6912000 - 0xffffff9db2778000
. RO : 0xffffff9db2778000 - 0xffffff9f4bc44000
. GEN0 : 0xffffff9f4bc44000 - 0xffffffa417aaa000
. GEN1 : 0xffffffa417aaa000 - 0xffffffa8e3910000
. GEN2 : 0xffffffa8e3910000 - 0xffffffadaf776000
. GEN3 : 0xffffffadaf776000 - 0xffffffb27b5dd000
. DATA : 0xffffffb27b5dd000 - 0xffffffb8e0911000
Metadata: 0xffffff98b7901000 - 0xffffff98d7901000
Bitmaps : 0xffffff98d7901000 - 0xffffff98e0901000
Extra : 0 - 0


Thank you for your efforts, and hoping to figure this out soon!

Xen
xenophon
 
Posts: 21
Joined: Tue Jul 28, 2015 11:58 pm

Re: [Sonoma] kernel panic on 2.1.6

Postby xenophon » Fri Oct 06, 2023 8:00 am

Hmmm... I think it was related/due to installing OCLP (OpenCore Legacy Patcher). Removed and all is fine --- hope this helps fellow OSX86 users.
xenophon
 
Posts: 21
Joined: Tue Jul 28, 2015 11:58 pm


Return to General Help

Who is online

Users browsing this forum: No registered users and 117 guests