Piker-Alpha / ssdtPRGen.sh

Script to generate a SSDT for Power Management
713 stars 156 forks source link

No ACPI Processor declarations found in the DSDT! with dual e5-2670 in an HP Z820 #232

Open khalifa-alhamdi opened 8 years ago

khalifa-alhamdi commented 8 years ago

Hello,

I have a patched DSDT and when i rung the ssdtPRGen.sh i get the following error.

No ACPI Processor declarations found in the DSDT! Using assumed Scope (_SB) {}

Error: Processor name(s) not found ...

my setup is an HP z820 with 2 x e5-2670 V1. it is a C602 chipset and 159B based mono. I have attached my original and patched DSDT (by others!) and also original SSDT and DSDT Files.zip

Appreciate your help.

Piker-Alpha commented 8 years ago

The processor declaration cannot be found in the DSDT but instead are part of SSDT-1.aml so we have to be a little creative:

1.) Copy ssdt-1.aml to ~/Desktop/dsdt.aml 2.) Copy apic.aml to ~/Desktop/apic.aml 3.) run: ./ssdtPRGen.sh -mode custom -p 'E5-2670 V1'

This way it will search for the Processor{} declarations in your SSDT-1.aml (which we renamed).

khalifa-alhamdi commented 8 years ago

Hi Piker,

Thanks a lot for your prompt reply.

I have followed your sept and copied the files as instructed. I then run the command and got this error.

After That i tried deleting the V1 from the processor name and managed to get something that is not working. Without a V1 in the processor name i get an ssdtPRGen.sh output folder as attached. I copied the ssdt.aml folder to /EFI/Clover/ACPI/Patched and then added this file to the ACPI/SortedOrder box as per step 4 and 6 of this guide.

https://rossfisher.me/2016/01/how-to-get-your-overclock-working-on-os-x-or-how-my-hackintosh-runs-a-2500k-4-8ghz/

when i restarted i got the error as per the photo in the attachment.

appreciate if you can look at these and find me solution.

untitled folder.zip

xxxx-Mac-Pro:~ xxxxx$ ./ssdtPRGen.sh -mode custom -p 'E5-2670 V1'

ssdtPRGen.sh v0.9 Copyright (c) 2011-2012 by † RevoGirl v6.6 Copyright (c) 2013 by † Jeroen

v18.6 Copyright (c) 2013-2016 by Pike R. Alpha

Bugs > https://github.com/Piker-Alpha/ssdtPRGen.sh/issues <

System information: Mac OS X 10.11.4 (15E65) Brandstring: "Intel(R) Xeon(R) CPU E5-2670 0 @ 2.60GHz"

Override value: (-mode) script mode changed to custom! Override value: (-p) processor model, now using: E5-2670 V1!

Error: Unknown processor model ... Visit http://ark.intel.com to gather the required data: Processor Number TDP Low Frequency Mode (use AppleIntelInfo.kext) Base Frequency Max Turbo Frequency Cores Threads Aborting ... Done.

After That i tried deleting the V1 from the processor name and managed to get something that is not working.

xxxx-Mac-Pro:~ xxxxx$ ./ssdtPRGen.sh -mode custom -p 'E5-2670'

ssdtPRGen.sh v0.9 Copyright (c) 2011-2012 by † RevoGirl v6.6 Copyright (c) 2013 by † Jeroen

v18.6 Copyright (c) 2013-2016 by Pike R. Alpha

Bugs > https://github.com/Piker-Alpha/ssdtPRGen.sh/issues <

System information: Mac OS X 10.11.4 (15E65) Brandstring: "Intel(R) Xeon(R) CPU E5-2670 0 @ 2.60GHz"

Override value: (-mode) script mode changed to custom! Override value: (-p) processor model, now using: E5-2670!

Version: models.cfg v160 / Haswell.cfg v150

Scope (SB) {21658 bytes} with ACPI Processor declarations found in the DSDT (ACPI 1.0 compliant)

Notice: Custom mode enabled Skipping ACPI table extraction from host computer! Getting enabled Processors from...: /Users/Khalifa/Desktop/APIC.aml Getting Processor declaration from: /Users/Khalifa/Desktop/DSDT.aml Used ACPI processor labels: – C000 C001 C002 C003 C004 C005 C006 C007 C008 C009 C00A C00B C00C C00D C00E C00F

Generating ssdt.dsl for a 'MacPro5,1' with board-id [Mac-F221BEC8] Sandy Bridge Core E5-2670 processor [0x206D6] setup [0x0402] With a maximum TDP of 115 Watt, as specified by Intel Number logical CPU's: 16 (Core Frequency: 2600 MHz) Number of Turbo States: 7 (2700-3300 MHz) Number of P-States: 22 (1200-3300 MHz) Injected C-States for C000 (C1,C3,C6,C7) Warning: 'cpu-type' may be set improperly (0x0402 instead of 0x0602)

Error: board-id [Mac-F221BEC8] not supported by Sandy Bridge – check SMBIOS data / use the -c option

Do you want to continue (y/n)? y Warning: 'system-type' may be set improperly (1 instead of 2)

Compiling: ssdt_pr.dsl Intel ACPI Component Architecture ASL Optimizing Compiler version 20140926-64 [Nov 6 2014] Copyright (c) 2000 - 2014 Intel Corporation

ASL Input: /Users/Khalifa/Library/ssdtPRGen/ssdt.dsl - 315 lines, 8513 bytes, 82 keywords AML Output: /Users/Khalifa/Library/ssdtPRGen/ssdt.aml - 2252 bytes, 35 named objects, 47 executable opcodes

Compilation complete. 0 Errors, 0 Warnings, 0 Remarks, 0 Optimizations

Do you want to copy /Users/Khalifa/Library/ssdtPRGen/ssdt.aml to /Extra/ssdt.aml? (y/n)? y Creating temporarily mount point: /Volumes/EFI Password: Mounting EFI partition... mount_hfs: error on mount(): error = -1. mount_hfs: Invalid argument cp: /Extra/ssdt.aml: No such file or directory umount: /Volumes/EFI: not currently mounted Do you want to open ssdt.dsl (y/n)? y

Piker-Alpha commented 8 years ago

You need to add processor data, something like:

'E5-2670 V1',115,1200,2600,3300,8,16,4,133

To Data/User Defined.cfg

See also: https://github.com/Piker-Alpha/ssdtPRGen.sh/blob/Beta/Data/User%20Defined.cfg for an example.

Also use the -cpus 2 argument.

khalifa-alhamdi commented 8 years ago

Thanks again.

Followed the same, now i get the ssdt.aml compiled with no errors but still get the startup error (as per picture) using the drop OEM option. Am i placing the ssdt.aml in the correct location /EFI/CLOVER/APCI/PATCHED?

xxxxxx-Mac-Pro:~ xxxxxx untitled folder 3.zip $ ./ssdtPRGen.sh -cpus 2 -mode custom -p 'E5-2670 V1'

ssdtPRGen.sh v0.9 Copyright (c) 2011-2012 by † RevoGirl v6.6 Copyright (c) 2013 by † Jeroen

v18.6 Copyright (c) 2013-2016 by Pike R. Alpha

Bugs > https://github.com/Piker-Alpha/ssdtPRGen.sh/issues <

System information: Mac OS X 10.11.4 (15E65) Brandstring: "Intel(R) Xeon(R) CPU E5-2670 0 @ 2.60GHz"

Override value: (-cpus) number of processors, now using: 2! Override value: (-mode) script mode changed to custom! Override value: (-p) processor model, now using: E5-2670 V1!

Scope (_SB) {21658 bytes} with ACPI Processor declarations found in the DSDT (ACPI 1.0 compliant)

Notice: Custom mode enabled Skipping ACPI table extraction from host computer! Getting enabled Processors from...: /Users/Khalifa/Desktop/APIC.aml Getting Processor declaration from: /Users/Khalifa/Desktop/DSDT.aml Used ACPI processor labels: – C000 C001 C002 C003 C004 C005 C006 C007 C008 C009 C00A C00B C00C C00D C00E C00F – C000 C001 C002 C003 C004 C005 C006 C007 C008 C009 C00A C00B C00C C00D C00E C00F

Generating ssdt.dsl for a 'MacPro5,1' with board-id [Mac-F221BEC8] Unknown Core E5-2670 V1 processor [0x206D6] setup [0x0402] With a maximum TDP of 115 Watt, as specified by Intel Number logical CPU's: 32 (Core Frequency: 2600 MHz) Number of Turbo States: 5 (2733-3300 MHz) Number of P-States: 13 (1600-3300 MHz) Injected C-States for C000 (C1,C3,C6) Warning: 'cpu-type' may be set improperly (0x0402 instead of 0x02) Warning: 'board-id' [Mac-F221BEC8] is not supported by Unknown power management Warning: 'system-type' may be set improperly (1 instead of 0)

Compiling: ssdt_pr.dsl Intel ACPI Component Architecture ASL Optimizing Compiler version 20140926-64 [Nov 6 2014] Copyright (c) 2000 - 2014 Intel Corporation

ASL Input: /Users/Khalifa/Library/ssdtPRGen/ssdt.dsl - 291 lines, 7286 bytes, 83 keywords AML Output: /Users/Khalifa/Library/ssdtPRGen/ssdt.aml - 2002 bytes, 36 named objects, 47 executable opcodes

Compilation complete. 0 Errors, 0 Warnings, 0 Remarks, 0 Optimizations

Do you want to copy /Users/Khalifa/Library/ssdtPRGen/ssdt.aml to /Extra/ssdt.aml? (y/n)? y Creating temporarily mount point: /Volumes/EFI Password: Mounting EFI partition... mount_hfs: error on mount(): error = -1. mount_hfs: Invalid argument cp: /Extra/ssdt.aml: No such file or directory umount: /Volumes/EFI: not currently mounted Do you want to open ssdt.dsl (y/n)? y

Piker-Alpha commented 8 years ago

That's more like it. And I don't know how DropOEM works in Clover, but you cannot drop all OEM tables, or the required Processor declarations in SDT-1.aml will also be gone. The target folder looks fine to me.

khalifa-alhamdi commented 8 years ago

Well, i removed the drop oem checkbox and i started.

in this forum they tell we can check the states. So i followed the instruction and loaded the kext and i got the following. Does it seem turbo boosted? my HW monitor still seeing frequency as 2.57ghz and geek bench score still at 30K.

http://www.tonymacx86.com/threads/quick-guide-to-generate-a-ssdt-for-cpu-power-management.177456/

bash-3.2# chown -R 0:0 ~/Desktop/AppleIntelInfo.kext bash-3.2# chmod -R 755 ~/Desktop/AppleIntelInfo.kext bash-3.2# kextload ~/Desktop/AppleIntelInfo.kext bash-3.2# cat /tmp/AppleIntelInfo.dat

AppleIntelInfo.kext v1.2 Copyright © 2012-2015 Pike R. Alpha. All rights reserved

Settings:

logMSRs............................: 1 logIGPU............................: 0 logIntelRegs.......................: 1 logCStates.........................: 1 logIPGStyle........................: 1 InitialTSC.........................: 0x258cd1c87c6 MWAIT C-States.....................: 135456

Model Specific Regiters

