Post

Replies

Boosts

Views

Activity

Help needed with lldb - attach to Mac after a kernel panic
I am trying to debug a kernel panic in our kext. I can attach to the target Mac over ethernet if I: cause an NMI using add an IOPanic call to my kext and cause it to be executed use Dtrace to invoke a panic However if I reproduce the kernel panic which I am investigating, the Mac just restarts. How can I make the Mac wait for me to attach with lldb rather than restarting? My target configuration is: Mac is 2021 M1 Pro 14" MacBook Pro macOS 14.2 (23C64) Network: Apple Thunderbolt 3 <-> Thunderbolt 3 adapter + Apple Thunderbolt 2 to ethernet adapters Boot-args = "debug=0x44 wdt=-1 kdp_match_name=en8" (I have also tried debug=0x104C0C)
2
0
996
Jan ’24
KDK for macOS 11.3 beta 6 (20E224a) is broken
The KDK file for the latest beta of macOS 11.3 does not actually contain a KDK. The file is: "Kernel_Debug_Kit_11.3_Build_20E5224a.dmg" which contains a volume called: "/Volumes/InstallAssistantMAS". The installer on this volume does not actually contain a KDK. I'm just posting here in the hopes that someone at Apple will notice and repost the correct KDK file. Thanks - Tim
1
0
847
Apr ’21