qinkangdeid / z370n-wifi-hackintosh

技嘉主板(Z370N-WIFI)黑苹果EFI文件 查看
https://qinkangdeid.github.io/z370n-wifi-hackintosh/#/
125 stars 26 forks source link

a freed zone element has been modified in zone kalloc.16 #106

Open isshe opened 3 years ago

isshe commented 3 years ago

大佬,这个问题有遇到过吗?

panic(cpu 5 caller 0xffffff80005739a8): "a freed zone element has been modified in zone kalloc.16: expected 0 but found 0, bits changed 0, at offset 0 of 16 in element 0xffffff8025c95810, cookies 0x3f001161c6e26728 0x535212f34c94411"@/AppleInternal/BuildRoot/Library/Caches/com.apple.xbs/Sources/xnu/xnu-6153.141.2/osfmk/kern/zalloc.c:1233
Backtrace (CPU 5), Frame : Return Address
0xffffff91f30eb4e0 : 0xffffff800051a65d mach_kernel : _handle_debugger_trap + 0x49d
0xffffff91f30eb530 : 0xffffff8000654a75 mach_kernel : _kdp_i386_trap + 0x155
0xffffff91f30eb570 : 0xffffff80006465fe mach_kernel : _kernel_trap + 0x4ee
0xffffff91f30eb5c0 : 0xffffff80004c0a40 mach_kernel : _return_from_trap + 0xe0
0xffffff91f30eb5e0 : 0xffffff8000519d27 mach_kernel : _DebuggerTrapWithState + 0x17
0xffffff91f30eb6e0 : 0xffffff800051a117 mach_kernel : _panic_trap_to_debugger + 0x227
0xffffff91f30eb730 : 0xffffff8000cc1a6c mach_kernel : _panic + 0x54
0xffffff91f30eb7a0 : 0xffffff80005739a8 mach_kernel : _zone_find_largest + 0x128
0xffffff91f30eb7d0 : 0xffffff8000573b11 mach_kernel : _zone_find_largest + 0x291
0xffffff91f30eb800 : 0xffffff80005737dc mach_kernel : _zfree + 0xdac
0xffffff91f30eb830 : 0xffffff80005741e9 mach_kernel : _zalloc_attempt + 0x19
0xffffff91f30eb850 : 0xffffff8000575858 mach_kernel : _zcache_alloc_from_cpu_cache + 0xd8
0xffffff91f30eb890 : 0xffffff8000571bff mach_kernel : _zalloc_async + 0x23f
0xffffff91f30eb9c0 : 0xffffff8000527584 mach_kernel : _kalloc_canblock + 0xa4
0xffffff91f30eba30 : 0xffffff8000b9733c mach_kernel : __ZN20OSCollectionIterator7isValidEv + 0x4c
0xffffff91f30eba50 : 0xffffff8000b973aa mach_kernel : __ZN20OSCollectionIterator13getNextObjectEv + 0x1a
0xffffff91f30eba70 : 0xffffff8000bf9ec7 mach_kernel : __ZNK15IORegistryEntry7inPlaneEPK15IORegistryPlane + 0x77
0xffffff91f30ebaa0 : 0xffffff8000bf8d23 mach_kernel : __ZN15IORegistryEntry11setPropertyEPK8OSSymbolP8OSObject + 0x63
0xffffff91f30ebaf0 : 0xffffff8000bf8e4d mach_kernel : __ZN15IORegistryEntry11setPropertyEPKcP8OSObject + 0x2d
0xffffff91f30ebb20 : 0xffffff8000c8c158 mach_kernel : __ZN14IOPMrootDomain14publishFeatureEPKcjPj + 0x1e8
0xffffff91f30ebb70 : 0xffffff8000c9746f mach_kernel : __ZN15PMSettingObject15pmSettingObjectEP14IOPMrootDomainPFiP8OSObjectPK8OSSymbolS3_mES3_mjPS6_PS3_ + 0x1ff
0xffffff91f30ebbd0 : 0xffffff8000c97162 mach_kernel : __ZN14IOPMrootDomain27registerPMSettingControllerEPPK8OSSymboljPFiP8OSObjectS2_S5_mES5_mPS5_ + 0x62
0xffffff91f30ebc30 : 0xffffff8000c970f2 mach_kernel : __ZN14IOPMrootDomain27registerPMSettingControllerEPPK8OSSymbolPFiP8OSObjectS2_S5_mES5_mPS5_ + 0x22
0xffffff91f30ebc50 : 0xffffff7f8145f674 com.apple.driver.AppleSMC : __ZN8AppleSMC31smcNotificationPublishedHandlerEPvS0_P9IOServiceP10IONotifier + 0x70c
0xffffff91f30ebcd0 : 0xffffff8000c035c5 mach_kernel : __ZN9IOService14invokeNotifierEP18_IOServiceNotifier + 0xf5
0xffffff91f30ebd30 : 0xffffff8000c0f042 mach_kernel : __ZN9IOService23addMatchingNotificationEPK8OSSymbolP12OSDictionaryPFbPvS5_PS_P10IONotifierES5_S5_i + 0x62
0xffffff91f30ebd70 : 0xffffff7f8145e4ca com.apple.driver.AppleSMC : __ZN8AppleSMC24smcRegisterNotificationsEv + 0x92
0xffffff91f30ebdb0 : 0xffffff7f8145d121 com.apple.driver.AppleSMC : __ZN8AppleSMC5startEP9IOService + 0x6db
0xffffff91f30ebde0 : 0xffffff8000c07576 mach_kernel : __ZN9IOService14startCandidateEPS_ + 0xf6
0xffffff91f30ebe40 : 0xffffff8000c070b1 mach_kernel : __ZN9IOService15probeCandidatesEP12OSOrderedSet + 0xad1
0xffffff91f30ebef0 : 0xffffff8000c0644e mach_kernel : __ZN9IOService14doServiceMatchEj + 0x2de
0xffffff91f30ebf50 : 0xffffff8000c08c06 mach_kernel : __ZN15_IOConfigThread4mainEPvi + 0x186
0xffffff91f30ebfa0 : 0xffffff80004c013e mach_kernel : _call_continuation + 0x2e
      Kernel Extensions in backtrace:
         com.apple.driver.AppleSMC(3.1.9)[D2F0B610-83F8-3B84-B0BD-D9D0CC95A697]@0xffffff7f8145c000->0xffffff7f8147afff
            dependency: com.apple.iokit.IOACPIFamily(1.4)[2956198D-24F2-3790-A9B2-1EAB9434B906]@0xffffff7f8144a000
            dependency: com.apple.driver.watchdog(1)[B6A95892-6C75-3CF5-A6CC-6D83F30FA1D5]@0xffffff7f81453000
            dependency: com.apple.iokit.IOPCIFamily(2.9)[44472E6F-8DA0-3B46-ADEF-AFF76EC6C6DB]@0xffffff7f80f31000

