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] garbage registers when domain killed by xen

To: Keir Fraser <Keir.Fraser@xxxxxxxxxxxx>
Subject: Re: [Xen-devel] garbage registers when domain killed by xen
From: Kip Macy <kip.macy@xxxxxxxxx>
Date: Sat, 7 May 2005 07:23:24 -0700
Cc: xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Sat, 07 May 2005 14:23:00 +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:content-transfer-encoding:content-disposition:references; b=GtzEti88pPrp6+njDMtenlWmJ93P8MY2tRvFelEmMjwd8JtgQeqNtSSEhdW3dpNHqBthZnJeGyEWsdorVZn/haTAJU2qs7CfCe2XAalnG5O5wHGRtx+49TikmOU08Ii7mVp3erzBHyPSDEDHZDWSHrtPadOPTYnbecxa+acusrI=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <b1fa29170505070710343677e1@xxxxxxxxxxxxxx>
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: <b1fa29170505061826721b3738@xxxxxxxxxxxxxx> <1bea7043d407c09e23b119c6c278dbe3@xxxxxxxxxxxx> <b1fa29170505070710343677e1@xxxxxxxxxxxxxx>
Reply-to: Kip Macy <kip.macy@xxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
There is an odd relationship between hitting the send button and epiphanies.

Show_guest_stack says the eip is 0 and the stack has eflags, eip, and
CS over and over and over again. That would indicate that I'm running
off my stack by trapping over and over again. However, I don't have
traps or callback handlers installed. What may be happening is xen
setting up a trapframe and then jumping to failsafe callback - over
and over again because jumping to failsafe callback itself causes a
page fault. In this case the eip is legitimately 0 - but not because
of me but because xen isn't checking that I've actually set my
failsafe_callback. I'll go look at FLT14 again to see if I'm on the
right track.

                                                         -Kip

On 5/7/05, Kip Macy <kip.macy@xxxxxxxxx> wrote:
> I'm not sure about ecx/edx but I know eip is bad. There are legitimate
> cases of trying to call a null function pointer, but I know from the
> context that that isn't the case. It appears to be a page fault - but
> I don't have trap handlers installed yet.
> 
>                                                   -Kip
> 
> On 5/7/05, Keir Fraser <Keir.Fraser@xxxxxxxxxxxx> wrote:
> >
> > On 7 May 2005, at 02:26, Kip Macy wrote:
> >
> > > Is it really necessary for xen to overwrite part of a domain's context
> > > on a fatal trap?
> >
> > Which ones are overwritten -- ecx/edx? I'm not sure how that could
> > happen but it's clearly a bug rather than intentional.
> >
> >   -- Keir
> >
> >
>

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