MSR_CORE_THREAD_COUNT......(0x35) : 0x80010 MSR_PLATFORM_INFO..........(0xCE) : 0xC0064011A00 MSR_PMG_CST_CONFIG_CONTROL.(0xE2) : 0x1E008403 MSR_PMG_IO_CAPTURE_BASE....(0xE4) : 0x10414 IA32_MPERF.................(0xE7) : 0x196F0B4B052 IA32_APERF.................(0xE8) : 0x1960D218E44 MSR_FLEX_RATIO.............(0x194) : 0x0 MSR_IA32_PERF_STATUS.......(0x198) : 0x221B00001A00 MSR_IA32_PERF_CONTROL......(0x199) : 0x1A00 IA32_CLOCK_MODULATION......(0x19A) : 0x0 IA32_THERM_STATUS..........(0x19C) : 0x88260000 IA32_MISC_ENABLES..........(0x1A0) : 0x850089 MSR_MISC_PWR_MGMT..........(0x1AA) : 0x400000 MSR_TURBO_RATIO_LIMIT......(0x1AD) : 0x1E1E1F1F20202121 IA32_ENERGY_PERF_BIAS......(0x1B0) : 0x0 MSR_POWER_CTL..............(0x1FC) : 0x2504005B MSR_RAPL_POWER_UNIT........(0x606) : 0xA1003 MSR_PKG_POWER_LIMIT........(0x610) : 0x8000847E00148398 MSR_PKG_ENERGY_STATUS......(0x611) : 0xB8119844 MSR_PKG_POWER_INFO.........(0x614) : 0x2F05A001980398 MSR_PP0_CURRENT_CONFIG.....(0x601) : 0x141494800005C8 MSR_PP0_POWER_LIMIT........(0x638) : 0x0 MSR_PP0_ENERGY_STATUS......(0x639) : 0x92A03EF4 MSR_PP0_POLICY.............(0x63a) : 0x0 MSR_PKGC6_IRTL.............(0x60b) : 0x0 MSR_PKGC7_IRTL.............(0x60c) : 0x0 MSR_PKG_C2_RESIDENCY.......(0x60d) : 0x0 MSR_PKG_C3_RESIDENCY.......(0x3f8) : 0x0 MSR_PKG_C6_RESIDENCY.......(0x3f9) : 0x0 MSR_PKG_C7_RESIDENCY.......(0x3fa) : 0x0 IA32_TSC_DEADLINE..........(0x6E0) : 0x258D21C44BA PCH device.................: 0x1D418086

CPU Ratio Info:

CPU Low Frequency Mode.............: 1200 MHz CPU Maximum non-Turbo Frequency....: 2600 MHz CPU Maximum Turbo Frequency........: 3300 MHz CPU P-States [ (26) ] bash-3.2#

Piker-Alpha commented 8 years ago

Ah ok. The CPU Low Frequency Mode is 1200 MHz so please use 1200 instead of 1600 in User Defined.cfg and re-run the script.

Also. There is only one P-State [26] so you either didn't let it run long enough, or something is wrong.

khalifa-alhamdi commented 8 years ago

Hi again,

I really don't understand much about P-States and i did not understand your comment about letting it run long enough.

Result: still same performance. i expect to get geek bench 37K score if turbo stepping is enabled. What i did. 1- change cpu low frequency to 1200MHz in the user defined.cfg file and rerun the script. 2- copied the ssdt.aml to the /EFT/Clover/APCI/Patched 3- restarted and then chose drop ssdt stepPM (if i choose to drop the cpudef one i get the error the processor is unknown) 4- started and this time i run prime95 torture test for 2 mins. 5- ran geek bench score and result is still same at 30 k. 6- ran the appleintelinfo kext and got the same results.

bash-3.2# chown -R 0:0 ~/Desktop/AppleIntelInfo.kext bash-3.2# chmod -R 755 ~/Desktop/AppleIntelInfo.kext bash-3.2# kextload ~/Desktop/AppleIntelInfo.kext bash-3.2# cat /tmp/AppleIntelInfo.dat

AppleIntelInfo.kext v1.2 Copyright © 2012-2015 Pike R. Alpha. All rights reserved

Settings:

logMSRs............................: 1 logIGPU............................: 0 logIntelRegs.......................: 1 logCStates.........................: 1 logIPGStyle........................: 1 InitialTSC.........................: 0x1c1e1923eba MWAIT C-States.....................: 135456

Model Specific Regiters

MSR_CORE_THREAD_COUNT......(0x35) : 0x80010 MSR_PLATFORM_INFO..........(0xCE) : 0xC0064011A00 MSR_PMG_CST_CONFIG_CONTROL.(0xE2) : 0x1E008403 MSR_PMG_IO_CAPTURE_BASE....(0xE4) : 0x10414 IA32_MPERF.................(0xE7) : 0x1B9D3F94586 IA32_APERF.................(0xE8) : 0x1BCBF9613CF MSR_FLEX_RATIO.............(0x194) : 0x0 MSR_IA32_PERF_STATUS.......(0x198) : 0x21F200001A00 MSR_IA32_PERF_CONTROL......(0x199) : 0x1A00 IA32_CLOCK_MODULATION......(0x19A) : 0x0 IA32_THERM_STATUS..........(0x19C) : 0x88240000 IA32_MISC_ENABLES..........(0x1A0) : 0x850089 MSR_MISC_PWR_MGMT..........(0x1AA) : 0x400000 MSR_TURBO_RATIO_LIMIT......(0x1AD) : 0x1E1E1F1F20202121 IA32_ENERGY_PERF_BIAS......(0x1B0) : 0x0 MSR_POWER_CTL..............(0x1FC) : 0x2504005B MSR_RAPL_POWER_UNIT........(0x606) : 0xA1003 MSR_PKG_POWER_LIMIT........(0x610) : 0x8000847E00148398 MSR_PKG_ENERGY_STATUS......(0x611) : 0xDBFD95E2 MSR_PKG_POWER_INFO.........(0x614) : 0x2F05A001980398 MSR_PP0_CURRENT_CONFIG.....(0x601) : 0x141494800005C8 MSR_PP0_POWER_LIMIT........(0x638) : 0x0 MSR_PP0_ENERGY_STATUS......(0x639) : 0xB4518032 MSR_PP0_POLICY.............(0x63a) : 0x0 MSR_PKGC6_IRTL.............(0x60b) : 0x0 MSR_PKGC7_IRTL.............(0x60c) : 0x0 MSR_PKG_C2_RESIDENCY.......(0x60d) : 0x0 MSR_PKG_C3_RESIDENCY.......(0x3f8) : 0x0 MSR_PKG_C6_RESIDENCY.......(0x3f9) : 0x0 MSR_PKG_C7_RESIDENCY.......(0x3fa) : 0x0 IA32_TSC_DEADLINE..........(0x6E0) : 0x1C1E65C725B PCH device.................: 0x1D418086

