Jump to content

Clover General discussion


ErmaC
30,171 posts in this topic

Recommended Posts

Thank you SammlerG

I have unlocked many different Bios with Uefipatch tool

My question is different

Is it still mandatory to avoid some kernel panic o system freeze as som time ago or now it is patched in some different ways by boot loader?

I am asking because I have a pretty stable system with a locked or unlocked Bios

 

I think, clover can not unlock a CPU register which is locked by bios.

If msr 0xe2 is locked, no one can write to this. If you do, System reboots with Kernel panic.

You must unlock the register in your bios, see the guides for ASUS X99 and X299.

Link to comment
Share on other sites

If your bios is locked, and you don‘t use xcpm patches, then the Kernel xcpm routine writes to msr 0xe2, and this ends with KP.

 

I‘m not sure... maybe clover can patch the kernel code with AICPUPM?

 

Edit: and it‘s not mandatory to use other settings for msr 0xe2.

Link to comment
Share on other sites

and this is what i discovered f0r MSR 0xE2... it enable or disable C states of your CPU... 

 

have fun  :)


MSR_PMG_CST_CONFIG_CONTROL.....(0xE2)  : 0x1E000403
----------------------------------------
 - I/O MWAIT Redirection Enable....... : 1 (enabled, IO read of MSR(0xE4) mapped to MWAIT)
 - CFG Lock........................... : 0 (MSR not locked)
 - C3 State Auto Demotion............. : 1 (enabled)
 - C1 State Auto Demotion............. : 1 (enabled)
 - C3 State Undemotion................ : 1 (enabled)
 - C1 State Undemotion................ : 1 (enabled)
 - Package C-State Auto Demotion...... : 0 (disabled/unsupported)
 - Package C-State Undemotion......... : 0 (disabled/unsupported)

