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

[Xen-users] Re: live migration problem and howto clear p2m table

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] Re: live migration problem and howto clear p2m table
From: "Tijl Van den Broeck" <subspawn@xxxxxxxxx>
Date: Tue, 30 May 2006 14:11:38 +0200
Delivery-date: Tue, 30 May 2006 05:12:21 -0700
Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=qW/CJBXEa99MoSieji1GkApgR7GpRiJWUvN/02hUEhCnXSjBVtGXfhMbZwFwWIS2uC7JP3Yw7bS6fMfaV5UZlNYNfDB0IwpngJiO4+TEXC6oQs3DAGgia00BHl4217JxL/mTFB2fDd3QLO5znWQlBHi6nCZM/DNhSEHGEJr0Eek=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <5a4fbd6c0605300307o65140c99o753bed7e0f2d9478@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/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <5a4fbd6c0605300307o65140c99o753bed7e0f2d9478@xxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
I've found out that the p2m table is held in the kernel so that it can be cleared by simply rebooting dom0.

But the live migration issue remains.

The receiving dom0 still spits out error messages after changing the /dev/hda1 to /dev/sdb1
[2006-05-30 13:42:32 xend.XendDomainInfo] DEBUG (XendDomainInfo:700) Storing domain details: {'console/port': '2', 'name': 'OpenSUSE10.1', 'console/limit': '1048576', 'vm': '/vm/86760881-86f4-9971-f908-ca5b09575b24', 'domid': '1', 'cpu/0/availability': 'online', 'memory/target': '131072', 'store/port': '1'}
[2006-05-30 13:42:32 xend.XendDomainInfo] DEBUG (XendDomainInfo:1356) XendDomainInfo.destroy: domid=1
[2006-05-30 13:42:32 xend.XendDomainInfo] DEBUG (XendDomainInfo:1364) XendDomainInfo.destroyDomain(1)
[2006-05-30 13:42:32 xend] ERROR (XendDomain:267) Restore failed
Traceback (most recent call last):
  File "/usr/lib64/python2.4/site-packages/xen/xend/XendDomain.py", line 262, in domain_restore_fd
    return XendCheckpoint.restore(self, fd)
  File "/usr/lib64/python2.4/site-packages/xen/xend/XendCheckpoint.py", line 140, in restore
    raise XendError(
XendError: not a valid guest state file: pfn count out of range




On 5/30/06, Tijl Van den Broeck < subspawn@xxxxxxxxx> wrote:
Hi,

How can I clear the p2m table from xen? I have an "unexplained entry" which I'd like to remove, read on to see what caused it or if you can help with live migration.

I've set up iSCSI target on a seperate box and share a disk between my 2 Xen-dom0's as "/dev/sdb".

The domU works with storage settings:
disk = [ 'phy:/dev/sdb1,hda1,w' ]
root = "/dev/hda1 ro"
(/etc/xen/suse.conf on both dom0's)

When performing a live migration I get the following problem:

dom0_1 (source) /var/log/xend.log
[2006-05-30 10:35:00 xend] DEBUG (XendCheckpoint:80) [xc_save]: /usr/lib/xen/bin/xc_save 10 17 1 0 0 1
[2006-05-30 10:35:00 xend] ERROR (XendCheckpoint:227) Had 0 unexplained entries in p2m table
[2006-05-30 10:47:03 xend.XendDomainInfo] DEBUG (XendDomainInfo:881) XendDomainInfo.handleShutdownWatch
[2006-05-30 10:47:03 xend.XendDomainInfo] DEBUG (XendDomainInfo:881) XendDomainInfo.handleShutdownWatch
[2006-05-30 10:47:22 xend.XendDomainInfo] INFO (XendDomainInfo:840) Domain has shutdown: name=migrating-OpenSUSE10.1 id=1 reason=poweroff.
[2006-05-30 10:47:22 xend.XendDomainInfo] DEBUG (XendDomainInfo:1356) XendDomainInfo.destroy: domid=1
[2006-05-30 10:47:22 xend.XendDomainInfo] DEBUG (XendDomainInfo:1364) XendDomainInfo.destroyDomain(1)
[2006-05-30 10:51:34 xend.XendDomainInfo] DEBUG (XendDomainInfo:1356) XendDomainInfo.destroy: domid=1
[2006-05-30 10:51:34 xend.XendDomainInfo] DEBUG (XendDomainInfo:1364) XendDomainInfo.destroyDomain(1)
[2006-05-30 10:51:57 xend] INFO (SrvDaemon:185) Xend stopped due to signal 15.

dom0_2 (destination) /var/log/messages:
May 30 10:35:00 pcvlf1638 logger: /etc/xen/scripts/vif-bridge: online XENBUS_PATH=backend/vif/1/0
May 30 10:35:00 pcvlf1638 syslog-ng[2366]: Changing permissions on special file /dev/xconsole
May 30 10:35:00 pcvlf1638 syslog-ng[2366]: Changing permissions on special file /dev/tty10
May 30 10:35:00 pcvlf1638 rename_netiface: oldname vif1.0 does not exist
May 30 10:35:00 pcvlf1638 logger: /etc/xen/scripts/block: add XENBUS_PATH=backend/vbd/1/769
May 30 10:35:00 pcvlf1638 logger: /etc/xen/scripts/vif-bridge: Writing backend/vif/1/0/hotplug-status error to xenstore.
May 30 10:35:00 pcvlf1638 ifup: Interface vif1.0 is not available
May 30 10:35:00 pcvlf1638 logger: /etc/xen/scripts/vif-bridge: brctl addif xenbr0 vif1.0 failed
May 30 10:35:00 pcvlf1638 logger: /etc/xen/scripts/block: Writing backend/vbd/1/769/physical-device 8:11 to xenstore.
May 30 10:35:00 pcvlf1638 logger: /etc/xen/scripts/vif-bridge: offline XENBUS_PATH=backend/vif/1/0
May 30 10:35:00 pcvlf1638 logger: /etc/xen/scripts/block: Writing backend/vbd/1/769/hotplug-status connected to xenstore.
May 30 10:35:00 pcvlf1638 logger: /etc/xen/scripts/block: remove XENBUS_PATH=backend/vbd/1/769
May 30 10:35:01 pcvlf1638 logger: /etc/xen/scripts/vif-bridge: brctl delif xenbr0 vif1.0 failed
May 30 10:35:01 pcvlf1638 logger: /etc/xen/scripts/block: Writing backend/vbd/1/769/hotplug-status error to xenstore.
May 30 10:35:01 pcvlf1638 logger: /etc/xen/scripts/block: xenstore-read backend/vbd/1/769/node failed.
May 30 10:35:01 pcvlf1638 logger: /etc/xen/scripts/block: Writing backend/vbd/1/769/hotplug-status error to xenstore.
May 30 10:35:01 pcvlf1638 logger: /etc/xen/scripts/block: /etc/xen/scripts/block failed; error detected.
May 30 10:35:01 pcvlf1638 ifdown:     vif1.0
May 30 10:35:01 pcvlf1638 logger: /etc/xen/scripts/vif-bridge: ifconfig vif1.0 down failed
May 30 10:35:01 pcvlf1638 ifdown: Interface not available and no configuration found.
May 30 10:35:01 pcvlf1638 logger: /etc/xen/scripts/xen-hotplug-cleanup: XENBUS_PATH=backend/vbd/1/769
May 30 10:35:01 pcvlf1638 kernel: ip_tables: (C) 2000-2006 Netfilter Core Team
May 30 10:35:01 pcvlf1638 kernel: klogd 1.4.1, ---------- state change ----------
May 30 10:35:01 pcvlf1638 logger: /etc/xen/scripts/vif-bridge: Successful vif-bridge offline for vif1.0, bridge xenbr0.
May 30 10:35:01 pcvlf1638 logger: /etc/xen/scripts/xen-hotplug-cleanup: XENBUS_PATH=backend/vif/1/0

dom0_2 (destination) /var/log/xend.log:
[2006-05-30 10:35:00 xend.XendDomainInfo] DEBUG (XendDomainInfo:255) XendDomainInfo.restore(['domain', ['domid', '1'], ['uuid', '5ae502ce-9688-e7ec-3ddd-48ab9219f563'], ['ssidref', '0'], ['vcpus', '1'], ['vcpu_avail', '1'], ['cpu_weight', ' 1.0'], ['memory', '128'], ['maxmem', '128'], ['root', '/dev/hda1 ro'], ['name', 'OpenSUSE10.1'], ['on_poweroff', 'destroy'], ['on_reboot', 'restart'], ['on_crash', 'restart'], ['image', ['linux', ['kernel', '/boot/vmlinuz-xen'], ['ramdisk', '/boot/initrd-xen'], ['ip', ':::::eth0:dhcp'], ['root', '/dev/hda1 ro'], ['args', '4']]], ['device', ['vif', ['backend', '0'], ['script', 'vif-bridge'], ['mac', '00:16:35:74:27:3d']]], ['device', ['vbd', ['backend', '0'], ['dev', 'hda1'], ['uname', 'phy:/dev/sdb1'], ['mode', 'w']]], ['state', '-b----'], ['shutdown_reason', 'poweroff'], ['cpu_time', ' 7.72136606'], ['online_vcpus', '1'], ['up_time', '1251.04267502'], ['start_time', '1148976849.6'], ['store_mfn', '54210'], ['console_mfn', '54209']])
[2006-05-30 10:35:00 xend.XendDomainInfo] DEBUG (XendDomainInfo:286) parseConfig: config is ['domain', ['domid', '1'], ['uuid', '5ae502ce-9688-e7ec-3ddd-48ab9219f563'], ['ssidref', '0'], ['vcpus', '1'], ['vcpu_avail', '1'], ['cpu_weight', ' 1.0'], ['memory', '128'], ['maxmem', '128'], ['root', '/dev/hda1 ro'], ['name', 'OpenSUSE10.1'], ['on_poweroff', 'destroy'], ['on_reboot', 'restart'], ['on_crash', 'restart'], ['image', ['linux', ['kernel', '/boot/vmlinuz-xen'], ['ramdisk', '/boot/initrd-xen'], ['ip', ':::::eth0:dhcp'], ['root', '/dev/hda1 ro'], ['args', '4']]], ['device', ['vif', ['backend', '0'], ['script', 'vif-bridge'], ['mac', '00:16:35:74:27:3d']]], ['device', ['vbd', ['backend', '0'], ['dev', 'hda1'], ['uname', 'phy:/dev/sdb1'], ['mode', 'w']]], ['state', '-b----'], ['shutdown_reason', 'poweroff'], ['cpu_time', ' 7.72136606'], ['online_vcpus', '1'], ['up_time', '1251.04267502'], ['start_time', '1148976849.6'], ['store_mfn', '54210'], ['console_mfn', '54209']]
[2006-05-30 10:35:00 xend.XendDomainInfo] DEBUG (XendDomainInfo:382) parseConfig: result is {'ssidref': 0, 'uuid': '5ae502ce-9688-e7ec-3ddd-48ab9219f563', 'on_crash': 'restart', 'on_reboot': 'restart', 'localtime': None, 'image': ['linux', ['kernel', '/boot/vmlinuz-xen'], ['ramdisk', '/boot/initrd-xen'], ['ip', ':::::eth0:dhcp'], ['root', '/dev/hda1 ro'], ['args', '4']], 'on_poweroff': 'destroy', 'cpus': None, 'name': ' OpenSUSE10.1', 'backend': [], 'cpu': None, 'vcpus': 1, 'cpu_weight': 1.0, 'vcpu_avail': 1, 'memory': 128, 'device': [('vif', ['vif', ['backend', '0'], ['script', 'vif-bridge'], ['mac', '00:16:35:74:27:3d']]), ('vbd', ['vbd', ['backend', '0'], ['dev', 'hda1'], ['uname', 'phy:/dev/sdb1'], ['mode', 'w']])], 'bootloader': None, 'root': '/dev/hda1 ro', 'bootentry': None, 'maxmem': 128}
[2006-05-30 10:35:00 xend.XendDomainInfo] DEBUG (XendDomainInfo:1189) XendDomainInfo.construct: None 0
[2006-05-30 10:35:00 xend.XendDomainInfo] DEBUG (XendDomainInfo:675) Storing VM details: {'ssidref': '0', 'uuid': '5ae502ce-9688-e7ec-3ddd-48ab9219f563', 'on_reboot': 'restart', 'image': "(linux (kernel /boot/vmlinuz-xen) (ramdisk /boot/initrd-xen) (ip :::::eth0:dhcp) (root '/dev/hda1 ro') (args 4))", 'on_poweroff': 'destroy', 'name': ' OpenSUSE10.1', 'vcpus': '1', 'vcpu_avail': '1', 'memory': '128', 'on_crash': 'restart', 'maxmem': '128'}
[2006-05-30 10:35:00 xend] DEBUG (DevController:103) DevController: writing {'backend-id': '0', 'mac': '00:16:35:74:27:3d', 'handle': '0', 'state': '1', 'backend': '/local/domain/0/backend/vif/1/0'} to /local/domain/1/device/vif/0.
[2006-05-30 10:35:00 xend] DEBUG (DevController:105) DevController: writing {'mac': '00:16:35:74:27:3d', 'state': '1', 'handle': '0', 'script': '/etc/xen/scripts/vif-bridge', 'frontend-id': '1', 'domain': 'OpenSUSE10.1 ', 'frontend': '/local/domain/1/device/vif/0'} to /local/domain/0/backend/vif/1/0.
[2006-05-30 10:35:00 xend] DEBUG (blkif:24) exception looking up device number for hda1: [Errno 2] No such file or directory: '/dev/hda1'
[2006-05-30 10:35:00 xend] DEBUG (DevController:103) DevController: writing {'virtual-device': '769', 'backend-id': '0', 'state': '1', 'backend': '/local/domain/0/backend/vbd/1/769'} to /local/domain/1/device/vbd/769.
[2006-05-30 10:35:00 xend] DEBUG (DevController:105) DevController: writing {'domain': 'OpenSUSE10.1', 'frontend': '/local/domain/1/device/vbd/769', 'dev': 'hda1', 'state': '1', 'params': '/dev/sdb1', 'mode': 'w', 'frontend-id': '1', 'type': 'phy'} to /local/domain/0/backend/vbd/1/769.
[2006-05-30 10:35:00 xend.XendDomainInfo] DEBUG (XendDomainInfo:700) Storing domain details: {'console/port': '2', 'name': 'OpenSUSE10.1', 'console/limit': '1048576', 'vm': '/vm/5ae502ce-9688-e7ec-3ddd-48ab9219f563', 'domid': '1', 'cpu/0/availability': 'online', 'memory/target': '131072', 'store/port': '1'}
[2006-05-30 10:35:00 xend.XendDomainInfo] DEBUG (XendDomainInfo:1356) XendDomainInfo.destroy: domid=1
[2006-05-30 10:35:00 xend.XendDomainInfo] DEBUG (XendDomainInfo:1364) XendDomainInfo.destroyDomain(1)
[2006-05-30 10:35:00 xend] ERROR (XendDomain:267) Restore failed
Traceback (most recent call last):
  File "/usr/lib64/python2.4/site-packages/xen/xend/XendDomain.py", line 262, in domain_restore_fd
    return XendCheckpoint.restore(self, fd)
  File "/usr/lib64/python2.4/site-packages/xen/xend/XendCheckpoint.py", line 140, in restore
    raise XendError(
XendError: not a valid guest state file: pfn count out of range

I saw that the migration was failing so I shut down xend on dom0_1 and restarted it ([2006-05-30 10:51:57 xend] INFO (SrvDaemon:185) Xend stopped due to signal 15.).

Why it was failing is a riddle to me, it complains about /dev/hda1 not found, but the root=/dev/hda1 setting means it's inside a domU right ? Maybe when sharing disks over iscsi I should use the following syntax to avoid trouble?
disk = [ 'phy:/dev/sdb1,hdb1,w' ]
root = "/dev/sdb1 ro"

I'd like to try, but it appears I destroyed something with my restarting of xend. As now when I try migration:
# xm migrate --live OpenSUSE10.1 xendom02
Error: /usr/lib/xen/bin/xc_save 10 17 4 0 0 1 failed

and in the xend.log:
[2006-05-30 10:52:06 xend] INFO (SrvDaemon:278) Xend Daemon started
[2006-05-30 10:52:06 xend] INFO (SrvDaemon:282) Xend changeset: 09656.
[2006-05-30 10:52:06 xend.XendDomainInfo] DEBUG (XendDomainInfo:202) XendDomainInfo.recreate({'paused': 0, 'cpu_time': 149796868067L, 'ssidref': 0, 'handle': [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], 'shutdown_reason': 0, 'dying': 0, 'dom': 0, 'mem_kb': 364724, 'maxmem_kb': -4, 'max_vcpu_id': 1, 'crashed': 0, 'running': 1, 'shutdown': 0, 'online_vcpus': 2, 'blocked': 0})
[2006-05-30 10:52:06 xend.XendDomainInfo] INFO (XendDomainInfo:214) Recreating domain 0, UUID 00000000-0000-0000-0000-000000000000.
[2006-05-30 10:52:06 xend] DEBUG (XendDomain:152) number of vcpus to use is 0
[2006-05-30 10:52:06 xend] ERROR (XendDomain:197) Cannot recreate information for dying domain 1.  Xend will ignore this domain from now on.
[2006-05-30 10:52:06 xend.XendDomainInfo] DEBUG (XendDomainInfo:881) XendDomainInfo.handleShutdownWatch
[2006-05-30 10:52:06 xend] DEBUG (XendDomain:197) Cannot recreate information for dying domain 1.  Xend will ignore this domain from now on.
[2006-05-30 10:52:06 xend] DEBUG (XendDomain:197) Cannot recreate information for dying domain 1.  Xend will ignore this domain from now on.
[2006-05-30 10:52:10 xend] DEBUG (XendDomain:197) Cannot recreate information for dying domain 1.  Xend will ignore this domain from now on.
[2006-05-30 10:52:12 xend] DEBUG (XendDomain:197) Cannot recreate information for dying domain 1.  Xend will ignore this domain from now on.
[2006-05-30 10:53:17 xend.XendDomainInfo] DEBUG (XendDomainInfo:180) XendDomainInfo.create (['vm', ['name', 'OpenSUSE10.1'], ['memory', 128], ['root', '/dev/sdb1 ro'], ['vcpus', 1], ['root', '/dev/sdb1 ro'], ['image', ['linux', ['kernel', '/boot/vmlinuz-xen'], ['ramdisk', '/boot/initrd-xen'], ['ip', ':::::eth0:dhcp'], ['root', '/dev/sdb1 ro'], ['args', '4']]], ['device', ['vbd', ['uname', 'phy:/dev/sdb1'], ['dev', 'hda1'], ['mode', 'w']]], ['device', ['vif', ['mac', '00:16:35:74:27:3d']]]])
[2006-05-30 10:53:17 xend.XendDomainInfo] DEBUG (XendDomainInfo:286) parseConfig: config is ['vm', ['name', 'OpenSUSE10.1'], ['memory', 128], ['root', '/dev/sdb1 ro'], ['vcpus', 1], ['root', '/dev/sdb1 ro'], ['image', ['linux', ['kernel', '/boot/vmlinuz-xen'], ['ramdisk', '/boot/initrd-xen'], ['ip', ':::::eth0:dhcp'], ['root', '/dev/sdb1 ro'], ['args', '4']]], ['device', ['vbd', ['uname', 'phy:/dev/sdb1'], ['dev', 'hda1'], ['mode', 'w']]], ['device', ['vif', ['mac', '00:16:35:74:27:3d']]]]
[2006-05-30 10:53:17 xend.XendDomainInfo] DEBUG (XendDomainInfo:382) parseConfig: result is {'ssidref': None, 'uuid': None, 'on_crash': None, 'on_reboot': None, 'localtime': None, 'image': ['linux', ['kernel', '/boot/vmlinuz-xen'], ['ramdisk', '/boot/initrd-xen'], ['ip', ':::::eth0:dhcp'], ['root', '/dev/sdb1 ro'], ['args', '4']], 'on_poweroff': None, 'cpus': None, 'name': ' OpenSUSE10.1', 'backend': [], 'cpu': None, 'vcpus': 1, 'cpu_weight': None, 'vcpu_avail': None, 'memory': 128, 'device': [('vbd', ['vbd', ['uname', 'phy:/dev/sdb1'], ['dev', 'hda1'], ['mode', 'w']]), ('vif', ['vif', ['mac', '00:16:35:74:27:3d']])], 'bootloader': None, 'root': '/dev/sdb1 ro', 'bootentry': None, 'maxmem': None}
[2006-05-30 10:53:17 xend.XendDomainInfo] DEBUG (XendDomainInfo:1189) XendDomainInfo.construct: None 0
[2006-05-30 10:53:17 xend.XendDomainInfo] DEBUG (XendDomainInfo:1221) XendDomainInfo.initDomain: 2 1.0
[2006-05-30 10:53:17 xend] DEBUG (balloon:142) Balloon #0: dom0_alloc 356; free 125; need 129.
[2006-05-30 10:53:17 xend] DEBUG (balloon:148) Balloon: setting dom0 target to 352.
[2006-05-30 10:53:17 xend.XendDomainInfo] DEBUG (XendDomainInfo:970) Setting memory target of domain Domain-0 (0) to 352 MiB.
[2006-05-30 10:53:17 xend] DEBUG (balloon:136) Balloon: free 129; need 129; done.
[2006-05-30 10:53:17 xend] INFO (image:136) buildDomain os=linux dom=2 vcpus=1
[2006-05-30 10:53:17 xend] DEBUG (image:174) dom            = 2
[2006-05-30 10:53:17 xend] DEBUG (image:175) image          = /boot/vmlinuz-xen
[2006-05-30 10:53:17 xend] DEBUG (image:176) store_evtchn   = 1
[2006-05-30 10:53:17 xend] DEBUG (image:177) console_evtchn = 2
[2006-05-30 10:53:17 xend] DEBUG (image:178) cmdline        =  ip=:::::eth0:dhcp root=/dev/sdb1 ro 4
[2006-05-30 10:53:17 xend] DEBUG (image:179) ramdisk        = /boot/initrd-xen
[2006-05-30 10:53:17 xend] DEBUG (image:180) vcpus          = 1
[2006-05-30 10:53:17 xend] DEBUG (image:181) features       =
[2006-05-30 10:53:18 xend] DEBUG (blkif:24) exception looking up device number for hda1: [Errno 2] No such file or directory: '/dev/hda1'
[2006-05-30 10:53:18 xend] DEBUG (DevController:103) DevController: writing {'virtual-device': '769', 'backend-id': '0', 'state': '1', 'backend': '/local/domain/0/backend/vbd/2/769'} to /local/domain/2/device/vbd/769.
[2006-05-30 10:53:18 xend] DEBUG (DevController:105) DevController: writing {'domain': 'OpenSUSE10.1', 'frontend': '/local/domain/2/device/vbd/769', 'dev': 'hda1', 'state': '1', 'params': '/dev/sdb1', 'mode': 'w', 'frontend-id': '2', 'type': 'phy'} to /local/domain/0/backend/vbd/2/769.
[2006-05-30 10:53:18 xend] DEBUG (DevController:103) DevController: writing {'backend-id': '0', 'mac': '00:16:35:74:27:3d', 'handle': '0', 'state': '1', 'backend': '/local/domain/0/backend/vif/2/0'} to /local/domain/2/device/vif/0.
[2006-05-30 10:53:18 xend] DEBUG (DevController:105) DevController: writing {'mac': '00:16:35:74:27:3d', 'state': '1', 'handle': '0', 'script': '/etc/xen/scripts/vif-bridge', 'frontend-id': '2', 'domain': 'OpenSUSE10.1 ', 'frontend': '/local/domain/2/device/vif/0'} to /local/domain/0/backend/vif/2/0.
[2006-05-30 10:53:18 xend.XendDomainInfo] DEBUG (XendDomainInfo:675) Storing VM details: {'ssidref': '0', 'uuid': '7fb26530-d548-48ae-752f-e1d9c5792c73', 'on_reboot': 'restart', 'start_time': ' 1148979198.17', 'on_poweroff': 'destroy', 'name': 'OpenSUSE10.1', 'vcpus': '1', 'vcpu_avail': '1', 'memory': '128', 'on_crash': 'restart', 'image': "(linux (kernel /boot/vmlinuz-xen) (ramdisk /boot/initrd-xen) (ip :::::eth0:dhcp) (root '/dev/sdb1 ro') (args 4))", 'maxmem': '128'}
[2006-05-30 10:53:18 xend.XendDomainInfo] DEBUG (XendDomainInfo:700) Storing domain details: {'console/ring-ref': '104040', 'console/port': '2', 'name': 'OpenSUSE10.1', 'console/limit': '1048576', 'vm': '/vm/7fb26530-d548-48ae-752f-e1d9c5792c73', 'domid': '2', 'cpu/0/availability': 'online', 'memory/target': '131072', 'store/ring-ref': '104041', 'store/port': '1'}
[2006-05-30 10:53:18 xend] DEBUG (XendDomain:197) Cannot recreate information for dying domain 1.  Xend will ignore this domain from now on.
[2006-05-30 10:53:18 xend.XendDomainInfo] DEBUG (XendDomainInfo:881) XendDomainInfo.handleShutdownWatch
[2006-05-30 10:53:18 xend] DEBUG (XendDomain:197) Cannot recreate information for dying domain 1.  Xend will ignore this domain from now on.
[2006-05-30 10:53:18 xend] DEBUG (DevController:132) Waiting for devices vif.
[2006-05-30 10:53:18 xend] DEBUG (DevController:138) Waiting for 0.
[2006-05-30 10:53:18 xend] DEBUG (DevController:403) hotplugStatusCallback /local/domain/0/backend/vif/2/0/hotplug-status.
[2006-05-30 10:53:18 xend] DEBUG (DevController:403) hotplugStatusCallback /local/domain/0/backend/vif/2/0/hotplug-status.
[2006-05-30 10:53:18 xend] DEBUG (DevController:417) hotplugStatusCallback 1.
[2006-05-30 10:53:18 xend] DEBUG (DevController:132) Waiting for devices usb.
[2006-05-30 10:53:18 xend] DEBUG (DevController:132) Waiting for devices vbd.
[2006-05-30 10:53:18 xend] DEBUG (DevController:138) Waiting for 769.
[2006-05-30 10:53:18 xend] DEBUG (DevController:403) hotplugStatusCallback /local/domain/0/backend/vbd/2/769/hotplug-status.
[2006-05-30 10:53:18 xend] DEBUG (DevController:403) hotplugStatusCallback /local/domain/0/backend/vbd/2/769/hotplug-status.
[2006-05-30 10:53:18 xend] DEBUG (DevController:417) hotplugStatusCallback 1.
[2006-05-30 10:53:18 xend] DEBUG (DevController:132) Waiting for devices irq.
[2006-05-30 10:53:18 xend] DEBUG (DevController:132) Waiting for devices pci.
[2006-05-30 10:53:18 xend] DEBUG (DevController:132) Waiting for devices ioports.
[2006-05-30 10:53:18 xend] DEBUG (DevController:132) Waiting for devices vtpm.
[2006-05-30 10:53:18 xend] INFO (XendDomain:363) Domain OpenSUSE10.1 (2) unpaused.
[2006-05-30 10:54:00 xend.XendDomainInfo] DEBUG (XendDomainInfo:1356) XendDomainInfo.destroy: domid=2
[2006-05-30 10:54:00 xend.XendDomainInfo] DEBUG (XendDomainInfo:1364) XendDomainInfo.destroyDomain (2)
[2006-05-30 10:54:00 xend] DEBUG (XendDomain:197) Cannot recreate information for dying domain 1.  Xend will ignore this domain from now on.
[2006-05-30 10:54:40 xend] DEBUG (XendDomain:197) Cannot recreate information for dying domain 1.  Xend will ignore this domain from now on.
[2006-05-30 10:54:47 xend.XendDomainInfo] DEBUG (XendDomainInfo:180) XendDomainInfo.create(['vm', ['name', 'OpenSUSE10.1'], ['memory', 128], ['root', '/dev/hda1 ro'], ['vcpus', 1], ['root', '/dev/hda1 ro'], ['image', ['linux', ['kernel', '/boot/vmlinuz-xen'], ['ramdisk', '/boot/initrd-xen'], ['ip', ':::::eth0:dhcp'], ['root', '/dev/hda1 ro'], ['args', '4']]], ['device', ['vbd', ['uname', 'phy:/dev/sdb1'], ['dev', 'hda1'], ['mode', 'w']]], ['device', ['vif', ['mac', '00:16:35:74:27:3d']]]])
[2006-05-30 10:54:47 xend.XendDomainInfo] DEBUG (XendDomainInfo:286) parseConfig: config is ['vm', ['name', 'OpenSUSE10.1'], ['memory', 128], ['root', '/dev/hda1 ro'], ['vcpus', 1], ['root', '/dev/hda1 ro'], ['image', ['linux', ['kernel', '/boot/vmlinuz-xen'], ['ramdisk', '/boot/initrd-xen'], ['ip', ':::::eth0:dhcp'], ['root', '/dev/hda1 ro'], ['args', '4']]], ['device', ['vbd', ['uname', 'phy:/dev/sdb1'], ['dev', 'hda1'], ['mode', 'w']]], ['device', ['vif', ['mac', '00:16:35:74:27:3d']]]]
[2006-05-30 10:54:47 xend.XendDomainInfo] DEBUG (XendDomainInfo:382) parseConfig: result is {'ssidref': None, 'uuid': None, 'on_crash': None, 'on_reboot': None, 'localtime': None, 'image': ['linux', ['kernel', '/boot/vmlinuz-xen'], ['ramdisk', '/boot/initrd-xen'], ['ip', ':::::eth0:dhcp'], ['root', '/dev/hda1 ro'], ['args', '4']], 'on_poweroff': None, 'cpus': None, 'name': ' OpenSUSE10.1', 'backend': [], 'cpu': None, 'vcpus': 1, 'cpu_weight': None, 'vcpu_avail': None, 'memory': 128, 'device': [('vbd', ['vbd', ['uname', 'phy:/dev/sdb1'], ['dev', 'hda1'], ['mode', 'w']]), ('vif', ['vif', ['mac', '00:16:35:74:27:3d']])], 'bootloader': None, 'root': '/dev/hda1 ro', 'bootentry': None, 'maxmem': None}
[2006-05-30 10:54:47 xend.XendDomainInfo] DEBUG (XendDomainInfo:1189) XendDomainInfo.construct: None 0
[2006-05-30 10:54:47 xend.XendDomainInfo] DEBUG (XendDomainInfo:1221) XendDomainInfo.initDomain: 3 1.0
[2006-05-30 10:54:47 xend] DEBUG (balloon:136) Balloon: free 129; need 129; done.
[2006-05-30 10:54:47 xend] INFO (image:136) buildDomain os=linux dom=3 vcpus=1
And soforth...

greets


Tijl Van den Broeck





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