ZetaWatch
ZetaWatch copied to clipboard
Error keeps popping up on Ventura
Error Internal NV list. Check on several machines. Something about 'error - reading pool configuration'. Systems seem to be working fine, not seeing adverse effects but I am checking daily just in case.
This means that your ZetaWatch version does not match your ZFS version. This is very easily possible since I've not recompiled / updated it in ages. If possible, compile a ZetaWatch for your ZFS version (which version do you use?)
zfs-macOS-2.1.6-1 zfs-kmod-2.1.0-1 ZetaWatch-r50-0-g82304d-arm64.zip
Hmm... your kmod and userland lib version don't match... that's possibly problematic. But that version of ZetaWatch was compiled for 2.1.6, so it is supposed to work I think.
Yeah, you are correct. Seems the installer from OpenZFSonOSX may be the culprit. Will uninstall manually and reinstall to see if that is indeed the actual issue. Should have caught that.
Tried compiling your code, that has more fun errors. ;) I
Will have to reboot for you to be able to replace the kernel extension, in my experience, unloading it at runtime doesn't work reliably.
The code should compile... but I've only ever compiled it on my own mac, which is old and running an old MacOS and Xcode.
OK did a manual clean, reinstalled OpenZFSonOSX, and latest ZetaWatch binary for M! on 3 systems to test. zfs version zfs-macOS-2.1.6-1 zfs-kmod-2.1.6-1
However the ZetaWatch is still providing the same error as before.
Very weird :(
This error is detected here: https://github.com/cbreak-black/ZFSWrapper/blob/b0ef0ebe812597676cf88d08a42bcc2be14e65b6/src/ZFSUtils.cpp#L1380-L1382
This code tries to read ZPOOL_CONFIG_VDEV_STATS
and reinterpret it as vdev_stat_t
, which I think is the expected way to do this. The test checks if the size of the structure is still correct.
So far I'm not seeing any actual issue, except for the error constantly popping up. Will keep evaluating as things progress.