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.

3
  • 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... Commented Nov 25, 2019 at 14:35
  • Did you try loading root read/write? I.e. disable sip and sudo mount -uw /
    – lx07
    Commented Nov 25, 2019 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
    Commented Nov 27, 2019 at 7:04

1 Answer 1

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 .