CPU Ratio Info:

CPU Low Frequency Mode.............: 1200 MHz CPU Maximum non-Turbo Frequency....: 2600 MHz CPU Maximum Turbo Frequency........: 3300 MHz CPU P-States [ (26) ]

Piker-Alpha commented 8 years ago

No Turbo frequencies triggered. Add -turbo 2600 -w 1

khalifa-alhamdi commented 8 years ago

as an option to the shell?

Piker-Alpha commented 8 years ago

No the ssdtPRGen.sh script (see also -help).

khalifa-alhamdi commented 8 years ago

i have done that. It did not help. But should i not put -turbo 3300 -w 1?

xxxx-Mac-Pro:~ xxxx$ ./ssdtPRGen.sh -cpus 2 -turbo 2600 -w 1 -mode custom -p 'E5-2670 V1'

ssdtPRGen.sh v0.9 Copyright (c) 2011-2012 by † RevoGirl v6.6 Copyright (c) 2013 by † Jeroen

v18.6 Copyright (c) 2013-2016 by Pike R. Alpha

Bugs > https://github.com/Piker-Alpha/ssdtPRGen.sh/issues <

System information: Mac OS X 10.11.4 (15E65) Brandstring: "Intel(R) Xeon(R) CPU E5-2670 0 @ 2.60GHz"

Override value: (-cpus) number of processors, now using: 2! Override value: (-turbo) maximum (turbo) frequency, now using: 2600 MHz! Override value: (-w) Ivy Bridge workarounds, now set to: 1! Override value: (-mode) script mode changed to custom! Override value: (-p) processor model, now using: E5-2670 V1!

Scope (_SB) {21658 bytes} with ACPI Processor declarations found in the DSDT (ACPI 1.0 compliant)

Notice: Custom mode enabled Skipping ACPI table extraction from host computer! Getting enabled Processors from...: /Users/Khalifa/Desktop/APIC.aml Getting Processor declaration from: /Users/Khalifa/Desktop/DSDT.aml Used ACPI processor labels: – C000 C001 C002 C003 C004 C005 C006 C007 C008 C009 C00A C00B C00C C00D C00E C00F – C000 C001 C002 C003 C004 C005 C006 C007 C008 C009 C00A C00B C00C C00D C00E C00F

Generating ssdt.dsl for a 'MacPro5,1' with board-id [Mac-F221BEC8] Unknown Core E5-2670 V1 processor [0x206D6] setup [0x0402] With a maximum TDP of 115 Watt, as specified by Intel Number logical CPU's: 32 (Core Frequency: 2600 MHz) Number of Turbo States: 0 Number of P-States: 11 (1200-2600 MHz) Injected C-States for C000 (C1,C3,C6) Warning: 'cpu-type' may be set improperly (0x0402 instead of 0x02) Warning: 'board-id' [Mac-F221BEC8] is not supported by Unknown power management Warning: 'system-type' may be set improperly (1 instead of 0)

Compiling: ssdt_pr.dsl Intel ACPI Component Architecture ASL Optimizing Compiler version 20140926-64 [Nov 6 2014] Copyright (c) 2000 - 2014 Intel Corporation

ASL Input: /Users/Khalifa/Library/ssdtPRGen/ssdt.dsl - 290 lines, 7186 bytes, 84 keywords AML Output: /Users/Khalifa/Library/ssdtPRGen/ssdt.aml - 1986 bytes, 36 named objects, 48 executable opcodes

Compilation complete. 0 Errors, 0 Warnings, 0 Remarks, 0 Optimizations

Do you want to copy /Users/Khalifa/Library/ssdtPRGen/ssdt.aml to /Extra/ssdt.aml? (y/n)? n Archive.zip

Piker-Alpha commented 8 years ago

Make sure that you have this in your Data/User Defined.cfg file: 'E5-2670 V1',115,1200,2600,3300,8,16,4,133

Then run the script like so: ./ssdtPRGen.sh -cpus 2 -p 'E5-2670 V1' -turbo 2600 -w 1

khalifa-alhamdi commented 8 years ago

without the -mode custom it does not find the processor definition. and with it, the turbo stepping does not work.

Khalifas-Mac-Pro:Desktop Khalifa$ ./ssdtPRGen.sh -cpus 2 -p 'E5-2670 V1' -turbo 2600 -w 1

ssdtPRGen.sh v0.9 Copyright (c) 2011-2012 by † RevoGirl v6.6 Copyright (c) 2013 by † Jeroen

v18.6 Copyright (c) 2013-2016 by Pike R. Alpha

Bugs > https://github.com/Piker-Alpha/ssdtPRGen.sh/issues <

System information: Mac OS X 10.11.4 (15E65) Brandstring: "Intel(R) Xeon(R) CPU E5-2670 0 @ 2.60GHz"

Override value: (-cpus) number of processors, now using: 2! Override value: (-p) processor model, now using: E5-2670 V1! Override value: (-turbo) maximum (turbo) frequency, now using: 2600 MHz! Override value: (-w) Ivy Bridge workarounds, now set to: 1!

Warning: No ACPI Processor declarations found in the DSDT! Using assumed Scope (_SB) {}

Error: Processor name(s) not found ... Aborting ... Done.

Khalifas-Mac-Pro:Desktop Khalifa$ ./ssdtPRGen.sh -cpus 2 -turbo 2600 -w 1 -mode custom -p 'E5-2670 V1'

