Contribute
Register

<< Solved >> Sudden frequent kernel panics, Lilu?

Status
Not open for further replies.
Joined
Feb 18, 2022
Messages
7
Motherboard
Gigabyte GZ-Z270X Ultra Gaming
CPU
i7-7700K
Graphics
RX 560
Running Mojave 10.14.6 on an i7-7700K, Z270X motherboard, Radeon RX 560 4GB. It's been smooth for years. Suddenly I am getting frequent kernel panics. They seem to be related to Electron-based apps but not always, and I'm seeing this "Luli faield to set user patch request."

Something that's strange - because I kept seeing Lilu in the crash logs, I downloaded the latest version (1.6.0) and put it in my EFI/kexts/Other, but I still see 1.3.1 in the crash logs.

A typical crash log:

Code:
Anonymous UUID:       40124B73-5363-79F0-E0CD-4AF72131C21F

Fri Feb 18 10:05:12 2022

*** Panic Report ***
panic(cpu 7 caller 0xffffff7f998d6eb8): Lilu:    user @ failed to set user patch request

Backtrace (CPU 7), Frame : Return Address
0xffffff83bf733930 : 0xffffff8018fae6ed mach_kernel : _handle_debugger_trap + 0x47d
0xffffff83bf733980 : 0xffffff80190ea185 mach_kernel : _kdp_i386_trap + 0x155
0xffffff83bf7339c0 : 0xffffff80190db8ba mach_kernel : _kernel_trap + 0x50a
0xffffff83bf733a30 : 0xffffff8018f5bb40 mach_kernel : _return_from_trap + 0xe0
0xffffff83bf733a50 : 0xffffff8018fae107 mach_kernel : _panic_trap_to_debugger + 0x197
0xffffff83bf733b70 : 0xffffff8018fadf53 mach_kernel : _panic + 0x63
0xffffff83bf733be0 : 0xffffff7f998d6eb8 as.vit9696.Lilu : __ZN11Compression8compressEjRjPKhjPh + 0x1308
0xffffff83bf733c40 : 0xffffff801948b1c3 mach_kernel : _kauth_authorize_fileop + 0x153
0xffffff83bf733ca0 : 0xffffff80194b94a1 mach_kernel : _posix_spawn + 0x2d11
0xffffff83bf733d20 : 0xffffff80194b8632 mach_kernel : _posix_spawn + 0x1ea2
0xffffff83bf733f40 : 0xffffff80195ba5ed mach_kernel : _unix_syscall64 + 0x27d
0xffffff83bf733fa0 : 0xffffff8018f5c306 mach_kernel : _hndl_unix_scall64 + 0x16
      Kernel Extensions in backtrace:
         as.vit9696.Lilu(1.3.1)[2BA44B2C-289E-39B7-A92B-C28291D5FC26]@0xffffff7f998ca000->0xffffff7f998ebfff

BSD process name corresponding to current thread: Slack
Boot args: keepsyms=1 dart=0 debug=0x100 shikigva=40

Mac OS version:
18G103

Kernel version:
Darwin Kernel Version 18.7.0: Tue Aug 20 16:57:14 PDT 2019; root:xnu-4903.271.2~2/RELEASE_X86_64
Kernel UUID: C41337A1-0EC3-3896-A954-A1F85E849D53
Kernel slide:     0x0000000018c00000
Kernel text base: 0xffffff8018e00000
__HIB  text base: 0xffffff8018d00000
System model name: iMac17,1 (Mac-B809C3757DA9BB8D)