MSR_PMG_IO_CAPTURE_BASE........(0xE4)  : 0x10414
----------------------------------------
 - LVL_2 Base Address................. : 0x414
 - C-state Range...................... : 1 (C6 is the max C-State to include


MSR_PMG_CST_CONFIG_CONTROL.....(0xE2)  : 0x1E000403
----------------------------------------
 - I/O MWAIT Redirection Enable....... : 1 (enabled, IO read of MSR(0xE4) mapped to MWAIT)
 - CFG Lock........................... : 0 (MSR not locked)
 - C3 State Auto Demotion............. : 1 (enabled)
 - C1 State Auto Demotion............. : 1 (enabled)
 - C3 State Undemotion................ : 1 (enabled)
 - C1 State Undemotion................ : 1 (enabled)
 - Package C-State Auto Demotion...... : 0 (disabled/unsupported)
 - Package C-State Undemotion......... : 0 (disabled/unsupported)

MSR_PMG_IO_CAPTURE_BASE........(0xE4)  : 0x10414
----------------------------------------
 - LVL_2 Base Address................. : 0x414
 - C-state Range...................... : 1 (C6 is the max C-State to include


MSR_PMG_CST_CONFIG_CONTROL.....(0xE2)  : 0x7E008006
----------------------------------------
 - I/O MWAIT Redirection Enable....... : 0 (not enabled)
 - CFG Lock........................... : 1 (MSR locked until next reset)
 - C3 State Auto Demotion............. : 1 (enabled)
 - C1 State Auto Demotion............. : 1 (enabled)
 - C3 State Undemotion................ : 1 (enabled)
 - C1 State Undemotion................ : 1 (enabled)
 - Package C-State Auto Demotion...... : 1 (enabled)
 - Package C-State Undemotion......... : 1 (enabled)

MSR_PMG_IO_CAPTURE_BASE........(0xE4)  : 0x10414
----------------------------------------
 - LVL_2 Base Address................. : 0x414
 - C-state Range...................... : 1 (C-States not included, I/O MWAIT redirection not enabled)


MSR_PMG_CST_CONFIG_CONTROL.....(0xE2)  : 0x7E000403
----------------------------------------
 - I/O MWAIT Redirection Enable....... : 1 (enabled, IO read of MSR(0xE4) mapped to MWAIT)
 - CFG Lock........................... : 0 (MSR not locked)
 - C3 State Auto Demotion............. : 1 (enabled)
 - C1 State Auto Demotion............. : 1 (enabled)
 - C3 State Undemotion................ : 1 (enabled)
 - C1 State Undemotion................ : 1 (enabled)
 - Package C-State Auto Demotion...... : 1 (enabled)
 - Package C-State Undemotion......... : 1 (enabled)

MSR_PMG_IO_CAPTURE_BASE........(0xE4)  : 0x10414
----------------------------------------
 - LVL_2 Base Address................. : 0x414
 - C-state Range...................... : 1 (C6 is the max C-State to include


MSR_PMG_CST_CONFIG_CONTROL.....(0xE2)  : 0x7E000402
----------------------------------------
 - I/O MWAIT Redirection Enable....... : 1 (enabled, IO read of MSR(0xE4) mapped to MWAIT)
 - CFG Lock........................... : 0 (MSR not locked)
 - C3 State Auto Demotion............. : 1 (enabled)
 - C1 State Auto Demotion............. : 1 (enabled)
 - C3 State Undemotion................ : 1 (enabled)
 - C1 State Undemotion................ : 1 (enabled)
 - Package C-State Auto Demotion...... : 1 (enabled)
 - Package C-State Undemotion......... : 1 (enabled)

MSR_PMG_IO_CAPTURE_BASE........(0xE4)  : 0x10414
----------------------------------------
 - LVL_2 Base Address................. : 0x414
 - C-state Range...................... : 1 (C6 is the max C-State to include


MSR_PMG_CST_CONFIG_CONTROL.....(0xE2)  : 0x7E000404
----------------------------------------
 - I/O MWAIT Redirection Enable....... : 1 (enabled, IO read of MSR(0xE4) mapped to MWAIT)
 - CFG Lock........................... : 0 (MSR not locked)
 - C3 State Auto Demotion............. : 1 (enabled)
 - C1 State Auto Demotion............. : 1 (enabled)
 - C3 State Undemotion................ : 1 (enabled)
 - C1 State Undemotion................ : 1 (enabled)
 - Package C-State Auto Demotion...... : 1 (enabled)
 - Package C-State Undemotion......... : 1 (enabled)

MSR_PMG_IO_CAPTURE_BASE........(0xE4)  : 0x10414
----------------------------------------
 - LVL_2 Base Address................. : 0x414
 - C-state Range...................... : 1 (C6 is the max C-State to include


MSR_PMG_CST_CONFIG_CONTROL.....(0xE2)  : 0x7E000405
----------------------------------------
 - I/O MWAIT Redirection Enable....... : 1 (enabled, IO read of MSR(0xE4) mapped to MWAIT)
 - CFG Lock........................... : 0 (MSR not locked)
 - C3 State Auto Demotion............. : 1 (enabled)
 - C1 State Auto Demotion............. : 1 (enabled)
 - C3 State Undemotion................ : 1 (enabled)
 - C1 State Undemotion................ : 1 (enabled)
 - Package C-State Auto Demotion...... : 1 (enabled)
 - Package C-State Undemotion......... : 1 (enabled)

MSR_PMG_IO_CAPTURE_BASE........(0xE4)  : 0x10414
----------------------------------------
 - LVL_2 Base Address................. : 0x414
 - C-state Range...................... : 1 (C6 is the max C-State to include


MSR_PMG_CST_CONFIG_CONTROL.....(0xE2)  : 0x7E000403
----------------------------------------
 - I/O MWAIT Redirection Enable....... : 1 (enabled, IO read of MSR(0xE4) mapped to MWAIT)
 - CFG Lock........................... : 0 (MSR not locked)
 - C3 State Auto Demotion............. : 1 (enabled)
 - C1 State Auto Demotion............. : 1 (enabled)
 - C3 State Undemotion................ : 1 (enabled)
 - C1 State Undemotion................ : 1 (enabled)
 - Package C-State Auto Demotion...... : 1 (enabled)
 - Package C-State Undemotion......... : 1 (enabled)


MSR_PMG_CST_CONFIG_CONTROL.....(0xE2)  : 0x7E000403
----------------------------------------
 - I/O MWAIT Redirection Enable....... : 1 (enabled, IO read of MSR(0xE4) mapped to MWAIT)
 - CFG Lock........................... : 0 (MSR not locked)
 - C3 State Auto Demotion............. : 1 (enabled)
 - C1 State Auto Demotion............. : 1 (enabled)
 - C3 State Undemotion................ : 1 (enabled)
 - C1 State Undemotion................ : 1 (enabled)
 - Package C-State Auto Demotion...... : 1 (enabled)
 - Package C-State Undemotion......... : 1 (enabled)

MSR_PMG_IO_CAPTURE_BASE........(0xE4)  : 0x10414
----------------------------------------
 - LVL_2 Base Address................. : 0x414
 - C-state Range...................... : 1 (C6 is the max C-State to include



MSR_PMG_CST_CONFIG_CONTROL.....(0xE2)  : 0x7E000403
----------------------------------------
 - I/O MWAIT Redirection Enable....... : 1 (enabled, IO read of MSR(0xE4) mapped to MWAIT)
 - CFG Lock........................... : 0 (MSR not locked)
 - C3 State Auto Demotion............. : 1 (enabled)
 - C1 State Auto Demotion............. : 1 (enabled)
 - C3 State Undemotion................ : 1 (enabled)
 - C1 State Undemotion................ : 1 (enabled)
 - Package C-State Auto Demotion...... : 1 (enabled)
 - Package C-State Undemotion......... : 1 (enabled)

MSR_PMG_IO_CAPTURE_BASE........(0xE4)  : 0x10414
----------------------------------------
 - LVL_2 Base Address................. : 0x414
 - C-state Range...................... : 1 (C6 is the max C-State to include


MSR_PMG_CST_CONFIG_CONTROL.....(0xE2)  : 0x7E000403
----------------------------------------
 - I/O MWAIT Redirection Enable....... : 1 (enabled, IO read of MSR(0xE4) mapped to MWAIT)
 - CFG Lock........................... : 0 (MSR not locked)
 - C3 State Auto Demotion............. : 1 (enabled)
 - C1 State Auto Demotion............. : 1 (enabled)
 - C3 State Undemotion................ : 1 (enabled)
 - C1 State Undemotion................ : 1 (enabled)
 - Package C-State Auto Demotion...... : 1 (enabled)
 - Package C-State Undemotion......... : 1 (enabled)

MSR_PMG_IO_CAPTURE_BASE........(0xE4)  : 0x10414
----------------------------------------
 - LVL_2 Base Address................. : 0x414
 - C-state Range...................... : 1 (C6 is the max C-State to include

E20000002C00000000000000000000000A010000000000000304007E0000000000000000000000000000000000000000
E20000001A00000000000000000000000A010000000000000304007E0000000000000000000000000000000000000000
E20000008E00000000000000000000000F040000000000000304007E0000000000000000000000000000000000000000
E2000000DE00000000000000000000000F0A0000000000000304007E0000000000000000000000000000000000000000

E20000009033000000000000000000000F040000000000000304007E0000000000000000000000000000000000000000

MSR_PMG_CST_CONFIG_CONTROL.....(0xE2)  : 0x400
----------------------------------------
 - I/O MWAIT Redirection Enable....... : 1 (enabled, IO read of MSR(0xE4) mapped to MWAIT)
 - CFG Lock........................... : 0 (MSR not locked)
 - C3 State Auto Demotion............. : 0 (disabled/unsupported)
 - C1 State Auto Demotion............. : 0 (disabled/unsupported)
 - C3 State Undemotion................ : 0 (disabled/unsupported)
 - C1 State Undemotion................ : 0 (disabled/unsupported)
 - Package C-State Auto Demotion...... : 0 (disabled/unsupported)
 - Package C-State Undemotion......... : 0 (disabled/unsupported)

MSR_PMG_IO_CAPTURE_BASE........(0xE4)  : 0x10414
----------------------------------------
 - LVL_2 Base Address................. : 0x414
 - C-state Range...................... : 1 (C6 is the max C-State to include

E20000004C33000000000000000000000F040000000000000304007E0000000000000000000000000000000000000000
MSR_PMG_CST_CONFIG_CONTROL.....(0xE2)  : 0x7E000403
----------------------------------------
 - I/O MWAIT Redirection Enable....... : 1 (enabled, IO read of MSR(0xE4) mapped to MWAIT)
 - CFG Lock........................... : 0 (MSR not locked)
 - C3 State Auto Demotion............. : 1 (enabled)
 - C1 State Auto Demotion............. : 1 (enabled)
 - C3 State Undemotion................ : 1 (enabled)
 - C1 State Undemotion................ : 1 (enabled)
 - Package C-State Auto Demotion...... : 1 (enabled)
 - Package C-State Undemotion......... : 1 (enabled)

MSR_PMG_IO_CAPTURE_BASE........(0xE4)  : 0x10414
----------------------------------------
 - LVL_2 Base Address................. : 0x414
 - C-state Range...................... : 1 (C6 is the max C-State to include

E2000000DCA3000000000000000000000F040000000000000304007E0000000000000000000000000000000000000000
MSR_PMG_CST_CONFIG_CONTROL.....(0xE2)  : 0x7E000403
----------------------------------------
 - I/O MWAIT Redirection Enable....... : 1 (enabled, IO read of MSR(0xE4) mapped to MWAIT)
 - CFG Lock........................... : 0 (MSR not locked)
 - C3 State Auto Demotion............. : 1 (enabled)
 - C1 State Auto Demotion............. : 1 (enabled)
 - C3 State Undemotion................ : 1 (enabled)
 - C1 State Undemotion................ : 1 (enabled)
 - Package C-State Auto Demotion...... : 1 (enabled)
 - Package C-State Undemotion......... : 1 (enabled)

MSR_PMG_IO_CAPTURE_BASE........(0xE4)  : 0x10414
----------------------------------------
 - LVL_2 Base Address................. : 0x414
 - C-state Range...................... : 1 (C6 is the max C-State to include

MSR_PMG_CST_CONFIG_CONTROL.....(0xE2)  : 0x403
----------------------------------------
 - I/O MWAIT Redirection Enable....... : 1 (enabled, IO read of MSR(0xE4) mapped to MWAIT)
 - CFG Lock........................... : 0 (MSR not locked)
 - C3 State Auto Demotion............. : 0 (disabled/unsupported)
 - C1 State Auto Demotion............. : 0 (disabled/unsupported)
 - C3 State Undemotion................ : 0 (disabled/unsupported)
 - C1 State Undemotion................ : 0 (disabled/unsupported)
 - Package C-State Auto Demotion...... : 0 (disabled/unsupported)
 - Package C-State Undemotion......... : 0 (disabled/unsupported)

MSR_PMG_IO_CAPTURE_BASE........(0xE4)  : 0x10414
----------------------------------------
 - LVL_2 Base Address................. : 0x414
 - C-state Range...................... : 1 (C6 is the max C-State to include
Link to comment
Share on other sites

In my rig it is mandatory to boot

a fakecpuid for Broadwell E or a correspond Broadwell E XCPM patch

 

com.apple.iokit.IOPCIFamily (10.12-10.13::IOPCIConfigurator for X99, (credit Brumbaer)

f 4881fb00 000040

r 4881fb00 000080

and

a kernel patch

xcpm_program_msrs © Pike R. Alpha (I think old reboot fix patch)

f 554889e5 41574156 41554154 53504189d64889fb 85f60f84 84000000 

r c39089e5 41574156 41554154 53504189d64889fb 85f60f84 84000000 

 

and this with nothing else flagged 

And this with or without a MSR 0xE2 Unlocked bios

 

Or with newest clover KernelXCPM feature only flag it and nothing else

 

Asking this because early clover version patched KernelXCPM by default and then this feature was set as optional

 

 

 

If your bios is locked, and you don‘t use xcpm patches, then the Kernel xcpm routine writes to msr 0xe2, and this ends with KP.

I‘m not sure... maybe clover can patch the kernel code with AICPUPM?

Edit: and it‘s not mandatory to use other settings for msr 0xe2.

Link to comment
Share on other sites

Now is it clear

If I can ask

Is it possible That new efi driver like Optiofix3 or Aptiofixmemory changed this behavior?

Or it is unrelated?

 

Thank you

 

Both, because the patch does not unlock the reg but prevent writes to it.

Link to comment
Share on other sites

Is it possible That new efi driver like Optiofix3 or Aptiofixmemory changed this behavior?

Or it is unrelated?

E2H 226 MSR_PKG_CST_CONFIG_ CONTROL C-State Configuration Control (R/W)

15 CFG Lock (R/WO) When set, lock bits 15:0 of this register until next reset.

Make macOS great again!

Steve Jobs in response: macOS is already great!

Bill Gates in response: macOS was never great!

  • Like 7
Link to comment
Share on other sites

I know that this isn't the right thread but I can't post into UEFI section so please forgive me :D


These Gigabyte guys made a BIOS file that's rubbish to say at least. If I want to unlock secret menus I can't because the program crashes (AMIBCP) if I want to patch it using UEFIPatch says nothing to patch.


What's wrong ?


Here is the BIOS file:


http://download.gigabyte.eu/FileList/BIOS/mb_bios_ga-b85m-d2v_f4.zip


It's a gigabyte board GA-B85M-D2V.


Link to comment
Share on other sites

this clover log answer clearly at my previous answer:

 

0:104  0:000  BrandString = Intel® Xeon® CPU E5-2696 v4 @ 2.20GHz

0:104  0:000   The CPU supported turbo
0:104  0:000  MSR 0x35              16002C
0:104  0:000  MSR 0xE2 before patch 00008402
0:104  0:000  MSR 0xE2 is locked, PM patches will be turned on
0:104  0:000  MSR 0xCE              20080C3B_F2811600
0:104  0:000  MSR 0x1B0             00000000
 
My sub sequential question is:
Which PM Patches are automatically turned on by clover for mine Broadwell EP Cpu?
Link to comment
Share on other sites

 

I know that this isn't the right thread but I can't post into UEFI section so please forgive me :D

These Gigabyte guys made a BIOS file that's rubbish to say at least. If I want to unlock secret menus I can't because the program crashes (AMIBCP) if I want to patch it using UEFIPatch says nothing to patch.

What's wrong ?

Here is the BIOS file:

http://download.gigabyte.eu/FileList/BIOS/mb_bios_ga-b85m-d2v_f4.zip

It's a gigabyte board GA-B85M-D2V.

 

UEFIPatch only patches MSR 0xE2 lock (also known as Cpu CFG Lock) older GA boards afaik do not have this.

Link to comment
Share on other sites

does latest clover 4394 installer install properly to 10.13.4? it seems to put it on the root of my "High Sierra" volume now.

 

I have to install to my first partition "Sierra" (shared drive for both os) for it to install to EFI. this issue was corrected a while back in clover. was there a code regression?

  • Like 1
Link to comment
Share on other sites

does latest clover 4394 installer install properly to 10.13.4? it seems to put it on the root of my "High Sierra" volume now.

 

I have to install to my first partition "Sierra" (shared drive for both os) for it to install to EFI. this issue was corrected a while back in clover. was there a code regression?

Clover installer package has issues with installing into ESP right now for 10.13.4 beta 1. Its a known issue.

  • Like 1
Link to comment
Share on other sites

does latest clover 4394 installer install properly to 10.13.4? it seems to put it on the root of my "High Sierra" volume now.

 

I have to install to my first partition "Sierra" (shared drive for both os) for it to install to EFI. this issue was corrected a while back in clover. was there a code regression?

WHERE THE LINK DOWNLOAD CLOVER 4394 ?

 

THANK

Link to comment
Share on other sites

2018-02-04 00:21:25.516374+0800  localhost kernel[0]: (AppleACPIPlatform) <AppleACPIPlatform`AcpiOsVprintf> ACPI Error:

2018-02-04 00:21:25.516375+0800  localhost kernel[0]: (AppleACPIPlatform) <AppleACPIPlatform`AcpiOsVprintf> ACPI Error:

2018-02-04 00:21:25.517554+0800  localhost kernel[0]: (AppleACPIPlatform) <AppleACPIPlatform`AcpiOsVprintf> ACPI Error:

2018-02-04 00:21:25.517555+0800  localhost kernel[0]: (AppleACPIPlatform) <AppleACPIPlatform`AcpiOsVprintf> ACPI Error:

2018-02-04 00:21:25.517956+0800  localhost kernel[0]: (AppleACPIPlatform) <AppleACPIPlatform`AcpiOsVprintf> ACPI Error:

2018-02-04 00:21:25.517956+0800  localhost kernel[0]: (AppleACPIPlatform) <AppleACPIPlatform`AcpiOsVprintf> ACPI Error:

2018-02-04 00:21:25.569454+0800  localhost kernel[0]: (AppleACPIPlatform) <AppleACPIPlatform`AcpiOsVprintf> ACPI Error:

2018-02-04 00:21:25.569454+0800  localhost kernel[0]: (AppleACPIPlatform) <AppleACPIPlatform`AcpiOsVprintf> ACPI Error:

2018-02-04 00:21:25.569479+0800  localhost kernel[0]: (AppleACPIPlatform) <AppleACPIPlatform`AcpiOsVprintf> ACPI Error:

2018-02-04 00:21:25.569479+0800  localhost kernel[0]: (AppleACPIPlatform) <AppleACPIPlatform`AcpiOsVprintf> ACPI Error:

2018-02-04 00:21:25.569521+0800  localhost kernel[0]: (AppleACPIPlatform) <AppleACPIPlatform`AcpiOsVprintf> ACPI Error:

2018-02-04 00:21:25.569521+0800  localhost kernel[0]: (AppleACPIPlatform) <AppleACPIPlatform`AcpiOsVprintf> ACPI Error:

2018-02-04 00:21:25.569542+0800  localhost kernel[0]: (AppleACPIPlatform) <AppleACPIPlatform`AcpiOsVprintf> ACPI Error:

2018-02-04 00:21:25.569542+0800  localhost kernel[0]: (AppleACPIPlatform) <AppleACPIPlatform`AcpiOsVprintf> ACPI Error:

2018-02-04 00:21:25.578514+0800  localhost kernel[0]: (AppleACPIEC) <AppleACPIEC`AppleACPIEC::fetchNamespaceECResources(IOACPIPlatformDevice*, acpi_generic_address*, unsigned int*, unsigned int*, bool*)> ACPI: EC device memory error 0x0 0x0
Link to comment
Share on other sites

×
×
  • Create New...