Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Broadwell core M #198

Closed
anerik70 opened this issue Feb 21, 2016 · 21 comments
Closed

Broadwell core M #198

anerik70 opened this issue Feb 21, 2016 · 21 comments

Comments

@anerik70
Copy link

How can I solve this?
captura de pantalla 2016-02-20 a las 1 28 51 p m

@Piker-Alpha
Copy link
Owner

1.) The board-id error is fixed in ssdtPRGen.sh v17.8 (thank you for reporting it here).
2.) Open Mac-BE0E8AC46FE800CC.plist and change 2400 into 2000 under Frequencies (Item-0)
3.) Change "0d000000" into "08000000" under FrequencyVectors (Item-0).
4.) Change "18000000 01000000" into "14000000 01000000" under FrequencyVectors (Item-0) (see notes).
5.) Save your changes and re-run ssdtPRGen.sh

Notes:
1.) You can use ALT+SHIFT-RIGHT on a Windows keyboard to locate "18000000 01000000" under FrequencyVectors (Item-0),
2.) The value 18000000 (24 decimal) is the maximum turbo frequency (you want 14000000 for your processor).

@anerik70
Copy link
Author

Thank you for answer. I followed your steps. The ssdt generates without issues now, but when i reboot it results in kernel panic. See attach
12782151_816108708535606_1567648871_n

@Piker-Alpha
Copy link
Owner

Can you please confirm that the error is fixed in v17.8?

Restore the plist and redo steps 2-4 and 5, but now once at a time. This should help us to catch the error (when it triggers the KP).

@anerik70
Copy link
Author

I can confirm that the error is fixed and that the ssdt generates without errors. But when i try to boot with the generated ssdt i get kernel pAnic. I tried with every single step and got kernel panic. I'm grateful with your help.

@Piker-Alpha
Copy link
Owner

Ok. Thanks (for the confirmation).

I asked someone else to do the same and it works. Perhaps your KP is triggered by something else. Feel free to e-mail me (see script source) the plist so that I can have a look at it.

@anerik70
Copy link
Author

Here is my plist. Thank you for your support.

config.plist.zip

@anerik70
Copy link
Author

Hi! I can confirm it is working now! I had to delete some parameters from SMBIOS. Now PM is working fine. Thaaaaaaaank You Piker
captura de pantalla 2016-02-22 a las 5 19 43 p m
Uploading Captura de pantalla 2016-02-22 a las 5.23.59 p.m..png…
Uploading Captura de pantalla 2016-02-22 a las 5.27.51 p.m..png…
Uploading Captura de pantalla 2016-02-22 a las 5.33.50 p.m..png…

@Piker-Alpha
Copy link
Owner

Please upload your new/modified config.plist so that other people can see what they can do. Thanks!

@anerik70
Copy link
Author

I have to delete Board ID in SMBIOS to avoid kernel panic but i notice that clover auto inject Mac-189A3D4F975D5FFC so i think it is not fixed yet. Mac-BE0E8AC46FE800CC is the problem.
captura de pantalla 2016-02-22 a las 11 35 30 p m

@Piker-Alpha
Copy link
Owner

Ok so Mac-189A3D4F975D5FFC.plist is working for your setup and Mac-BE0E8AC46FE800CC.plist may be a problem, or the modifications you made in it, but let us check that first.

1.) Backup Mac-189A3D4F975D5FFC.plist in the resource directory.
2.) Replace Mac-189A3D4F975D5FFC.plist with Mac-BE0E8AC46FE800CC.plist
3.) Reboot with -f and see if you can boot without the KP.

Another thing. When I asked for your modded plist I wasn't talking about config.plist but Mac-BE0E8AC46FE800CC.plist which I asked you to modify (so that I can check it for errors).

@anerik70
Copy link
Author

Thanks for answer. Replacing Mac-189A3D4F975D5FFC.plist with Mac-BE0E8AC46FE800CC.plist results in kernel panic.

About plist it was my mistake here is the request plist
Mac-BE0E8AC46FE800CC.plist.zip

