Contribute
Register

“x86_validate_topology() 12 threads but 13 registered from MADT“ CPU Xeon 2643v2

Status
Not open for further replies.
Joined
Jan 22, 2022
Messages
2
Motherboard
HUANAN X79 > Need full model name > See Rules!
CPU
E5-2643v2
Graphics
R7 270
Hello everyone!
The cpu I am using is a Xeon E5 2643v2 with 6 cores and 12 threads.
But I can't boot with OpenCore right now.
Prompt the error in the screenshot below.
my hardware is:
CPU:Intel Xeon E5 2643v2
motherboard:HUANAN X79
graphics card:AMD R7 270

“x86_validate_topology() 12 threads but 13 registered from MADT“
I judged that the inability to correctly identify the number of cores caused the error.
How can I fix it?

IMG_20220122_165507.jpg
 

Attachments

  • ssdt.zip
    27.3 KB · Views: 49
Last edited:
This is a well-know issue… with Alder Lake. Why it's creeping in a X79 board is a mystery. :crazy:
Is the E5-2643v2 correctly identified in BIOS?

There is an ACPI error, which appears to be related to having two SSDT-UNC. Try disabling SSDT-UNC.aml.

To diagnose, I'd like to see the full set of ACPI tables from the board. Please use the DEBUG version of OpenCore, set Misc>Debug>SysReport:True, and post the SysReport folder that is generated in the EFI partition (no need to success in booting macOS). Or, if you have an USB thumb drive with Clover, use it and press F4 at boot; tables are dumped under ACPI/origin.
MADT is in APIC.aml.
 
This is a well-know issue… with Alder Lake. Why it's creeping in a X79 board is a mystery. :crazy:
Is the E5-2643v2 correctly identified in BIOS?

There is an ACPI error, which appears to be related to having two SSDT-UNC. Try disabling SSDT-UNC.aml.

To diagnose, I'd like to see the full set of ACPI tables from the board. Please use the DEBUG version of OpenCore, set Misc>Debug>SysReport:True, and post the SysReport folder that is generated in the EFI partition (no need to success in booting macOS). Or, if you have an USB thumb drive with Clover, use it and press F4 at boot; tables are dumped under ACPI/origin.
MADT is in APIC.aml.
Clover dumped ACPI
 

Attachments

  • origin.zip
    23.3 KB · Views: 50
Thanks!
As expected, there are 12 threads recorded in APIC.aml, numbered 0x00-0x0B (PID) but with lapic 04-15. I don't know why macOS sees 13 threads, and I'm unsure how to fix that.
 
Previously when X79, X99 or x299 board were running macOS with Clover, it was necessary to rename the CPU threads. Maybe doing this for the 12-core/24-thread CPU would fix this issue.

Here is an example of the type of ACPI rename patches that were used.

Screenshot 2022-01-25 at 23.24.39.png

Screenshot 2022-01-25 at 23.25.03.png

Screenshot 2022-01-25 at 23.25.27.png

These three screenshots are from a Clover config.plist for a X99 system.

You would need to amend the rename patches to suit the CPU naming convention used in your DSDT.aml.
The threads in your DSDT under SCK0 start at C000 - C017 (24th thread)

Screenshot 2022-01-25 at 23.29.31.png Threads as listed in DSDT.aml under (\_SB.SCK0)

I have used the DSDT.aml provided above in the Origin folder and Corpnewt's SSDTTime python script and generated the attached Results folder. The folder contains the following plist's, aml and dsl tables, which should work with your X79 system.

Screenshot 2022-01-25 at 23.34.24.png

Hope this is of some use.
 

Attachments

  • Results.zip
    7.5 KB · Views: 69
Your problem is that CPU's are numbered x80, x81, x82, x83, x00, x01, x02, etc... and OSX doesn't like that, so these patches renumber the CPU's x00, x01, x02, x03, etc...
 

Attachments

  • patches_CPU-OC.plist
    17.5 KB · Views: 98
Status
Not open for further replies.
Back
Top