CloverHackyColor/CloverBootloader

Problem Boot

GiesteiraPG7 opened this issue · 39 comments

boot only restarts with the latest commits

preboot.log

Can't really understand what is the problem.
I understand that you have compiled yourself the latest commit. It doesn't boot ? Where is it stuck ?

it just boots at +++++ and restarts in a loop

But it works the last version I've sent you ?

Are you not PG7 on InsanelyMac ?

Yes, but this is no longer atheros wifi!

here it's another machine and no longer boots with the latest versions of Clover in Commit

Ok. So this compter, can you boot with an older Clover or an OpenCore ?

just has r5156 (commit: 187400d) yes

Ok.
Could you setup a repo with your EFI as described here : https://jief-machak.gitbook.io/cloverhelp/initial-setup
It'll make our life so much easier.

I suggest you follow very carefully this guide : https://jief-machak.gitbook.io/cloverhelp/init
It'll be too slow otherwise.

Does the problem still exist with this version : CloverX64-2024-01-15-18-47-28-8697e93-jief.zip ?

same concern
preboot.log

Do not send preboot.log. Instead, activate debug in boot section and you'll get log with file named like 2024-01-15_18-51_CloverX64.efi.log.
Send me that log.

Much better !

Now, do you have a previous version of Clover that can boot that same compter ?

Much better !

Now, do you have a previous version of Clover that can boot that same compter ?

2024-01-15_19-48_BOOTX64.EFI boot ok r5156.log

AppleCpuPmCfgLock is true with the old version, but false with the latest. Do you use the same Clover folder, so we can be sure that the config.plist is identical ?

Same goes for AppleXcpmCfgLock

AppleCpuPmCfgLock is true with the old version, but false with the latest. Do you use the same Clover folder, so we can be sure that the config.plist is identical ?

I use everything the same

I made a mistake thinking I made a mistake !!!

So no, I compared the right files. I'm seeing :

ACPCL 0 AXCL 0 AXEM 0 AXFB 0 CSG 0 DIM 1 DLJ 1 DRC 0 DPM 0 EBTFF 0 EDI 0 FAI 0 IPBS 0 LKP 0 PNKD 1 PTKP 1 TPD 1 XPL 0 PCC 0
C

versus

ACPCL 1 AXCL 1 AXEM 0 AXFB 0 CSG 0 DIM 1 DLJ 1 DRC 0 DPM 0 EBTFF 0 EDI 0 IPBS 0 LKP 0 PNKD 1 PTKP 1 TPD 1 XPL 0 PCC 0
G

ACPCL=AppleCpuPmCfgLock and AXCL=AppleXcpmCfgLock

Ijust found that Clover will turn this patch on if MSR 0xE2 is locked.
In the log that doesn't work we can see :

MSR 0xE2 before patch 7E008006
MSR 0xE2 is locked, PM patches will be turned on

And you know what ? I've heard of it but I don't know what that is !

Maybe that's not the reason, but has the MSR 0xE2 changed on that computer ?

Maybe that's not the reason, but has the MSR 0xE2 changed on that computer ?

No, it's not in the bios

I'm going to test here with OpenCore v0.9.8 to see if the boot is normal and solve the "problem" if it is the CFG (MSR 0xE2)

Clover check MSR 0xE2 way before calling OC. And in your previous log, it wasn't locked. So that's a change. I know it's not in the bios. But there is way to lock/unlock it.
So something changed. Did you change any driver. Wasn't there a driver to unlock MSR 0xE2 ?

Clover check MSR 0xE2 way before calling OC. And in your previous log, it wasn't locked. So that's a change. I know it's not in the bios. But there is way to lock/unlock it. So something changed. Did you change any driver. Wasn't there a driver to unlock MSR 0xE2 ?

The only change he made was Boot.efi and Cloverx64.efi, the rest is the same as what I'm using in version v5156

booted with OpenCore v0.9.8 exactly the same and it boots normally

I'll try to use a way to disable CFG and I'll be right back

boot oc v0.9.8

all tests have the same result

Here is a 5156 version, the exact same one that works, just with added logs.
Boot it and send me the log please.

Here is a 5156 version, the exact same one that works, just with added logs. Boot it and send me the log please.

ICI EFI r5156 Work

Forgot to send the efi file. Try this one : CloverX64-2024-01-16-19-17-46-7e3ffed-dirty-jief.zip
and send me the log please. Send me ONLY the log. Thanks.

Forgot to send the efi file. Try this one : CloverX64-2024-01-16-19-17-46-7e3ffed-dirty-jief.zip and send me the log please. Send me ONLY the log. Thanks.

with this test it works without problems

Thanks Jief666 & Team Clover

2024-01-16_18-41_BOOTX64.EFI.log

It's not completely finished !
Could try with this config : config.plist.zip and this Clover efi : CloverX64-2024-01-16-13-35-00-7e3ffed-jief.zip ?

It's not completely finished ! Could try with this config : config.plist.zip and this Clover efi : CloverX64-2024-01-16-13-35-00-7e3ffed-jief.zip ?

Now I'm home

tomorrow I test

Sure, no pb.

It's not completely finished ! Could try with this config : config.plist.zip and this Clover efi : CloverX64-2024-01-16-13-35-00-7e3ffed-jief.zip ?

Work
2024-01-17_12-17_BOOTX64.EFI.log

Ok. so it does mean that you need these 2 settings KernelPM and AppleIntelCPUPM.
Leave them on (true), because the automatic activation of these 2 settings has been removed from Clover master branch.
This is still compatible with old clover because old clover just set them on for you. If they are already on, no pb of course.

Any further question on that topic ? If not, you're welcome to close this thread.

D'accord. cela signifie donc que vous avez besoin de ces 2 paramètres KernelPM et AppleIntelCPUPM. Laissez-les activés (true), car l'activation automatique de ces 2 paramètres a été supprimée de la branche principale de Clover. Ceci est toujours compatible avec le vieux trèfle, car le vieux trèfle vient de les installer pour vous. Si ils sont déjà allumés, pas de pb bien sur.

D'autres questions sur ce sujet ? Sinon, vous pouvez fermer ce fil.

everything is ok in this case, thank you for all the work done

Thank you to the entire team and one in particular to @jief666 for all the support he has given the community

sorted out