| To: | xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxx>, xen-users <xen-users@xxxxxxxxxxxxxxxxxxx> |
|---|---|
| Subject: | [Xen-devel] redhat4.6-32bit DomU with pv driver can't be saved |
| From: | 田世坤 <aixt2006@xxxxxxxxx> |
| Date: | 2010年4月20日 00:03:58 +0800 |
| Cc: | |
| Delivery-date: | 2010年4月19日 09:07:00 -0700 |
| Dkim-signature: | v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:received:message-id :subject:from:to:content-type; bh=f55TgBone9HKVnc3K33apJspkVuH2+bW1TMgMxkk69w=; b=hZE5chOxUocfc6TBsy4Lrto21m75KAOGirUct9HQX/z32y5r8ep8/SVbR6ttlhFscw unEbUWmI0dSD8VvDmUywe98WIXnHzg03O+ophDN3FxxkHztL+udzr5btHkHmioROF+7w qMMkW3lVoyRdWm5E9VGEXq85qFBL5oJvP/ddQ= |
| Domainkey-signature: | a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=Vx63Qkb9Ml+Nezh43yILfoAnyCuXSrvSO7O8Ra26T3yA6RiZVvgceMXhqYbNpPLtuW Y0tF3ogBgYBw39Lw+E/5f+ALxsOFiatp7uiEXO3qfV/ylcOQPaemoc0gIS8sH0g1oHAh z13FTDwd7SiAav5FEZfTEVf+5pNX5ntyaOzrE= |
| Envelope-to: | www-data@xxxxxxxxxxxxxxxxxxx |
| 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> |
| Sender: | xen-devel-bounces@xxxxxxxxxxxxxxxxxxx |
Hi all,
I have some problem with xm save/restore in Xen-4.0.0 & linux-2.6.31.13,
First, the /etc/init.d/xendomains seems do not work properly because of bash version. So I modified it as follow:
root@r02k08027 # diff -up /etc/init.d/xendomains /etc/init.d/xendomains_31
--- /etc/init.d/xendomains 2010年04月08日 00:12:04.000000000 +0800
+++ /etc/init.d/xendomains_31 2010年04月19日 22:45:35.000000000 +0800
@@ -182,11 +182,11 @@ rdnames()
parseln()
{
- if [[ "1ドル" =~ '(domain' ]]; then
+ if [[ "1ドル" == '(domain'* ]]; then
name=;id=
- else if [[ "1ドル" =~ '(name' ]]; then
+ else if [[ "1ドル" == '(name'* ]]; then
name=$(echo 1ドル | sed -e 's/^.*(name \(.*\))$/1円/')
- else if [[ "1ドル" =~ '(domid' ]]; then
+ else if [[ "1ドル" == '(domid'* ]]; then
id=$(echo 1ドル | sed -e 's/^.*(domid \(.*\))$/1円/')
fi; fi; fi
Then service xendomains start/stop works correctly. But there is a significant problem. I tried to save and restore these VMs:
redhat-4.6-32bit with pv driver, redhat-4.6-32bit without pv driver;
WindowsServer2003-32bit with pv driver (Xenpv-win-32bit-0.97.4.exe), WindowsServer2003-32bit without pv driver;
WindowsServer2008-64bit with pv driver (Xenpv-win-64bit-0.97.4.exe),
WindowsServer2008-64bit without pv driver.
Others are OK, only redhat-4.6-32bit domain with pv driver failed. But this VM is the most important for me. When saving it, it blocks, the size of the saved file is always 1.8K:
-rwxr-xr-x 1 root root 1.8K Apr 17 19:08 redhat-4.6-32
The error xend.log report is:
DEBUG (XendCheckpoint:124) [xc_save]: /usr/lib64/xen/bin/xc_save 4 3 0 0 4
INFO (XendCheckpoint:423) xc_save: failed to get the suspend evtchn port
The pv driver of redhat-4.6-32bit are:
[root@localhost ~]# lsmod|grep xen
xen_vnif 28672 0
xen_balloon 17488 1 xen_vnif
xen_vbd 20592 3
xen_platform_pci 73692 3 xen_vnif,xen_balloon,xen_vbd,[permanent]
[root@localhost ~]# modinfo xen_vnif
filename: /lib/modules/2.6.9-67.ELsmp/extra/xenpv/0.1-10.el4/xen-vnif.ko
alias: xen:vif
alias: xen:vif
license: Dual BSD/GPL
vermagic: 2.6.9-67.ELsmp SMP 686 REGPARM 4KSTACKS gcc-3.4
depends: xen-platform-pci,xen-balloon
[root@localhost ~]# modinfo xen_balloon
filename: /lib/modules/2.6.9-67.ELsmp/extra/xenpv/0.1-10.el4/xen-balloon.ko
license: Dual BSD/GPL
vermagic: 2.6.9-67.ELsmp SMP 686 REGPARM 4KSTACKS gcc-3.4
depends: xen-platform-pci
[root@localhost ~]# modinfo xen_vbd
filename: /lib/modules/2.6.9-67.ELsmp/extra/xenpv/0.1-10.el4/xen-vbd.ko
alias: xen:vbd
license: Dual BSD/GPL
vermagic: 2.6.9-67.ELsmp SMP 686 REGPARM 4KSTACKS gcc-3.4
depends: xen-platform-pci
[root@localhost ~]# modinfo xen_platform_pci
filename: /lib/modules/2.6.9-67.ELsmp/extra/xenpv/0.1-10.el4/xen-platform-pci.ko
author: ssmith@xxxxxxxxxxxxx
description: Xen platform PCI device
license: GPL
license: Dual BSD/GPL
license: GPL
vermagic: 2.6.9-67.ELsmp SMP 686 REGPARM 4KSTACKS gcc-3.4
depends:
alias: pci:v00005853d00000001sv*sd*bc*sc*i*
alias: pci:v0000FFFDd00000101sv*sd*bc*sc*i*
xm info:
host : SS01
release : 2.6.31.13
version : #1 SMP Fri Apr 16 14:58:38 CST 2010
machine : x86_64
nr_cpus : 16
nr_nodes : 2
cores_per_socket : 4
threads_per_core : 2
cpu_mhz : 2400
hw_caps : bfebfbff:28100800:00000000:00001b40:009ce3bd:00000000:00000001:00000000
virt_caps : hvm
total_memory : 24540
free_memory : 7
node_to_cpu : node0:0,2,4,6,8,10,12,14
node1:1,3,5,7,9,11,13,15
node_to_memory : node0:7
node1:0
node_to_dma32_mem : node0:5
node1:0
max_node_id : 1
xen_major : 4
xen_minor : 0
xen_extra : .0-rc9-pre
xen_caps : xen-3.0-x86_64 xen-3.0-x86_32p hvm-3.0-x86_32 hvm-3.0-x86_32p hvm-3.0-x86_64
xen_scheduler : credit
xen_pagesize : 4096
platform_params : virt_start=0xffff800000000000
xen_changeset : Sat Mar 27 16:01:35 2010 +0000 21078:f3db0ae08304
xen_commandline :
cc_compiler : gcc version 4.1.2 20080704 (Red Hat 4.1.2-46)
cc_compile_by : root
cc_compile_domain : (none)
cc_compile_date : Fri Apr 9 15:34:38 CST 2010
xend_config_format : 4
Is there anyone can give me a good idea?
I’ll try another version of pv driver or another version of redhat…
Thanks
_______________________________________________ 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] pci-passthrough not working on 4.0.1-rc1-pre: mm.c:3847:d10 Bad page 00000000001beab4: ed=ffff830151210000(10), sd=ffff830151210000, caf=8000000000000002, taf=7400000000000001 , Sander Eikelenboom |
|---|---|
| Next by Date: | Re: [Xen-devel] [PATCH 3/4] libxl: add version_info function [and 1 more messages] , Vincent Hanquez |
| Previous by Thread: | [Xen-devel] [PATCH] re-enable tmem by default in xen-unstable , Dan Magenheimer |
| Next by Thread: | [Xen-devel] [GIT PULL] pv/pcifront-2.6.32 into xen/next , Konrad Rzeszutek Wilk |
| Indexes: | [Date] [Thread] [Top] [All Lists] |