WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

Re: [Xen-devel] pdb missing files?

To: "Jonathan M. McCune" <jonmccune@xxxxxxx>
Subject: Re: [Xen-devel] pdb missing files?
From: Kip Macy <kip.macy@xxxxxxxxx>
Date: Fri, 30 Sep 2005 11:03:01 -0700
Cc: NAHieu <nahieu@xxxxxxxxx>, xen-devel@xxxxxxxxxxxxxxxxxxx, Bryan Parno <parno@xxxxxxx>
Delivery-date: Fri, 30 Sep 2005 18:00:39 +0000
Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:references; b=eGA2vChhqwRmCH36LqZ7D0Q8kfI17e0lvoYyTTh4WQHM3E7dWpPeJ1D2WhhF1Th+BatcuDi1c9ZIKBjCmI0R62pt3ht7tbpeM7tbqy4voaTMPYqfjduIPjdi8W4Xt+PwZA85AREdYtirovheUBLg6srRBB1jJHICz+xVyyQK0iM=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <433D6488.4090400@xxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <433CD40E.6030907@xxxxxxx> <5d7aca950509300026w576bd5a5wf8be25374c8706dd@xxxxxxxxxxxxxx> <b1fa29170509300044w47c8de22he6c72c9c98df8b9d@xxxxxxxxxxxxxx> <433D6488.4090400@xxxxxxx>
Reply-to: Kip Macy <kip.macy@xxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx

Jonathan -

gdbserver-xen is behaving as I expect, now that I've turned off
crash_debug in Rules.mk.  Thanks again for your helpful suggestions.
Indeed, I am interested in debugging domU.  However, the domU kernel
I've built is crashing and / or xend is crashing before the domain can
even be started "paused".

Are you passing -p to "xm create"? If so, it is a xend problem, because that will pause the OS before the *first instruction*. However, it shouldn't be causing xend to crash until it gets to the xenbus init code.
 

If I try to use gdbserver-xen to connect to one of my
invisible-to-xm-list domains, gdbserver-xen segfaults once gdb connects
to it.  I believe this is interesting because gdbserver-xen will
complain about nonexistant domains if I pass it a domain id which has
never been used this boot cycle.  If I pass it a domain which ran
successfully, but has shutdown, it says "getdomaininfo failed".  Hence,
I believe the segfault of gdbserver-xen is directly related to the
changes I've made to the kernel I want to debug.

Could you send me the output from the two different runs? Odds are the segfault is easily fixable.
 



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