-
Notifications
You must be signed in to change notification settings - Fork 13
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
kext does not load on 10.16 Big Sur #8
Comments
and that's on Catalina even. |
Hmm hey @meklort - you showed us this trickery the first time around, any ideas? |
I haven't looked into the newer OSes much, so I can't really say. I'd suggest looking at the symbol kexts included by Apple and seeing how those have changed from before. I wouldn't be surprised if they are now either signed or have some changed to the plist. There may also be an updated symbol tool that you'll need to use to generate the Mach-O binary with. |
I think they changed kextsymboltool.c a fair bit, but unfortunately they don't release the XNU sources until a few months after the OS is out, and it would be nice if it worked before then. No other kexts on the OS has Plugins/ directory inside, so it is possible they removed the feature entirely, and we've had to sign the codeless plugin since 10.11. I've asked Apple if I can have kextsymboltool.c , but it was met with silence. |
Received DTK today, to also try to make it work for ARM64. Although even after compiling, we still have the kext loading issue. |
OK, so exploring dynamically looking up the modules on kext init, which generally works, except the current way to lookup vm_kernel_slide is a bit off, +0c000 is needed in my example:
However, hardcoding the difference:
|
The Intel Big Sur VM does start the kext without those functions, obviously with some features missing. DTK loading does not yet work. |
There is now a Big Sur x64 build, no missing features. No arm64 yet. |
Will Kext support eventually remove by Apple, Is it possible for zfs on Mac switch to Apple System extension like DriverKit? |
Hi all ! Did some searching about VFS (kext) and FileProvider (userland) on macOS Catalina & 'Big Sur'. See Apple Dev Forum Cannot launch new FileProvider extension on macOS 10.15
and
@lundman : did you already submit a dev feedback ? |
I have a KP with this build on Big Sur 11.0.1. |
I downloaded the package from the tweet. How did you install/load this up? When trying to import, I get:
|
The contents of this zip archive is intended to be extracted to the root of your system/boot volume. |
Does this mean that I can install OpenZFS 1.9.4 and just extract this zip to I see that there is a 2.0.0 release and also branches for big-sur, but I don't see any 2.0.0 DMG installer. I'm currently running Big Sur and can't import my volumes. Any instructions on how to get this working would be very helpful. |
The openzfs-on-osx forums are a better place to get releases: That topic has links to proper installer files since earlier this week. |
xxx@xxx-Air ~ sudo zpool import -f disk No such file or directory after install 2.0 openzfs for big sur |
The openzfs-2.0 installer requires you to set "keepsyms=1" for it to load. This was the only work-around for this issue that we could find so far. |
pure is about to be pushed. |
Appears to be related to the Plugins/KernelDependencies.kext/ that we have to link against things we are not allowed to link against.
A straight load attempt fails with:
As if it doesn't look in Plugins anymore. However, when if I attempt to codesign the Plugins kext;
Which makes me think that they've made a slight change to the requirements of kexts, and
kextsymboltool
nolonger produces a valid object file.
Similarly, if I try to load the 1.9.4 signed/notarized kexts:
So I think we need to figure out how to make the output of
kextsymboltool
be accepted under Big Sur.In addition, the output from kextload/kextutil is not exactly great - the real errors must go somewhere?
The text was updated successfully, but these errors were encountered: