• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Mavericks kernel panic debugging
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Mavericks kernel panic debugging


  • Subject: Re: Mavericks kernel panic debugging
  • From: Jeff Schindler <email@hidden>
  • Date: Sun, 12 Jan 2014 11:59:15 -0500

Thanks for the reply.  I might not have been clear - I'm just trying to debug a kernel panic log on a single machine.

Thanks,
Jeff

On Jan 12, 2014, at 11:33 AM, Shantonu Sen wrote:

How are you attaching to your remote system? If you’re just typing showallkmods, you haven’t run “kdp-remote foo” yet.

Shantonu

On Jan 12, 2014, at 6:22 AM, jas <email@hidden> wrote:

Thanks - I’ve gone through that video, but am still getting errors whenever trying to do anything kext-related in lldb.  I do:

xcrun lldb /Volumes/KernelDebugKit/mach_kernel
settings set target.load-script-from-symbol-file true
showallkmods

and get:

Traceback (most recent call last):
  File "/Volumes/KernelDebugKit/mach_kernel.dSYM/Contents/Resources/Python/lldbmacros/xnu.py", line 107, in _internal_command_function
    obj(cmd_args=stream.target_cmd_args)
  File "/Volumes/KernelDebugKit/mach_kernel.dSYM/Contents/Resources/Python/lldbmacros/memory.py", line 1035, in ShowAllKexts
    kextuuidinfo = GetKextLoadInformation()
  File "/Volumes/KernelDebugKit/mach_kernel.dSYM/Contents/Resources/Python/lldbmacros/memory.py", line 1056, in GetKextLoadInformation
    total_summaries = int(kern.globals.gLoadedKextSummaries.numSummaries)
  File "/Volumes/KernelDebugKit/mach_kernel.dSYM/Contents/Resources/Python/lldbmacros/core/cvalue.py", line 243, in __int__
    return self._GetValueAsUnsigned()
  File "/Volumes/KernelDebugKit/mach_kernel.dSYM/Contents/Resources/Python/lldbmacros/core/cvalue.py", line 295, in _GetValueAsUnsigned
    raise ValueError("Failed to read unsigned data. "+ str(self._sbval19k84obscure747) +"(type =" + str(self._sbval19k84obscure747_type) + ") Error description: " + serr.GetCString())
ValueError: Failed to read unsigned data. (uint32_t) numSummaries = <parent is NULL>(type =typedef uint32_t) Error description: could not resolve value

I’m running 10.9 build 13A603 with the respective KernelDebugKit mounted.


On Jan 4, 2014, at 8:38 PM, Rustam Muginov <email@hidden> wrote:

Jeff,
I had seen an explanation of Mavericks kernel debugging at the "What’s New in Kext Development" session during WWDC'13.
You can find this session video and slides at https://developer.apple.com/wwdc/videos/
--
Sincerely,
Rustam Muginov
Do not post admin requests to the list. They will be ignored. Darwin-kernel mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
  • Follow-Ups:
    • Re: Mavericks kernel panic debugging
      • From: Shantonu Sen <email@hidden>
References: 
 >Mavericks kernel panic debugging (From: Jeff Schindler <email@hidden>)
 >Re: Mavericks kernel panic debugging (From: Rustam Muginov <email@hidden>)
 >Re: Mavericks kernel panic debugging (From: jas <email@hidden>)
 >Re: Mavericks kernel panic debugging (From: Shantonu Sen <email@hidden>)

  • Prev by Date: Re: Mavericks kernel panic debugging
  • Next by Date: Re: Mavericks kernel panic debugging
  • Previous by thread: Re: Mavericks kernel panic debugging
  • Next by thread: Re: Mavericks kernel panic debugging
  • Index(es):
    • Date
    • Thread