Skip to content

Instantly share code, notes, and snippets.

@al3xtjames
Created January 9, 2023 02:48
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save al3xtjames/3cec3a7a9ef950163629016e94deeebd to your computer and use it in GitHub Desktop.
Save al3xtjames/3cec3a7a9ef950163629016e94deeebd to your computer and use it in GitHub Desktop.
Fix for "MSI vectors enabled = 1 < reported = 8" with cxgb.kext. Note that OC cannot patch AuxKC, so using this patch in config.plist won't work. Manually patching cxgb.kext and injecting it with OC works as an alternative.
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>Kernel</key>
<dict>
<key>Patch</key>
<array>
<dict>
<key>Arch</key>
<string>x86_64</string>
<key>Base</key>
<string>__ZN24com_chelsio_driver_cxgb49check_msiEP9IOServicePi</string>
<key>Comment</key>
<string>Skip MSI vector check</string>
<key>Count</key>
<integer>1</integer>
<key>Enabled</key>
<true/>
<key>Find</key>
<data>RTn1fTg=</data>
<key>Identifier</key>
<string>com.chelsio.driver.cxgb</string>
<key>Limit</key>
<integer>0</integer>
<key>Mask</key>
<data></data>
<key>MaxKernel</key>
<string></string>
<key>MinKernel</key>
<string></string>
<key>Replace</key>
<data>RTn16zg=</data>
<key>ReplaceMask</key>
<data></data>
<key>Skip</key>
<integer>0</integer>
</dict>
</array>
</dict>
</dict>
</plist>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment