Question

I've identified a hang in Mac OS X, and I'd like to intentionally panic the kernel and create a dump that I can examine with gdb after rebooting.

I read here about how to create kernel dumps and here about how to generate a non-maskable interrupt, which can force the core dump to be generated. However, the first link tells me I need a "kernel dump server" which will be connected to via the network, and I only have one machine available.

Is there any way to force the kernel dump to be stored locally (on the panicking machine) when the system panics instead?

Was it helpful?

Solution

way to force the kernel dump to be stored locally

No, but you can use vm, like vmware or virtual box and use your host machine as dump server if this hang are reproducible.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top