Page 1 of 1

Instability and Kernel Panics on M4

PostPosted: Mon Nov 18, 2024 8:32 pm
by dotexe1337
Hello, it seems that there is a problem with the new M4 Macs (possibly related to SPTM). ZFS is generally unstable and will often kernel panic under certain circumstances.

For example, my M4 Mac Mini kernel panics when trying to load a Parallels VM stored on a ZFS disk.

Code: Select all
panic(cpu 9 caller 0xfffffe003f46000c): [SPTM] VIOLATION_ILLEGAL_SPRR_INDEX: sptm_map_page(sptm.c:406) - page_fte(0xfffffdf00013e8f0), page_fte->type(0xf), new_sprr_index(0x3), new_pte(0x460010050b28603), vaddr(0xfffffe4440c28000)

Re: Instability and Kernel Panics on M4

PostPosted: Tue Nov 19, 2024 4:28 am
by jawbroken
given there are a other people reporting this that don't have the ZFS kernel extension installed, I wouldn't be immediately sure that it's a ZFS issue. you mention issues with Parallels, for example, and I see people having these issues with Crossover, which is a similar product, as well as some issues with the Ruby JIT (which I see you've also seen). have you tried moving the VM to an APFS drive and trying to reproduce?

Re: Instability and Kernel Panics on M4

PostPosted: Tue Nov 19, 2024 6:15 am
by dotexe1337
jawbroken wrote:given there are a other people reporting this that don't have the ZFS kernel extension installed, I wouldn't be immediately sure that it's a ZFS issue. you mention issues with Parallels, for example, and I see people having these issues with Crossover, which is a similar product, as well as some issues with the Ruby JIT (which I see you've also seen). have you tried moving the VM to an APFS drive and trying to reproduce?


Yes, the VM works just fine off of APFS. No issues there.

I also have kernel panics when running applications from ZFS, for example, I get a kernel panic right after opening my Dolphin emulator on the ZFS drive. Works just fine from APFS as well.

Re: Instability and Kernel Panics on M4

PostPosted: Fri Nov 22, 2024 5:38 am
by jawbroken
reportedly fixed for Ruby at least in the latest 15.2 beta