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

[Xen-devel] can't save domain

To: <xen-devel@xxxxxxxxxxxxxxxxxxxxx>
Subject: [Xen-devel] can't save domain
From: Zhiyi Huang <zhiyi6@xxxxxxxxxx>
Date: Fri, 4 Feb 2005 21:49:04 +1300
Cc: <zhiyi6@xxxxxxxxxx>
Delivery-date: Sat, 05 Feb 2005 07:47:51 +0000
Envelope-to: xen+James.Bulpin@xxxxxxxxxxxx
List-archive: <http://sourceforge.net/mailarchive/forum.php?forum=xen-devel>
List-help: <mailto:xen-devel-request@lists.sourceforge.net?subject=help>
List-id: List for Xen developers <xen-devel.lists.sourceforge.net>
List-post: <mailto:xen-devel@lists.sourceforge.net>
List-subscribe: <https://lists.sourceforge.net/lists/listinfo/xen-devel>, <mailto:xen-devel-request@lists.sourceforge.net?subject=subscribe>
List-unsubscribe: <https://lists.sourceforge.net/lists/listinfo/xen-devel>, <mailto:xen-devel-request@lists.sourceforge.net?subject=unsubscribe>
Organization: Univ of Otago
Reply-to: hzy@xxxxxxxxxxxxxx
Sender: xen-devel-admin@xxxxxxxxxxxxxxxxxxxxx
Hi, I have compiled xen from source successfully, but can't save domains. Not 
sure if the problem is related to gcc (I am using gentoo Linux gcc 3.3.5 
vanilla configuration). Below are the log messages. Could you please shed some 
light regarding the possible problems or what else I can try. I check the 
archive but didn't find any similar error.

XEND DEBUG:

network start bridge=xen-br0 netdev=eth0 antispoof=no
VIRTUAL MEMORY ARRANGEMENT:
 Loaded kernel: c0100000->c03421c4
 Init. ramdisk: c0343000->c0343000
 Phys-Mach map: c0343000->c034b000
 Page tables:   c034b000->c034d000
 Start info:    c034d000->c034e000
 Boot stack:    c034e000->c034f000
 TOTAL:         c0000000->c0400000
 ENTRY ADDRESS: c0100000
/dev/loop: Is a directory
vif-bridge up vif=vif1.0 domain=VM1 mac=aa:00:00:00:00:11 bridge=xen-br1
recv_fe_driver_status> {'status': 1}

recv_fe_driver_status>

recv_fe_interface_connect {'tx_shmem_frame': 4343, 'rx_shmem_frame': 4342, 
'handle': 0}
sync_session> <type 'str'> 1 ['save', ['id', '1'], ['state', 'begin'], 
['domain', '1'], ['file', '/root/vm1.image']]
Started to connect self= <xen.xend.XendMigrate.XfrdClientFactory instance at 
0xb774780c> connector= <twisted.internet.tcp.Connector instance at 0xb774782c>
buildProtocol> IPv4Address(TCP, 'localhost', 8002)
***request> (domain (id 1) (name VM1) (memory 31) (maxmem 32768) (state -b---) 
(cpu 0) (cpu_time 11.5734702) (up_time 94.0619969368) (start_time 
1107509287.18) (console (status connected) (id 12) (domain 1) (local_port 12) 
(remote_port 1) (console_port 9601) (connected 127.0.0.1 1026)) (devices (vif 
(idx 0) (vif 0) (mac aa:00:00:00:00:11) (bridge xen-br1) (evtchn 14 4) (index 
0)) (vbd (idx 0) (vdev 770) (device 1792) (mode w) (dev hda2) (uname 
file:/root/vmdisk1) (node /dev/loop0) (index 0)) (vbd (idx 1) (vdev 775) 
(device 775) (mode r) (dev hda7) (uname phy:hda7) (node hda7) (index 1)) (vbd 
(idx 2) (vdev 771) (device 773) (mode w) (dev hda3) (uname phy:hda5) (node 
hda5) (index 2))) (config (vm (name VM1) (memory 32) (cpu 1) (image (linux 
(kernel /boot/vmlinuz-2.6.10-xenU) (root '/dev/hda2 ro') (args '3 VMID=1'))) 
(device (vbd (uname file:/root/vmdisk1) (dev hda2) (mode w))) (device (vbd 
(uname phy:hda7) (dev hda7) (mode r))) (device (vbd (uname phy:hda5) (dev hda3) 
(mode w))
 ) (device (vif (mac aa:00:00:00:00:11) (bridge xen-br1))))))
***request> begin
xfr_err> ['xfr.err', '0']
xfr_err> <type 'str'> 0
Xfrd>connectionLost> [Failure instance: Traceback: 
twisted.internet.error.ConnectionLost, Connection to the other side was lost in 
a non-clean fashion.
]
XfrdSaveInfo>connectionLost> [Failure instance: Traceback: 
twisted.internet.error.ConnectionLost, Connection to the other side was lost in 
a non-clean fashion.
]
XfrdInfo>connectionLost> [Failure instance: Traceback: 
twisted.internet.error.ConnectionLost, Connection to the other side was lost in 
a non-clean fashion.
]
Error> save failed
Error> calling errback
***cbremove> [Failure instance: Traceback: xen.xend.XendError.XendError, save 
failed
]
***_delete_session> 1
clientConnectionLost> connector= <twisted.internet.tcp.Connector instance at 
0xb774782c> reason= [Failure instance: Traceback: 
twisted.internet.error.ConnectionLost, Connection to the other side was lost in 
a non-clean fashion.

XFRD log:

6681 [INF] XFRD> Accepted connection from 127.0.0.1:1028 on 2
6847 [INF] XFRD> Xfr service for 127.0.0.1:1028
[DEBUG] Conn_init> flags=1
[DEBUG] Conn_init> write stream...
[DEBUG] stream_init>mode=w flags=1 compress=0
[DEBUG] stream_init> unbuffer...
[DEBUG] stream_init< err=0
[DEBUG] Conn_init> read stream...
[DEBUG] stream_init>mode=r flags=1 compress=0
[DEBUG] stream_init> unbuffer...
[DEBUG] stream_init< err=0
[DEBUG] Conn_sxpr>
(xfr.hello 1 0)[DEBUG] Conn_sxpr< err=0
[DEBUG] Conn_sxpr>
(xfr.save 1 "(domain (id 1) (name VM1) (memory 31) (maxmem 32768) (state -b---) 
(cpu 0) (cpu_time 11.5734702) (up_time 94.0671839714) (start_time 
1107509287.18) (console (status connected) (id 12) (domain 1) (local_port 12) 
(remote_port 1) (console_port 9601) (connected 127.0.0.1 1026)) (devices (vif 
(idx 0) (vif 0) (mac aa:00:00:00:00:11) (bridge xen-br1) (evtchn 14 4) (index 
0)) (vbd (idx 0) (vdev 770) (device 1792) (mode w) (dev hda2) (uname 
file:/root/vmdisk1) (node /dev/loop0) (index 0)) (vbd (idx 1) (vdev 775) 
(device 775) (mode r) (dev hda7) (uname phy:hda7) (node hda7) (index 1)) (vbd 
(idx 2) (vdev 771) (device 773) (mode w) (dev hda3) (uname phy:hda5) (node 
hda5) (index 2))) (config (vm (name VM1) (memory 32) (cpu 1) (image (linux 
(kernel /boot/vmlinuz-2.6.10-xenU) (root '/dev/hda2 ro') (args '3 VMID=1'))) 
(device (vbd (uname file:/root/vmdisk1) (dev hda2) (mode w))) (device (vbd 
(uname phy:hda7) (dev hda7) (mode r))) (device (vbd (uname phy:hda5) (dev hda3) 
(mode w)
 )) (device (vif (mac aa:00:00:00:00:11) (bridge[DEBUG] Conn_sxpr< err=-12
6847 [INF] XFRD> Xfr service err=-12

XEND log:

[2005-02-04 10:27:18 xend] INFO (SrvDaemon:607) Xend Daemon started
[2005-02-04 10:27:19 xend] INFO (XendRoot:91) EVENT> xend.start 0
[2005-02-04 10:28:07 xend] DEBUG (XendDomainInfo:720) init_domain> Created 
domain=1 name=VM1 memory=32
[2005-02-04 10:28:07 xend] INFO (console:92) Created console id=12 domain=1 
port=9601
[2005-02-04 10:28:07 xend] DEBUG (XendDomainInfo:1130) Creating vbd dom=1 
uname=file:/root/vmdisk1
[2005-02-04 10:28:07 xend] DEBUG (blkif:146) Connecting blkif 
<BlkifBackendInterface 1 0>
[2005-02-04 10:28:07 xend] DEBUG (XendDomainInfo:1130) Creating vbd dom=1 
uname=phy:hda7
[2005-02-04 10:28:07 xend] DEBUG (blkif:146) Connecting blkif 
<BlkifBackendInterface 1 0>
[2005-02-04 10:28:07 xend] DEBUG (XendDomainInfo:1130) Creating vbd dom=1 
uname=phy:hda5
[2005-02-04 10:28:07 xend] DEBUG (blkif:146) Connecting blkif 
<BlkifBackendInterface 1 0>
[2005-02-04 10:28:07 xend] DEBUG (XendDomainInfo:1107) Creating vif dom=1 vif=0 
mac=aa:00:00:00:00:11
[2005-02-04 10:28:07 xend] INFO (XendRoot:91) EVENT> xend.console.create [12, 
1, 9601]
[2005-02-04 10:28:07 xend] INFO (XendRoot:91) EVENT> xend.domain.create ['VM1', 
'1']
[2005-02-04 10:28:07 xend] INFO (XendRoot:91) EVENT> xend.domain.unpause 
['VM1', '1']
[2005-02-04 10:28:07 xend] INFO (console:42) Console connected 12 127.0.0.1 1026
[2005-02-04 10:28:07 xend] INFO (XendRoot:91) EVENT> xend.console.connect [12, 
'127.0.0.1', 1026]
[2005-02-04 10:28:07 xend] DEBUG (blkif:192) Connecting blkif to event channel 
<BlkifBackendInterface 1 0> ports=13:3
[2005-02-04 10:29:41 xend] INFO (XendMigrate:370) Save BEGIN: ['save', ['id', 
'1'], ['state', 'begin'], ['domain', '1'], ['file', '/root/vm1.image']]
[2005-02-04 10:29:41 xend] INFO (XendRoot:91) EVENT> xend.domain.save ['VM1', 
'1', 'begin', ['save', ['id', '1'], ['state', 'begin'], ['domain', '1'], 
['file', '/root/vm1.image']]]
[2005-02-04 10:29:41 xend] INFO (XendMigrate:390) Save ERROR: ['save', ['id', 
'1'], ['state', 'error'], ['domain', '1'], ['file', '/root/vm1.image']]
[2005-02-04 10:29:41 xend] INFO (XendRoot:91) EVENT> xend.domain.save ['VM1', 
'1', 'error', ['save', ['id', '1'], ['state', 'error'], ['domain', '1'], 
['file', '/root/vm1.image']]]


--------------------------
Zhiyi from EPFL Switzerland



-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/xen-devel

<Prev in Thread] Current Thread [Next in Thread>