Hello,
Did anybody succeeded with migration (to local host and/or to other
machines running Xen) with default
xend-config.sxp with xen-unstable on last week?
I begin to suspect that maybe there is a bug somwehere in migration ??
IB
On 11/15/05, Ian Brown <ianbrn@xxxxxxxxx> wrote:
> Hello,
> Thanks.
>
> 1) I am working on 32 bit x86.
>
> 2) I triled with the default, unchnaged xend-config.sxp (taken from
> /dist/install/etc/xebn)
> I ran:
> tail -f /var/log/xend.log
> xm migrate myDomU 127.0.0.1
>
>
>
> I want to add something:
> I think my memory division for domo and domU is OK,
> but I am not sure:
> This was done on a machine with RAM 128 MB.
> in grub.conf I have this allocation:
> kernel /boot/xen.gz dom0_mem=60000
> and in myDomU config file I have mempry set to 32 MB thus:
>
> kernel ="/boot/vmlinuz-2.6.12.6-xen0"
> memory = 32
> name = "myDomU"
> nics = 1
> disk = ['file:/work/dev/tests/feodra_xe_img/fedora.img,sda1,w']
> root = "/dev/sda1"
>
>
> This is the log I got: (seems to be a problem with restore:
> I see "Failed to increase reservation" and other error messages)
>
>
> [2005-11-15 14:39:10 xend] DEBUG (XendCheckpoint:73) [xc_save]:
> /usr/lib/xen/bin/xc_save 14 18 1 0 0 0
> [2005-11-15 14:39:10 xend.XendDomainInfo] DEBUG (XendDomainInfo:224)
> XendDomainInfo.restore(['domain', ['domid', '1'], ['name', 'myDomU'],
> ['uuid', '9b2be408-325f-17ef-af34-249571f77145'], ['ssidref', '0'],
> ['vcpus', '1'], ['vcpu_avail', '1'], ['cpu_weight', '1.0'], ['memory',
> '32'], ['maxmem', '32'], ['on_poweroff', 'destroy'], ['on_reboot',
> 'restart'], ['on_crash', 'restart'], ['image', ['linux', ['kernel',
> '/boot/vmlinuz-2.6.12.6-xen0'], ['root', '/dev/sda1'], ['vcpus', '1'],
> ['vcpus', '1'], ['boot', 'c']]], ['device', ['vbd', ['uname',
> 'file:/work/dev/tests/feodra_xe_img/fedora.img'], ['dev', 'sda1'],
> ['mode', 'w']]], ['device', ['vif']], ['state', '-b----'],
> ['shutdown_reason', 'poweroff'], ['cpu_time', '20.368170395'],
> ['vcpus', '1'], ['up_time', '65.5256397724'], ['start_time',
> '1132058284.95'], ['store_mfn', '11772'], ['console_mfn', '11771']])
> [2005-11-15 14:39:10 xend.XendDomainInfo] DEBUG (XendDomainInfo:254)
> parseConfig: config is ['domain', ['domid', '1'], ['name', 'myDomU'],
> ['uuid', '9b2be408-325f-17ef-af34-249571f77145'], ['ssidref', '0'],
> ['vcpus', '1'], ['vcpu_avail', '1'], ['cpu_weight', '1.0'], ['memory',
> '32'], ['maxmem', '32'], ['on_poweroff', 'destroy'], ['on_reboot',
> 'restart'], ['on_crash', 'restart'], ['image', ['linux', ['kernel',
> '/boot/vmlinuz-2.6.12.6-xen0'], ['root', '/dev/sda1'], ['vcpus', '1'],
> ['vcpus', '1'], ['boot', 'c']]], ['device', ['vbd', ['uname',
> 'file:/work/dev/tests/feodra_xe_img/fedora.img'], ['dev', 'sda1'],
> ['mode', 'w']]], ['device', ['vif']], ['state', '-b----'],
> ['shutdown_reason', 'poweroff'], ['cpu_time', '20.368170395'],
> ['vcpus', '1'], ['up_time', '65.5256397724'], ['start_time',
> '1132058284.95'], ['store_mfn', '11772'], ['console_mfn', '11771']]
> [2005-11-15 14:39:10 xend.XendDomainInfo] DEBUG (XendDomainInfo:308)
> parseConfig: result is {'ssidref': 0, 'name': 'myDomU', 'bootloader':
> None, 'on_reboot': 'restart', 'image': ['linux', ['kernel',
> '/boot/vmlinuz-2.6.12.6-xen0'], ['root', '/dev/sda1'], ['vcpus', '1'],
> ['vcpus', '1'], ['boot', 'c']], 'on_poweroff': 'destroy', 'on_crash':
> 'restart', 'backend': [], 'vcpus': 1, 'cpu_weight': 1.0, 'vcpu_avail':
> 1, 'memory': 32, 'device': [('vbd', ['vbd', ['uname',
> 'file:/work/dev/tests/feodra_xe_img/fedora.img'], ['dev', 'sda1'],
> ['mode', 'w']]), ('vif', ['vif'])], 'maxmem': 32, 'cpu': None, 'uuid':
> '9b2be408-325f-17ef-af34-249571f77145'}
> [2005-11-15 14:39:10 xend.XendDomainInfo] DEBUG (XendDomainInfo:1011)
> XendDomainInfo.construct: None 0
> [2005-11-15 14:39:10 xend.XendDomainInfo] DEBUG (XendDomainInfo:549)
> Storing VM details: {'ssidref': '0', 'uuid':
> '9b2be408-325f-17ef-af34-249571f77145', 'on_reboot': 'restart',
> 'image': '(linux (kernel /boot/vmlinuz-2.6.12.6-xen0) (root /dev/sda1)
> (vcpus 1) (vcpus 1) (boot c))', 'on_poweroff': 'destroy', 'name':
> 'myDomU', 'vcpus': '1', 'vcpu_avail': '1', 'memory': '32', 'on_crash':
> 'restart', 'maxmem': '32'}
> [2005-11-15 14:39:10 xend] DEBUG (blkif:24) exception looking up
> device number for sda1: [Errno 2] No such file or directory:
> '/dev/sda1'
> [2005-11-15 14:39:10 xend] DEBUG (DevController:286) DevController:
> writing {'virtual-device': '2049', 'backend-id': '0', 'state': '1',
> 'backend': '/local/domain/0/backend/vbd/2/2049'} to
> /local/domain/2/device/vbd/2049.
> [2005-11-15 14:39:10 xend] DEBUG (DevController:288) DevController:
> writing {'domain': 'myDomU', 'params':
> '/work/dev/tests/feodra_xe_img/fedora.img', 'frontend-id': '2',
> 'type': 'file', 'state': '1', 'dev': 'sda1', 'frontend':
> '/local/domain/2/device/vbd/2049'} to
> /local/domain/0/backend/vbd/2/2049.
> [2005-11-15 14:39:10 xend] DEBUG (DevController:286) DevController:
> writing {'backend-id': '0', 'mac': '00:16:3e:1b:9f:77', 'handle': '0',
> 'state': '1', 'backend': '/local/domain/0/backend/vif/2/0'} to
> /local/domain/2/device/vif/0.
> [2005-11-15 14:39:10 xend] DEBUG (DevController:288) DevController:
> writing {'mac': '00:16:3e:1b:9f:77', 'state': '1', 'handle': '0',
> 'script': '/etc/xen/scripts/vif-bridge', 'frontend-id': '2', 'domain':
> 'myDomU', 'frontend': '/local/domain/2/device/vif/0'} to
> /local/domain/0/backend/vif/2/0.
> [2005-11-15 14:39:10 xend.XendDomainInfo] DEBUG (XendDomainInfo:574)
> Storing domain details: {'console/port': '2', 'name': 'myDomU',
> 'console/limit': '1048576', 'vm':
> '/vm/9b2be408-325f-17ef-af34-249571f77145', 'domid': '2',
> 'cpu/0/availability': 'online', 'memory/target': '32768',
> 'store/port': '1'}
> [2005-11-15 14:39:11 xend] ERROR (XendCheckpoint:218) xc_linux_save
> start DOM1 live=false
>
> [2005-11-15 14:39:11 xend] DEBUG (XendCheckpoint:191) suspend
> [2005-11-15 14:39:11 xend] DEBUG (XendCheckpoint:76) In
> saveInputHandler suspend[2005-11-15 14:39:11 xend] DEBUG
> (XendCheckpoint:78) Suspending 1 ...
> [2005-11-15 14:39:11 xend.XendDomainInfo] INFO (XendDomainInfo:701)
> Domain has shutdown: name=migrating-myDomU id=1 reason=suspend.
> [2005-11-15 14:39:11 xend] INFO (XendCheckpoint:81) Domain 1 suspended.
> [2005-11-15 14:39:11 xend] DEBUG (XendCheckpoint:84) Written done
> [2005-11-15 14:39:11 xend] ERROR (XendCheckpoint:218) Had 0
> unexplained entries in p2m table
>
> [2005-11-15 14:39:11 xend] DEBUG (XendCheckpoint:139) [xc_restore]:
> /usr/lib/xen/bin/xc_restore 14 19 2 10240 1 2
> [2005-11-15 14:39:11 xend] ERROR (XendCheckpoint:218) xc_linux_restore
> start: max_pfn = 2800
>
> [2005-11-15 14:39:11 xend] ERROR (XendCheckpoint:218) Failed
> allocation for dom 2: 10240 pages order 0 addr_bits 0
>
> [2005-11-15 14:39:11 xend] ERROR (XendCheckpoint:218) Failed to
> increase reservation by 2800 KB
>
> [2005-11-15 14:39:11 xend] ERROR (XendCheckpoint:218)
>
> [2005-11-15 14:39:11 xend] ERROR (XendCheckpoint:218) Restore exit with rc=1
>
> [2005-11-15 14:39:11 xend.XendDomainInfo] DEBUG (XendDomainInfo:1122)
> XendDomainInfo.destroy: domid=2
> [2005-11-15 14:39:11 xend.XendDomainInfo] DEBUG (XendDomainInfo:1130)
> XendDomainInfo.destroyDomain(2)
> [2005-11-15 14:39:11 xend.XendDomainInfo] ERROR (XendDomainInfo:1136)
> XendDomainInfo.destroy: xc.domain_destroy failed.
> Traceback (most recent call last):
> File "/usr/lib/python/xen/xend/XendDomainInfo.py", line 1134, in
> destroyDomain xc.domain_destroy(dom=self.domid)
> error: (3, 'No such process')
> [2005-11-15 14:39:12 xend] ERROR (XendDomain:255) Restore failed
> Traceback (most recent call last):
> File "/usr/lib/python/xen/xend/XendDomain.py", line 250, in
> domain_restore_fd
> return XendCheckpoint.restore(self, fd)
> File "/usr/lib/python/xen/xend/XendCheckpoint.py", line 143, in restore
> forkHelper(cmd, fd, handler.handler, True)
> File "/usr/lib/python/xen/xend/XendCheckpoint.py", line 209, in forkHelper
> raise XendError("%s failed" % string.join(cmd))
> XendError: /usr/lib/xen/bin/xc_restore 14 19 2 10240 1 2 failed
> [2005-11-15 14:39:37 xend.XendDomainInfo] INFO (XendDomainInfo:701)
> Domain has shutdown: name=migrating-myDomU id=1 reason=suspend.
>
> Regards,
> IB
>
>
> On 11/15/05, Steven Hand <Steven.Hand@xxxxxxxxxxxx> wrote:
> >
> > > Hello,
> > >
> > > I have the latest xen-unstable which
> > > I pulled from the mercurial repository today
> > > (changeset:7793:090e44133d40 from 14/11).
> > > I tried to use migration and it failed.(details are below).
> >
> > What is in /var/log/xend.log on the [source] host?
> >
> > Can you perform a localhost migration with the default xend-config.sxp?
> >
> > What arch are you working with (32, PAE, 64)?
> >
> >
> > cheers,
> >
> > S.
> >
> >
>
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
|