From: MaoXiaoyun Subject: VM hung after running sometime Date: Fri, 10 Sep 2010 19:01:43 +0800 Message-ID: References: , Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1149074176==" Return-path: In-Reply-To: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: keir.fraser@eu.citrix.com, jbeulich@novell.com Cc: xen devel List-Id: xen-devel@lists.xenproject.org --===============1149074176== Content-Type: multipart/alternative; boundary="_c296eb6a-19a0-4818-9119-bee29709bec8_" --_c296eb6a-19a0-4818-9119-bee29709bec8_ Content-Type: text/plain; charset="gb2312" Content-Transfer-Encoding: quoted-printable Hi Keir & Jan: =20 Good news is, the patch for Xen panic bug works. Tests on two se= rvers are running happily=20 for almost two days. I will stop test if it doesn't fail until tomorrow e= vening.=20 Appreciate for all help you and Jan offered.=20 =20 Well, till now, I think I've collected enough information for VM= hang problem to have a discussion with you two. Basically, we have two situation of VM hang(Those VM are al= l HVMs, and all are able to=20 run well for some time before actually hung).=20 =20 1. We have two VMs in this situation. And under this situation, what we k= now clear are=20 =20 (1) The *times* column in "xm ls" command never changed after VM hangs In below three VMs, E2EZYXVM-56-W2.786.92 is hang(its "times" 9339.3 free= zed), and the other two work well. =20 =20 E2EZYXVM-56-W1.786.92 2 1024 2 -= b---- 29009.0 E2EZYXVM-56-W2.786.92 3 1024 2 -= ----- 9339.3 E2EZYXVM-56-W3.786.92 4 1024 2 -= b---- 27538.6 =20 (2) From Xenctx output it call trace is same, and never change on every x= enctx run. Call trace likes: Call Trace: [<80708a5a>] <-- []=20 [<85f3f1f0>]=20 [<861fb0e8>]=20 [<861fb370>]=20 [<80558188>]=20 []=20 [<861fb370>]=20 [<85f3f1f0>]=20 [<861fb0e8>] =20 2. We have another two VMS on this situation, what we know is=20 (1) The *times* column in "xm ls" command are much higher than other VMS,= and become larger very fast =20 In below three VMs, E2EZYXVM-138-W5.827.92is hang(its "times" 58262.8 gro= ws every seconds),=20 and the other two work well. =20 =20 E2EZYXVM-138-W4.827.92 5 1024 2 r----- 27= 692.5 E2EZYXVM-138-W5.827.92 6 1024 2 r----- 58= 262.8 E2EZYXVM-138-W6.827.92 7 1024 2 r----- 26= 954.3 =20 (2) From Xenctx output it call trace is same, and never change on every x= enctx run. Call Trace: [<80708a66>] <-- []=20 [<861fa9dc>]=20 [<805582a8>]=20 []=20 [<861fa9dc>]=20 [<861fa9dc>]=20 [<861fa0e0>]=20 [<861faa08>]=20 =20 In addition, we have another VM which is in black screen and hung. But th= ere is no abnormal information I can get form "xm li" and xenctx. =20 Early in this afternoon, I was trying to decode those back trace to get s= ymbols (HVMS is windows XP) but failed.=20 I am wondering If I could trigger a Domain U crash, and have the dump ana= lyzed on windbg. Basically I am trying to find out what did VM do exactly before hung. =20 Looking forward to your suggestion, thanks.=20 =20 =20 > Date: Wed, 8 Sep 2010 06:11:07 -0700 > Subject: Re: [Xen-devel] Xen-unstable panic: FATAL PAGE FAULT > From: keir.fraser@eu.citrix.com > To: tinnycloud@hotmail.com; JBeulich@novell.com >=20 > On 08/09/2010 02:03, "MaoXiaoyun" wrote: >=20 > > Here is my plan. I hope I could find a way to make it reproduced eais= er(Right > > now hang shows > > in a very small possibility). Also, I will learn to use xentrace, xen= anyle to > > help locate the bug. > > I wonder if there exists a way that I can dump the guest Domain info,= or at > > least find out=20 > > where VM hang on, or have the backtrace. >=20 > There is a tool called xenctx in tools/xentrace/ directory. This will d= ump > registers and stack for a specified domain and vcpu. I think it may eve= n be > able to dump symbolic call traces for Linux kernels, if youc an pass it= the > vmlinux file. >=20 > -- Keir >=20 >=20 =20 --_c296eb6a-19a0-4818-9119-bee29709bec8_ Content-Type: text/html; charset="gb2312" Content-Transfer-Encoding: quoted-printable

= Hi Keir & Jan:<= /FONT>

=  

= &nbs= p;        Good news is, the pat= ch for Xen panic bug works. Tests on two servers are running happily