@Piker-Alpha
Copy link
Owner

Ok, but did you use the modified plist or the factory vanilla one? If you used the modified one, then try the factory vanilla one.

I also noticed, in the modified plist, that you forgot to change 2400 under Frequencies into 2000. CPUFloor is also 1000 but yours should be set to 500.

@anerik70
Copy link
Author

I used the modified

@anerik70
Copy link
Author

Hi Piker!
I want to thank you for your help and your time.
This is what I did today:

A.
0.) Restore factory vanilla Mac-BE0E8AC46FE800CC.plist
1.) Backup Mac-189A3D4F975D5FFC.plist in the resource directory.
2.) Replace Mac-189A3D4F975D5FFC.plist with Mac-BE0E8AC46FE800CC.plist
3.) Reboot with -f.
Result: Kernel Panic

B.
0.) Restore factory vanilla Mac-BE0E8AC46FE800CC.plist
1.) I re-edit the Mac-BE0E8AC46FE800CC.plist with correct CPUFloor (500) and change 2400 under Frequencies into 2000, Change "0d000000" into "08000000" under FrequencyVectors (Item-0) and Change "18000000 01000000" into "14000000 01000000" under FrequencyVectors (Item-0).
2.) Backup Mac-189A3D4F975D5FFC.plist in the resource directory.
3.) Replace Mac-189A3D4F975D5FFC.plist with Mac-BE0E8AC46FE800CC.plist
4.) Reboot with -f.
Result: Success! (See attach).

C.
0.) Restore factory vanilla Mac-BE0E8AC46FE800CC.plist
1.) I re-edit the Mac-BE0E8AC46FE800CC.plist with correct CPUFloor (500) and change 2400 under Frequencies into 2000, Change "0d000000" into "08000000" under FrequencyVectors (Item-0) and Change "18000000 01000000" into "14000000 01000000" under FrequencyVectors (Item-0).
2.) Restore Mac-189A3D4F975D5FFC.plist in the resource directory.
3.) Reboot with -f.
Result: Kernel Panic.

Conclusion: THE PROBLEM IS Mac-BE0E8AC46FE800CC.plist.

Thank you very much Piker. Now i'm on the correct way.
captura de pantalla 2016-02-24 a las 6 18 31 a m
proof

@Piker-Alpha
Copy link
Owner

Good work! And sure. You cannot use the unmodified Mac-BE0E8AC46FE800CC.plist (procedure A) but I don't understand why you need to replace Mac-189A3D4F975D5FFC.plist with a modified copy of Mac-BE0E8AC46FE800CC.plist since your are using Mac-BE0E8AC46FE800CC as board-id. Like it is still using it, but perhaps this is (was?) kernel cache related?

Also. You now changed the CPUFloor from 1000 to 500 (which is good) but you should also change "0d000000" into "05000000" (sorry, my mistake) under FrequencyVectors (Item-0) so that it will step down to 500 MHz. Right now that is not working.

@anerik70
Copy link
Author

Good work Piker! Thank you! Thank you! Thank you lord! I'll do the changes and report soon.

@anerik70
Copy link
Author

I did the changes but CPUFloor still is 800MHz

@Piker-Alpha
Copy link
Owner

AppleIntelInfo.kext will filter out everything below 800 MHz so we need to fix this in the source code:

https://github.com/Piker-Alpha/AppleIntelInfo/blob/master/AppleIntelInfo/AppleIntelInfo.cpp#L282

Change the 8 into 5 (in two places) and compile the kext yourself. That should work.

And the Intel Power Gadget may be too slow to even detect it.

@anerik70
Copy link
Author

Sorry, I don't have XCODE. Can you compile it for me?

@anerik70
Copy link
Author

It seen to reach the Floor when is sleeping
captura de pantalla 2016-02-25 a las 8 07 14 a m

@Piker-Alpha
Copy link
Owner

Xcode is a free download (only requires registration) and I usually do not share compiled binaries as there is nothing to learn from a simple download.

The output looks fine to me.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants