Closed TheInnerParty closed 5 years ago
That's a new one for me. Sorry you're having issues. Can you provide the output from trying to load the kext manually? To do this, run sudo kextutil -v 4 /Library/Extensions/softu2f.kext
. I get output like this:
$ sudo kextutil -v 4 /Library/Extensions/softu2f.kext
Kext library architecture set to x86_64.
Defaulting to kernel file '/System/Library/Kernels/kernel'
Kext library recording diagnostics for: validation authentication dependencies warnings.
Reading loaded kext info from kernel.
/Library/Extensions/softu2f.kext appears to be loadable (not including linkage for on-disk libraries).
Reading loaded kext info from kernel.
Loading /Library/Extensions/softu2f.kext.
Reading load info for 9 kexts.
Reading loaded kext info from kernel.
Created mkext for architecture x86_64 containing 1 kexts.
(kernel) Received request from user space to load kext com.github.SoftU2FDriver.
/Library/Extensions/softu2f.kext successfully loaded (or already loaded).
Thanks for getting back! Sure thing:
Kext library architecture set to x86_64.
Defaulting to kernel file '/System/Library/Kernels/kernel'
Kext library recording diagnostics for: validation authentication dependencies warnings.
/Library/Extensions/softu2f.kext appears to be loadable (not including linkage for on-disk libraries).
Reading loaded kext info from kernel.
Loading /Library/Extensions/softu2f.kext.
Reading load info for 11 kexts.
Reading loaded kext info from kernel.
Adding /Library/Extensions/softu2f.kext to mkext.
/Library/Extensions/softu2f.kext added 69376-byte noncompressed executable to mkext.
Created mkext for architecture x86_64 containing 1 kexts.
Loading /Library/Extensions/softu2f.kext.
(kernel) Received request from user space to load kext com.github.SoftU2FDriver.
(kernel) Loading kext com.github.SoftU2FDriver.
(kernel) Allocated link buffer for kext com.github.SoftU2FDriver at 0xffffff7f8d95a000 (28672 bytes).
(kernel) kxld[com.github.SoftU2FDriver]: The super class vtable '__ZTV11IOHIDDevice' for vtable '__ZTV13SoftU2FDevice' is out of date. Make sure your kext has been built against the correct headers.
(kernel) kxld[com.github.SoftU2FDriver]: The super class vtable '__ZTV11IOHIDDevice' for vtable '__ZTV13SoftU2FDevice' is out of date. Make sure your kext has been built against the correct headers.
(kernel) Can't load kext com.github.SoftU2FDriver - link failed.
(kernel) Failed to load executable for kext com.github.SoftU2FDriver.
(kernel) Kext com.github.SoftU2FDriver failed to load (0xdc008016).
(kernel) Failed to load kext com.github.SoftU2FDriver (error 0xdc008016).
(kernel) Kext com.github.SoftU2FDriver removing all personalities naming it from the IOCatalogue.
Failed to load /Library/Extensions/softu2f.kext - (libkern/kext) link error.
Failed to load /Library/Extensions/softu2f.kext - (libkern/kext) link error.
Check library declarations for your kext with kextlibs(8).
This happened to me as well:
$ sudo kextutil -v 4 /Library/Extensions/softu2f.kext
Password:
Kext library architecture set to x86_64.
Defaulting to kernel file '/System/Library/Kernels/kernel'
Kext library recording diagnostics for: validation authentication dependencies warnings.
/Library/Extensions/softu2f.kext appears to be loadable (not including linkage for on-disk libraries).
Reading loaded kext info from kernel.
Loading /Library/Extensions/softu2f.kext.
Reading load info for 11 kexts.
Reading loaded kext info from kernel.
Adding /Library/Extensions/softu2f.kext to mkext.
/Library/Extensions/softu2f.kext added 69376-byte noncompressed executable to mkext.
Created mkext for architecture x86_64 containing 1 kexts.
Loading /Library/Extensions/softu2f.kext.
(kernel) Received request from user space to load kext com.github.SoftU2FDriver.
(kernel) Loading kext com.github.SoftU2FDriver.
(kernel) Allocated link buffer for kext com.github.SoftU2FDriver at 0xffffff7f8fb8b000 (28672 bytes).
(kernel) kxld[com.github.SoftU2FDriver]: The super class vtable '__ZTV11IOHIDDevice' for vtable '__ZTV13SoftU2FDevice' is out of date. Make sure your kext has been built against the correct headers.
(kernel) kxld[com.github.SoftU2FDriver]: The super class vtable '__ZTV11IOHIDDevice' for vtable '__ZTV13SoftU2FDevice' is out of date. Make sure your kext has been built against the correct headers.
(kernel) Can't load kext com.github.SoftU2FDriver - link failed.
(kernel) Failed to load executable for kext com.github.SoftU2FDriver.
(kernel) Kext com.github.SoftU2FDriver failed to load (0xdc008016).
(kernel) Failed to load kext com.github.SoftU2FDriver (error 0xdc008016).
(kernel) Kext com.github.SoftU2FDriver removing all personalities naming it from the IOCatalogue.
Failed to load /Library/Extensions/softu2f.kext - (libkern/kext) link error.
Failed to load /Library/Extensions/softu2f.kext - (libkern/kext) link error.
Check library declarations for your kext with kextlibs(8).
Thanks for the additional information. I haven't had much time recently to debug this. My assumption is that I need to make some change to the build in order for the same kext to be loadable by multiple different kernel versions. I'll try to figure this out in the next couple of weeks, but would welcome any suggestions on fixes in the meantime.
This happens on 10.14.4 now
I tried installing the latest (v0.0.17) release via the provided installer on Sierra multiple times, but got this error window from installer after each attempt:
System information
sw_vers
file /Library/Extensions/softu2f.kext /Applications/SoftU2F.app ~/Library/LaunchAgents/com.github.SoftU2F.plist
kextstat -b com.github.SoftU2FDriver
Index Refs Address Size Wired Name (Version) UUID <Linked Against>
ps aux | grep SoftU2F.app
ldastur 19972 0.0 0.0 2432804 1504 s000 R+ 7:15PM 0:00.00 grep SoftU2F.app
grep SoftU2F -a20 -b20 /var/log/install.log | sort -g | uniq | tail -n200