ssdtPRGen.sh v0.9 Copyright (c) 2011-2012 by † RevoGirl v6.6 Copyright (c) 2013 by † Jeroen

v18.6 Copyright (c) 2013-2016 by Pike R. Alpha

Bugs > https://github.com/Piker-Alpha/ssdtPRGen.sh/issues <

System information: Mac OS X 10.11.4 (15E65) Brandstring: "Intel(R) Xeon(R) CPU E5-2670 0 @ 2.60GHz"

Override value: (-cpus) number of processors, now using: 2! Override value: (-turbo) maximum (turbo) frequency, now using: 2600 MHz! Override value: (-w) Ivy Bridge workarounds, now set to: 1! Override value: (-mode) script mode changed to custom! Override value: (-p) processor model, now using: E5-2670 V1!

Scope (_SB) {21658 bytes} with ACPI Processor declarations found in the DSDT (ACPI 1.0 compliant)

Notice: Custom mode enabled Skipping ACPI table extraction from host computer! Getting enabled Processors from...: /Users/Khalifa/Desktop/APIC.aml Getting Processor declaration from: /Users/Khalifa/Desktop/DSDT.aml Used ACPI processor labels: – C000 C001 C002 C003 C004 C005 C006 C007 C008 C009 C00A C00B C00C C00D C00E C00F – C000 C001 C002 C003 C004 C005 C006 C007 C008 C009 C00A C00B C00C C00D C00E C00F

Generating ssdt.dsl for a 'MacPro5,1' with board-id [Mac-F221BEC8] Unknown Core E5-2670 V1 processor [0x206D6] setup [0x0402] With a maximum TDP of 115 Watt, as specified by Intel Number logical CPU's: 32 (Core Frequency: 2600 MHz) Number of Turbo States: 0 Number of P-States: 11 (1200-2600 MHz) Injected C-States for C000 (C1,C3,C6) Warning: 'cpu-type' may be set improperly (0x0402 instead of 0x02) Warning: 'board-id' [Mac-F221BEC8] is not supported by Unknown power management Warning: 'system-type' may be set improperly (1 instead of 0)

Compiling: ssdt_pr.dsl Intel ACPI Component Architecture ASL Optimizing Compiler version 20140926-64 [Nov 6 2014] Copyright (c) 2000 - 2014 Intel Corporation

ASL Input: /Users/Khalifa/Library/ssdtPRGen/ssdt.dsl - 290 lines, 7186 bytes, 84 keywords AML Output: /Users/Khalifa/Library/ssdtPRGen/ssdt.aml - 1986 bytes, 36 named objects, 48 executable opcodes

Compilation complete. 0 Errors, 0 Warnings, 0 Remarks, 0 Optimizations

Do you want to copy /Users/Khalifa/Library/ssdtPRGen/ssdt.aml to /Extra/ssdt.aml? (y/n)? n Do you want to open ssdt.dsl (y/n)?

khalifa-alhamdi commented 8 years ago

I noticed that the last digit before last in the user defined.cfg in you last comment is 4 instead of 0 that was originally there. So, i rerun (with -mode custom) and still got no turbo stuff.

Please note that state 25 was appearing from before after a few of the changes in the command.

bash-3.2# kextload ~/Desktop/AppleIntelInfo.kext bash-3.2# cat /tmp/AppleIntelInfo.dat

AppleIntelInfo.kext v1.2 Copyright © 2012-2015 Pike R. Alpha. All rights reserved

Settings:

logMSRs............................: 1 logIGPU............................: 0 logIntelRegs.......................: 1 logCStates.........................: 1 logIPGStyle........................: 1 InitialTSC.........................: 0xf4799a5fc52 MWAIT C-States.....................: 135456

Model Specific Regiters

MSR_CORE_THREAD_COUNT......(0x35) : 0x80010 MSR_PLATFORM_INFO..........(0xCE) : 0xC0064011A00 MSR_PMG_CST_CONFIG_CONTROL.(0xE2) : 0x1E008403 MSR_PMG_IO_CAPTURE_BASE....(0xE4) : 0x10414 IA32_MPERF.................(0xE7) : 0x3409856AF2 IA32_APERF.................(0xE8) : 0x33247E0005 MSR_FLEX_RATIO.............(0x194) : 0x0 MSR_IA32_PERF_STATUS.......(0x198) : 0x224400001A00 MSR_IA32_PERF_CONTROL......(0x199) : 0x1A00 IA32_CLOCK_MODULATION......(0x19A) : 0x0 IA32_THERM_STATUS..........(0x19C) : 0x881F0000 IA32_MISC_ENABLES..........(0x1A0) : 0x850089 MSR_MISC_PWR_MGMT..........(0x1AA) : 0x400000 MSR_TURBO_RATIO_LIMIT......(0x1AD) : 0x1E1E1F1F20202121 IA32_ENERGY_PERF_BIAS......(0x1B0) : 0x0 MSR_POWER_CTL..............(0x1FC) : 0x2504005B MSR_RAPL_POWER_UNIT........(0x606) : 0xA1003 MSR_PKG_POWER_LIMIT........(0x610) : 0x8000847E00148398 MSR_PKG_ENERGY_STATUS......(0x611) : 0x17230CD6 MSR_PKG_POWER_INFO.........(0x614) : 0x2F05A001980398 MSR_PP0_CURRENT_CONFIG.....(0x601) : 0x141494800005C8 MSR_PP0_POWER_LIMIT........(0x638) : 0x0 MSR_PP0_ENERGY_STATUS......(0x639) : 0x1285232E MSR_PP0_POLICY.............(0x63a) : 0x0 MSR_PKGC6_IRTL.............(0x60b) : 0x0 MSR_PKGC7_IRTL.............(0x60c) : 0x0 MSR_PKG_C2_RESIDENCY.......(0x60d) : 0x0 MSR_PKG_C3_RESIDENCY.......(0x3f8) : 0x0 MSR_PKG_C6_RESIDENCY.......(0x3f9) : 0x0 MSR_PKG_C7_RESIDENCY.......(0x3fa) : 0x0 IA32_TSC_DEADLINE..........(0x6E0) : 0xF47A484C935 PCH device.................: 0x1D418086

