-
Notifications
You must be signed in to change notification settings - Fork 110
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Persistent double fault kernel panics, probably caused by OpenCore Legacy Patcher #46
Comments
Your kernel panic is almost identical to the one reported at issue #42 on HookCase 7.1.0. Are you also running macOS from an external drive? What version of macOS are you using? Is your Mac a Hackintosh? There is no "HookCase 7.1.3". I assume you're running version 7.1.2. The panics happen deep in Apple code, and I've never seen anything like them (though I use HookCase a lot, on several different kinds of hardware). I don't think HookCase can be the cause of these panics, though it may be a contributing factor. But if it is, there are no recent changes that can explain how. Here's a more-or-less random suggestion: Try disabling watchpoints and rebuilding. |
For what it's worth, I've created a bootable macOS 13.2.1 partition on an external drive (a 1TB Seagate FireCuda NVMe Thunderbolt 3 SSD), and have been using HookCase from it (version 7.1.2, the current version) on a MacBookPro16,1 with 32GB of RAM. I've had no problems, and certainly not any kernel panics. I'll keep using it for the next week or so, and see what happens. Both your kernel panic log and the one from Issue 42 indicate the use of file system compression. This isn't something that happens automatically. You must have used some kind of utility to compress some or all of the files on one or more of your drives. Tell me as much as you can about this. |
Oops, I was wrong about this. I built afsctool and used it to check how many files on my MacBook Pro were already compressed. I didn't expect to find any, but found lots. The number of files on my built-in SSD was only a small proportion of the total -- about 1%, for a total size saving of 3.1%. But the proportion was much higher on my external SSD -- about 28%, for a total size saving of about 40%. So you may not have used any file system compression utilities. Though please tell me if you have. Please also tell me as much as you can about the system you're using. At a minimum I need answers to all of the following questions:
|
And i also try it in a virtual machine mac 12.6, the panic would not happed, I hope it will be useful for you. |
Thanks for your information. It's not enough to resolve the problem. But, looking again at your kernel panic log and the one from issue #42, I now realize these panics have nothing to do with file system compression. As the values of If I'm right about this, the fix should be easy: Add What are your current kernel boot args? What does Are you using any other non-Apple kernel extensions? |
"panic happen either" should be "panics still happen". |
Just so that you're aware: Don't upgrade to macOS 13.3 for the time being. It breaks HookCase. |
I didn't use any other non-Apple kernel extensions, and set |
After you use Assuming that you did, here are two more requests:
|
Some more questions:
|
my kernel_stack_pages is right When kernel_stack_pages=6 and kernel_stack_pages=8, but the kernel panic log did't change. |
I use Xcode 13 and i build it by using |
By the way, everytime after i use HookCase 7.1.2, then if i try HookCase 7.1.1, the panic still panic. |
You really should be using XCode 14 (14.1 or 14.2). The reason is that XCode 13's SDK is for macOS 12. XCode 14's SDK is for macOS 13. Try downloading XCode 14 and rebuilding HookCase. You'll also need to install its command line tools. You kernel panics are a mystery to me -- one I don't have the information to solve. There must be something about your system that's unusual, but I can't guess what. I've run out of questions to ask about it. On the chance there's something wrong with your hard drive, you should run Disk Utility's First Aid on it. |
What do you mean by "reinstall my system"? Do you reinstall macOS 13? |
yes, i start up my computer in macOS Recovery, and select reinstall for your my release. |
I don't know what you mean by "exit quickly", but this doesn't sound safe. You probably shouldn't do it. Nor do I have any idea why it seems to "work". I don't object to your reinstalling macOS. Just don't interrupt it like this. It does sound like there's something wrong with your hard disk. You really should run Disk Utility's First Aid on it. You should always build HookCase on the same version of macOS where you're going to use it, with an appropriate version of XCode. In your case you should build HookCase (the next version) on macOS 13.3 with XCode 14.1 or 14.2. You should set |
ok, i will wait for the next version of HookCase and try again. |
I've just released HookCase 7.1.3, which works on macOS 13.3. |
You didn't tell me, but you are using third party kernel extensions (besides HookCase). In fact you're using the OpenCore Legacy Patcher. I've now started using it myself, to install macOS Ventura 13.3.1 on a machine that Apple says doesn't support Ventura -- a "mid-2015 MacBook Pro", model id MacBookPro11,5. I now get exactly the kernel panic you reported. Setting |
I'm closing this as a duplicate of issue #42. |
I no longer think this is a duplicate of issue #42, but I'm still pretty sure you're using OCLP. I'm about to release a new version of HookCase that works with OCLP, at least in my tests. I found I could get rid of this bug's panic by using a |
I've just released HookCase 7.3, which should fix these kernel panics. See Using the OpenCore Legacy Patcher for detailed instructions on how to set |
I didn't actually use the OpenCore Legacy Patcher. But i will try HookCase 7.3 and watch if it panic again. |
When I first use HookCase 7.1.3, it works properly.
But the next time i load it, if i try to inject, the kernel panic.
Then, even though i use HookCase 7.1.2, the kernel panic either.
The text was updated successfully, but these errors were encountered: