MacOS – How to debug kernel panic on macOS Catalina, as Catalina is on Read-only File system

catalinakernel-extensionskernel-panicmacos

Facing kernel panic on accessing "Offline" attribute of SMB protocol in our custom kext. How to debug these kernel panics on macOS Catalina.

The debugging kernel extension steps are not supported for Catalina because of Read-only file system. Also kext with IOKit.framework does not load on macOS 10.14.x with error

Is there any documentation that specifies how to debug kernel panic on macOS catalina with read-only file system set up?

Note: Disabling SIP also does not work.

Best Answer

Followed https://developer.apple.com/library/archive/technotes/tn2004/tn2118.html

Disabled sip on host/developer machine then ran sudo mount -uw /. Panic dumps from target machine got uploaded to developer machine, as expected.

Related Question