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

AW: [Xen-devel] Migration Problem to Localhost

Here is my xend.log:
I Think the problem is this ([2005-11-24 14:54:36 xend] ERROR (XendCheckpoint:218) Had 0 unexplained entries in p2m table) line.
But i don't know what exactly is listed in p2m table...
 
 
 

[2005-11-24 14:45:12 xend.XendDomainInfo] DEBUG (XendDomainInfo:1064) XendDomainInfo.construct: None 0

[2005-11-24 14:45:12 xend.XendDomainInfo] DEBUG (XendDomainInfo:1096) XendDomainInfo.initDomain: 4 1.0

[2005-11-24 14:45:12 xend] INFO (image:132) buildDomain os=linux dom=4 vcpus=1

[2005-11-24 14:45:12 xend] DEBUG (image:170) dom            = 4

[2005-11-24 14:45:12 xend] DEBUG (image:171) image          = /boot/vmlinuz-2.6.12-xenU

[2005-11-24 14:45:12 xend] DEBUG (image:172) store_evtchn   = 1

[2005-11-24 14:45:12 xend] DEBUG (image:173) console_evtchn = 2

[2005-11-24 14:45:12 xend] DEBUG (image:174) cmdline        =  ip=:1.2.3.4::::eth0:on root=/dev/hda1 3

[2005-11-24 14:45:12 xend] DEBUG (image:175) ramdisk        =

[2005-11-24 14:45:12 xend] DEBUG (image:176) vcpus          = 1

[2005-11-24 14:45:13 xend] DEBUG (DevController:302) DevController: writing {'virtual-device': '769', 'backend-id': '0', 'state': '1', 'backend': '/local/domain/0/backend/vbd/4/769'} to /local/domain/4/device/vbd/769.

[2005-11-24 14:45:13 xend] DEBUG (DevController:304) DevController: writing {'domain': 'RHEL4', 'params': '/dev/VGVMSXEN/lvol0', 'frontend-id': '4', 'type': 'phy', 'state': '1', 'dev': 'hda1', 'frontend': '/local/domain/4/device/vbd/769'} to /local/domain/0/backend/vbd/4/769.

[2005-11-24 14:45:13 xend.XendDomainInfo] DEBUG (XendDomainInfo:602) Storing VM details: {'ssidref': '0', 'uuid': '97cf750f-bfa9-e20b-307d-065da43bf4a1', 'on_reboot': 'restart', 'image': '(linux (kernel /boot/vmlinuz-2.6.12-xenU) (ip :1.2.3.4::::eth0:on) (root /dev/hda1) (args 3) (vcpus 1) (vcpus 1) (boot c) (display localhost:10.0))', 'on_poweroff': 'destroy', 'name': 'RHEL4', 'vcpus': '1', 'vcpu_avail': '1', 'memory': '220', 'on_crash': 'restart', 'start_time': '1132839913.07', 'maxmem': '220'}

[2005-11-24 14:45:13 xend.XendDomainInfo] DEBUG (XendDomainInfo:627) Storing domain details: {'console/ring-ref': '17175', 'console/port': '2', 'name': 'RHEL4', 'console/limit': '1048576', 'vm': '/vm/97cf750f-bfa9-e20b-307d-065da43bf4a1', 'domid': '4', 'cpu/0/availability': 'online', 'memory/target': '225280', 'store/ring-ref': '18451', 'store/port': '1'}

[2005-11-24 14:45:13 xend] DEBUG (DevController:88) Waiting for devices vif.

[2005-11-24 14:45:13 xend] DEBUG (DevController:88) Waiting for devices usb.

[2005-11-24 14:45:13 xend] DEBUG (DevController:88) Waiting for devices vbd.

[2005-11-24 14:45:13 xend] DEBUG (DevController:94) Waiting for 769.

[2005-11-24 14:45:13 xend] DEBUG (DevController:361) hotplugStatusCallback /local/domain/0/backend/vbd/4/769/hotplug-status.

[2005-11-24 14:45:13 xend] DEBUG (DevController:361) hotplugStatusCallback /local/domain/0/backend/vbd/4/769/hotplug-status.

[2005-11-24 14:45:13 xend] DEBUG (DevController:376) hotplugStatusCallback 1.

[2005-11-24 14:45:13 xend] DEBUG (DevController:88) Waiting for devices pci.

[2005-11-24 14:45:13 xend] DEBUG (DevController:88) Waiting for devices ioports.

[2005-11-24 14:45:13 xend] DEBUG (DevController:88) Waiting for devices vtpm.

[2005-11-24 14:45:13 xend] INFO (XendDomain:353) Domain RHEL4 (4) unpaused.

[2005-11-24 14:54:36 xend] DEBUG (XendCheckpoint:73) [xc_save]: /usr/lib/xen/bin/xc_save 15 20 4 0 0 0

[2005-11-24 14:54:36 xend] DEBUG (XendCheckpoint:191) suspend

[2005-11-24 14:54:36 xend] DEBUG (XendCheckpoint:76) In saveInputHandler suspend

[2005-11-24 14:54:36 xend] DEBUG (XendCheckpoint:78) Suspending 4 ...

[2005-11-24 14:54:36 xend.XendDomainInfo] INFO (XendDomainInfo:757) Domain has shutdown: name=migrating-RHEL4 id=4 reason=suspend.

[2005-11-24 14:54:36 xend] INFO (XendCheckpoint:81) Domain 4 suspended.

[2005-11-24 14:54:36 xend] DEBUG (XendCheckpoint:84) Written done

[2005-11-24 14:54:36 xend] ERROR (XendCheckpoint:218) Had 0 unexplained entries in p2m table

 

[2005-11-24 14:54:36 xend.XendDomainInfo] DEBUG (XendDomainInfo:252) XendDomainInfo.restore(['domain', ['domid', '4'], ['uuid', '97cf750f-bfa9-e20b-307d-065da43bf4a1'], ['ssidref', '0'], ['vcpus', '1'], ['vcpu_avail', '1'], ['cpu_weight', '1.0'], ['memory', '220'], ['maxmem', '220'], ['name', 'RHEL4'], ['on_poweroff', 'destroy'], ['on_reboot', 'restart'], ['on_crash', 'restart'], ['image', ['linux', ['kernel', '/boot/vmlinuz-2.6.12-xenU'], ['ip', ':1.2.3.4::::eth0:on'], ['root', '/dev/hda1'], ['args', '3'], ['vcpus', '1'], ['vcpus', '1'], ['boot', 'c'], ['display', 'localhost:10.0']]], ['device', ['vbd', ['uname', 'phy:/dev/VGVMSXEN/lvol0'], ['dev', 'hda1'], ['mode', ' w']]], ['state', '-b----'], ['shutdown_reason', 'poweroff'], ['cpu_time', '14.175184393'], ['vcpus', '1'], ['online_vcpus', '1'], ['up_time', '563.278992176'], ['start_time', '1132839913.07'], ['store_mfn', '18451'], ['console_mfn', '17175']])

[2005-11-24 14:54:36 xend.XendDomainInfo] DEBUG (XendDomainInfo:282) parseConfig: config is ['domain', ['domid', '4'], ['uuid', '97cf750f-bfa9-e20b-307d-065da43bf4a1'], ['ssidref', '0'], ['vcpus', '1'], ['vcpu_avail', '1'], ['cpu_weight', '1.0'], ['memory', '220'], ['maxmem', '220'], ['name', 'RHEL4'], ['on_poweroff', 'destroy'], ['on_reboot', 'restart'], ['on_crash', 'restart'], ['image', ['linux', ['kernel', '/boot/vmlinuz-2.6.12-xenU'], ['ip', ':1.2.3.4::::eth0:on'], ['root', '/dev/hda1'], ['args', '3'], ['vcpus', '1'], ['vcpus', '1'], ['boot', 'c'], ['display', 'localhost:10.0']]], ['device', ['vbd', ['uname', 'phy:/dev/VGVMSXEN/lvol0'], ['dev', 'hda1'], ['mode', ' w']]], ['state', '-b----'], ['shutdown_reason', 'poweroff'], ['cpu_time', '14.175184393'], ['vcpus', '1'], ['online_vcpus', '1'], ['up_time', '563.278992176'], ['start_time', '1132839913.07'], ['store_mfn', '18451'], ['console_mfn', '17175']]

[2005-11-24 14:54:36 xend.XendDomainInfo] DEBUG (XendDomainInfo:336) parseConfig: result is {'ssidref': 0, 'uuid': '97cf750f-bfa9-e20b-307d-065da43bf4a1', 'on_crash': 'restart', 'on_reboot': 'restart', 'image': ['linux', ['kernel', '/boot/vmlinuz-2.6.12-xenU'], ['ip', ':1.2.3.4::::eth0:on'], ['root', '/dev/hda1'], ['args', '3'], ['vcpus', '1'], ['vcpus', '1'], ['boot', 'c'], ['display', 'localhost:10.0']], 'on_poweroff': 'destroy', 'name': 'RHEL4', 'backend': [], 'vcpus': 1, 'cpu_weight': 1.0, 'vcpu_avail': 1, 'memory': 220, 'device': [('vbd', ['vbd', ['uname', 'phy:/dev/VGVMSXEN/lvol0'], ['dev', 'hda1'], ['mode', ' w']])], 'bootloader': None, 'cpu': None, 'maxmem': 220}

