2.1.6 Monterrey Intel - Mismatched kmod and tools

All your general support questions for OpenZFS on OS X.

2.1.6 Monterrey Intel - Mismatched kmod and tools

Postby s34gull » Thu Dec 08, 2022 8:35 pm

After running the OpenZFSonOsX-2.1.6-Monterey-12.pkg installer to upgrade from 2.1.0 to 2.1.6, I'm left with a mismatched set of tools vs. kernel module. I've run the uninstall scripts, then re-installed, and am still seeing the following. Do I need to manually clear-out some files that the uninstaller missed? Any help is appreciated.

Code: Select all
~/ zpool version
zfs-macOS-2.1.6-1
zfs-kmod-2.1.0-1
s34gull
 
Posts: 6
Joined: Mon May 09, 2016 8:39 am

Re: 2.1.6 Monterrey Intel - Mismatched kmod and tools

Postby lundman » Thu Dec 08, 2022 10:56 pm

Monterey is famous for holding on to old kexts, and it's frustrating that Apple didn't go back to fix it.

One guaranteed way to kid rid of old kext, is to boot into Recovery, open terminal, and run
kmutil trigger-panic-media --volume-root /Volume/yourOSname

it moves all the 3rd party kexts out of the way. Then after rebooting normally
you have to "Approve" them again, including ZFS.
User avatar
lundman
 
Posts: 1335
Joined: Thu Mar 06, 2014 2:05 pm
Location: Tokyo, Japan

Re: 2.1.6 Monterrey Intel - Mismatched kmod and tools

Postby s34gull » Fri Dec 09, 2022 9:58 am

Thanks for your suggestion! After you mentioned Monterey's preference for holding old kexts, I checked System Preferences > Security & Privacy, and sure enough there was a pending approval for the upgraded kext. I approved and restarted, and now the tools and kmod match:

Code: Select all
~/ zpool version
zfs-macOS-2.1.6-1
zfs-kmod-2.1.6-1


This ended up being easier than booting into recover mode for me, since the MacMini that is hosting ZFS is running headless.
s34gull
 
Posts: 6
Joined: Mon May 09, 2016 8:39 am

Re: 2.1.6 Monterrey Intel - Mismatched kmod and tools

Postby lundman » Fri Dec 09, 2022 11:06 pm

Yay \o/
User avatar
lundman
 
Posts: 1335
Joined: Thu Mar 06, 2014 2:05 pm
Location: Tokyo, Japan


Return to General Help

Who is online

Users browsing this forum: No registered users and 20 guests