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-users

Re: [Xen-users] domU shell prompt freezes after live migration

To: David Della Vecchia <ddv@xxxxxxxxxxxxxxxx>
Subject: Re: [Xen-users] domU shell prompt freezes after live migration
From: Benjamin Weaver <benjamin.weaver@xxxxxxxxxxxxx>
Date: Tue, 25 Oct 2011 18:45:16 +0100
Cc: "xen-users@xxxxxxxxxxxxxxxxxxx" <xen-users@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Tue, 25 Oct 2011 10:54:17 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <CAEGWhjEX11W3wgoNx+bxYbNscLTb9jL4ymZv5xeweyh1pgOOtQ@xxxxxxxxxxxxxx>
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <4EA6BDB4.7080503@xxxxxxxxxxxxx> <CAEGWhjE177TAtuWv+H=eveGZRqncjKK8K2gZVpgTJzhr=0VNvw@xxxxxxxxxxxxxx> <4EA6C9A3.4000306@xxxxxxxxxxxxx> <CAEGWhjEX11W3wgoNx+bxYbNscLTb9jL4ymZv5xeweyh1pgOOtQ@xxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.18) Gecko/20110617 Thunderbird/3.1.11
David,

We arrived at what may be a related solution. Instead of lucid Ubuntu for the domUs, we dropped back to lenny (2.6.26-2-xen-amd64). The lenny domUs xm store, xm save, and migrate correctly.

None of this explains why on previous installations of our cluster (ocfs2 on SAN + 2 Debian Squeeze dom0s), we did not have problems with lucid vms. But now the lenny s work.

You put us onto the right track with this kernel version problem, and we may well soon be upgrading our dom0s as you suggested.

Thanks very much for your help.

On 25/10/11 15:47, David Della Vecchia wrote:
Yep, 2.6.32-5-xen-amd64 is the one i personally confirm fails at live in this regard.

I run xen4.1.1 in debian wheezy and the 2.6.39.4 kernel i got from kernel.org works flawlessly with the debian squeeze domU's

-DDV

On Tue, Oct 25, 2011 at 10:37 AM, Benjamin Weaver <benjamin.weaver@xxxxxxxxxxxxx> wrote:
Thanks, David,

This could be very useful. We are running Debian Squeeze for the dom0 (kernel: 2.6.32-5-xen-amd64), but Ubuntu (lucid) for the domUs.

Ben


On 25/10/11 15:19, David Della Vecchia wrote:
Are you on debian by chance? I had the exact same issue, it has to do with the kernel you are using for the domU.

Here is the bug report describing it: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=644604

I've had this occur with other kernel's i've built, not just debian provided ones. I was able to build a 2.6.39.4 and a 3.0.1 kernel last night that restored my ability to do xm save and restore without the console lock up.

Hope this helps.

-David

On Tue, Oct 25, 2011 at 9:46 AM, Benjamin Weaver <benjamin.weaver@xxxxxxxxxxxxx> wrote:
I have narrowed down and further defined the problem using xm commands:

1. the problem does not have to do with migration from one node to another per se:

an xm save and subsequent xm restore done from either box, without migration, reproduces the problem. In each case a vm is produced that I can ping and login to, but which produces the frozen prompt.

I have also tried the following:

2. opened permissions on .img files under /ocfs2SAN/domains
to no avail,
therefore not a permissions problem

3. opened up sysctl buffers on both boxes
to no avail
not a sys buffers problem




Might I perhaps have a file system or cluster configuration problem?

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




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