Bug 1576767 Comment 260 Edit History

Note: The actual edited comment in the bug view page will always show the original commenter’s name and original timestamp.

If people are interested, I can attach a patch to the current HookCase master branch that fixes the Apple bug in AMDRadeonX4000, AMDRadeonX5000 and AMDRadeonX6000 kernel extensions on the current version of macOS Catalina (10.15.4). Loading HookCase patches the bug in running kernel extension code. Unloading it unpatches it (restores the code to its original condition).

If there's sufficient interest, I could even create a separate kernel extension, using the relevant parts of HookCase code, that does nothing but fix the bug when it's loaded, and unfix it when it's unloaded. For those of you who see this bug on AMD Radeon hardware, it'd be interesting to test with Apple's bug fixed.

You need to have XCode and its command line tools to build either HookCase or this new kernel extension.
If people are interested, I can attach a patch to the current HookCase master branch that fixes the Apple bug in AMDRadeonX4000, AMDRadeonX5000 and AMDRadeonX6000 kernel extensions on the current version of macOS Catalina (10.15.4). Loading HookCase patches the bug in running kernel extension code. Unloading it unpatches it (restores the code to its original condition).

If there's sufficient interest, I could even create a separate kernel extension, using the relevant parts of HookCase code, that does nothing but fix the bug when it's loaded, and unfix it when it's unloaded. For those of you who see this bug on AMD Radeon hardware, it'd be interesting to test with Apple's bug fixed.

You need to have XCode and its command line tools to build either HookCase or this new kernel extension. You also need to add "keepsyms=1" to your kernel boot args.

Back to Bug 1576767 Comment 260