lisai9093 Posted October 31, 2019 Share Posted October 31, 2019 (edited) The panic behavior appears to be random to me, from under 1 hour to more than one day while running macOS, include sleep/wake cycle. And each time the panic report is different. Sometime it includes kext backtrace, sometime it does not. Here are three most recent panic reports as well as RunMe output file. My desktop configuration is in my signature. Any help or suggestion would be appreciated. panic.txt panic 2.txt panic 3.txt Send me Sais-Mac-Pro.zip Edited October 31, 2019 by lisai9093 Link to comment https://www.insanelymac.com/forum/topic/340964-random-kernel-panic-while-using-macos/ Share on other sites More sharing options...
Allan Posted October 31, 2019 Share Posted October 31, 2019 Would be better with a complete report dump. RunMe Link to comment https://www.insanelymac.com/forum/topic/340964-random-kernel-panic-while-using-macos/#findComment-2695650 Share on other sites More sharing options...
lisai9093 Posted October 31, 2019 Author Share Posted October 31, 2019 1 minute ago, Allan said: Would be better with a complete report dump.RunMe thanks, i wil include it in the original post 1 Link to comment https://www.insanelymac.com/forum/topic/340964-random-kernel-panic-while-using-macos/#findComment-2695653 Share on other sites More sharing options...
MaLd0n Posted November 1, 2019 Share Posted November 1, 2019 5 hours ago, lisai9093 said: thanks, i wil include it in the original post delete ur efi folder and paste it there, reboot and check if work EFI.zip Link to comment https://www.insanelymac.com/forum/topic/340964-random-kernel-panic-while-using-macos/#findComment-2695679 Share on other sites More sharing options...
n.d.k Posted November 1, 2019 Share Posted November 1, 2019 5 hours ago, lisai9093 said: The panic behavior appears to be random to me, from under 1 hour to more than one day while running macOS, include sleep/wake cycle. And each time the panic report is different. Sometime it includes kext backtrace, sometime it does not. Here are three most recent panic reports as well as RunMe output file. My desktop configuration is in my signature. Any help or suggestion would be appreciated. panic.txt panic 2.txt panic 3.txt Send me Sais-Mac-Pro.zip Do you have the "Put hard disk to sleep when possible" turned on in Energy?...This feature seem to cause random panic with catalina. Link to comment https://www.insanelymac.com/forum/topic/340964-random-kernel-panic-while-using-macos/#findComment-2695680 Share on other sites More sharing options...
lisai9093 Posted November 1, 2019 Author Share Posted November 1, 2019 3 hours ago, n.d.k said: Do you have the "Put hard disk to sleep when possible" turned on in Energy?...This feature seem to cause random panic with catalina. Yes, that has been disabled. The hard disk kernel panic was resolved sometimes ago after 10.15 is out. 3 hours ago, MaLd0n said: delete ur efi folder and paste it there, reboot and check if work EFI.zip Thanks! I will try it starting tonight Link to comment https://www.insanelymac.com/forum/topic/340964-random-kernel-panic-while-using-macos/#findComment-2695694 Share on other sites More sharing options...
lisai9093 Posted November 8, 2019 Author Share Posted November 8, 2019 (edited) Update: kernel panic still occurred from time to time. I've used Hopper to dissembler the kernel in order to find out what exactly triggered the panic. Here is my finding: _hndl_unix_scall64: ffffff8014ce1201 call _unix_syscall64 _unix_syscall64: ffffff801539a1a7 call qword [rcx+rax*8] ffffff8014fa73b9 call _VNOP_REMOVE _VNOP_REMOVE: ffffff8014fc8093 call qword [rax+rcx*8] 0xffffff7f967b20f6: not found _ubc_setsize: ffffff80152cc8f6 call _ubc_setsize_ex _ubc_setsize_ex: ffffff80152cc665 call _memory_object_lock_request _memory_object_lock_request: ffffff8014dbe545 call sub_ffffff80003e8470 sub_ffffff80003e89a0: ffffff8014de8a84 call _vm_page_free_list sub_ffffff8000409680: ffffff8014e0969c call _vm_page_free_prepare_object _vm_page_free_prepare_object: ffffff8014e067d3 call _vm_page_remove _vm_page_remove ffffff8014e069a3 mov esi, dword [rax] _return_from_trap: ffffff8014ce0a3b call _kernel_trap _kernel_trap: ffffff8014e62b03 call _sync_iss_to_iks+208 _sync_iss_to_iks: ffffff8014e62e05 call _panic _panic: ffffff80154d17f4 call _panic_trap_to_debugger _panic_trap_to_debugger: ffffff8014d39506 call _DebuggerTrapWithState _DebuggerTrapWithState: ffffff8014d39127 mov rax, qword [gs:0x0] _return_from_trap: ffffff8014ce0a3b call _kernel_trap _kernel_trap: ffffff8014e62a59 call _kdp_i386_trap _kdp_i386_trap: ffffff8014e70fe0 call _handle_debugger_trap _handle_debugger_trap: ffffff8014d39a36 call _SavePanicInfo It seems _vm_page_remove function is the culprit. So I guess the problem is virtual memory related? What should I do next? Any help would be appreciated, thanks in advance. panic 4.txt Edited November 8, 2019 by lisai9093 Link to comment https://www.insanelymac.com/forum/topic/340964-random-kernel-panic-while-using-macos/#findComment-2696595 Share on other sites More sharing options...
lisai9093 Posted November 11, 2019 Author Share Posted November 11, 2019 (edited) Problem seems solved. It appears to be something wrong with disk (partition table likely.) I clean the whole disk using diskpart in Windows instead of using macOS disk utility, which I did before. So far no more random panic problem. If you have similar problem, try use diskpart to initialize your disk. It turns out nothing to do with disk itself. The culprit is SSDT-EC.aml injected into macOS. My PC, dell xps 8930, already has EC device which named "H_EC". If I inject another dummy EC via SSDT there seems to be conflict and caused random KP. After I delete it, no more KP. Edited November 21, 2019 by lisai9093 Link to comment https://www.insanelymac.com/forum/topic/340964-random-kernel-panic-while-using-macos/#findComment-2696868 Share on other sites More sharing options...
Recommended Posts