System uptime in nanoseconds: 497453518380
last loaded kext at 427999606257: com.apple.filesystems.msdosfs    1.10 (addr 0xffffff7f9e22e000, size 69632)
last unloaded kext at 316265310125: com.apple.driver.AppleFileSystemDriver    3.0.1 (addr 0xffffff7f99c04000, size 16384)
loaded kexts:
com.getdropbox.dropbox.kext    1.13.0
org.virtualbox.kext.VBoxNetAdp    6.1.12
org.virtualbox.kext.VBoxNetFlt    6.1.12
org.virtualbox.kext.VBoxUSB    6.1.12
org.virtualbox.kext.VBoxDrv    6.1.12
org.tw.CodecCommander    2.6.3
com.bitgapp.eqMac2Driver    2.0
com.intel.driver.EnergyDriver    3.5.5
com.insanelymac.IntelMausiEthernet    2.2.0
as.vit9696.AppleALC    1.3.4
as.vit9696.WhateverGreen    1.2.6
as.vit9696.Lilu    1.3.1
com.rehabman.driver.USBInjectAll    0.7.1
org.netkas.driver.FakeSMC    1800
com.apple.filesystems.msdosfs    1.10
com.apple.driver.AppleTopCaseHIDEventDriver    138.4
com.apple.fileutil    20.036.15
com.apple.kext.AMDFramebuffer    2.1.1
com.apple.filesystems.autofs    3.0
com.apple.driver.AppleHDA    282.54
com.apple.driver.AGPM    110.25.11
com.apple.driver.ApplePlatformEnabler    2.7.0d0
com.apple.driver.X86PlatformShim    1.0.0
com.apple.kext.AMDRadeonX4000    2.1.1
com.apple.AGDCPluginDisplayMetrics    3.50.12
com.apple.driver.AppleHV    1
com.apple.iokit.IOUserEthernet    1.0.1
com.apple.driver.AppleUpstreamUserClient    3.6.5
com.apple.driver.AppleMCCSControl    1.5.9
com.apple.iokit.IOBluetoothSerialManager    6.0.14d3
com.apple.driver.pmtelemetry    1
com.apple.driver.AppleIntelKBLGraphics    12.1.0
com.apple.Dont_Steal_Mac_OS_X    7.0.0
com.apple.driver.AppleOSXWatchdog    1
com.apple.kext.AMD9500Controller    2.1.1
com.apple.driver.AppleIntelKBLGraphicsFramebuffer    12.1.0
com.apple.driver.AppleGFXHDA    100.1.414
com.apple.driver.AppleIntelSlowAdaptiveClocking    4.0.0
com.apple.driver.AppleIntelPCHPMC    2.0.1
com.apple.driver.AudioAUUC    1.70
com.apple.filesystems.apfs    945.275.7
com.apple.driver.AppleUSBStorageCoexistentDriver    456.260.3
com.apple.driver.AppleVirtIO    2.1.3
com.apple.filesystems.hfs.kext    407.200.4
com.apple.AppleFSCompression.AppleFSCompressionTypeDataless    1.0.0d1
com.apple.BootCache    40
com.apple.AppleFSCompression.AppleFSCompressionTypeZlib    1.0.0
com.apple.AppleSystemPolicy    1.0
com.apple.driver.AirPort.BrcmNIC    1400.1.1
com.apple.driver.AppleAHCIPort    329.260.5
com.apple.private.KextAudit    1.0
com.apple.driver.AppleRTC    2.0
com.apple.driver.AppleACPIButtons    6.1
com.apple.driver.AppleHPET    1.8
com.apple.driver.AppleSMBIOS    2.1
com.apple.driver.AppleAPIC    1.7
com.apple.nke.applicationfirewall    201
com.apple.security.TMSafetyNet    8
com.apple.driver.AppleHIDKeyboard    208
com.apple.driver.AppleMultitouchDriver    2450.1
com.apple.driver.AppleInputDeviceSupport    2440.2
com.apple.driver.AppleHSBluetoothDriver    138.4
com.apple.driver.IOBluetoothHIDDriver    6.0.14d3
com.apple.iokit.IOUSBUserClient    900.4.2
com.apple.kext.triggers    1.0
com.apple.driver.DspFuncLib    282.54
com.apple.kext.OSvKernDSPLib    528
com.apple.kext.AMDRadeonX4000HWLibs    1.0
com.apple.kext.AMDRadeonX4000HWServices    2.1.1
com.apple.iokit.IOAVBFamily    760.6
com.apple.plugin.IOgPTPPlugin    740.2
com.apple.iokit.IOEthernetAVBController    1.1.0
com.apple.iokit.IOSkywalkFamily    1
com.apple.driver.AppleSSE    1.0
com.apple.driver.AppleSMBusController    1.0.18d1
com.apple.iokit.IOSMBusFamily    1.1
com.apple.AppleGPUWrangler    3.50.12
com.apple.kext.AMDSupport    2.1.1
com.apple.AppleGraphicsDeviceControl    3.50.12
com.apple.iokit.IOAcceleratorFamily2    404.14
com.apple.iokit.IOSurface    255.6.1
com.apple.iokit.IOUSBHIDDriver    900.4.2
com.apple.driver.X86PlatformPlugin    1.0.0
com.apple.driver.AppleHDAController    282.54
com.apple.iokit.IOHDAFamily    282.54
com.apple.iokit.IONDRVSupport    530.51
com.apple.iokit.IOSlowAdaptiveClockingFamily    1.0.0
com.apple.driver.IOPlatformPluginFamily    6.0.0d8
com.apple.iokit.IOGraphicsFamily    530.66
com.apple.iokit.IOAHCIBlockStorage    301.270.1
com.apple.iokit.BroadcomBluetoothHostControllerUSBTransport    6.0.14d3
com.apple.iokit.IOBluetoothHostControllerUSBTransport    6.0.14d3
com.apple.iokit.IOBluetoothHostControllerTransport    6.0.14d3
com.apple.iokit.IOBluetoothFamily    6.0.14d3
com.apple.iokit.IOUSBMassStorageClass    4.0.4
com.apple.driver.AppleUSBAudio    315.6
com.apple.driver.usb.IOUSBHostHIDDevice    1.2
com.apple.iokit.IOAudioFamily    206.5
com.apple.vecLib.kext    1.2.0
com.apple.driver.usb.networking    5.0.0
com.apple.driver.usb.AppleUSBHostCompositeDevice    1.2
com.apple.driver.AppleUSBHostMergeProperties    1.2
com.apple.driver.usb.AppleUSBHub    1.2
com.apple.iokit.IOSerialFamily    11
com.apple.filesystems.hfs.encodings.kext    1
com.apple.driver.usb.AppleUSBHostPacketFilter    1.0
com.apple.iokit.IOUSBFamily    900.4.2
com.apple.iokit.IO80211Family    1200.12.2
com.apple.driver.mDNSOffloadUserClient    1.0.1b8
com.apple.driver.corecapture    1.0.4
com.apple.iokit.IOAHCIFamily    288
com.apple.driver.usb.AppleUSBXHCIPCI    1.2
com.apple.driver.usb.AppleUSBXHCI    1.2
com.apple.driver.AppleEFINVRAM    2.1
com.apple.driver.AppleEFIRuntime    2.1
com.apple.iokit.IOHIDFamily    2.0.0
com.apple.security.quarantine    3
com.apple.security.sandbox    300.0
com.apple.kext.AppleMatch    1.0.0d1
com.apple.driver.DiskImages    493.0.0
com.apple.driver.AppleFDEKeyStore    28.30
com.apple.driver.AppleEffaceableStorage    1.0
com.apple.driver.AppleKeyStore    2
com.apple.driver.AppleUSBTDM    456.260.3
com.apple.driver.AppleMobileFileIntegrity    1.0.5
com.apple.iokit.IOUSBMassStorageDriver    145.200.2
com.apple.iokit.IOSCSIBlockCommandsDevice    408.250.3
com.apple.iokit.IOSCSIArchitectureModelFamily    408.250.3
com.apple.iokit.IOStorageFamily    2.1
com.apple.kext.CoreTrust    1
com.apple.driver.AppleCredentialManager    1.0
com.apple.driver.KernelRelayHost    1
com.apple.iokit.IOUSBHostFamily    1.2
com.apple.driver.usb.AppleUSBCommon    1.0
com.apple.driver.AppleBusPowerController    1.0
com.apple.driver.AppleSEPManager    1.0.1
com.apple.driver.IOSlaveProcessor    1
com.apple.iokit.IOReportFamily    47
com.apple.iokit.IOTimeSyncFamily    740.2
com.apple.iokit.IONetworkingFamily    3.4
com.apple.driver.AppleACPIPlatform    6.1
com.apple.driver.AppleSMC    3.1.9
com.apple.iokit.IOPCIFamily    2.9
com.apple.iokit.IOACPIFamily    1.4
com.apple.kec.pthread    1
com.apple.kec.corecrypto    1.0
com.apple.kec.Libm    1