= for almost two days. I will stop test= if it doesn't fail until tomorrow evening.

= &nbs= p;        Appreciate for all he= lp you and Jan offered.

=  

= &nbs= p;        Well, till now, I thi= nk I've collected enough information for VM hang problem to have a discus= sion

= with you two. Basically, we h= ave two situation of VM hang(Those VM are all HVMs, and all are able to <= /FONT>

= run well for some time before actu= ally hung).

=  

= 1. We have two VMs in this situation.= And under this situation, what we know clear are

= &nbs= p;       

= (1) The *times* column in "xm ls" com= mand never changed after VM hangs

= In below three VMs, E2EZYXVM-56-W2.78= 6.92 is hang(its "times" 9339.3 freezed), and the other two work well.     =

=  

= &nbs= p;        E2EZYXVM-56-W1.786.92=       &nb= sp;           &nbs= p;     2&nbs= p; 1024     = 2     -b----  29009.0=

= &nbs= p;        E2EZYXVM-56-W2.786.92=       &nb= sp;           &nbs= p;     3&nbs= p; 1024     = 2     ------   9339.3<= /o:p>

= &nbs= p;        E2EZYXVM-56-W3.786.92=       &nb= sp;           &nbs= p;     4&nbs= p; 1024     = 2     -b----  27538.6=

=  

= (2) From Xenctx output it call trace = is same, and never change on every xenctx run.

= Call trace likes:

= Call Trace:<= /SPAN>

= &nb= sp; [<80708a5a>]  <--

= &nb= sp; [<f76f1789>]

= &nb= sp; [<85f3f1f0>]

= &nb= sp; [<861fb0e8>]

= &nb= sp; [<861fb370>]

= &nb= sp; [<80558188>]

= &nb= sp; [<f76f3c1f>]

= &nb= sp; [<861fb370>]

= &nb= sp; [<85f3f1f0>]

= &nb= sp; [<861fb0e8>]

=  

= 2. We have another two VMS on this si= tuation, what we know is

= (1) The *times* column in "xm ls" com= mand are much higher than other VMS, and become larger very fast

=  

= In below three VMs, E2EZYXVM-138-W5.827.92is hang(its "times" 58262.8 grows every seconds), <= /SPAN>

= and the other two work well.       =

=

=  

= E2EZYXVM-138-W4.827.92         =             &= nbsp; 5  1024     2     r-----  27692.5<= /P>

= E2EZYXVM-138-W5.827.92         =             &= nbsp; 6  1024     2     r-----  58262.8<= /P>

= E2EZYXVM-138-W6.827.92         =             &= nbsp; 7  1024     2     r-----  26954.3<= /P>

=  

= (2) From Xenctx output it call trace = is same, and never change on every xenctx run.

= Call Trace:<= /SPAN>

  [<80708a66>]  <--

  [<f7c2f072>] <= /P>

  [<861fa9dc>] <= /P>

  [<805582a8>] <= /P>

  [<f7c318a5>] <= /P>

  [<861fa9dc>] <= /P>

  [<861fa9dc>] <= /P>

  [<861fa0e0>] <= /P>

  [<861faa08>]

 

= In addition, we have another VM which= is in black screen and hung. But there is no abnormal information

= I can get form "xm li" and xenctx.

=  

= Early in this afternoon, I was trying= to decode those back trace to get symbols (HVMS is windows XP) but faile= d.

= I am wondering If I could trigger a D= omain U crash, and have the dump analyzed on windbg. Basically I am tryin= g

= to find out what did VM do exactly be= fore hung.

=  

= Looking forward to your suggestion, t= hanks.

 
 
> Date: Wed, 8 Sep 2010 06:11:07 -0700
> Subject: Re: = [Xen-devel] Xen-unstable panic: FATAL PAGE FAULT
> From: keir.frase= r@eu.citrix.com
> To: tinnycloud@hotmail.com; JBeulich@novell.com>
> On 08/09/2010 02:03, "MaoXiaoyun" <tinnycloud@hotmail.= com> wrote:
>
> > Here is my plan. I hope I could find= a way to make it reproduced eaiser(Right
> > now hang shows
= > > in a very small possibility). Also, I will learn to use xentrac= e, xenanyle to
> > help locate the bug.
> > I wonder if= there exists a way that I can dump the guest Domain info, or at
> = > least find out
> > where VM hang on, or have the backtrace= .
>
> There is a tool called xenctx in tools/xentrace/ direc= tory. This will dump
> registers and stack for a specified domain a= nd vcpu. I think it may even be
> able to dump symbolic call traces= for Linux kernels, if youc an pass it th e
> vmlinux file.
>
> -- Keir
>
>
= --_c296eb6a-19a0-4818-9119-bee29709bec8_-- --===============1149074176== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel --===============1149074176==--