[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] How to debug Xen and Dom0 driver?


  • To: Tej <bewith.tej@xxxxxxxxx>
  • From: "Neo Jia" <neojia@xxxxxxxxx>
  • Date: Wed, 8 Oct 2008 09:38:04 -0700
  • Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
  • Delivery-date: Wed, 08 Oct 2008 09:38:28 -0700
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=VMhhh4tDbwQo+cNnXCGZpVRJ+53jKb1GOMkp59Rj1CG05tSYDOjpfsS4hD7rD4pxVB ldGQX5ipx1wtBVv6/qsRQculHBtZHLSFhGaX3i2bYJ0GjleS+oDBjDRGwklG+JUzwKxV 5SBljLqPghqxXApCqGsbncmNBjv0SUMgOoxyo=
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>

On Wed, Oct 8, 2008 at 7:34 AM, Tej <bewith.tej@xxxxxxxxx> wrote:
> On Wed, Oct 8, 2008 at 1:16 PM, Neo Jia <neojia@xxxxxxxxx> wrote:
>> hi,
>>
>> I am wondering if anybody is doing Xen or Dom0 debugging with gdb
>> here. If yes, could you show me the procedure of doing that?
>
> For dom0, it will be similar to debugging in Linux e.g Use kgdb,
> netdump, kdump etc.  and analyse those dump using crash tools.

This is what I want to know more. How to use kgdb with dom0? I assume
you can't as the TSS is in Xen not dom0, right?

Thanks,
Neo

>
> For domU use gdb built in debugger with xen.
> 1. cd xen-3.3.0/tool/debugger/gdb/README
>   This explains everything from setting gdbserver-xen to debugging with gdb.
> 2. enable xendump by configuring xend-config.sxp file
>    It is helpful for capturing vmcore dumps  from xen guest.
>   #(enable-dump no) change to (enable-dump yes)
>   Restart xend
>   start domU's and capture the vmcore @ /var/crash/*
>   analyse the dump with crash
>
> HTH
> -tej
>
>
>
>
>>
>> Thanks,
>> Neo
>>
>> --
>> I would remember that if researchers were not ambitious
>> probably today we haven't the technology we are using!
>>
>> _______________________________________________
>> Xen-devel mailing list
>> Xen-devel@xxxxxxxxxxxxxxxxxxx
>> http://lists.xensource.com/xen-devel
>>
>



-- 
I would remember that if researchers were not ambitious
probably today we haven't the technology we are using!

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.