Hi folks,
I installed the 2.1.0 arm64 package and for the most part it worked great on my m1 mac running Monterey. I set up a 4x2TB nvme over tb3 external array, along with a cache partition on the internal m1 storage. It was very stable, benchmarked well, and didn't see to have any stability problems, but I ran into an issue when sharing via NFS -- I got a "stale file handle" error on the remote (linux) system for any file creation. Some research here suggested a fix existed in 2.1.99. Unfortunately, I wasn't able to get the 2.1.99 packages from viewtopic.php?f=20&t=3677 to work on m1/monterey (maybe not compiled for aarch64?) so I tried to build my own.
The instructions on the wiki appear to be deprecated, and for a very old version, so I tried to work it out for https://github.com/openzfsonosx/openzfs. I did the following:
cloned the repo
sh autogen.sh
./configure CPPFLAGS="-I/opt/homebrew/Cellar/gettext/0.21/include -I/opt/homebrew/Cellar/openssl@1.1/1.1.1n/include" LDFLAGS="-L/opt/homebrew/Cellar/gettext/0.21/lib -L/opt/homebrew/Cellar/openssl@1.1/1.1.1n/lib" CFLAGS="-g -O0" --sysconfdir=/etc --localstatedir=/var --prefix=/usr/local --sbindir=/usr/local/bin
make
make install
It compiled successfully, but the zfs.kext causes a boot loop:
panic(cpu 0 caller 0xfffffe00227392b0): timed out waiting for child callback, inchild: 1
Debugger message: panic
Kernel Extensions in backtrace:
org.openzfsonosx.zfs(2.1.99)[92691E8E-E6D6-31E4-B2F1-B58C0A343443]@0xfffffe0022414000->0xfffffe0022742d33
dependency: com.apple.iokit.IOStorageFamily(2.1)[0E7F6B6D-FCD2-3154-8BAB-6C010A0217BF]@0xfffffe0025553ba0->0xfffffe0025574753
last started kext at 305875259: com.apple.driver.AppleHIDALSService 1 (addr 0xfffffe0022ac0e40, size 1943)
I'm guessing some aspect of my build process is incorrect. If the build process looks reasonable, please consider me willing and able to troubleshoot this further for m1/Monterey, and let me know what other info I can provide. I only provided an abridged crash report since I'm assuming the problem is in my build process right now. I installed the debugging kernel extensions and can provide further detail as needed.
Thanks for your efforts!
-Chris