kext load failed on macOS Big Sur 11.6 M1

I'v used command

sudo kextutil -v /Library/Extensions/mykext

but got error:

Error Domain=KMErrorDomain Code=71 "Kernel request failed: (libkern/kext) not loadable (reason unspecified) (-603946989)" UserInfo={NSLocalizedDescription=Kernel request failed: (libkern/kext) not loadable (reason unspecified) (-603946989)}

and SIP is disabled

mac@bogon ~ % csrutil status
System Integrity Protection status: disabled.

maybe, reset nvram is effective. is there anyone have known how to resolve it by other way?

Replies

I remember reading somewhere that kext are not supported on macOS VM on M1. But I can't find the source of this information or where I read it.

This error message is being returned directly from the kernel when asked to load the kernel extension. More information on why the kernel would not load the extension should be visible in the system log store's recent entries after making a load request:

$ log show --last 10m --predicate 'processIdentifier == 0'
  • after excuting command to load mykext, I excuted the above request and found:

    2022-02-28 11:10:36.800800+0800 0xb058e  Default   0x0         0   0  kernel: Kext com.skyguard.endpoint.tproxy is not loadable 2022-02-28 11:10:36.800803+0800 0xb058e  Default   0x0         0   0  kernel: Kext com.skyguard.endpoint.tproxy failed to load (0xdc008013). 2022-02-28 11:10:36.800805+0800 0xb058e  Default   0x0         0   0  kernel: Failed to load kext com.skyguard.endpoint.tproxy (error 0xdc008013). 2022-02-28 11:10:37.224950+0800 0xd1    Default   0x0         0   0  kernel: (AppleBCMWLANCore) TRACER----> updateSlowWifiRxAmpduStats(13681)ChipStats: txba:0

    ,but mykext is loaded on my mac with Intel Core

Add a Comment