deeveedee Posted July 20 Share Posted July 20 (edited) This post may be important to anyone who is using _PTS -> XPTS, _WAK -> XWAK or any similar ACPI patching in Open Core... Be careful with patching examples like this For anyone who's interested in my previous post, I think I figured out why Open Core finds the _PTS pattern that does not appear in MaciASL. My hack's DSDT table (see aml attached to previous post) defines External (_SB_.TPM_.PTS_, MethodObj) which I did not think should match my defined Find Hex sequence <5F505453> (Ascii _PTS). However, when inspecting my DSDT.aml with hexfiend, the External declaration appears as Hex <5F53425F 54504D5F 5054535F> (Ascii _SB_TPM_PTS_). Because the '.' characters are not included in the External declaration in DSDT.aml, this External declaration of _SB_.TPM_.PTS_ appears to Open Core as a pattern match for _PTS. I'd be interested in observations / opinions from others. EDIT: If I am correct, I believe that my original _PTS->XPTS ACPI patch (with a 4-byte Find sequence <5F505453>) is incorrectly changing the declaration of External (_SB_.TPM_.PTS_, MethodObj) to External (_SB_.TPMX.PTS_, MethodObj). EDIT2: If I am observing this correctly, I believe that you may have unintended consequences when performing Open Core binary Find/Replace ACPI patches that do not carefully define the Find Hex sequence and that do not restrict one or more of the following in the Open Core ACPI Patch rule: Base, Count, OemTableId, TableSignature. When possible, I'd recommend restricting Open Core ACPI Patches by defining Count AND either OemTableId or TableSignature. Inspect the results of ACPI Patches by using a utility like MaciASL's "File > New from ACPI". EDIT3: There was no need for me to speculate. I inspected the patched DSDT with MaciASL's "File > New from ACPI" and with hexfiend and both confirm that my old 4-byte _PTS->XPTS patch was changing the declaration of External (_SB_.TPM_.PTS_, MethodObj). MaciASL Spoiler hexfiend Spoiler My old _PTS -> XPTS ACPI Patch (with 4-byte Find/Replace sequence) is wrong (for my hack's ACPI). Spoiler Edited July 23 by Slice Red color is only for Moderators 3 Link to comment Share on other sites More sharing options...
deeveedee Posted August 7 Share Posted August 7 Tested Open Core 1.0.1 on my HackBookPro6,2 booting Big Sur 11.7.10, Monterey 12.7.6, Ventura 13.6.8, Sonoma 14.6 and Sequoia Beta 5. All good including LogoutHook and LegacyBoot. Well done, Devs! 4 Link to comment Share on other sites More sharing options...
naiclub Posted August 8 Share Posted August 8 Anyone have an EFI file with similar hardware like mine? DDR5 32GB 6000 bus RAM B760M AORUS ELITE X AX motherboard Gigabyte 560X 4GB graphics card Please give me one. I'm going to try installing a Mac. THank.. Link to comment Share on other sites More sharing options...
ANTIKO Posted August 8 Share Posted August 8 2 hours ago, naiclub said: У кого-нибудь есть файл EFI с похожим оборудованием, как у меня? DDR5 32 ГБ 6000 шина RAM B760M AORUS ELITE X AX материнская плата Gigabyte 560X 4 ГБ видеокарта Пожалуйста, дайте мне один. Я собираюсь попробовать установить Mac. Благодарить.. https://github.com/search?q=B760M AORUS&type=repositories 5 Link to comment Share on other sites More sharing options...
CloverLeaf Posted August 8 Share Posted August 8 8 hours ago, naiclub said: Anyone have an EFI file with similar hardware like mine? DDR5 32GB 6000 bus RAM B760M AORUS ELITE X AX motherboard Gigabyte 560X 4GB graphics card Please give me one. I'm going to try installing a Mac. THank.. Check this also. Might need to do some minor changes but it's rock solid. EFI 1 Link to comment Share on other sites More sharing options...
naiclub Posted August 8 Share Posted August 8 How can I change the correct CPU name? Thank... Link to comment Share on other sites More sharing options...
eSaF Posted August 8 Share Posted August 8 1 hour ago, naiclub said: How can I change the correct CPU name? Surely if you enter the Processor Type as zero in the config.plist, the CPU name will automatically be displayed. (Like the attached example). Spoiler 3 Link to comment Share on other sites More sharing options...
deeveedee Posted August 8 Share Posted August 8 (edited) 3 hours ago, naiclub said: How can I change the correct CPU name? If other suggestions don't work, try RestrictEvents.kext with revpatch=cpuname / revcpuname=value. Edited August 8 by deeveedee 3 Link to comment Share on other sites More sharing options...
naiclub Posted August 8 Share Posted August 8 2 hours ago, eSaF said: แน่นอนว่าถ้าคุณป้อนประเภทโปรเซสเซอร์เป็นศูนย์ในไฟล์ config.plist ชื่อ CPU จะแสดงโดยอัตโนมัติ (เช่นเดียวกับตัวอย่างที่แนบมา) เปิดเผยเนื้อหาที่ซ่อนอยู่ I tried it already, but no luck at all. 56 minutes ago, deeveedee said: หากข้อเสนอแนะอื่นใช้ไม่ได้ ให้ลองใช้RestrictEvents.kext พร้อมด้วย revpatch=cpuname / revcpuname=value I'll try it out right now. Link to comment Share on other sites More sharing options...
Alpha22 Posted August 8 Share Posted August 8 https://github.com/corpnewt/CPU-Name 5 Link to comment Share on other sites More sharing options...
Max.1974 Posted August 8 Share Posted August 8 Try use Intel Hyper Trend enable in your bios, and verify if your bios is updated. Need check framebuffers inject with Opecore and check ProvideCurrentCpuInfo is enabled in Kernel > Quirks > ProvideCurrentCpuInfo. 1 Link to comment Share on other sites More sharing options...
deeveedee Posted August 8 Share Posted August 8 6 hours ago, naiclub said: How can I change the correct CPU name? I think I'm the first to run macOS on the new IBM Quantum CPU 🤣 About This Hack Spoiler OC config.plist: revcpuname Spoiler 1 4 Link to comment Share on other sites More sharing options...
naiclub Posted August 9 Share Posted August 9 9 hours ago, deeveedee said: I think I'm the first to run macOS on the new IBM Quantum CPU 🤣 About This Hack Reveal hidden contents OC config.plist: revcpuname Reveal hidden contents hello grandma I did that and it didn't work. I got this weird image. 2 Link to comment Share on other sites More sharing options...
deeveedee Posted August 9 Share Posted August 9 @naiclub Please post your previous and current config.plist (post both versions). I suspect that you have incorrectly typed the comma-delimited string for revpatch. 1 Link to comment Share on other sites More sharing options...
cankiulascmnfye Posted August 9 Share Posted August 9 Interesting development: 6 Link to comment Share on other sites More sharing options...
naiclub Posted August 9 Share Posted August 9 2 hours ago, deeveedee said: @naiclub Please post your previous and current config.plist (post both versions). I suspect that you have incorrectly typed the comma-delimited string for revpatch. Hi Grandma, I have removed the SSD now. When I reinstall it, I will post it for you to see. 4 Link to comment Share on other sites More sharing options...
deeveedee Posted August 9 Share Posted August 9 @naiclub You're becoming my favorite grandchild. 😉 1 9 Link to comment Share on other sites More sharing options...
naiclub Posted August 13 Share Posted August 13 On 8/9/2024 at 10:07 PM, deeveedee said: @naiclub You're becoming my favorite grandchild. 😉 Hello Grandma, this is how it is. config.plist.zip Link to comment Share on other sites More sharing options...
deeveedee Posted August 13 Share Posted August 13 @naiclub In order to fully diagnose your issue, I would need both your current config.plist (the config.plist that causes the Memory Misconfigured message) and your previous config.plist (which did not have the Memory Misconfigured message), but I'll try to diagnose with what you provided. You are using SMBIOS MacPro7,1. According to the RestrictEvents.kext documentation here, you may want to add revblock=pci and revpatch=pci. Also, you are redundantly specifying RestrictEvents args in "NVRAM > Add > 4D1FDA02-38C7-4A6A-9CC6-4BCCA8B30102" and "NVRAM > Add > 7C436110-AB2A-4BBB-A880-FE41995C9F82 > boot-args." Remove the redundant/unnecessary boot-args: Spoiler Attached is a revised config.plist that should give you some ideas. config.plist.zip 1 Link to comment Share on other sites More sharing options...
naiclub Posted August 13 Share Posted August 13 44 minutes ago, deeveedee said: @naiclub In order to fully diagnose your issue, I would need both your current config.plist (the config.plist that causes the Memory Misconfigured message) and your previous config.plist (which did not have the Memory Misconfigured message), but I'll try to diagnose with what you provided. You are using SMBIOS MacPro7,1. According to the RestrictEvents.kext documentation here, you may want to add revblock=pci and revpatch=pci. Also, you are redundantly specifying RestrictEvents args in "NVRAM > Add > 4D1FDA02-38C7-4A6A-9CC6-4BCCA8B30102" and "NVRAM > Add > 7C436110-AB2A-4BBB-A880-FE41995C9F82 > boot-args." Remove the redundant/unnecessary boot-args: Reveal hidden contents Attached is a revised config.plist that should give you some ideas. config.plist.zip 5.85 kB · 2 downloads It didn't go away. I took yours and put them in. It didn't fix anything. Spoiler Link to comment Share on other sites More sharing options...
deeveedee Posted August 13 Share Posted August 13 (edited) @naiclub It is impossible to diagnose any of your issues without the info I requested. ALWAYS post your EFI (at least your config.plist) when you report problems and ask for help. You're still on my favorite grandchild list, but you're testing my patience. EDIT: Let's start over again by re-reading this post. Please provide both config.plists (not just one). Edited August 13 by deeveedee 1 1 Link to comment Share on other sites More sharing options...
naiclub Posted August 13 Share Posted August 13 (edited) 15 ชั่วโมงที่แล้ว deeveedee กล่าวว่า: @naiclub เป็นไปไม่ได้ที่จะวินิจฉัยปัญหาของคุณโดยไม่มีข้อมูลที่ฉันขอไว้ โพสต์ EFI ของคุณเสมอ (อย่างน้อยก็ config.plist) เมื่อคุณรายงานปัญหาและขอความช่วยเหลือ คุณยังคงอยู่ในรายชื่อหลานคนโปรดของฉัน แต่คุณกำลังทดสอบความอดทนของฉัน แก้ไข: มาเริ่มใหม่อีกครั้งด้วยการอ่านโพสต์นี้ อีกครั้ง โปรดจัดเตรียมไฟล์ config.plists ทั้งสองไฟล์ (ไม่ใช่แค่ไฟล์เดียว) ยังไงก็ขอบคุณคุณยาย ตามนี้ค่ะ Edited August 14 by naiclub Link to comment Share on other sites More sharing options...
deeveedee Posted August 13 Share Posted August 13 (edited) @naiclub Still not what I requested. One thing I missed before is that you redundantly specify revcpu in "NVRAM > Add > 4D1FDA02-38C7-4A6A-9CC6-4BCCA8B30102" and "NVRAM > Add > 7C436110-AB2A-4BBB-A880-FE41995C9F82 > boot-args." Remove the instance of revcpu=1 in "NVRAM > Add > 4D1FDA02-38C7-4A6A-9CC6-4BCCA8B30102" (I've only tested with revcpu=1 in boot-args. EDIT: Also, add revblock to "NVRAM > Delete > 4D1FDA02-38C7-4A6A-9CC6-4BCCA8B30102" EDiT2: One more thing - after you removed revcpu=1 from "NVRAM > Add > 4D1FDA02-38C7-4A6A-9CC6-4BCCA8B30102," remove revcpu from "NVRAM > Delete > 4D1FDA02-38C7-4A6A-9CC6-4BCCA8B30102" - see attached config.plist. Add revpatch to "NVRAM > Delete > 4D1FDA02-38C7-4A6A-9CC6-4BCCA8B30102" If you make changes to any "NVRAM > Add" properties that are not in "NVRAM > Delete," you MUST Reset NVRAM before each test. config.plist.zip Edited August 13 by deeveedee 1 Link to comment Share on other sites More sharing options...
naiclub Posted August 13 Share Posted August 13 59 minutes ago, deeveedee said: @naiclub Still not what I requested. One thing I missed before is that you redundantly specify revcpu in "NVRAM > Add > 4D1FDA02-38C7-4A6A-9CC6-4BCCA8B30102" and "NVRAM > Add > 7C436110-AB2A-4BBB-A880-FE41995C9F82 > boot-args." Remove the instance of revcpu=1 in "NVRAM > Add > 4D1FDA02-38C7-4A6A-9CC6-4BCCA8B30102" (I've only tested with revcpu=1 in boot-args. EDIT: Also, add revblock to "NVRAM > Delete > 4D1FDA02-38C7-4A6A-9CC6-4BCCA8B30102" EDiT2: One more thing - after you removed revcpu=1 from "NVRAM > Add > 4D1FDA02-38C7-4A6A-9CC6-4BCCA8B30102," remove revcpu from "NVRAM > Delete > 4D1FDA02-38C7-4A6A-9CC6-4BCCA8B30102" - see attached config.plist. Add revpatch to "NVRAM > Delete > 4D1FDA02-38C7-4A6A-9CC6-4BCCA8B30102" If you make changes to any "NVRAM > Add" properties that are not in "NVRAM > Delete," you MUST Reset NVRAM before each test. config.plist.zip 6.13 kB · 2 downloads I've resigned myself to fate, Grandma. I'll remove the SSD and keep it for now. 😅 Link to comment Share on other sites More sharing options...
obus Posted August 25 Share Posted August 25 (edited) Hi guys. Have a problem with booting my rig on OC 10.0.1. Developers has in this release disabled "XcpmExtraMsrs MSR_MISC_PWR_MGMT patch on macOS 12+ due to non-existence" This patch is mandatory on my rig for booting. (Skylake Xenon W) The patch is still in the config file under kernel --> quirk and normally I have this quirk enabled but in this new version it dosen't work. I get the message "failed to patch writes to MSR_MISC_PWR_MGMT" Any help is appreciated. Edited September 1 by obus Link to comment Share on other sites More sharing options...
Recommended Posts