CPU Ratio Info:

CPU Low Frequency Mode.............: 1200 MHz CPU Maximum non-Turbo Frequency....: 2600 MHz CPU Maximum Turbo Frequency........: 3300 MHz CPU P-States [ 25 (26) ]

khalifa-alhamdi commented 8 years ago

Thank you very much. It did not till now, but i am sure one day it will do. I will keep trying.

However, today i am moving house and it is time now to take the mackintosh and the office table. Will come back after a few days and we will fix this. :)

really thanks for helping.

See you then.

Piker-Alpha commented 8 years ago

I noticed that the processor labels of the first processor were also used for the second processor. That is not good. Version 18.7 should fix this, and all processor labels were there when I ran: ./ssdtPRGen.sh -mode custom -cpus 2 -p 'E5-2670 V1' -turbo 2600 -w 1

And yeah you definitely need -mode custom

p.s. Happy moving ;)

khalifa-alhamdi commented 8 years ago

Hello, everyone. I am back, are there any updates?

khalifa-alhamdi commented 8 years ago

I can update, i ran the shell version 18.9 and now i have a kernel panic. Problem is i dont have the install usb with me, a bit difficult to recover.

khalifa-alhamdi commented 8 years ago

i managed to get rid of that problematic ssdt.aml file and now i booted. I attached here the ssdtPRGen folder with panic photos. Pleas let me know if there is something to solve this issue.

I now don't run with any patched ssdt. ssdtPRGen 18.9 with panic photos.zip

Edit:

clear photos for the panic.

Archive.zip

khalifa-alhamdi commented 8 years ago

So,

no more updates hints?

Piker-Alpha commented 8 years ago

