Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error keeps popping up on Ventura #31

Open
SmartDucksWorks opened this issue Jun 3, 2023 · 9 comments
Open

Error keeps popping up on Ventura #31

SmartDucksWorks opened this issue Jun 3, 2023 · 9 comments

Comments

@SmartDucksWorks
Copy link

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.
Screenshot 2023-06-03 at 9 18 31 AM

@SmartDucksWorks SmartDucksWorks changed the title Error keeps stopping up on Ventura Error keeps popping up on Ventura Jun 3, 2023
@cbreak-black
Copy link
Owner

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?)

@SmartDucksWorks
Copy link
Author

zfs-macOS-2.1.6-1
zfs-kmod-2.1.0-1
ZetaWatch-r50-0-g82304d-arm64.zip

@cbreak-black
Copy link
Owner

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.

@SmartDucksWorks
Copy link
Author

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.

@SmartDucksWorks
Copy link
Author

Tried compiling your code, that has more fun errors. ;) I

@cbreak-black
Copy link
Owner

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.

@SmartDucksWorks
Copy link
Author

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.

@cbreak-black
Copy link
Owner

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.

@SmartDucksWorks
Copy link
Author

So far I'm not seeing any actual issue, except for the error constantly popping up. Will keep evaluating as things progress.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants