0 Replies
      Latest reply on Nov 25, 2019 10:34 PM by lakshmi_s
      lakshmi_s Level 1 Level 1 (0 points)

        Facing kernel panic on accessing "Offline" attribute of SMB protocol in our custom kext. How to debug these kernel panics on MAC OS 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 MAC OS 10.14.x with error

         

        gdb -arch i386 /Volumes/KernelDebugKit/mach_kernel 

        • Unable to create PanicDumps directory to collect panic through kdump daemon under '/' volume, as Catalina is read-only file system

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

         

        • Unable to load kexts with IOKit framework references with errors on MAC OS 10.14 to debug:
          1. The super class vtable '__ZTV9IOService' for vtable '__ZTV23com_microfocus_cisiokit' is out of date. Make sure your kext has been built against the correct headers.
          2. The super class vtable '__ZTV12IOUserClient' for vtable '__ZTV8cisiokit' is out of date. Make sure your kext has been built against the correct headers.

         

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

         

        Note: Disabling SIP also does not work.

         

        Thanks in advance.