HFS+ debug kit is missing in KDK

Hi,


I'd like to know where can i find HFS+ dSYM folder.

unfortunately, it's not part of apple KDK. so when i'm start remote machine kernel debugging (using kdp <ip>), i get the following notice (among all other missing kext)


.warning: Can't find binary/dSYM for com.apple.filesystems.hfs.encodings.kext (18EED417-E0C7-3AE6-8EBB-CB081566B738)
.warning: Can't find binary/dSYM for com.apple.filesystems.hfs.kext (0DD51F29-270C-3A03-8125-A68E4D5AB22B)


is there a way to get the dSYM of HFS+.


I need the symbols to make sure my vnode is actually represent file under HFS mount. here's a backtrace of read function where the last frame which

represent the filesystem specific method is unresolved because dSYM of HFS is missing (of course, it can still be missing if this vnode isn't hfs file)


  * frame #0: 0xffffff7f9517c0e5 
    frame #1: 0xffffff801313c8be kernel`vn_read [inlined] VNOP_READ(ioflag=1048576, ctx=<unavailable>) at kpi_vfs.c:3410 [opt]
    frame #2: 0xffffff801313c87e kernel`vn_read(fp=<unavailable>, uio=0x0000000000001000, flags=1, ctx=<unavailable>) at vfs_vnops.c:1023 [opt]
    frame #3: 0xffffff801339cc1a kernel`dofileread [inlined] fo_read(fp=0xffffff8020168c00, uio=0xffffff807251be70, flags=1, ctx=0xffffff807251bf10) at kern_descrip.c:5832 [opt]
    frame #4: 0xffffff801339cbff kernel`dofileread(ctx=0xffffff807251bf10, fp=0xffffff8020168c00, bufp=140590679593984, nbyte=4096, offset=<unavailable>, flags=<unavailable>, retval=<unavailable>) at sys_generic.c:365 [opt]
    frame #5: 0xffffff801339cd8e kernel`pread_nocancel(p=0xffffff801a4aa6c8, uap=0xffffff801a3bc330, retval=0xffffff801a3bc370) at sys_generic.c:254 [opt]
    frame #6: 0xffffff8013425695 kernel`unix_syscall64(state=<unavailable>) at systemcalls.c:376 [opt]
    frame #7: 0xffffff8012e9dd46 kernel`hndl_unix_scall64 + 22


P.S I tried to compile the HFS+ driver from apple open source but it required macosx.internal SDK.


thanks

Replies

is there a way to get the dSYM of HFS+.

The KDK is the only way Apple distributes

.dSYM
file for our kernel and KEXTs. If the HFS KEXT’s
.dSYM
isn’t there, it isn’t available )-: Given that this is important to you, I recommend that you file a bug report against the KDK requesting that it be added.

Please post your bug number, just for the record.

Share and Enjoy

Quinn “The Eskimo!”
Apple Developer Relations, Developer Technical Support, Core OS/Hardware

let myEmail = "eskimo" + "1" + "@apple.com"