[2005-11-24 14:54:36 xend.XendDomainInfo] DEBUG (XendDomainInfo:1064) XendDomainInfo.construct: None 0

[2005-11-24 14:54:36 xend.XendDomainInfo] DEBUG (XendDomainInfo:602) Storing VM details: {'ssidref': '0', 'uuid': '97cf750f-bfa9-e20b-307d-065da43bf4a1', 'on_reboot': 'restart', 'image': '(linux (kernel /boot/vmlinuz-2.6.12-xenU) (ip :1.2.3.4::::eth0:on) (root /dev/hda1) (args 3) (vcpus 1) (vcpus 1) (boot c) (display localhost:10.0))', 'on_poweroff': 'destroy', 'name': 'RHEL4', 'vcpus': '1', 'vcpu_avail': '1', 'memory': '220', 'on_crash': 'restart', 'maxmem': '220'}

[2005-11-24 14:54:36 xend] DEBUG (DevController:302) DevController: writing {'virtual-device': '769', 'backend-id': '0', 'state': '1', 'backend': '/local/domain/0/backend/vbd/5/769'} to /local/domain/5/device/vbd/769.

[2005-11-24 14:54:36 xend] DEBUG (DevController:304) DevController: writing {'domain': 'RHEL4', 'params': '/dev/VGVMSXEN/lvol0', 'frontend-id': '5', 'type': 'phy', 'state': '1', 'dev': 'hda1', 'frontend': '/local/domain/5/device/vbd/769'} to /local/domain/0/backend/vbd/5/769.

[2005-11-24 14:54:36 xend.XendDomainInfo] DEBUG (XendDomainInfo:627) Storing domain details: {'console/port': '2', 'name': 'RHEL4', 'console/limit': '1048576', 'vm': '/vm/97cf750f-bfa9-e20b-307d-065da43bf4a1', 'domid': '5', 'cpu/0/availability': 'online', 'memory/target': '225280', 'store/port': '1'}

[2005-11-24 14:54:36 xend] DEBUG (XendCheckpoint:139) [xc_restore]: /usr/lib/xen/bin/xc_restore 15 21 5 58368 1 2

[2005-11-24 14:54:36 xend] ERROR (XendCheckpoint:218) xc_linux_restore start: max_pfn = e400

 

[2005-11-24 14:54:36 xend] ERROR (XendCheckpoint:218) Failed allocation for dom 5: 58368 pages order 0 addr_bits 0

 

[2005-11-24 14:54:36 xend] ERROR (XendCheckpoint:218) Failed to increase reservation by 39000 KB

 

[2005-11-24 14:54:36 xend] ERROR (XendCheckpoint:218)

 

[2005-11-24 14:54:36 xend] ERROR (XendCheckpoint:218) Restore exit with rc=1

 

[2005-11-24 14:54:36 xend.XendDomainInfo] DEBUG (XendDomainInfo:1186) XendDomainInfo.destroy: domid=5

[2005-11-24 14:54:36 xend.XendDomainInfo] DEBUG (XendDomainInfo:1194) XendDomainInfo.destroyDomain(5)

[2005-11-24 14:54:36 xend.XendDomainInfo] ERROR (XendDomainInfo:1200) XendDomainInfo.destroy: xc.domain_destroy failed.

Traceback (most recent call last):

  File "/root/mercurial-0.7/xen-unstable.hg/dist/install/usr/lib/python/xen/xend/XendDomainInfo.py", line 1198, in destroyDomain

error: (3, 'No such process')

[2005-11-24 14:54:36 xend] ERROR (XendDomain:259) Restore failed

Traceback (most recent call last):

  File "/root/mercurial-0.7/xen-unstable.hg/dist/install/usr/lib/python/xen/xend/XendDomain.py", line 254, in domain_restore_fd

  File "/root/mercurial-0.7/xen-unstable.hg/dist/install/usr/lib/python/xen/xend/XendCheckpoint.py", line 143, in restore

  File "/root/mercurial-0.7/xen-unstable.hg/dist/install/usr/lib/python/xen/xend/XendCheckpoint.py", line 209, in forkHelper

XendError: /usr/lib/xen/bin/xc_restore 15 21 5 58368 1 2 failed

[2005-11-24 14:54:36 xend] ERROR (XendCheckpoint:218) Saving memory pages: iter 1   0%Error when writing to state file (5)

 

[2005-11-24 14:54:36 xend] ERROR (XendCheckpoint:218) Save exit rc=1

 

[2005-11-24 14:54:36 xend] ERROR (XendCheckpoint:92) Save failed on domain RHEL4 (4).

Traceback (most recent call last):

  File "/root/mercurial-0.7/xen-unstable.hg/dist/install/usr/lib/python/xen/xend/XendCheckpoint.py", line 86, in save

  File "/root/mercurial-0.7/xen-unstable.hg/dist/install/usr/lib/python/xen/xend/XendCheckpoint.py", line 209, in forkHelper

