OSX 10.10, How to generate a core dump file after sleep and panic?

I knew how to do two machine debugs. Now I come across a question. my kext supports System sleep. In my driver, I implement the setPowerState function. but maybe something wrong happened. when the system goes to bed, it crashes, never wakes up. the screen is black, press on the keyboard nothing happens, I have to press the 5s power button to restart the system. Under normal conditions of panic, transferring the coredump file to the coredump server is fine, but when the system sleep-> panic, the coredump file is not transferred! and two debugging machines do not work! kdp-remote cannot connect to the client. what should I do?

+4
source share
1 answer

Do you use Firewire to debug kernel / logging? It closes later in the process of suspension than ethernet. I can’t guarantee that he will catch your mistake, but it’s worth a try.

+1
source

Source: https://habr.com/ru/post/1620278/


All Articles