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

RE: [Xen-devel] BUG grant_table.c line 939


  • To: "Keir Fraser" <Keir.Fraser@xxxxxxxxxxxx>
  • 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
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>
  • 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


 


Rackspace

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