EOF
Model: iMac17,1, BootROM 174.0.0.0.0, 4 processors, Intel Core i7, 4.20 GHz, 32 GB, SMC 2.33f12
Graphics: Radeon RX 560, Radeon RX 560, spdisplays_pcie_device, 4 GB
Graphics: spdisplays_display, spdisplays_pcie_device
Memory Module: BANK 0/DIMM1, 16 GB, DDR4, 2400 MHz, Corsair, CMK32GX4M2A2400C16
Memory Module: BANK 1/DIMM1, 16 GB, DDR4, 2400 MHz, Corsair, CMK32GX4M2A2400C16
AirPort: spairport_wireless_card_type_airport_extreme (0x14E4, 0x117), Broadcom BCM43xx 1.0 (7.77.61.2 AirPortDriverBrcmNIC-1305.8)
Bluetooth: Version 6.0.14d3, 3 services, 27 devices, 1 incoming serial ports
Network Service: Ethernet, Ethernet, en0
PCI Card: Radeon RX 560, Display Controller, Slot-1
PCI Card: display, VGA-Compatible Controller, Slot-2
PCI Card: sppci_expresscard_name, Other Network Controller
Serial ATA Device: Samsung SSD 860 EVO 2TB, 2 TB
Serial ATA Device: Samsung SSD 860 EVO 1TB, 1 TB
USB Device: USB 3.1 Bus
USB Device: USB 3.0 Bus
USB Device: Elements 25A3
USB Device: Expansion Desk
USB Device: BRCM20702 Hub
USB Device: Bluetooth USB Host Controller
USB Device: Jabra EVOLVE LINK MS
USB Device: USB Receiver
USB Device: HD Pro Webcam C920
USB Device: I'm Fulla Schiit
Thunderbolt Bus:
 

