문제

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?

도움이 되었습니까?

해결책

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.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top