1

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.

  • Wondering if this might be better over at stackexchange.com as this is mostly about debugging some custom software, and questions about software development are officially off-topic... – Steve Chambers Nov 25 '19 at 14:35
  • Did you try loading root read/write? I.e. disable sip and sudo mount -uw / – lx07 Nov 25 '19 at 15:38
  • Yes, "sudo mount -uw /" worked, and panic dumps started uploading to /PanicDumps folder on MAC OS 10.15.1. Thank you. – Lakshmi Nov 27 '19 at 7:04
1

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.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .