removed kext still load

MacbookPro2018 13inch. 10.15 Beta (19A558d)

SIP is disabled.


I want to delete HighPointNVMe.kext. (driver for my NVMe Controller)


so I delete /Library/Extensions/HighPointNVMe.kext.

clear the cache.

kextcache -i /

and reboot.


but the kext is still loaded.


sh-3.2# kextstat |grep NVMe

70 0 0xffffff7f81fea000 0x43000 0x43000 com.apple.iokit.IONVMeFamily (2.1.0) B9580874-AFA7-3149-B6E4-C2E0D866514E <58 26 19 17 13 8 7 6 5 3 1>

71 0 0xffffff7f82787000 0x35000 0x35000 com.highpoint-tech.kext.HighPointNVMe (1.1.4) 04D3DCC2-14EB-3CB7-8FFE-8D0FFB1E9579 <26 13 6 5 3 1>

sh-3.2#


the HighPointNVMe.kext is deleted from /Library/Extension and /Library/StagedExtensions/Library/Extensions/


in the "about this Mac" --> "System Report" --> "Extensions" dialog. the HighPointNVMe is not listed.

the kext is loaded, but you can't find where it is.

did I miss something?

Replies

I am having this problem with Soundflower and an old Blackmagic Framebuffer kext in Big Sur:

Code Block
$ sudo kextstat | grep -i soundfl
168 0 0xffffff7fa0271000 0x3000 0x3000 com.Cycling74.driver.Soundflower (2) 2D779840-7439-31E5-8A66-D786C3F47B75 <94 6 5 3>
$ sudo kextstat | grep -i blackmag
167 0 0xffffff7f9ff1f000 0x2000 0x2000 com.blackmagic-design.desktopvideo.iokit.framebufferdriver (10.5.2) C260C085-A85B-363A-A9B6-74336D16BC49 <115 6 5 3>

I think they are in a cache, but kmutil won't update the boot cache:

Code Block
$ sudo kmutil install --update-all --force --volume-root /Volumes/Macintosh\ HD
checking collections...
Warning: com.apple.driver.KextExcludeList was not found!
considering release out-of-date because of --force
rebuilding release collections: boot, system
rebuilding release collections:
boot kernel collection
system kext collection
failed to build release collection:
Invalid argument: Writing boot kernel collection failed.
failed to build any collections (expected: 1)
kmutil done