Closed acidanthera-bot closed 6 years ago
@vit9696 commented
Hi,
Please show me a full debug log from Lilu, AppleALC, and any other related kexts you use. For more details see the wiki. You will need -alcdbg -liludbg -shikidbg etc.
Use something like
log show --predicate 'process == "kernel" AND (eventMessage CONTAINS "Lilu" OR eventMessage CONTAINS "AppleALC" OR eventMessage CONTAINS "Shiki")' --style syslog --source
@gujiangjiang commented
2017-06-04 18:18:21.185530+0800 localhost kernel[0]: (kernel) Lilu: (DEBUG) config @ boot arguments disabled 0, debug 1, slow 0, decompress 1
2017-06-04 18:18:21.185534+0800 localhost kernel[0]: (kernel) Lilu: (DEBUG) init @ initialising policy
2017-06-04 18:18:21.185537+0800 localhost kernel[0]: calling mpo_policy_init for Lilu
2017-06-04 18:18:21.185540+0800 localhost kernel[0]: Security policy loaded: Lilu Kernel Extension 1.1.3 DEBUG build (Lilu)
2017-06-04 18:18:21.215023+0800 localhost kernel[0]: Lilu: (DEBUG) api @ got load request from AppleALC (70u)
2017-06-04 18:18:21.298517+0800 localhost kernel[0]: (kernel) Lilu: (DEBUG) policy @ init bsd
2017-06-04 18:18:21.301321+0800 localhost kernel[0]: Lilu: (DEBUG) api @ got load request from HibernationFixup (73u)
2017-06-04 18:18:21.301322+0800 localhost kernel[0]: Lilu: (DEBUG) api @ got load request from Shiki (cau)
2017-06-04 18:18:21.301322+0800 localhost kernel[0]: Lilu: (DEBUG) api @ got load request from CoreDisplayFixup (7bu)
2017-06-04 18:18:21.301323+0800 localhost kernel[0]: Lilu: (DEBUG) api @ got load request from IntelGraphicsFixup (71u)
2017-06-04 18:18:21.301324+0800 localhost kernel[0]: Lilu: (DEBUG) api @ got load request from NvidiaGraphicsFixup (70u)
2017-06-04 18:18:21.301336+0800 localhost kernel[0]: Lilu: (DEBUG) policy @ init bsd
2017-06-04 18:18:21.281113+0800 localhost kernel[0]: (kernel) Lilu: (DEBUG) patcher @ invoked at kext loading/unloading
2017-06-04 18:18:21.281120+0800 localhost kernel[0]: (kernel) Lilu: (DEBUG) patcher @ last kext is FFFFFF7F96F85000 and its name is com.apple.driver.AppleFIVRDriver
2017-06-04 18:18:21.285349+0800 localhost kernel[0]: (kernel) Lilu: (DEBUG) patcher @ invoked at kext loading/unloading
2017-06-04 18:18:21.285355+0800 localhost kernel[0]: (kernel) Lilu: (DEBUG) patcher @ last kext is FFFFFF7F9551E000 and its name is com.apple.iokit.IOSlowAdaptiveClockingFamily
2017-06-04 18:18:21.287571+0800 localhost kernel[0]: (kernel) Lilu: (DEBUG) patcher @ invoked at kext loading/unloading
2017-06-04 18:18:21.287576+0800 localhost kernel[0]: (kernel) Lilu: (DEBUG) patcher @ last kext is FFFFFF7F967EC000 and its name is com.apple.driver.AppleIntelSlowAdaptiveClocking
2017-06-04 18:18:21.290626+0800 localhost kernel[0]: (kernel) Lilu: (DEBUG) patcher @ invoked at kext loading/unloading
2017-06-04 18:18:21.290631+0800 localhost kernel[0]: (kernel) Lilu: (DEBUG) patcher @ last kext is FFFFFF7F967F0000 and its name is com.apple.iokit.IOAcceleratorFamily2
2017-06-04 18:18:21.292597+0800 localhost kernel[0]: (kernel) Lilu: (DEBUG) patcher @ invoked at kext loading/unloading
2017-06-04 18:18:21.292606+0800 localhost kernel[0]: (kernel) Lilu: (DEBUG) patcher @ last kext is FFFFFF7F9688F000 and its name is com.apple.AppleGraphicsDeviceControl
2017-06-04 18:18:21.294849+0800 localhost kernel[0]: (kernel) Lilu: (DEBUG) patcher @ invoked at kext loading/unloading
2017-06-04 18:18:21.294855+0800 localhost kernel[0]: (kernel) Lilu: (DEBUG) patcher @ last kext is FFFFFF7F9689B000 and its name is com.apple.driver.AppleIntelSKLGraphicsFramebuffer
2017-06-04 18:18:21.294863+0800 localhost kernel[0]: (kernel) Lilu: (DEBUG) patcher @ caught the right kext at FFFFFF7F9689B000, invoking handler
2017-06-04 18:18:21.294869+0800 localhost kernel[0]: (kernel) Lilu: (DEBUG) mach @ aslr/load slide is 0xffffff7f9689b000
2017-06-04 18:18:21.294873+0800 localhost kernel[0]: (kernel) AppleALC: (DEBUG) alc @ failed to find a suitable codec, we have nothing to do
2017-06-04 18:18:21.294879+0800 localhost kernel[0]: (kernel) AppleALC: (DEBUG) alc @ applying patches for 6 kext
2017-06-04 18:18:21.294883+0800 localhost kernel[0]: (kernel) AppleALC: (DEBUG) alc @ applying 0 patch for 6 kext
2017-06-04 18:18:21.294887+0800 localhost kernel[0]: (kernel) Lilu: (DEBUG) mach @ getRunningPosition 0xffffff7f9689b000 of memory 2002944 size
2017-06-04 18:18:21.303589+0800 localhost kernel[0]: (kernel) AppleALC: (DEBUG) alc @ missing ControllerModInfo for 1 controller
2017-06-04 18:18:21.303667+0800 localhost kernel[0]: (kernel) Lilu: (DEBUG) mach @ Found symbol ZN31AppleIntelFramebufferController16ComputeLaneCountEPK29IODetailedTimingInformationV2jjPj at 0xffffff7f968ddd98 (non-aslr 0x42d98)
2017-06-04 18:18:21.303675+0800 localhost kernel[0]: (kernel) Lilu: (DEBUG) patcher @ diff 9537D3 argument 9537D3
2017-06-04 18:18:21.304740+0800 localhost kernel[0]: Lilu: (DEBUG) patcher @ diff
**# Here is the debug log.
This log contain 2 power on. The first Power On caused the CDF failed and cant boot in AppleLogo. The Second Power On is normal.**
@vit9696 commented
I am afraid I do not see what you mean. There is only one boot in the log (because there is only one "initialising policy" line from Lilu), and it looks successful to me. All the patches were applied without any issues. Please use https://ghostbin.com next time for posting logs ^^
@gujiangjiang commented
@vit9696
Because the first boot is failed to boot into the desktop and i'm afraid the log will not be reserved.
I actually booted twice and the first boot failed due to the CDF failed.
But i only found this log in system.
@vit9696 commented
Hmm, not so good. Could you try serial debugging or screen capturing… not too sure what to do here. Also, maybe 10.11 works better?
@gujiangjiang commented
I havent use 10.11 long days ago and the CDF plugin come out in 10.12.x so i havent try 10.11.
And i am not the one person have this problem.My one friend also use Lilu+AppleALC have also found sound grey sometimes but it can recover vat restart osx. However i used CDF plugin so if CDF failure the osx cant boot so it has a big infurence to me.
I have chat with @PMHeart many times but have no idea so i come here to ask for more help.
Forgive my poor English.
@vit9696 commented
Unfortunately I cannot think of anything that could cause this issue at the moment and need as much information as possible :(
Make sure you always use verbose logging, and try to catch problem with AppleALC that does not prevent your OS from breaking. Let's hope it gets reproduced reasonably quick.
@gujiangjiang commented
Yes.Now i only can get AppleALC log cant get CDF log because CDF failure i cant boot into osx and have no log preserved.
But the AppleALC failure is a random issue and come about very accidently.
I will look into this issue and post the log when the AppleALC fail again,
Thanks.
@vit9696 commented
By the way, might you know whether it had happened in 10.11 at all? There are several differences between 10.11 and 10.12 patching in many areas, so I wonder whether this could be related.
@gujiangjiang commented
10.11 is not camptiable with my 6700HQ because i must use MBP133 with full support in OSX.
@vit9696 commented
Well, maybe your friend or anybody else experienced this. Hopefully somebody could come here and tell us :D
@gujiangjiang commented
Ok i try it.
@gujiangjiang commented
2017-06-04 22:40:11.179070+0800 localhost kernel[0]: (kernel) Lilu: (DEBUG) config @ boot arguments disabled 0, debug 1, slow 0, decompress 1
2017-06-04 22:40:11.179074+0800 localhost kernel[0]: (kernel) Lilu: (DEBUG) init @ initialising policy
2017-06-04 22:40:11.179078+0800 localhost kernel[0]: calling mpo_policy_init for Lilu
2017-06-04 22:40:11.179081+0800 localhost kernel[0]: Security policy loaded: Lilu Kernel Extension 1.1.3 DEBUG build (Lilu)
2017-06-04 22:40:11.208572+0800 localhost kernel[0]: Lilu: (DEBUG) api @ got load request from AppleALC (70u)
2017-06-04 22:40:11.292079+0800 localhost kernel[0]: (kernel) Lilu: (DEBUG) policy @ init bsd
2017-06-04 22:40:11.295100+0800 localhost kernel[0]: Lilu: (DEBUG) api @ got load request from HibernationFixup (73u)
2017-06-04 22:40:11.295101+0800 localhost kernel[0]: Lilu: (DEBUG) api @ got load request from Shiki (cau)
2017-06-04 22:40:11.295101+0800 localhost kernel[0]: Lilu: (DEBUG) api @ got load request from CoreDisplayFixup (7bu)
2017-06-04 22:40:11.295102+0800 localhost kernel[0]: Lilu: (DEBUG) api @ got load request from IntelGraphicsFixup (71u)
2017-06-04 22:40:11.295103+0800 localhost kernel[0]: Lilu: (DEBUG) api @ got load request from NvidiaGraphicsFixup (70u)
2017-06-04 22:40:11.295115+0800 localhost kernel[0]: Lilu: (DEBUG) policy @ init bsd
2017-06-04 22:40:11.299640+0800 localhost kernel[0]: (kernel) Lilu: (DEBUG) patcher @ invoked at kext loading/unloading
2017-06-04 22:40:11.299647+0800 localhost kernel[0]: (kernel) Lilu: (DEBUG) patcher @ last kext is FFFFFF7F9551E000 and its name is com.apple.iokit.IOSlowAdaptiveClockingFamily
2017-06-04 22:40:11.301605+0800 localhost kernel[0]: (kernel) Lilu: (DEBUG) patcher @ invoked at kext loading/unloading
2017-06-04 22:40:11.301611+0800 localhost kernel[0]: (kernel) Lilu: (DEBUG) patcher @ last kext is FFFFFF7F967EC000 and its name is com.apple.driver.AppleIntelSlowAdaptiveClocking
2017-06-04 22:40:11.304615+0800 localhost kernel[0]: (kernel) Lilu: (DEBUG) patcher @ invoked at kext loading/unloading
2017-06-04 22:40:11.304621+0800 localhost kernel[0]: (kernel) Lilu: (DEBUG) patcher @ last kext is FFFFFF7F95529000 and its name is com.apple.iokit.IOSerialFamily
2017-06-04 22:40:11.306591+0800 localhost kernel[0]: (kernel) Lilu: (DEBUG) patcher @ invoked at kext loading/unloading
2017-06-04 22:40:11.306598+0800 localhost kernel[0]: (kernel) Lilu: (DEBUG) patcher @ last kext is FFFFFF7F96BA8000 and its name is com.apple.driver.AppleIntelLpssUARTCommon
2017-06-04 22:40:11.308465+0800 localhost kernel[0]: (kernel) Lilu: (DEBUG) patcher @ invoked at kext loading/unloading
2017-06-04 22:40:11.308471+0800 localhost kernel[0]: (kernel) Lilu: (DEBUG) patcher @ last kext is FFFFFF7F96BBD000 and its name is com.apple.driver.AppleIntelLpssUARTv1
2017-06-04 22:40:11.311361+0800 localhost kernel[0]: (kernel) Lilu: (DEBUG) patcher @ invoked at kext loading/unloading
2017-06-04 22:40:11.311367+0800 localhost kernel[0]: (kernel) Lilu: (DEBUG) patcher @ last kext is FFFFFF7F95595000 and its name is com.apple.driver.IOPlatformPluginFamily
2017-06-04 22:40:11.312589+0800 localhost kernel[0]: (kernel) Lilu: (DEBUG) patcher @ invoked at kext loading/unloading
2017-06-04 22:40:11.312596+0800 localhost kernel[0]: (kernel) Lilu: (DEBUG) patcher @ last kext is FFFFFF7F955BB000 and its name is com.apple.driver.X86PlatformPlugin
2017-06-04 22:40:11.313491+0800 localhost kernel[0]: (kernel) Lilu: (DEBUG) patcher @ invoked at kext loading/unloading
2017-06-04 22:40:11.313498+0800 localhost kernel[0]: (kernel) Lilu: (DEBUG) patcher @ last kext is FFFFFF7F9667A000 and its name is com.apple.driver.AppleSMCLMU
2017-06-04 22:40:11.314483+0800 localhost kernel[0]: (kernel) Lilu: (DEBUG) patcher @ invoked at kext loading/unloading
2017-06-04 22:40:11.314490+0800 localhost kernel[0]: (kernel) Lilu: (DEBUG) patcher @ last kext is FFFFFF7F96F85000 and its name is com.apple.driver.AppleFIVRDriver
2017-06-04 22:40:11.315330+0800 localhost kernel[0]: (kernel) Lilu: (DEBUG) patcher @ invoked at kext loading/unloading
2017-06-04 22:40:11.315336+0800 localhost kernel[0]: (kernel) Lilu: (DEBUG) patcher @ last kext is FFFFFF7F94A13000 and its name is com.intel.driver.EnergyDriver
2017-06-04 22:40:11.316169+0800 localhost kernel[0]: (kernel) Lilu: (DEBUG) patcher @ invoked at kext loading/unloading
2017-06-04 22:40:11.316176+0800 localhost kernel[0]: (kernel) Lilu: (DEBUG) patcher @ last kext is FFFFFF7F96C9F000 and its name is com.apple.iokit.IOHDAFamily
2017-06-04 22:40:11.316852+0800 localhost kernel[0]: (kernel) Lilu: (DEBUG) patcher @ invoked at kext loading/unloading
2017-06-04 22:40:11.316861+0800 localhost kernel[0]: (kernel) Lilu: (DEBUG) patcher @ last kext is FFFFFF7F96CB2000 and its name is com.apple.driver.AppleHDAController
2017-06-04 22:40:11.316868+0800 localhost kernel[0]: (kernel) Lilu: (DEBUG) patcher @ caught the right kext at FFFFFF7F96CB2000, invoking handler
2017-06-04 22:40:11.316874+0800 localhost kernel[0]: (kernel) Lilu: (DEBUG) mach @ aslr/load slide is 0xffffff7f96cb2000
2017-06-04 22:40:11.316879+0800 localhost kernel[0]: (kernel) AppleALC: (DEBUG) alc @ failed to find a suitable codec, we have nothing to do
2017-06-04 22:40:11.316885+0800 localhost kernel[0]: (kernel) AppleALC: (DEBUG) alc @ applying patches for 1 kext
2017-06-04 22:40:11.316889+0800 localhost kernel[0]: (kernel) AppleALC: (DEBUG) alc @ missing ControllerModInfo for 1 controller
2017-06-04 22:40:11.317555+0800 localhost kernel[0]: (kernel) Lilu: (DEBUG) patcher @ invoked at kext loading/unloading
2017-06-04 22:40:11.317560+0800 localhost kernel[0]: (kernel) Lilu: (DEBUG) patcher @ last kext is FFFFFF7F96682000 and its name is com.apple.driver.AppleSMBusPCI
2017-06-04 22:40:11.319215+0800 localhost kernel[0]: (kernel) Lilu: (DEBUG) patcher @ invoked at kext loading/unloading
2017-06-04 22:40:11.319220+0800 localhost kernel[0]: (kernel) Lilu: (DEBUG) patcher @ last kext is FFFFFF7F955DB000 and its name is com.apple.driver.IOPlatformPluginLegacy
2017-06-04 22:40:11.319712+0800 localhost kernel[0]: (kernel) Lilu: (DEBUG) patcher @ invoked at kext loading/unloading
2017-06-04 22:40:11.319716+0800 localhost kernel[0]: (kernel) Lilu: (DEBUG) patcher @ last kext is FFFFFF7F955EF000 and its name is com.apple.driver.ACPI_SMC_PlatformPlugin
2017-06-04 22:40:11.320413+0800 localhost kernel[0]: (kernel) Lilu: (DEBUG) patcher @ invoked at kext loading/unloading
2017-06-04 22:40:11.320423+0800 localhost kernel[0]: (kernel) Lilu: (DEBUG) patcher @ last kext is FFFFFF7F967F0000 and its name is com.apple.iokit.IOAcceleratorFamily2
2017-06-04 22:40:11.321354+0800 localhost kernel[0]: (kernel) Lilu: (DEBUG) patcher @ invoked at kext loading/unloading
2017-06-04 22:40:11.321373+0800 localhost kernel[0]: (kernel) Lilu: (DEBUG) patcher @ last kext is FFFFFF7F9688F000 and its name is com.apple.AppleGraphicsDeviceControl
2017-06-04 22:40:11.322449+0800 localhost kernel[0]: (kernel) Lilu: (DEBUG) patcher @ invoked at kext loading/unloading
2017-06-04 22:40:11.322465+0800 localhost kernel[0]: (kernel) Lilu: (DEBUG) patcher @ last kext is FFFFFF7F9689B000 and its name is com.apple.driver.AppleIntelSKLGraphicsFramebuffer
2017-06-04 22:40:11.322472+0800 localhost kernel[0]: (kernel) Lilu: (DEBUG) patcher @ caught the right kext at FFFFFF7F9689B000, invoking handler
2017-06-04 22:40:11.322477+0800 localhost kernel[0]: (kernel) Lilu: (DEBUG) mach @ aslr/load slide is 0xffffff7f9689b000
2017-06-04 22:40:11.322508+0800 localhost kernel[0]: (kernel) AppleALC: (DEBUG) alc @ failed to find a suitable codec, we have nothing to do
2017-06-04 22:40:11.322524+0800 localhost kernel[0]: (kernel) AppleALC: (DEBUG) alc @ applying patches for 6 kext
2017-06-04 22:40:11.322528+0800 localhost kernel[0]: (kernel) AppleALC: (DEBUG) alc @ applying 0 patch for 6 kext
2017-06-04 22:40:11.322543+0800 localhost kernel[0]: (kernel) Lilu: (DEBUG) mach @ getRunningPosition 0xffffff7f9689b000 of memory 2002944 size
2017-06-04 22:40:11.331889+0800 localhost kernel[0]: (kernel) AppleALC: (DEBUG) alc @ missing ControllerModInfo for 1 controller
2017-06-04 22:40:11.331973+0800 localhost kernel[0]: (kernel) Lilu: (DEBUG) mach @ Found symbol ZN31AppleIntelFramebufferController16ComputeLaneCountEPK29IODetailedTimingInformationV2jjPj at 0xffffff7f968ddd98 (non-aslr 0x42d98)
2017-06-04 22:40:11.331983+0800 localhost kernel[0]: (kernel) Lilu: (DEBUG) patcher @ diff 9537D3 argument 9537D3
2017-06-04 22:40:11.333344+0800 localhost kernel[0]: Lilu: (DEBUG) patcher @ diff
@vit9696 commented
Alright, I checked the log, and could surprisingly say that at least the audio issue is not related to Lilu/AppleALC. AppleHDA is not loaded for an unknown reason, and thus AppleALC has nothing to patch.
I think you might have DSDT/configuration/kextcache issues or something similar, but I cannot imagine anything exact, because I have never encountered this.
@gujiangjiang commented
@vit9696
Why can do this? I havent do anything to SLE and i havent do rebuild kextcache.
The MacintoshHD is much clean as well as vanilla.
Here is my kext list to inject with Clover and i have no idea which one can cause this?
And besides the sound the CDF has also failed sometimes...But i cant get log because the system cant boot into the desktop so the log cant be saved....
@vit9696 commented
Hard to say, but I think although these issues are related, they are not caused by Lilu and plugins, but by the whole configuration like something in ACPI. You have a lot of kexts installed, and to be frank I do not even know what some of them are used for.
What I did hear of though is that CodecCommander does not work when injected from Clover. Are you sure you need it? When injected from Clover it does nothing and in theory might cause some kind of issues.
@gujiangjiang commented
CodecCommander is needed for me to solve the distort and get the external mic.
Now the other kext all have no problem but only applealc and coredisplayfixup have problem so i only guess this is related to the lilu because this is all the lilu's plugin.
@vit9696 commented
Well, like I said it is AppleHDA not loading. You can read it as AppleALC has not done anything to deal with your audio yet, something, perhaps this CodecCommander or some kind of memory corruption (e.g. too many kexts) broke AppleHDA way before.
There is nothing to do with Lilu and others simply because they have not done anything. Unfortunately with that many items at once it is not possible for me to hint you what exactly could be wrong. I don't know really, but I am pretty certain it is unrelated to Lilu/AppleALC, thus closing the issue.
@gujiangjiang commented
Ok I will test later without CC.
@gujiangjiang commented
@vit9696 I have just delete the CodecCommander kext and i also get the grey Volume icon and i restart the laptop the volume icon getting back.
And i found the kextstat log.
Here is the new system log and i found this log: 2017-06-05 00:43:04.359911+0800 localhost kernel[0]: (kernel) Lilu: (DEBUG) patcher @ last kext is FFFFFF7F96CB2000 and its name is com.apple.driver.AppleHDAController
2017-06-05 00:43:04.180400+0800 localhost kernel[0]: (kernel) Lilu: (DEBUG) config @ boot arguments disabled 0, debug 1, slow 0, decompress 1
2017-06-05 00:43:04.180404+0800 localhost kernel[0]: (kernel) Lilu: (DEBUG) init @ initialising policy
2017-06-05 00:43:04.180408+0800 localhost kernel[0]: calling mpo_policy_init for Lilu
2017-06-05 00:43:04.180411+0800 localhost kernel[0]: Security policy loaded: Lilu Kernel Extension 1.1.3 DEBUG build (Lilu)
2017-06-05 00:43:04.209953+0800 localhost kernel[0]: Lilu: (DEBUG) api @ got load request from AppleALC (70u)
2017-06-05 00:43:04.293370+0800 localhost kernel[0]: (kernel) Lilu: (DEBUG) policy @ init bsd
2017-06-05 00:43:04.296176+0800 localhost kernel[0]: Lilu: (DEBUG) api @ got load request from HibernationFixup (73u)
2017-06-05 00:43:04.296176+0800 localhost kernel[0]: Lilu: (DEBUG) api @ got load request from Shiki (cau)
2017-06-05 00:43:04.296177+0800 localhost kernel[0]: Lilu: (DEBUG) api @ got load request from CoreDisplayFixup (7bu)
2017-06-05 00:43:04.296178+0800 localhost kernel[0]: Lilu: (DEBUG) api @ got load request from IntelGraphicsFixup (71u)
2017-06-05 00:43:04.296179+0800 localhost kernel[0]: Lilu: (DEBUG) api @ got load request from NvidiaGraphicsFixup (70u)
2017-06-05 00:43:04.296191+0800 localhost kernel[0]: Lilu: (DEBUG) policy @ init bsd
2017-06-05 00:43:04.341420+0800 localhost kernel[0]: (kernel) Lilu: (DEBUG) patcher @ invoked at kext loading/unloading
2017-06-05 00:43:04.341427+0800 localhost kernel[0]: (kernel) Lilu: (DEBUG) patcher @ last kext is FFFFFF7F96F85000 and its name is com.apple.driver.AppleFIVRDriver
2017-06-05 00:43:04.345610+0800 localhost kernel[0]: (kernel) Lilu: (DEBUG) patcher @ invoked at kext loading/unloading
2017-06-05 00:43:04.345616+0800 localhost kernel[0]: (kernel) Lilu: (DEBUG) patcher @ last kext is FFFFFF7F95595000 and its name is com.apple.driver.IOPlatformPluginFamily
2017-06-05 00:43:04.347697+0800 localhost kernel[0]: (kernel) Lilu: (DEBUG) patcher @ invoked at kext loading/unloading
2017-06-05 00:43:04.347702+0800 localhost kernel[0]: (kernel) Lilu: (DEBUG) patcher @ last kext is FFFFFF7F955BB000 and its name is com.apple.driver.X86PlatformPlugin
2017-06-05 00:43:04.350495+0800 localhost kernel[0]: (kernel) Lilu: (DEBUG) patcher @ invoked at kext loading/unloading
2017-06-05 00:43:04.350501+0800 localhost kernel[0]: (kernel) Lilu: (DEBUG) patcher @ last kext is FFFFFF7F955DB000 and its name is com.apple.driver.IOPlatformPluginLegacy
2017-06-05 00:43:04.352218+0800 localhost kernel[0]: (kernel) Lilu: (DEBUG) patcher @ invoked at kext loading/unloading
2017-06-05 00:43:04.352224+0800 localhost kernel[0]: (kernel) Lilu: (DEBUG) patcher @ last kext is FFFFFF7F955EF000 and its name is com.apple.driver.ACPI_SMC_PlatformPlugin
2017-06-05 00:43:04.354026+0800 localhost kernel[0]: (kernel) Lilu: (DEBUG) patcher @ invoked at kext loading/unloading
2017-06-05 00:43:04.354034+0800 localhost kernel[0]: (kernel) Lilu: (DEBUG) patcher @ last kext is FFFFFF7F9551E000 and its name is com.apple.iokit.IOSlowAdaptiveClockingFamily
2017-06-05 00:43:04.354928+0800 localhost kernel[0]: (kernel) Lilu: (DEBUG) patcher @ invoked at kext loading/unloading
2017-06-05 00:43:04.354935+0800 localhost kernel[0]: (kernel) Lilu: (DEBUG) patcher @ last kext is FFFFFF7F967EC000 and its name is com.apple.driver.AppleIntelSlowAdaptiveClocking
2017-06-05 00:43:04.355793+0800 localhost kernel[0]: (kernel) Lilu: (DEBUG) patcher @ invoked at kext loading/unloading
2017-06-05 00:43:04.355800+0800 localhost kernel[0]: (kernel) Lilu: (DEBUG) patcher @ last kext is FFFFFF7F9667A000 and its name is com.apple.driver.AppleSMCLMU
2017-06-05 00:43:04.356803+0800 localhost kernel[0]: (kernel) Lilu: (DEBUG) patcher @ invoked at kext loading/unloading
2017-06-05 00:43:04.356809+0800 localhost kernel[0]: (kernel) Lilu: (DEBUG) patcher @ last kext is FFFFFF7F95529000 and its name is com.apple.iokit.IOSerialFamily
2017-06-05 00:43:04.357608+0800 localhost kernel[0]: (kernel) Lilu: (DEBUG) patcher @ invoked at kext loading/unloading
2017-06-05 00:43:04.357618+0800 localhost kernel[0]: (kernel) Lilu: (DEBUG) patcher @ last kext is FFFFFF7F96BA8000 and its name is com.apple.driver.AppleIntelLpssUARTCommon
2017-06-05 00:43:04.358256+0800 localhost kernel[0]: (kernel) Lilu: (DEBUG) patcher @ invoked at kext loading/unloading
2017-06-05 00:43:04.358262+0800 localhost kernel[0]: (kernel) Lilu: (DEBUG) patcher @ last kext is FFFFFF7F96BBD000 and its name is com.apple.driver.AppleIntelLpssUARTv1
2017-06-05 00:43:04.359072+0800 localhost kernel[0]: (kernel) Lilu: (DEBUG) patcher @ invoked at kext loading/unloading
2017-06-05 00:43:04.359079+0800 localhost kernel[0]: (kernel) Lilu: (DEBUG) patcher @ last kext is FFFFFF7F96C9F000 and its name is com.apple.iokit.IOHDAFamily
2017-06-05 00:43:04.359904+0800 localhost kernel[0]: (kernel) Lilu: (DEBUG) patcher @ invoked at kext loading/unloading
2017-06-05 00:43:04.359911+0800 localhost kernel[0]: (kernel) Lilu: (DEBUG) patcher @ last kext is FFFFFF7F96CB2000 and its name is com.apple.driver.AppleHDAController
2017-06-05 00:43:04.359943+0800 localhost kernel[0]: (kernel) Lilu: (DEBUG) patcher @ caught the right kext at FFFFFF7F96CB2000, invoking handler
2017-06-05 00:43:04.359949+0800 localhost kernel[0]: (kernel) Lilu: (DEBUG) mach @ aslr/load slide is 0xffffff7f96cb2000
2017-06-05 00:43:04.359954+0800 localhost kernel[0]: (kernel) AppleALC: (DEBUG) alc @ failed to find a suitable codec, we have nothing to do
2017-06-05 00:43:04.359960+0800 localhost kernel[0]: (kernel) AppleALC: (DEBUG) alc @ applying patches for 1 kext
2017-06-05 00:43:04.359964+0800 localhost kernel[0]: (kernel) AppleALC: (DEBUG) alc @ missing ControllerModInfo for 1 controller
2017-06-05 00:43:04.361449+0800 localhost kernel[0]: (kernel) Lilu: (DEBUG) patcher @ invoked at kext loading/unloading
2017-06-05 00:43:04.361457+0800 localhost kernel[0]: (kernel) Lilu: (DEBUG) patcher @ last kext is FFFFFF7F96723000 and its name is com.apple.driver.AppleOSXWatchdog
2017-06-05 00:43:04.362641+0800 localhost kernel[0]: (kernel) Lilu: (DEBUG) patcher @ invoked at kext loading/unloading
2017-06-05 00:43:04.362648+0800 localhost kernel[0]: (kernel) Lilu: (DEBUG) patcher @ last kext is FFFFFF7F96682000 and its name is com.apple.driver.AppleSMBusPCI
2017-06-05 00:43:04.363657+0800 localhost kernel[0]: (kernel) Lilu: (DEBUG) patcher @ invoked at kext loading/unloading
2017-06-05 00:43:04.363663+0800 localhost kernel[0]: (kernel) Lilu: (DEBUG) patcher @ last kext is FFFFFF7F967F0000 and its name is com.apple.iokit.IOAcceleratorFamily2
2017-06-05 00:43:04.364564+0800 localhost kernel[0]: (kernel) Lilu: (DEBUG) patcher @ invoked at kext loading/unloading
2017-06-05 00:43:04.364570+0800 localhost kernel[0]: (kernel) Lilu: (DEBUG) patcher @ last kext is FFFFFF7F9688F000 and its name is com.apple.AppleGraphicsDeviceControl
2017-06-05 00:43:04.365504+0800 localhost kernel[0]: (kernel) Lilu: (DEBUG) patcher @ invoked at kext loading/unloading
2017-06-05 00:43:04.365511+0800 localhost kernel[0]: (kernel) Lilu: (DEBUG) patcher @ last kext is FFFFFF7F9689B000 and its name is com.apple.driver.AppleIntelSKLGraphicsFramebuffer
2017-06-05 00:43:04.365519+0800 localhost kernel[0]: (kernel) Lilu: (DEBUG) patcher @ caught the right kext at FFFFFF7F9689B000, invoking handler
2017-06-05 00:43:04.365530+0800 localhost kernel[0]: (kernel) Lilu: (DEBUG) mach @ aslr/load slide is 0xffffff7f9689b000
2017-06-05 00:43:04.365536+0800 localhost kernel[0]: (kernel) AppleALC: (DEBUG) alc @ failed to find a suitable codec, we have nothing to do
2017-06-05 00:43:04.365543+0800 localhost kernel[0]: (kernel) AppleALC: (DEBUG) alc @ applying patches for 6 kext
2017-06-05 00:43:04.365548+0800 localhost kernel[0]: (kernel) AppleALC: (DEBUG) alc @ applying 0 patch for 6 kext
2017-06-05 00:43:04.365553+0800 localhost kernel[0]: (kernel) Lilu: (DEBUG) mach @ getRunningPosition 0xffffff7f9689b000 of memory 2002944 size
2017-06-05 00:43:04.374525+0800 localhost kernel[0]: (kernel) AppleALC: (DEBUG) alc @ missing ControllerModInfo for 1 controller
2017-06-05 00:43:04.374596+0800 localhost kernel[0]: (kernel) Lilu: (DEBUG) mach @ Found symbol ZN31AppleIntelFramebufferController16ComputeLaneCountEPK29IODetailedTimingInformationV2jjPj at 0xffffff7f968ddd98 (non-aslr 0x42d98)
2017-06-05 00:43:04.374609+0800 localhost kernel[0]: (kernel) Lilu: (DEBUG) patcher @ diff 9537D3 argument 9537D3
2017-06-05 00:43:04.374810+0800 localhost kernel[0]: Lilu: (DEBUG) patcher @ diff
@vit9696 commented
Well, and what should that mean? I told you about AppleHDA and not AppleHDAController. AppleHDAController does get loaded.
@gujiangjiang commented
But the CoreDisplayFixup have nothing with the kext load?it just the patch for the framework...
I have no idea what's wrong and i want to find the resean.
Such as Lilu kext load order? Or the patch ram is fullout?
I will test this later.
And thanks for your Lilu and many other nice plugins!
@vit9696 commented
The evidence from the log is that something is wrong on the system level, and not in Lilu or alike. The system is somehow already broken by the time AppleALC tries to work (it is probably similar for CoreDisplayFixup).
I think so because one of the possible reasons for AppleHDA not to load is missing HDEF from ACPI tree, but given that it definitely is there at least sometimes, it makes me suspect that your device tree(?) is somehow getting corrupted.
Try creating a full log, maybe it unveils something (log show --predicate 'process == "kernel"' --style syslog --source
), but I am not a person to help you really...
@gujiangjiang commented
I have HDEF with hotpatch. Here is the detail. https://github.com/gujiangjiang/Hacintosh/tree/DELL-XPS-15-9550/ACPI/patched
log show --predicate 'process == "kernel"' --style syslog --source This is a lot of logs...
And you can see me config here,my config is much more clean without anyother useless things. https://github.com/gujiangjiang/Hacintosh/blob/DELL-XPS-15-9550/config.plist
@1and1get2 commented
any update on this? I've got some similar issues, that AppleHDA will not load, and if you force it to load with kextload, my system low is flooded with message such as "alc @ codec entry misses properties, skipping" and my system doesn't recognise the codec without AppleHDA loaded, not sure if that's expected
for more detailed info see: http://www.insanelymac.com/forum/topic/311293-applealc-%E2%80%94-dynamic-applehda-patching/page-87#entry2491172
@gujiangjiang opened vit9696/Lilu#8
I have used Lilu with AppelAlc and CoreDisplayFixup and some more plugins but sometimes this plugins going to failure.
Many times i cant boot into osx because the CDF failed and sometimes i going to the system but have no sound with grey icon.
But before lilu come out the AppleAlc have no problem anymore so i want to know how can cause this random failure when bootup.
I have try to use lilu-debug and CDF-debug kext to see some debug log but have nothing usefull infomation.
PS:I use this kexts all in Clover folder not SE or SLE.
thanks very much.