Solved OCS: Failed to parse data field as blob with type boolean and <BA 08 0000 00> contents, context <Replace>!

themusicalduck

New member
AMD OS X Member
Joined
Nov 5, 2023
Messages
1
Solved by using ProperTree to do the edit instead. Apparently the data needs to be b64 encoded.

I'm booting Ventura in a virtual machine with QEMU and Linux. I have the latest version of opencore and I'm following the guide at https://github.com/AMD-OSX/AMD_Vanilla for patching with opencore. I'm hoping I can boot with -cpu host instead of emulating an Intel CPU. I'm stuck on the part where you replace the values in <Replace>. I get this error:

Code:
BdsDxe: loading Boot0001 "UEFI QEMU HARDDISK QM00017 " from PciRoot(0x0)/Pci(0x3,0x0)/Sata(0x2,0xFFFF,0x0)
BdsDxe: starting Boot0001 "UEFI QEMU HARDDISK QM00017 " from PciRoot(0x0)/Pci(0x3,0x0)/Sata(0x2,0xFFFF,0x0)
OCS: Failed to parse data field as blob with type boolean and <BA 08 0000 00> contents, context <Replace>!
!!!! X64 Exception Type - 0D(#GP - General Protection)  CPU Apic ID - 00000000 !!!!
ExceptionData - 0000000000000000
RIP  - 000000007E4AC08A, CS  - 0000000000000038, RFLAGS - 0000000000010246
RAX  - 0000000000000004, RCX - 00000000C0010064, RDX - 0000000000000F02
RBX  - 0000000000000008, RSP - 000000007FE3E330, RBP - 000000007FE3E330
RSI  - 000000007FE3E450, RDI - 000000007F279160
R8   - 0000000000000000, R9  - 000000007FE3E450, R10 - 000000007FE3E1D8
R11  - 0000000000000001, R12 - 0000000000000000, R13 - 000000007E51DA00
R14  - 000000007FE3E438, R15 - 000000007FE3E400
DS   - 0000000000000030, ES  - 0000000000000030, FS  - 0000000000000030
GS   - 0000000000000030, SS  - 0000000000000030
CR0  - 0000000080010033, CR2 - 0000000000000000, CR3 - 000000007FC01000
CR4  - 0000000000000668, CR8 - 0000000000000000
DR0  - 0000000000000000, DR1 - 0000000000000000, DR2 - 0000000000000000
DR3  - 0000000000000000, DR6 - 00000000FFFF0FF0, DR7 - 0000000000000400
GDTR - 000000007F9DE000 0000000000000047, LDTR - 0000000000000000
IDTR - 000000007F293018 0000000000000FFF,   TR - 0000000000000000
FXSAVE_STATE - 000000007FE3DF90
!!!! Find image based on IP(0x7E4AC08A) (No PDB)  (ImageBase=000000007E493000, EntryPoint=000000007E497D50) !!!!

although I copied the string almost directly from the guide it seems like it can't parse it. I tried removing the spaces as well.

this is what the section looks like in my config.plist

Code:
<dict>
<key>Arch</key>
<string>x86_64</string>
<key>Base</key>
<string>_cpuid_set_info</string>
<key>Comment</key>
<string>algrey | Force cpuid_cores_per_package to constant (user-specified) | 10.13-10.14</string>
<key>Count</key>
<integer>1</integer>
<key>Enabled</key>
<true/>
<key>Find</key>
<data>wegaAAAA</data>
<key>Identifier</key>
<string>kernel</string>
<key>Limit</key>
<integer>0</integer>
<key>Mask</key>
<data>//3/AAAA</data>
<key>MaxKernel</key>
<string>18.99.99</string>
<key>MinKernel</key>
<string>17.0.0</string>
<key>Replace</key>
<data>B8 08 0000 0000</data>
<key>ReplaceMask</key>
<data>//////8A</data>
<key>Skip</key>
<integer>0</integer>
</dict>

and whole config.plist attached too.
 

Attachments

  • config.plist
    42.2 KB · Views: 0
Last edited:
Back
Top Bottom
  AdBlock Detected
Sure, ad-blocking software does a great job at blocking ads, but it also blocks some useful and important features of our website. For the best possible site experience please take a moment to disable your AdBlocker.