Skip to content

Debugging

Mayank Kumar edited this page Sep 30, 2021 · 4 revisions

If you have issues with OpenCore and Kryptonite, please follow the described procedures below to generate logs. If you previously used the Kryptonite installer, I recommend using that again. If you have a custom OpenCore configuration (such as OCLP), I recommend following manual configuration.

Via Kryptonite Installer

  1. Run the installer as you previously did:
    cd ~; curl -qLs https://github.com/mayankk2308/kryptonite/raw/main/Installer/Installer.zip -o Installer.zip; ditto -x -k Installer.zip .; cd Installer; chmod +x installer.sh; ./installer.sh; cd ../; rm -rf Installer*
  2. When prompted to use DEBUG resources, choose [Y]es.
  3. Select your existing Kryptonite disk and let the installer re-create it.
  4. Reboot via Kryptonite and logs should be available.

Manual Configuration

To re-configure your existing OpenCore setup to emit logs, please see OpenCore's guide to replace all release components with debug versions as follows: https://dortania.github.io/OpenCore-Install-Guide/troubleshooting/debug.html

Make sure that you also have the following boot arguments configured in OpenCore along with the others already present:

-liludbgall liludump=60

Finding Logs

There will be 3 things to deal with once you are using debug components.

OpenCore Configuration

Your OpenCore configuration should be on the created OpenCore/Kryptonite volume at:

/Volumes/<Your Bootloader Disk>/EFI/OC/config.plist

Make sure to provide config.plist when opening a new issue.

OpenCore Logs

These will be generated on your Kryptonite/OpenCore volume, right next to the EFI folder. The file names look like:

opencore-<timestamp>.txt

# Example
opencore-2021-08-30-083130.txt

Lilu Logs

The logs generated by kernel extensions will be available after your system has successfully booted into macOS and after some time has elapsed. This time is configured via the liludump= parameter. By default, the Kryptonite installer uses 60 seconds for this value, so the log should be available after 60 seconds since boot.

The location of the logs will be:

/var/log/Lilu_<Lilu Version>_<macOS Kernel Version>.txt

# Example
/var/log/Lilu_1.5.6_21.1.txt

Kryptonite logs will be within this file as well.

If you have an issue but do not provide logs, it may not be possible to resolve.

Message to Users

  • See Pages above for all available topics.
  • Please read all topics carefully.
  • If you have questions, see FAQ first.
  • Reach out for help on egpu.io if required.
Clone this wiki locally