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

[Xen-bugs] [Bug 884] [SR]save HVM guest might fail in multiple scenario

To: xen-bugs@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-bugs] [Bug 884] [SR]save HVM guest might fail in multiple scenario
From: bugzilla-daemon@xxxxxxxxxxxxxxxxxxx
Date: Wed, 7 Feb 2007 00:51:20 -0800
Delivery-date: Wed, 07 Feb 2007 00:51:56 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <bug-884-3@xxxxxxxxxxxxxxxxxxxxxxxxxxx/bugzilla/>
List-help: <mailto:xen-bugs-request@lists.xensource.com?subject=help>
List-id: Xen Bugzilla <xen-bugs.lists.xensource.com>
List-post: <mailto:xen-bugs@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-bugs>, <mailto:xen-bugs-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-bugs>, <mailto:xen-bugs-request@lists.xensource.com?subject=unsubscribe>
Reply-to: bugs@xxxxxxxxxxxxxxxxxx
Sender: xen-bugs-bounces@xxxxxxxxxxxxxxxxxxx
http://bugzilla.xensource.com/bugzilla/show_bug.cgi?id=884





------- Comment #1 from ping.y.yu@xxxxxxxxx  2007-02-07 00:51 -------
here is the xend.log,

[2007-02-02 13:39:28 22848] INFO (XendCheckpoint:79) save hvm domain
[2007-02-02 13:39:28 22848] DEBUG (XendCheckpoint:88) 
[xc_save]: /usr/lib64/xen/bin/xc_save 21 15 0 0 4
[2007-02-02 13:39:28 22848] DEBUG (XendConfig:1329) update_with_image_sxp
(['hvm', ['kernel', '/usr/lib/xen/boot/hvmloader'], ['nographic', '0'], 
['vnc', '0'], ['sdl', '1'], ['vncunused', '1'], ['vncpasswd'], 
['device_model', '/usr/lib64/xen/bin/qemu-dm'], ['display', ':1.0'], 
['xauthority', '/root/.Xauthority'], ['pae', '1'], ['apic', '1'], 
['acpi', '0'], ['boot', 'c'], ['fda'], ['fdb'], ['isa', '0'], ['keymap'], 
['localtime', '0'], ['serial', 'pty'], ['stdvga', '0'], ['soundhw'], 
['usb', '0'], ['usbdevice'], ['vcpus', '2']])
[2007-02-02 13:39:28 22848] DEBUG (XendCheckpoint:311) suspend
[2007-02-02 13:39:28 22848] INFO (XendCheckpoint:340) xc_hvm_save:dom=15, 
max_iters=0, max_factor=0, flags=0x4, live=0, debug=0.
[2007-02-02 13:39:28 22848] DEBUG (XendDomainInfo:788) Storing domain details: 
{'console/port': '4', 'name': 'migrating-
vtp23_1170394603', 'console/limit': '1048576', 'vm': '/vm/30d20ead-eac8-8ab2-
1e22-
c22196a79fdf', 'domid': '15', 'cpu/0/availability': 'online', 'memory/target': 
'262144', 'store/ring-
ref': '65534', 'cpu/1/availability': 'online', 'store/port': '3'}
[2007-02-02 13:39:28 22848] INFO (XendCheckpoint:340) saved hvm domain 
info:max_memkb=0x44000, max_mfn=0x340000, nr_pages=0x107e0
[2007-02-02 13:39:28 22848] DEBUG (XendCheckpoint:91) In saveInputHandler 
suspend
[2007-02-02 13:39:28 22848] DEBUG (XendCheckpoint:93) Suspending 15 ...
[2007-02-02 13:39:28 22848] DEBUG (XendDomainInfo:429) XendDomainInfo.shutdown
(suspend)
[2007-02-02 13:39:28 22848] DEBUG (image:579) hvm_shutdown fired, shutdown 
reason=suspend
[2007-02-02 13:39:28 22848] INFO (XendDomainInfo:1033) Domain has shutdown: 
name=migrating-vtp23_1170394603 id=15 reason=suspend.
[2007-02-02 13:39:28 22848] INFO (XendCheckpoint:98) Domain 15 suspended.
[2007-02-02 13:39:28 22848] INFO (XendCheckpoint:103) release_devices for hvm 
domain
[2007-02-02 13:39:28 22848] DEBUG (XendDomainInfo:855) 
XendDomainInfo.handleShutdownWatch
[2007-02-02 13:39:28 22848] DEBUG (image:565) hvm shutdown watch unregistered
[2007-02-02 13:39:28 22848] INFO (XendDomainInfo:1033) Domain has shutdown: 
name=migrating-vtp23_1170394603 id=15 reason=suspend.
[2007-02-02 13:39:28 22848] DEBUG (image:604) hvm reboot feature watch 
unregistered
[2007-02-02 13:39:28 22848] INFO (image:535) use sigusr1 to signal qemu 28431
[2007-02-02 13:39:29 22848] DEBUG (XendCheckpoint:107) Written done
[2007-02-02 13:39:29 22848] INFO (XendCheckpoint:340) after suspend hvm domain 
nr_pages=0xffe0.
[2007-02-02 13:39:29 22848] INFO (XendCheckpoint:340) after 1st handle hvm 
domain nr_pfns=0xffe0, nr_pages=0xffe0, max_memkb=0x44000, live=0.
[2007-02-02 13:39:29 22848] INFO (XendCheckpoint:340) Saving HVM domain memory 
pages: iter 1   0%ERROR Internal error: ERROR when writting to state file (4)
[2007-02-02 13:39:29 22848] ERROR (XendCheckpoint:138) Save failed on domain 
vtp23_1170394603 (15).
Traceback (most recent call last):
  File "/usr/lib64/python/xen/xend/XendCheckpoint.py", line 109, in save
    forkHelper(cmd, fd, saveInputHandler, False)
  File "/usr/lib64/python/xen/xend/XendCheckpoint.py", line 328, in forkHelper
    raise XendError("%s failed" % string.join(cmd))
XendError: /usr/lib64/xen/bin/xc_save 21 15 0 0 4 failed
    raise XendError("%s failed" % string.join(cmd))
XendError: /usr/lib64/xen/bin/xc_save 21 15 0 0 4 failed
[2007-02-02 13:39:29 22848] INFO (XendDomainInfo:1787) Dev 768 still active, 
looping...
[2007-02-02 13:39:29 22848] INFO (XendDomainInfo:1787) Dev 5632 still active, 
looping...
[2007-02-02 13:39:29 22848] INFO (XendDomainInfo:1787) Dev 768 still active, 
looping...
[2007-02-02 13:39:29 22848] INFO (XendDomainInfo:1787) Dev 5632 still active, 
looping...
[2007-02-02 13:39:29 22848] DEBUG (XendCheckpoint:143) XendCheckpoint.save: 
devices released
[2007-02-02 13:39:29 22848] DEBUG (XendDomainInfo:855) 
XendDomainInfo.handleShutdownWatch
[2007-02-02 13:39:29 22848] DEBUG (XendDomainInfo:788) Storing domain details: 
{'console/port': '4', 'name': 'migrating-
vtp23_1170394603', 'console/limit': '1048576', 'vm': '/vm/30d20ead-eac8-8ab2-
1e22-
c22196a79fdf', 'domid': '15', 'cpu/0/availability': 'online', 'memory/target': 
'262144', 'store/ring-
ref': '65534', 'cpu/1/availability': 'online', 'store/port': '3'}
[2007-02-02 13:39:29 22848] INFO (XendDomainInfo:1259) createDevice: console : 
{'other_config': {}, 'protocol': 'vt100', 'uuid': '70d5aa83-54e6-de40-e94f-
c51c1415ad67', 'location': '4'}
[2007-02-02 13:39:29 22848] DEBUG (DevController:115) DevController: writing 
{'state': '1', 'backend-
id': '0', 'backend': '/local/domain/0/backend/console/15/1'} 
to /local/domain/15/device/console/1.
[2007-02-02 13:39:29 22848] DEBUG (DevController:117) DevController: writing 
{'domain': 'migrating-
vtp23_1170394603', 'protocol': 'vt100', 'uuid': '70d5aa83-54e6-de40-e94f-
c51c1415ad67', 'frontend': '/local/domain/15/device/console/1', 'state': '1', '
location': '4', 'online': '1', 'frontend-id': '15'} 
to /local/domain/0/backend/console/15/1.
[2007-02-02 13:39:29 22848] INFO (XendDomainInfo:1259) createDevice: vbd : 
{'uuid': '92af8bb3-4039-a4d4-152b-8516c43edd13', 'bootable': 1, 'devid': 
768, 'driver': 'paravirtualised', 'dev': 'hda', 'uname': 'file:/share/xvs/var/i
mg.vmxtp23', 'mode': 'w'}
[2007-02-02 13:39:29 22848] DEBUG (DevController:115) DevController: writing 
{'backend-id': '0', 'virtual-device': '768', 'device-
type': 'disk', 'state': '1', 'backend': '/local/domain/0/backend/vbd/15/768'} 
to /local/domain/15/device/vbd/768.
[2007-02-02 13:39:29 22848] DEBUG (DevController:117) DevController: writing 
{'domain': 'migrating-
vtp23_1170394603', 'frontend': '/local/domain/15/device/vbd/768', 'uuid': '92af
8bb3-4039-a4d4-152b-
8516c43edd13', 'dev': 'hda', 'state': '1', 'params': '/share/xvs/var/img.vmxtp2
3', 'mode': 'w', 'online': '1', 'frontend-id': '15', 'type': 'file'} 
to /local/domain/0/backend/vbd/15/768.
[2007-02-02 13:39:29 22848] INFO (XendDomainInfo:1259) createDevice: vbd : 
{'uuid': '6facbc6e-2c8f-86e3-b6b6-e9c48a369fb3', 'bootable': 0, 'devid': 
5632, 'driver': 'paravirtualised', 'dev': 'hdc:cdrom', 'uname': '', 'mode': 'r'
}
[2007-02-02 13:39:29 22848] DEBUG (DevController:115) DevController: writing 
{'backend-id': '0', 'virtual-device': '5632', 'device-
type': 'cdrom', 'state': '1', 'backend': '/local/domain/0/backend/vbd/15/5632'}
 to /local/domain/15/device/vbd/5632.
[2007-02-02 13:39:29 22848] DEBUG (DevController:117) DevController: writing 
{'domain': 'migrating-
vtp23_1170394603', 'frontend': '/local/domain/15/device/vbd/5632', 'uuid': '6fa
cbc6e-2c8f-86e3-b6b6-
e9c48a369fb3', 'dev': 'hdc', 'state': '1', 'params': '', 'mode': 'r', 'online':
 '1', 'frontend-id': '15', 'type': ''} to /local/domain/0/backend/vbd/15/5632.
[2007-02-02 13:39:29 22848] INFO (XendDomainInfo:1259) createDevice: vif : 
{'bridge': 'xenbr0', 'devid': 0, 'type': 'ioemu', 'uuid': '0710f83d-cbe6-2bae-
f543-7a054c9ac26e'}
[2007-02-02 13:39:29 22848] DEBUG (DevController:115) DevController: writing 
{'state': '1', 'backend-
id': '0', 'backend': '/local/domain/0/backend/vif/15/0'} 
to /local/domain/15/device/vif/0.
[2007-02-02 13:39:29 22848] DEBUG (DevController:117) DevController: writing 
{'bridge': 'xenbr0', 'domain': 'migrating-
vtp23_1170394603', 'handle': '0', 'uuid': '0710f83d-cbe6-2bae-f543-
7a054c9ac26e', 'script': '/etc/xen/scripts/vif-
bridge', 'state': '1', 'frontend': '/local/domain/15/device/vif/0', 'mac': '00:
16:3e:56:80:66', 'online': '1', 'frontend-id': '15', 'type': 'ioemu'} 
to /local/domain/0/backend/vif/15/0.
[2007-02-02 13:39:29 22848] DEBUG (DevController:115) DevController: writing 
{'state': '1', 'backend-
id': '0', 'backend': '/local/domain/0/backend/vif/15/0'} 
to /local/domain/15/device/vif/0.
[2007-02-02 13:39:29 22848] DEBUG (DevController:117) DevController: writing 
{'bridge': 'xenbr0', 'domain': 'migrating-
vtp23_1170394603', 'handle': '0', 'uuid': '0710f83d-cbe6-2bae-f543-
7a054c9ac26e', 'script': '/etc/xen/scripts/vif-
bridge', 'state': '1', 'frontend': '/local/domain/15/device/vif/0', 'mac': '00:
16:3e:56:80:66', 'online': '1', 'frontend-id': '15', 'type': 'ioemu'} 
to /local/domain/0/backend/vif/15/0.
[2007-02-02 13:39:29 22848] INFO (image:517) spawning device 
models: /usr/lib64/xen/bin/qemu-dm ['/usr/lib64/xen/bin/qemu-dm', '-
d', '15', '-m', '256', '-vcpus', '2', '-boot', 'c', '-serial', 'pty', '-domain-
name', 'vtp23_1170394603', '-
net', 'nic,vlan=1,macaddr=00:16:3e:76:37:a7,model=rtl8139', '-
net', 'tap,vlan=1,bridge=xenbr0']
[2007-02-02 13:39:30 22848] INFO (image:521) device model pid: 29585
[2007-02-02 13:39:30 22848] DEBUG (XendCheckpoint:155) XendCheckpoint.save: 
devices created
[2007-02-02 13:39:30 22848] DEBUG (XendDomainInfo:1597) 
XendDomainInfo.resumeDomain(15)
[2007-02-02 13:39:30 22848] ERROR (XendDomainInfo:1604) XendDomainInfo.resume: 
xc.domain_resume failed on domain 15.
Traceback (most recent call last):
  File "/usr/lib64/python/xen/xend/XendDomainInfo.py", line 1601, in 
resumeDomain
    xc.domain_resume(self.domid)
Error: (1, 'Internal error', "Couldn't map p2m_frame_list")
[2007-02-02 13:39:30 22848] DEBUG (XendCheckpoint:158) XendCheckpoint.save: 
resumeDomain


-- 
Configure bugmail: 
http://bugzilla.xensource.com/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

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

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