Kernal Panic - first boot always fails

have a weird issue in which the first boot fails and the PC restarts . The second boot or attempt is good however. the build itself is very stable once its booted. only thing perhaps that is finicky is something the brightness keys will not turn on automatically or at all. the kernel panic seems to related to VirtualSMC but I'm not entirely sure of how to go about fixing it.

{"timestamp":"2024-01-31 00:43:32.00 -0500","bug_type":"210","os_version":"macOS 12.6.6 (21G646)","incident_id":"E01182B0-BED0-42C1-80E9-CC81EEBF24C0"}

{"macOSProcessedStackshotData":"bm8gb24gZGlzayBwYW5pYyBzdGFja3Nob3QgZm91bmQgaW4gY29yZWZpbGU=","macOSPanicString":"panic(cpu 6 caller 0xffffff8013319529): [default.kalloc.16]: element modified after free (off:8, val:0x0000000000000002, sz:16, ptr:0xffffff903929e620)\n 8: 0x0000000000000002\nPanicked task 0xffffff9038fb6670: 114 threads: pid 0: kernel_task\nBacktrace (CPU 6), panicked thread: 0xffffff99d143d000, Frame : Return Address\n0xffffffcb55503090 : 0xffffff8012a7befd \n0xffffffcb555030e0 : 0xffffff8012bde636 \n0xffffffcb55503120 : 0xffffff8012bcd9a3 \n0xffffffcb55503170 : 0xffffff8016aff5af \n0xffffffcb555031f0 : 0xffffff8012a1ba70 \n0xffffffcb55503210 : 0xffffff8012a7c2cd \n0xffffffcb55503330 : 0xffffff8012a7ba86 \n0xffffffcb55503390 : 0xffffff8013314aa3 \n0xffffffcb55503480 : 0xffffff8013319529 \n0xffffffcb555038f0 : 0xffffff8012ae6359 \n0xffffffcb55503950 : 0xffffff8012a8ba90 \n0xffffffcb555039a0 : 0xffffff8013201bd0 \n0xffffffcb555039c0 : 0xffffff80149be42e \n0xffffffcb55503a10 : 0xffffff80149be605 \n0xffffffcb55503a30 : 0xffffff8014a285f8 \n0xffffffcb55503a60 : 0xffffff8014ab83c5 \n0xffffffcb55503b00 : 0xffffff80149cb23a \n0xffffffcb55503bd0 : 0xffffff80149c97c0 \n0xffffffcb55503c40 : 0xffffff80149c9369 \n0xffffffcb55503c70 : 0xffffff8013246114 \n0xffffffcb55503cd0 : 0xffffff80149ca4a8 \n0xffffffcb55503d40 : 0xffffff8016fce9d7 \n0xffffffcb55503dc0 : 0xffffff80132196be \n0xffffffcb55503e20 : 0xffffff801321917e \n0xffffffcb55503ef0 : 0xffffff8013218220 \n0xffffffcb55503f50 : 0xffffff801321b247 \n0xffffffcb55503fa0 : 0xffffff8012a1b19e \n Kernel Extensions in backtrace:\n as.vit9696.VirtualSMC(1.3.2)[71035DEB-98F5-3B4E-BBF0-ED7E662A498A]@0xffffff8016af0000->0xffffff8016b16fff\n dependency: as.vit9696.Lilu(1.6.7)[25741132-2DF3-334A-9556-DFED6B982FB5]@0xffffff8016a66000->0xffffff8016aedfff\n dependency: com.apple.iokit.IOACPIFamily(1.4)[43F1DE5C-F8A5-3288-A80D-5675094AD4AB]@0xffffff801518e000->0xffffff801518ffff\n as.lvs1974.AirportBrcmFixup(2.1.8)[C7E2339E-A7D1-3711-A02A-C1E2A45F2EB5]@0xffffff8016fcb000->0xffffff8016fdffff\n dependency: as.vit9696.Lilu(1.6.7)[25741132-2DF3-334A-9556-DFED6B982FB5]@0xffffff8016a66000->0xffffff8016aedfff\n dependency: com.apple.iokit.IOPCIFamily(2.9)[6C3EA624-55E3-34FB-B457-D28680D6CFD8]@0xffffff8015637000->0xffffff8015663fff\n com.apple.driver.AirPort.BrcmNIC(1400.1.1)[22397032-F057-305F-9B25-DEFDA0D771EB]@0xffffff801499e000->0xffffff8014ef7fff\n dependency: com.apple.driver.corecapture(1.0.4)[236A34D9-F699-393D-8BBC-DB0617079701]@0xffffff8015e9e000->0xffffff8015eb7fff\n dependency: com.apple.driver.mDNSOffloadUserClient(1.0.1b8)[8201ADA4-5965-31AA-B2A7-0430FA5C37F5]@0xffffff8015630000->0xffffff8015634fff\n dependency: com.apple.iokit.IO80211FamilyLegacy(1200.12.2b1)[8C47D719-A8C0-3FA1-A06D-8B6DAC485D1A]@0xffffff801483d000->0xffffff8014982fff\n dependency: com.apple.iokit.IONetworkingFamily(3.4)[C60A5F9A-35E2-3986-8593-5800B48F81B1]@0xffffff8015399000->0xffffff80153affff\n dependency: com.apple.iokit.IOPCIFamily(2.9)[6C3EA624-55E3-34FB-B457-D28680D6CFD8]@0xffffff8015637000->0xffffff8015663fff\n dependency: com.apple.iokit.IOSkywalkFamily(1.0)[0F0E600D-7181-3D44-B5E0-56E224370BA9]@0xffffff8015717000->0xffffff8015761fff\n\nProcess name corresponding to current thread (0xffffff99d143d000): kernel_task\nBoot args: -igfxmpc -igfxmlr -igfxdbeo -igfxfw=2 -wegnoegpu -brcmfx-delay=20000 -brcmfx-country=#a chunklist-security-epoch=0 -chunklist-no-rev2-dev chunklist-security-epoch=0 -chunklist-no-rev2-dev\n\nMac OS version:\nNot yet set\n\nKernel version:\nDarwin Kernel Version 21.6.0: Mon Apr 24 21:10:53 PDT 2023; root:xnu-8020.240.18.701.5~1\/RELEASE_X86_64\nKernel UUID: B91C3306-5CF4-3F44-A94E-F4F006FE99E2\nKernelCache slide: 0x0000000012800000\nKernelCache base: 0xffffff8012a00000\nKernel slide: 0x0000000012810000\nKernel text base: 0xffffff8012a10000\n__HIB text base: 0xffffff8012900000\nSystem model name: MacBookPro16,2 (Mac-5F9802EFE386AA28)\nSystem shutdown begun: NO\nPanic diags file unavailable, panic occurred prior to initialization\nHibernation exit count: 0\n\nSystem uptime in nanoseconds: 3220195221\nLast Sleep: absolute base_tsc base_nano\n Uptime : 0x00000000bff0581c\n Sleep : 0x0000000000000000 0x0000000000000000 0x0000000000000000\n Wake : 0x0000000000000000 0x0000000f7c65a176 0x0000000000000000\nCompressor Info: 0% of compressed pages limit (OK) and 0% of segments limit (OK) with 0 swapfiles and OK swap space\nZone info:\n Zone map: 0xffffff8036ed2000 - 0xffffffa036ed2000\n . PGZ : 0xffffff8036ed2000 - 0xffffff803aed3000\n . VM : 0xffffff803aed3000 - 0xffffff8507206000\n . RO : 0xffffff8507206000 - 0xffffff86a086c000\n . GEN0 : 0xffffff86a086c000 - 0xffffff8b6cb9f000\n . GEN1 : 0xffffff8b6cb9f000 - 0xffffff9038ed2000\n . GEN2 : 0xffffff9038ed2000 - 0xffffff9505205000\n . GEN3 : 0xffffff9505205000 - 0xffffff99d1538000\n . DATA : 0xffffff99d1538000 - 0xffffffa036ed2000\n Metadata: 0xffffffd5cef9e000 - 0xffffffd5eef9e000\n Bitmaps : 0xffffffd5eef9e000 - 0xffffffd5faf9e000\n\n\n\n"}

any ideas where to start?

Hardware is Comet Lake i7-10875H with UHD 630, Eluktronics MECH 15 G3 Laptop

submitted by /u/ireditloud
[link] [comments]