Attachments

  • Screen Shot 2022-02-18 at 10.19.02 AM.png
    Screen Shot 2022-02-18 at 10.19.02 AM.png
    1.3 MB · Views: 58
Do you have another copy of Lilu.kext that you installed to /Library/Extensions folder?

If yes, then the older kext will be part of the Kernel Cache and will be used by macOS when it boots, not the newer updated kext in your /CLOVER/kexts/Other folder.
  1. You need to remove any duplicate kexts you may have installed to /Library/Extensions.
  2. You need to Repair Permissions and Rebuild the Kernel Cache, immediately after removing the duplicate kexts.
Do not reboot your system without Repairing Permissions and Rebuilding the Kernel Cache. If you do you will mess your system up and it will not boot macOS.

The easiest way to Repair Permissions and Rebuild the Kernel Cache is to use Hackintool app.

Open Hackintool, navigate to the Utilities tab and select the last icon on the right, below the main window, as highlighted in the screenshot below.

Screenshot 2022-02-18 at 18.19.09.png
Hackintool > Utilities > Repair Permissions and Rebuild the Kernel Cache tool

Then just follow the wizard, enter your password when requested and select OK to disable Gatekeeper.

That should fix the error message and have your system using the updated kext from your Clover setup.
 
Something that's strange

Kexts.png


There are kexts for four different Ethernet controllers, you should remove the kexts for the controllers that you don't have.

No need for Lilu.kext.dSYM.

XHCI-x99-series-injector.kext, XHCI-200-Series_Injector.kext and XHCI-300-Series_Injector.kext are superseded by XHCI-unsupported.kext, click 'Download Repository'.
 
Thanks, guys. This was a big help.
 
Status
Not open for further replies.
Back
Top