Prelinking custom 10.13.6 kernel fails (xnu-4570.71.2)

Questions and Answers about all things *OS (macOS, iOS, tvOS, watchOS)

Prelinking custom 10.13.6 kernel fails (xnu-4570.71.2)

Postby jslegendre » Mon Oct 15, 2018 2:50 am

I am trying to boot a self-built kernel however when I run
Code: Select all
kextcache -invalidate /

I am presented a whole list of errors saying:
Code: Select all
kxld[<kextname>]: In interface of __kernel__, couldn't find symbol <symbol>

There are not just a few either. 2919 symbols missing so the prelink fails with:
Code: Select all
Can't use IONetworkingFamily.kext - not linked.
Prelink failed for; aborting prelink.
Failed to generate prelinked kernel.
Child process /usr/sbin/kextcache[1574] exited with status 71.
and I cannot boot that kernel even if I set boot-args.

I am building the kernel with
Code: Select all

If anyone has an idea of what is going on please let me know.

For further info:
uname -a:
Darwin My-MacBook-Pro.local 17.7.0 Darwin Kernel Version 17.7.0: root:xnu-4570.71.2~1/RELEASE_X86_64 x86_64

ProductName: Mac OS X
ProductVersion: 10.13.6
BuildVersion: 17G65

Xcode version: 9.4.1

csrutil status:
System Integrity Protection status: disabled.
Posts: 2
Joined: Sat Mar 24, 2018 2:11 am

Return to Questions and Answers

Who is online

Users browsing this forum: No registered users and 0 guests