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

xen-devel

[Top] [All Lists]

RE: [Xen-devel] domains not shutting down properly -theproblemisbackagai

To: "James Harper" <james.harper@xxxxxxxxxxxxxxxx>, "Keir Fraser" <keir.fraser@xxxxxxxxxxxxx>, <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: RE: [Xen-devel] domains not shutting down properly -theproblemisbackagain
From: "James Harper" <james.harper@xxxxxxxxxxxxxxxx>
Date: Fri, 2 Jan 2009 23:52:23 +1100
Cc:
Delivery-date: 2009年1月02日 04:53:12 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <AEC6C66638C05B468B556EA548C1A77D01550175@trantor >
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/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <AEC6C66638C05B468B556EA548C1A77D01550172@trantor ><C5839FF4.20AC3%keir.fraser@xxxxxxxxxxxxx><AEC6C66638C05B468B556EA548C1A77D01550173@trantor > <AEC6C66638C05B468B556EA548C1A77D01550175@trantor >
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AclsEUiDJwnrGfQLQ6G5Bsw4GM+wzgAAL2RgAAIdJkkAHEzXYAAA9a8QAAD1UUAACaHcAAABmirxAAEexXAAAH2McAAAGpUAAAH94BAAAburIA==
Thread-topic: [Xen-devel] domains not shutting down properly -theproblemisbackagain
>
> I've added even more logging, but still don't appear to be any closer
to
> figuring out what's going on...
>
> I start my smtp server, wait for it to finish booting, then give it a
> 'xm shutdown'. It does its orderly shutdown and then I see:
>
> do_sched_op gets called with SCHEDOP_shutdown
> domain_shutdown gets called
> __domain_finalise_shutdown gets called
> send_guest_global_virq(dom0, VIRQ_DOM_EXC) gets called
>
> Then nothing. Nothing in xend.log. What should happen next? Should the
> domain get destroyed before the backend stuff gets cleaned up, or is
it
> the other way around?
>
> I forgot to make xenstored trace so I'll run that again and see what
> that tells me
>
> James
>
I would expect that upon xen doing "send_guest_global_virq(dom0,
VIRQ_DOM_EXC)", that xenstored would get an event on the port that it
previously bound to VIRQ_DOM_EXC, but this isn't happening...
When this code executes:
"
 if ((rc = xc_evtchn_bind_virq(xce_handle, VIRQ_DOM_EXC)) == -1)
 barf_perror("Failed to bind to domain exception virq
port");
 virq_port = rc;
"
virq_port is set to 18.
handle_event only ever sees ports 17 (often) and 4 (seldom), never 18...
sure enough, if I remove the 'if (port == virq_port)' in 'handle_event'
and make it always call domain_cleanup then everything works as it
should, but obviously something is really wrong...
despite what you said about restarting xenstored, if I do restart it,
the VIRQ_DOM_EXC signalling from xen to Dom0 works correctly...
curious...
James
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
<Prev in Thread] Current Thread [Next in Thread>
Previous by Date: Re: [Xen-devel] domains not shutting down properly - theproblemisbackagain , Keir Fraser
Next by Date: RE: [Xen-devel] domains not shutting down properly -theproblemisbackagain , James Harper
Previous by Thread: [Xen-devel] Re: bug in evtchn_cpu_notify (was domains not shutting down properly-theproblemisbackagain) , Keir Fraser
Next by Thread: RE: [Xen-devel] domains not shutting down properly - theproblemisback again , James Harper
Indexes: [Date] [Thread] [Top] [All Lists]

Copyright ©, Citrix Systems Inc. All rights reserved. Legal and Privacy
Citrix This site is hosted by Citrix

AltStyle によって変換されたページ (->オリジナル) /