Disable SIP, try to load kernel extension failed on Mac Big Sur beta7.

On Mac Big Sur beta7, I have disabled SIP to allow my kernel extension to load. But it didn't work, here are my steps:
  1. disable SIP.

  2. copy my MyDriverxxx.kext to /Library/Extensions/.

  3. sudo touch /Library/DriverExtensions. At this time, the system preference prompt does not appear.

  4. Manually load the driver.

sudo kextutil /Library/Extensions/MyDriverxxx.kext
or
sudo kextload /Library/Extensions/MyDriverxxx.kext

The following error occurred:

kextutil /Library/Extensions/MyDriverxxx.kext
Executing: /usr/bin/kmutil load --bundle-path /Library/Extensions/MyDriverxxx.kext
Error: Error Domain=KMErrorDomain Code=1 "Error occurred while building cache: in '/Library/Application Support/Websense Endpoint/DLP/WebsenseEndpointDLP.kext/Contents/PlugIns/WebsenseEndpointProcessKpi.kext/WebsenseEndpointProcessKpi' missing TEXT segment" UserInfo={NSLocalizedDescription=Error occurred while building cache: in '/Library/Application Support/Websense Endpoint/DLP/WebsenseEndpointDLP.kext/Contents/PlugIns/WebsenseEndpointProcessKpi.kext/WebsenseEndpointProcessKpi' missing TEXT segment}

Accepted Reply

Did you try running kmutil trigger-panic-medic --volume-root /Volumes/<YourVolumeName> in recovery mode?

Replies

Did you try running kmutil trigger-panic-medic --volume-root /Volumes/<YourVolumeName> in recovery mode?

Did you try running kmutil trigger-panic-medic --volume-root /Volumes/<YourVolumeName> in recovery mode?

Hi mallen6:
Code Block
I try to do :
1. Remove the extension from /Library/Extensions.
2. Boot to macOS Recovery.
3. Run Terminal.
4. Enter the command kmutil trigger-panic-medic --volume-root /Volumes/<YourVolumeName>.
5. Restart Mac.
6. Then repeat my steps.

But it still didn't worked.