You should know that work can get in the way of a timely update. Anyway. In your last ssdt.dsl please comment out the Method (_DSM){} and re-compile it with: `iasl ssdt.dsl. Let me know what that gives.

khalifa-alhamdi commented 8 years ago

can you please give me a guide of how to compile with iasl ssdt.dsl.

Piker-Alpha commented 8 years ago

Why? Are you getting an error. Something like: -bash: iasl: command not found? You can solve that by opening a terminal window and enter: locate iasl A zipped up copy of iasl can also be found in the ssdtPRGen.sh/Tools directory.

Alternatively. You may try this zipped up copy of ssdt.aml ssdt.aml.zip

khalifa-alhamdi commented 8 years ago

because i did not know what iasl is. Anyway, i have downloaded the iasl from somewhere and compiled it using the command iasl ssdt.dsl and got a file. It is different from what you have given. I will try both an let u know.

Many thanks.

khalifa-alhamdi commented 8 years ago

I am back with nothing.

The ssdt.aml file you gave does not generate any additional states.

bash-3.2# sudo -s bash-3.2# kextload ~/Desktop/AppleIntelInfo.kext bash-3.2# cat /tmp/AppleIntelInfo.dat

AppleIntelInfo.kext v1.2 Copyright © 2012-2015 Pike R. Alpha. All rights reserved

Settings:

logMSRs............................: 1 logIGPU............................: 0 logIntelRegs.......................: 1 logCStates.........................: 1 logIPGStyle........................: 1 InitialTSC.........................: 0x1ded61adcf88 MWAIT C-States.....................: 135456

Model Specific Regiters

MSR_CORE_THREAD_COUNT......(0x35) : 0x80010 MSR_PLATFORM_INFO..........(0xCE) : 0xC0064011A00 MSR_PMG_CST_CONFIG_CONTROL.(0xE2) : 0x1E008403 MSR_PMG_IO_CAPTURE_BASE....(0xE4) : 0x10414 IA32_MPERF.................(0xE7) : 0x55CA0B839A IA32_APERF.................(0xE8) : 0x54F015AEB7 MSR_FLEX_RATIO.............(0x194) : 0x0 MSR_IA32_PERF_STATUS.......(0x198) : 0x21F200001A00 MSR_IA32_PERF_CONTROL......(0x199) : 0x1A00 IA32_CLOCK_MODULATION......(0x19A) : 0x0 IA32_THERM_STATUS..........(0x19C) : 0x881F0000 IA32_MISC_ENABLES..........(0x1A0) : 0x850089 MSR_MISC_PWR_MGMT..........(0x1AA) : 0x400000 MSR_TURBO_RATIO_LIMIT......(0x1AD) : 0x1E1E1F1F20202121 IA32_ENERGY_PERF_BIAS......(0x1B0) : 0x0 MSR_POWER_CTL..............(0x1FC) : 0x2504005B MSR_RAPL_POWER_UNIT........(0x606) : 0xA1003 MSR_PKG_POWER_LIMIT........(0x610) : 0x8000847E00148398 MSR_PKG_ENERGY_STATUS......(0x611) : 0x271B78D7 MSR_PKG_POWER_INFO.........(0x614) : 0x2F05A001980398 MSR_PP0_CURRENT_CONFIG.....(0x601) : 0x141494800005C8 MSR_PP0_POWER_LIMIT........(0x638) : 0x0 MSR_PP0_ENERGY_STATUS......(0x639) : 0x1F442AD2 MSR_PP0_POLICY.............(0x63a) : 0x0 MSR_PKGC6_IRTL.............(0x60b) : 0x0 MSR_PKGC7_IRTL.............(0x60c) : 0x0 MSR_PKG_C2_RESIDENCY.......(0x60d) : 0x0 MSR_PKG_C3_RESIDENCY.......(0x3f8) : 0x0 MSR_PKG_C6_RESIDENCY.......(0x3f9) : 0x0 MSR_PKG_C7_RESIDENCY.......(0x3fa) : 0x0 IA32_TSC_DEADLINE..........(0x6E0) : 0x1DED67FFE66A PCH device.................: 0x1D418086

CPU Ratio Info:

CPU Low Frequency Mode.............: 1200 MHz CPU Maximum non-Turbo Frequency....: 2600 MHz CPU Maximum Turbo Frequency........: 3300 MHz CPU P-States [ 25 (26) ]

as for the ssdt.aml file i generated, it the exactly the same to the one provided by you except that mine has the following header. I did not try it.

Piker-Alpha commented 8 years ago

Oops. Please try this on your computer:

sudo ./ssdtPRGen.sh -mode custom -cpus 2

Let me know what the terminal output is.

Edit: In case you want to use the data in User Defined.cfg then please use this: 'E5-2670 V1',115,1200,2600,3300,8,16,0,100 And launch the script with:

sudo ./ssdtPRGen.sh -mode custom -cpus 2 -p 'E5-2670 V1' 
khalifa-alhamdi commented 8 years ago

I have done that and the log is as per below. Please note that the for a number of tries, i was using the definition

'E5-2670 V1',115,1200,2600,3300,8,16,0,133 now i have used the following. 'E5-2670 V1',115,1200,2600,3300,8,16,4,133 (we have started with this one and then we changed to the one with the 0 mid way in thread)

xxx-Mac-Pro:~ xxx$ sudo ./ssdtPRGen.sh -mode custom -cpus 2 -p 'E5-2670 V1' Password:

ssdtPRGen.sh v0.9 Copyright (c) 2011-2012 by † RevoGirl v6.6 Copyright (c) 2013 by † Jeroen

v18.9 Copyright (c) 2013-2016 by Pike R. Alpha

Bugs > https://github.com/Piker-Alpha/ssdtPRGen.sh/issues <

System information: Mac OS X 10.11.4 (15E65) Brandstring: "Intel(R) Xeon(R) CPU E5-2670 0 @ 2.60GHz"

Override value: (-mode) script mode changed to custom! Override value: (-cpus) number of processors, now using: 2! Override value: (-p) processor model, now using: E5-2670 V1!

Notice: Custom mode enabled Skipping ACPI table extraction from host computer! Getting enabled Processors from...: /Users/Khalifa/Desktop/APIC.aml Getting Processor declaration from: /Users/Khalifa/Desktop/DSDT.aml Used ACPI processor labels: – C000 C001 C002 C003 C004 C005 C006 C007 C008 C009 C00A C00B C00C C00D C00E C00F – C100 C101 C102 C103 C104 C105 C106 C107 C108 C109 C10A C10B C10C C10D C10E C10F

Generating ssdt.dsl for a 'MacPro5,1' with board-id [Mac-F221BEC8] Ivy Bridge Core E5-2670 V1 processor [0x206D6] setup [0x0402] With a maximum TDP of 115 Watt, as specified by Intel Number logical CPU's: 32 (Core Frequency: 2600 MHz) Number of Turbo States: 5 (2733-3300 MHz) Number of P-States: 16 (1200-3300 MHz) Injected C-States for C000 (C1,C3,C6,C7) Injected C-States for C001 (C1,C2,C3) Warning: 'cpu-type' may be set improperly (0x0402 instead of 0x0702)

Error: board-id [Mac-F221BEC8] not supported by Ivy Bridge – check SMBIOS data / use the -target option

Do you want to continue (y/n)? y Warning: 'system-type' may be set improperly (1 instead of 2)

Compiling: ssdt_pr.dsl Intel ACPI Component Architecture ASL+ Optimizing Compiler version 20160422-64(RM) Copyright (c) 2000 - 2016 Intel Corporation

/Users/Khalifa/Library/ssdtPRGen/ssdt.dsl 79: Name (APSS, Package (0x15) Remark 2063 - Initializer list shorter than declared package length ^

/Users/Khalifa/Library/ssdtPRGen/ssdt.dsl 442: Name (APSS, Package (0x15) Remark 2063 - Initializer list shorter than declared package length ^

ASL Input: /Users/Khalifa/Library/ssdtPRGen/ssdt.dsl - 783 lines, 24151 bytes, 223 keywords AML Output: /Users/Khalifa/Library/ssdtPRGen/ssdt.aml - 6005 bytes, 102 named objects, 121 executable opcodes

Compilation complete. 0 Errors, 0 Warnings, 2 Remarks, 0 Optimizations

Do you want to copy /Users/Khalifa/Library/ssdtPRGen/ssdt.aml to /Extra/ssdt.aml? (y/n)? n Do you want to open ssdt.dsl (y/n)? n xxx-Mac-Pro:~ xxx$

folder is attached too. ssdtPRGen.zip

edit: cpu ratio with the above.

CPU Ratio Info:

CPU Low Frequency Mode.............: 1200 MHz CPU Maximum non-Turbo Frequency....: 2600 MHz CPU Maximum Turbo Frequency........: 3300 MHz CPU P-States [ (26) ] CPU P-States [ 25 (26) ]

Piker-Alpha commented 8 years ago

The output above is still using 133 instead of 100. Note that the 4,133 at the end of the line in User Defined.cfg is wrong. Don't use it. Please fix that.

khalifa-alhamdi commented 8 years ago

Ok. Thanks for highlighting that. I fixed it to 0,100 but still no good.

xxxxx-Mac-Pro:~ xxxx$ sudo ./ssdtPRGen.sh -mode custom -cpus 2 -p 'E5-2670 V1'

ssdtPRGen.sh v0.9 Copyright (c) 2011-2012 by † RevoGirl v6.6 Copyright (c) 2013 by † Jeroen

v18.9 Copyright (c) 2013-2016 by Pike R. Alpha

Bugs > https://github.com/Piker-Alpha/ssdtPRGen.sh/issues <

System information: Mac OS X 10.11.4 (15E65) Brandstring: "Intel(R) Xeon(R) CPU E5-2670 0 @ 2.60GHz"

Override value: (-mode) script mode changed to custom! Override value: (-cpus) number of processors, now using: 2! Override value: (-p) processor model, now using: E5-2670 V1!

Notice: Custom mode enabled Skipping ACPI table extraction from host computer! Getting enabled Processors from...: /Users/Khalifa/Desktop/APIC.aml Getting Processor declaration from: /Users/Khalifa/Desktop/DSDT.aml Used ACPI processor labels: – C000 C001 C002 C003 C004 C005 C006 C007 C008 C009 C00A C00B C00C C00D C00E C00F – C100 C101 C102 C103 C104 C105 C106 C107 C108 C109 C10A C10B C10C C10D C10E C10F

Generating ssdt.dsl for a 'MacPro5,1' with board-id [Mac-F221BEC8] Unknown Core E5-2670 V1 processor [0x206D6] setup [0x0402] With a maximum TDP of 115 Watt, as specified by Intel Number logical CPU's: 32 (Core Frequency: 2600 MHz) Number of Turbo States: 7 (2700-3300 MHz) Number of P-States: 22 (1200-3300 MHz) Injected C-States for C000 (C1,C3,C6) Warning: 'cpu-type' may be set improperly (0x0402 instead of 0x02) Warning: 'board-id' [Mac-F221BEC8] is not supported by Unknown power management Warning: 'system-type' may be set improperly (1 instead of 0)

Compiling: ssdt_pr.dsl Intel ACPI Component Architecture ASL+ Optimizing Compiler version 20160422-64(RM) Copyright (c) 2000 - 2016 Intel Corporation

ASL Input: /Users/Khalifa/Library/ssdtPRGen/ssdt.dsl - 563 lines, 17056 bytes, 152 keywords AML Output: /Users/Khalifa/Library/ssdtPRGen/ssdt.aml - 4998 bytes, 71 named objects, 81 executable opcodes

Compilation complete. 0 Errors, 0 Warnings, 0 Remarks, 0 Optimizations

Do you want to copy /Users/Khalifa/Library/ssdtPRGen/ssdt.aml to /Extra/ssdt.aml? (y/n)? n Do you want to open ssdt.dsl (y/n)? n Khalifas-Mac-Pro:~ xxxxx$

cpu ratios same as above.

ssdtPRGen1.zip

Piker-Alpha commented 8 years ago

1.) Please e-mail (see script for e-mail address) me your IORegistryExplorer dump (v2 only, search tonymacx86.com for download). 2.) add enable ACPI debug boot args (search my blog). 3.) check /var/log/system.log for errors. 4.) run kextstat and zip it up for me.

khalifa-alhamdi commented 8 years ago

hello,

I have emailed you the ioregistry dump and also the kextstat output.

as for the enable ACPI debug boot args, i searched your blog but could not find the boot args and also searched the web.

is it only a simple flag in clover? if t hat is the case, what is the flag?

Piker-Alpha commented 8 years ago

Thanks. I will look at it tonight.

As for the boot args -> Google 'pikeralpha AHCI debug' does the job (first hit).

khalifa-alhamdi commented 8 years ago

as per my email a few hours ago, i have followed the steps in your pout here. https://pikeralpha.wordpress.com/2013/12/23/enabling-acpi-debugging/

i have added the -v debug=0x12a acpi_layer=0x08 acpi_level=0x02 msgbuf=309212 to com.apple.boot.plist using plisteditor pro.

restarted and system.log was sent to you by mail.

if this is not what is required, please let me know.

Piker-Alpha commented 8 years ago

The ACPI data that I am looking for is not there. You probably forgot to download and/or run debugMachKernel.sh (see "Update" on that page). Please fix this.

khalifa-alhamdi commented 8 years ago

Thanks and sorry again. I thought the shell only inserts the arguments in the plist file, they why i did not download it.

Anyway, I have downloaded the shell and chmod +x it. The arguments are there from before. The instructions do not say that i need to run it. However, i did try run it and it asked me install developer tools. I skipped that. I restarted and the system was sent to you by email.

khalifa-alhamdi commented 8 years ago

so i ran the shell and it asked me to download the command line tools. I did that and run it again. i restarted and verbose log showed many more lines than usual, i am sure this time there is something for you.

Piker-Alpha commented 8 years ago

Great. Please compress the file and e-mail me the file. Let's hope that I spot something there. Thanks.

One other thing. Or two actually. I did check your IORegistryExplorer dump and I see that there is no AppleSMCPDRC (a kext) loaded, and your SBUS is also broken. Please correct this. Please ask someone with a X99 motherboard (I happen to own one, plus a i7-6800K and i7-6850K processor, but I never actually installed/used it).

khalifa-alhamdi commented 8 years ago

which file? the system.log already sent to you by mail. is there any other file?

AppleSMCPDRC. I have FakeSMC installed, i don't know if it is related. I will however look for this kext and load it.

as for SBUS, i don't know what is this and i have tried google with no much luck. I appreciate if you give a guide to this and how to extract and get this one and also install it.

khalifa-alhamdi commented 8 years ago

so any more feedback on the log and way forward?

Piker-Alpha commented 8 years ago

Nope. Sorry. Certainly not before the weekend.

khalifa-alhamdi commented 8 years ago

Its is not too late to say: happy weekend!

khalifa-alhamdi commented 8 years ago

So, it seems a hard nut to crack.

Piker-Alpha commented 8 years ago

I decided to setup my X99 first, as you may have noticed in my blog. This move should help me to solve power management related issues and hopefully in a little less time. And please remember this; it is just a hobby for me ;)

khalifa-alhamdi commented 8 years ago

sure i understand that. Just checking on progress!!.

khalifa-alhamdi commented 8 years ago

Hello,

How is the x99 doing?

Just to let u know that i am getting 37k geekbench score on esxi, just no graphics!