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 Lock on xm restore

To: Shane Johnson <sdj@xxxxxxxxxxxxxxxxxxxxxx>
Subject: Re: [Xen-users] DomU Lock on xm restore
From: David Della Vecchia <davidoftheold@xxxxxxxxx>
Date: Mon, 24 Oct 2011 17:04:43 -0400
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Tue, 25 Oct 2011 10:37:04 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=Sxsb4RkXm39FOWpX2poLdkdeTUg6RIwsEhkWBNtLLIM=; b=D/V/cZxD+WAPNwjxPU6Nt4IEXRoPTPOp6effoZFSD8s0PRskK+WRGK/sC3YoZhjoCj VA6oD8ncgyXki8sCD9H5Gh0VEREy7aSDPjuiiSejdMGntaIwWio3UzT3hoC1HUqc1miY oHlOHG5sXhqAnz4zDGuUwMzghh7az7nduDKTc=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <CAEGWhjEsczPszF0yS6Uykeaw=H3GZvDX2H4igisnjK4eHYjnEA@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: <CAEGWhjFX=bKOuxzqdznEO7Uk=LLgvGzyAKUnu=iGyUuVX2s_WA@xxxxxxxxxxxxxx> <CAPLO1L7LuQ1gFnzEsFkPNO7jVCfSrrb0zJcf4Pe9P1-0TQz9jw@xxxxxxxxxxxxxx> <-1266315423397085912@unknownmsgid> <CAEGWhjEsczPszF0yS6Uykeaw=H3GZvDX2H4igisnjK4eHYjnEA@xxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
So it looks like i wasn't the only one to have this issue. I hope i'm able to get a fixed kernel version here soon. Looks like the guy put the proposed fix into the proposed-updates section of the repo but it doesn't appear to be available as a full binary download just yet.

The holy grail of my suffering over the last week:
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=644604

-DDV

On Fri, Oct 21, 2011 at 9:29 PM, David Della Vecchia <davidoftheold@xxxxxxxxx> wrote:
As an update, i attempted the same thing with a domU with file-backed storage on the localhost instead of iscsi lvm and got the same results.

I've downloaded xen 4.1.2 and im wondering if i should attempt to build this from scratch and install it.

-DDV


On Fri, Oct 21, 2011 at 5:10 PM, David Della Vecchia <davidoftheold@xxxxxxxxx> wrote:
Yup, I've tried resume, unpause, start. Each command returns with "the domain is not suspended/paused/shutdown. "

-ddv

Sent from my iPhone

On Oct 21, 2011, at 4:40 PM, Shane Johnson <sdj@xxxxxxxxxxxxxxxxxxxxxx> wrote:

David,
My first thought (Untested) is even though it's restored it is paused.  Have you tried doing a resume?

Shane


On Fri, Oct 21, 2011 at 2:30 PM, David Della Vecchia <ddv@xxxxxxxxxxxxxxxx> wrote:
Here is my setup on this server: 
Debian Wheezy (testing) with kernel 3.0.1 and xen 4.1.1 installed via apt-get 
DomU storage is lvm-based over iscsi

Everything else works fine as far as i can tell however when i do an xm save and then try to xm restore the domain does not come back fully, it gets added to the xm list but the cpu time used sits at 0.0 and when i console to it it does not respond to any keystrokes (except to escape out of the console)

I don't see any error messages in the /var/log/xend.log and xen-debug.log and i have logging turned way up. 

Here is the procedure i follow:
gibson:~# xm create zetas
Using config file "/etc/xen/zetas".
Started domain zetas (id=6)
gibson:~# xm list
Name                                        ID   Mem VCPUs      State   Time(s)
Domain-0                                     0  2048     4     r-----    932.5
zetas                                        6   512     4     -b----      2.1
gibson:~#
gibson:~# xm save zetas zetas.xmsave2
gibson:~# xm list
Name                                        ID   Mem VCPUs      State   Time(s)
Domain-0                                     0  2048     4     r-----    922.6
gibson:~# xm restore zetas.xmsave2 
gibson:~# xm list
Name                                        ID   Mem VCPUs      State   Time(s)
Domain-0                                     0  2048     4     r-----    929.3
zetas                                        7   512     4     -b----      0.0
gibson:~#

Here is the DomU config file as generated by xen-tools:

#
# Configuration file for the Xen instance zetas.darkholdings.com, created
# by xen-tools 4.2.1 on Fri Oct 21 01:15:30 2011.
#

#
#  Kernel + memory size
#
kernel      = '/usr/lib/xen-4.1/boot/pv-grub-x86_64.gz'

extra     = '(hd0)/boot/grub/menu.lst'

vcpus       = '4'
memory      = '512'
cpu_weight  = '512'
#
#  Disk device(s).
#
disk        = [ 'phy:/dev/vg_san/zetas.darkholdings.com-disk,xvda1,w','phy:/dev/vg_san/zetas.darkholdings.com-swap,xvdb1,w' ]


#
#  Physical volumes
#


#
#  Hostname
#
name            = 'zetas'
hostname        = 'zetas.darkholdings.com'

#
#  Networking
#
vif         = [ 'ip=173.244.165.28,mac=00:16:3E:74:A2:F6,vifname=zetas,bridge=eth0' ]

#
#  Behaviour
#
>
on_reboot   = 'restart'
on_crash    = 'restart'

xen_shell = 'zetas'
################################################

Anyone have any ideas? 

Thanks,
David

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



--
Shane D. Johnson
IT Administrator
Rasmussen Equipment




_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
<Prev in Thread] Current Thread [Next in Thread>