Wiebe Cazemier
2010-Mar-24 12:29 UTC
[Xen-users] Restoring saved stated results in hanging domain
Hi, I''m having a problem with migrating a domU. I''m merely experimenting with Xen first, so I don''t have any shared storage yet. I merely save the state, copy it to another xen machine and restore it. My problem is that the restored domU hangs. The log /var/log/xen/xend.log doesn''t give an error:> [2010-03-24 13:09:46 2236] DEBUG (XendDomainInfo:1008) Storing domaindetails: {''console/ring-ref'': ''3515'', ''image/entry'': ''3222274048'', ''console/port'': ''2'', ''store/ring-ref'': ''3516'', ''image/loader'': ''generic'', ''vm'': ''/vm/e405eb96-37e7-305e-bd22-5cad6273f3c9'', ''control/platform-feature-multiprocessor-suspend'': ''1'', ''image/hv-start-low'': ''4118806528'', ''image/guest-os'': ''linux'', ''image/features/writable-descriptor-tables'': ''1'', ''image/virt-base'': ''3221225472'', ''memory/target'': ''131072'', ''image/guest-version'': ''2.6'', ''image/features/supervisor-mode-kernel'': ''1'', ''image/pae-mode'': ''yes'', ''console/limit'': ''1048576'', ''image/paddr-offset'': ''0'', ''image/hypercall-page'': ''3222278144'', ''image/suspend-cancel'': ''1'', ''cpu/0/availability'': ''online'', ''image/features/pae-pgdir-above-4gb'': ''1'', ''image/features/writable-page-tables'': ''1'', ''console/type'': ''xenconsoled'', ''image/features/auto-translated-physmap'': ''1'', ''name'': ''virtualnode'', ''domid'': ''1'', ''image/xen-version'': ''xen-3.0'', ''store/port'': ''1''}> [2010-03-24 13:09:46 2236] DEBUG (XendDomainInfo:1851)XendDomainInfo.completeRestore done> [2010-03-24 13:09:46 2236] DEBUG (XendDomainInfo:1092)XendDomainInfo.handleShutdownWatch> [2010-03-24 13:09:46 2236] DEBUG (DevController:151) Waiting for devices vif. > [2010-03-24 13:09:46 2236] DEBUG (DevController:156) Waiting for 0. > [2010-03-24 13:09:46 2236] DEBUG (DevController:595)hotplugStatusCallback /local/domain/0/backend/vif/1/0/hotplug-status.> [2010-03-24 13:09:46 2236] DEBUG (DevController:609) hotplugStatusCallback 1. > [2010-03-24 13:09:46 2236] DEBUG (DevController:151) Waiting for devices vbd. > [2010-03-24 13:09:46 2236] DEBUG (DevController:156) Waiting for 2049. > [2010-03-24 13:09:46 2236] DEBUG (DevController:595)hotplugStatusCallback /local/domain/0/backend/vbd/1/2049/hotplug-status.> [2010-03-24 13:09:46 2236] DEBUG (DevController:609) hotplugStatusCallback 1. > [2010-03-24 13:09:46 2236] DEBUG (DevController:156) Waiting for 2050. > [2010-03-24 13:09:46 2236] DEBUG (DevController:595)hotplugStatusCallback /local/domain/0/backend/vbd/1/2050/hotplug-status.> [2010-03-24 13:09:46 2236] DEBUG (DevController:609) hotplugStatusCallback 1. > [2010-03-24 13:09:46 2236] DEBUG (DevController:151) Waiting for devices irq. > [2010-03-24 13:09:46 2236] DEBUG (DevController:151) Waiting for devicesvkbd.> [2010-03-24 13:09:46 2236] DEBUG (DevController:151) Waiting for devices vfb. > [2010-03-24 13:09:46 2236] DEBUG (DevController:151) Waiting for devicesconsole.> [2010-03-24 13:09:46 2236] DEBUG (DevController:156) Waiting for 0. > [2010-03-24 13:09:46 2236] DEBUG (DevController:151) Waiting for devices pci. > [2010-03-24 13:09:46 2236] DEBUG (DevController:151) Waiting for devicesioports.> [2010-03-24 13:09:46 2236] DEBUG (DevController:151) Waiting for devices tap. > [2010-03-24 13:09:46 2236] DEBUG (DevController:151) Waiting for devicesvtpm. This supposedly means the migration was successful, but I can''t reach it network devices and trying to attach a console with "xm console" also hangs (which I can escape with ctrl-]). xm list shows: Name ID Mem VCPUs State Time(s) Domain-0 0 176 1 r----- 865.6 virtualnode 1 128 1 -b---- 0.0 network device was created: vif1.0 Link encap:Ethernet HWaddr fe:ff:ff:ff:ff:ff inet6 addr: fe80::fcff:ffff:feff:ffff/64 Scope:Link UP BROADCAST RUNNING PROMISC MULTICAST MTU:1500 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:0 errors:0 dropped:69 overruns:0 carrier:0 collisions:0 txqueuelen:32 RX bytes:0 (0.0 B) TX bytes:0 (0.0 B) All of that output is the same as on the node on which it does work, excep that the time is not 0.0. Any idea what''s going on? _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Wiebe Cazemier
2010-Mar-24 14:24 UTC
[Xen-users] Re: Restoring saved stated results in hanging domain
On Wednesday 24 March 2010 13:29, Wiebe Cazemier wrote:> Hi, > > I''m having a problem with migrating a domU...As addendum: I have xen-hypervisor-3.2-1-i386, kernel linux-image-2.6.26-2-xen-686. Both machines are Debian Lenny. One is an Athlon XP 1600+ with 512 MB RAM, the other a Celeron 400 with 384 MB RAM. _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Wiebe Cazemier
2010-Mar-24 14:31 UTC
[Xen-users] Re: Restoring saved stated results in hanging domain
On Wednesday 24 March 2010 15:24, Wiebe Cazemier wrote:> On Wednesday 24 March 2010 13:29, Wiebe Cazemier wrote: > >> Hi, >> >> I''m having a problem with migrating a domU... > > As addendum: >As another addendum: [1] states: "Both systems must be running compatible processors.". When are processors compatible? In my case they differ quite a bit, but they still are i686. [1] Also shows a xend.log after a succesful migration. Mine looks like that. Incompatible CPU''s would have been logged, I presume? [1] http://www.virtuatopia.com/index.php/Migrating_Xen_domainU_Guests_Between_Host_Systems _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Pasi Kärkkäinen
2010-Mar-24 15:49 UTC
Re: [Xen-users] Re: Restoring saved stated results in hanging domain
On Wed, Mar 24, 2010 at 03:24:02PM +0100, Wiebe Cazemier wrote:> On Wednesday 24 March 2010 13:29, Wiebe Cazemier wrote: > > > Hi, > > > > I''m having a problem with migrating a domU... > > As addendum: > > I have xen-hypervisor-3.2-1-i386, kernel linux-image-2.6.26-2-xen-686. Both > machines are Debian Lenny. One is an Athlon XP 1600+ with 512 MB RAM, the > other a Celeron 400 with 384 MB RAM. >linux-image-2.6.26-2-xen from lenny is known to be broken related to live migrations, at least many users have reported problems with it. Please try with some other domU kernel.. maybe linux-image-2.6.18-6-xen from etch, or even better, http://xenbits.xen.org/linux-2.6.18-xen.hg or kernel.org pvops 2.6.32.10. -- Pasi _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Wiebe Cazemier
2010-Mar-24 17:36 UTC
[Xen-users] Re: Re: Restoring saved stated results in hanging domain
On Wednesday 24 March 2010 16:49, Pasi Kärkkäinen wrote:> linux-image-2.6.26-2-xen from lenny is known to be broken related to live > migrations, at least many users have reported problems with it. > > Please try with some other domU kernel.. maybe linux-image-2.6.18-6-xen from > etch, or even better, http://xenbits.xen.org/linux-2.6.18-xen.hg or > kernel.org pvops 2.6.32.10. > > -- PasiAfter some research ([1] [2]), it seems that people are having difficulty with saving. I can save and restore on the same machine just fine. It''s when I try to restore on another machine that is fails. And, it fails silently, no error whatsoever. However, since I do run the system that fails according to [1], why does save work OK? [1] http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=526695 [2] http://readlist.com/lists/lists.xensource.com/xen-users/4/24225.html _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users