kasbert / OS-X-SAT-SMART-Driver

Max OS X kernel driver for providing access to external drive SMART data
578 stars 74 forks source link

Kernel Debugging for Panics #27

Open hnr3103 opened 10 years ago

hnr3103 commented 10 years ago

Hi kasbert,

I am getting sometimes kernel panic in 10.9 Mavericks. Sometimes the panics are very frequent. I have access to your source code. Can you please shed some light on how can I debug the kernel panic on 10.9 so that I can Identify and fix the issue... ;)

I did not find much info about the same in apple website other than the WWDC 2013 document which is very high level and not able to make it work.

Thank you...

kasbert commented 9 years ago

I have no idea about OS X kernel debugging. All I can find is this document https://developer.apple.com/library/mac/documentation/Darwin/Conceptual/KEXTConcept/KEXTConceptDebugger/debug_tutorial.html and it would require two machines.

First step would be trying to reproduce the problem. Try using some tools to query smart attributes (smartmontools, or the test programs). Try them in loop and in parallel.