BSD process name corresponding to current thread: kernel_task
Boot args: -v keepsyms=1 darkwake=0 alcid=7

Mac OS version:
19H2

Kernel version:
Darwin Kernel Version 19.6.0: Mon Aug 31 22:12:52 PDT 2020; root:xnu-6153.141.2~1/RELEASE_X86_64
Kernel UUID: 05D51A3D-3A87-3FF0-98C3-9CF3827A3EDD
Kernel slide:     0x0000000000200000
Kernel text base: 0xffffff8000400000
__HIB  text base: 0xffffff8000300000
System model name: iMac19,1 (Mac-AA95B1DDAB278B95)
System shutdown begun: NO
Panic diags file available: YES (0x0)

System uptime in nanoseconds: 9368926032
isshe commented 3 years ago

我的配置是:

TheAkshrCompany commented 2 years ago

你有解决这个问题的方法吗?

isshe commented 2 years ago

没记错是因为一个 kext 导致的。好像是这个 NVMeFix.kext,不太记得了,你可以试试。你如果 OC 是从 0.6x 升级到 0.7x 或最新,则可以去看看 OpenCore 的变更日志,好像是 0.70(也不记得具体版本了) 左右的一个变更导致的。 https://github.com/acidanthera/OpenCorePkg/releases

isshe commented 2 years ago

我当时是二分法逐个尝试 OC 版本缩小范围后,看日志搞定的。机器不在身边,不太确定哪个配置了。