XendError: /usr/lib/xen/bin/xc_save 15 20 4 0 0 0 failed

[2005-11-24 14:54:42 xend.XendDomainInfo] INFO (XendDomainInfo:757) Domain has shutdown: name=RHEL4 id=4 reason=suspend.

[2005-11-24 14:55:35 xend.XendDomainInfo] INFO (XendDomainInfo:757) Domain has shutdown: name=RHEL4 id=4 reason=suspend.

[2005-11-24 14:55:35 xend.XendDomainInfo] INFO (XendDomainInfo:757) Domain has shutdown: name=RHEL4 id=4 reason=suspend.

[2005-11-24 14:55:35 xend.XendDomainInfo] DEBUG (XendDomainInfo:1186) XendDomainInfo.destroy: domid=4

[2005-11-24 14:55:35 xend.XendDomainInfo] DEBUG (XendDomainInfo:1194) XendDomainInfo.destroyDomain(4)

[2005-11-24 14:56:47 xend.XendDomainInfo] DEBUG (XendDomainInfo:177) XendDomainInfo.create(['vm', ['name', 'RHEL4'], ['memory', '220'], ['image', ['linux', ['kernel', '/boot/vmlinuz-2.6.12-xenU'], ['ip', ':1.2.3.4::::eth0:on'], ['root', '/dev/hda1'], ['args', '3'], ['vcpus', '1'], ['vcpus', '1'], ['boot', 'c'], ['display', 'localhost:11.0']]], ['device', ['vbd', ['uname', 'phy:/dev/VGVMSXEN/lvol0'], ['dev', 'hda1'], ['mode', ' w']]]])

[2005-11-24 14:56:47 xend.XendDomainInfo] DEBUG (XendDomainInfo:282) parseConfig: config is ['vm', ['name', 'RHEL4'], ['memory', '220'], ['image', ['linux', ['kernel', '/boot/vmlinuz-2.6.12-xenU'], ['ip', ':1.2.3.4::::eth0:on'], ['root', '/dev/hda1'], ['args', '3'], ['vcpus', '1'], ['vcpus', '1'], ['boot', 'c'], ['display', 'localhost:11.0']]], ['device', ['vbd', ['uname', 'phy:/dev/VGVMSXEN/lvol0'], ['dev', 'hda1'], ['mode', ' w']]]]

[2005-11-24 14:56:47 xend.XendDomainInfo] DEBUG (XendDomainInfo:336) parseConfig: result is {'ssidref': None, 'uuid': None, 'on_crash': None, 'on_reboot': None, 'image': ['linux', ['kernel', '/boot/vmlinuz-2.6.12-xenU'], ['ip', ':1.2.3.4::::eth0:on'], ['root', '/dev/hda1'], ['args', '3'], ['vcpus', '1'], ['vcpus', '1'], ['boot', 'c'], ['display', 'localhost:11.0']], 'on_poweroff': None, 'name': 'RHEL4', 'backend': [], 'vcpus': 1, 'cpu_weight': None, 'vcpu_avail': None, 'memory': 220, 'device': [('vbd', ['vbd', ['uname', 'phy:/dev/VGVMSXEN/lvol0'], ['dev', 'hda1'], ['mode', ' w']])], 'bootloader': None, 'cpu': None, 'maxmem': None}

 
 

Thomas Diederich

**************************************************
*  Boehringer Ingelheim Pharma GmbH & Co.KG
*  A Informationsverarbeitung / Diplomant Systemtechnik
*

*  Mail: diederit@xxxxxxxxxxxxxxxxxxxxxxxxxxxx
*  Phone: +49 (0)6132/77-98151 

-----Ursprüngliche Nachricht-----
Von: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx [mailto:xen-devel-bounces@xxxxxxxxxxxxxxxxxxx]
Gesendet: Donnerstag, 24. November 2005 14:50
An: xen-devel@xxxxxxxxxxxxxxxxxxx
Betreff: [Xen-devel] Migration Problem to Localhost

Hi,

Trying to migrate to my localhost causes this errer:

Xm migrate 1 127.0.0.1
-->
Error: /usr/lib/xen/bin/xc_save 15 19 10 0 0 0 failed
[root@ingpcxen01 xen]#

Using current Xen 3.0 unstable from mercurial repos and RHEL4

Thomas Diederich

**************************************************
*  Boehringer Ingelheim Pharma GmbH & Co.KG
*  A Informationsverarbeitung / Diplomant Systemtechnik
*

*  Mail: diederit@xxxxxxxxxxxxxxxxxxxxxxxxxxxx
*  Phone: +49 (0)6132/77-98151 

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