Software Archive
Read-only legacy content
17061 Discussions

Kernel Trace and/or Debug Tools ?

Wendy__C_
Beginner
693 Views

1. Will general Linux tools such as SystemTap, Kdump, or Kernel Debugger be availble or ported to MIC ?

2. Is there a document to describe kSCIF interface/API ?

Thanks,

Wendy

 

 

0 Kudos
5 Replies
Frances_R_Intel
Employee
693 Views
I'm trying to get a more complete answer for you but what I have so far is that the Kernel Debugger is on the feature request list. As far as the kSCIF information, under /opt/intel/mic/scif/docs, on the host for the coprocessor,there are both kernel and user API manuals.
0 Kudos
Wendy__C_
Beginner
693 Views
Thanks .. I'm more familiar with general mailing list posting ... not sure how this forum thing works. Hopefully this reply will reach a right place. I would imagine the "kdump" or "system tap" would be easier than kernel debugger ? Doing kernel works on MIC, my current (and most significant) difficulty is kernel crash/panic. It has to use the "printk" type of tracing - taking numerous build-reload cycles to figure out where the system crashes. It is more than tedious. -- Wendy
0 Kudos
Wendy__C_
Beginner
693 Views
MIC kernel does have CONFIG_CRASH_DUMP enabled. its kdump files show up in host's /var/crash/mic/ directory. Now all I need is to find the corresponding vmlinux file. Could someone pass info on how to rebuild (and/or obtain) the vmlinux file to read these dumps ? Great Thanks, Wendy
0 Kudos
Frances_R_Intel
Employee
693 Views
Try /lib/firmware/mic/vmlinux. Is that what you need? If you need to recompile the kernel, you will need the MPSS tar file, but I'm not sure the full kernel code is there.
0 Kudos
Wendy__C_
Beginner
693 Views
The "vmlinux" file works well. Now I know where exactly the kmod crashes :) ... Great Thanks, Wendy
0 Kudos
Reply