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: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-users] domU shell prompt freezes after live migration
From: George Shuklin <george.shuklin@xxxxxxxxx>
Date: Tue, 25 Oct 2011 22:10:11 +0400
Delivery-date: Tue, 25 Oct 2011 11:19:04 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type; bh=nFQkSrA47/qB5Up54YKHhqi55ziPq07Fn0AXcSYT4Kg=; b=O5MPEGeP4FaJwzDmo4STxC5y90ctijNhj8V5kEZY0UZ+aKBtkCSgsbX894G99Sdm+2 upyZ90LFYF5OGq4wGE6IB7CRGKtyTc2urvHMCYyu7o5GozDhPuThuq/GdLNStFr3tC0Y 4heOaIRx7sQeHe683JIsouRatZGnAQdgAICBg=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <CAEGWhjH9WTXpDgAioz0HgNJ=-jPGhXgevpeeL_O1vPWZ7oj_fw@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> <4EA6F5AC.1070003@xxxxxxxxxxxxx> <CAEGWhjH9WTXpDgAioz0HgNJ=-jPGhXgevpeeL_O1vPWZ7oj_fw@xxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mozilla/5.0 (X11; Linux i686; rv:7.0.1) Gecko/20110929 Thunderbird/7.0.1
The suse 2.6.34-xen and 2.6.37-xen works fine in my tests too.

3.1 seems be fine too but have some issues with ballooning (fixes was commited after 3.1 release) and with time (in xen 3).

On 25.10.2011 21:45, David Della Vecchia wrote:
Your welcome. Looks like you fixed the problem by regressing, i tried to fix it by upgrading. I was able to fix my issue of the console freezing after the save and restore but now i am unable to get the networking to work in squeeze domu's after restore.

I was told in the #xen channel to use centos5 as my failsafe test and so far it has earned that title. Throughout all my tests the centos5 domU ALWAYS works with everything. Debian seems to be more finicky unfortunately.

Perhaps i will regress as you have and see if that fixes my networking problem.

Glad to help,
DDV

On Tue, Oct 25, 2011 at 1:45 PM, Benjamin Weaver <benjamin.weaver@xxxxxxxxxxxxx> wrote:
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

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