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
963
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
814
Apr ’21
Disabling the "This disk is unreadable" alert
We use a custom Mac app and Mac minis in our factories to initialize disks and copy files to them. It would make this process easier, if the person in manufacturing did not have to dismiss the dialog which says "The disk you inserted was not readable by this computer" for each disk. Is there a Finder or system preference I can set to prevent this dialog from being displayed? I know that I can grab the disk using DADiskPeek but one of our tools is a Python script so calling DADiskPeek is not an option. Thanks in advance for your help. Tim
3
0
1.2k
Nov ’20