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] BUG grant_table.c line 939

To: "Keir Fraser" <Keir.Fraser@xxxxxxxxxxxx>
Subject: RE: [Xen-devel] BUG grant_table.c line 939
From: "King, Steven R" <steven.r.king@xxxxxxxxx>
Date: Wed, 25 Jan 2006 15:54:01 -0800
Cc: xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Thu, 26 Jan 2006 00:02:57 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
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>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AcYiBmRPM1ZQAzY8QtOZ4i6zqAz3SwAA7QOQ
Thread-topic: [Xen-devel] BUG grant_table.c line 939
Thanks Keir, that fixed it!!

So what was the problem?  Was a callback waiting to destroy domA?


-----Original Message-----
From: Keir Fraser [mailto:Keir.Fraser@xxxxxxxxxxxx] 
Sent: Wednesday, January 25, 2006 3:22 PM
To: King, Steven R
Cc: xen-devel
Subject: Re: [Xen-devel] BUG grant_table.c line 939


On 25 Jan 2006, at 21:07, King, Steven R wrote:

> So, why does Xen call domain_destroy() on domA?  I but a BUG_ON(1) in 
> domain_destroy(), and lo, the console produced the output below.  My 
> guess is that domA is destroyed via some callback waiting for its 
> zombified mapping to be released.

Ah, I think I see the problem. Can you please try switching the order of
the calls to domain_relinquish_resources() and
gnttab_release_mappings() in common/domain.c:domain_kill()? i.e., the
new order should be:
     gnttab_release_mappings(d);
     domain_relinquish_resources(d);

I think that should fix the crash.

  -- Keir

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