Artur Linhart - Linux communication
2007-Mar-07 10:55 UTC
[Xen-users] Problems saving domain
Hello, I have the problems if I want to save the running domU on Xen 3.0.4.1 - the save always fails. In the xen log there i found following debug info: [2007-03-07 11:19:10 xend 3396] DEBUG (XendCheckpoint:80) [xc_save]: /usr/lib64/xen/bin/xc_save 18 5 0 0 0 [2007-03-07 11:19:10 xend.XendDomainInfo 3396] DEBUG (XendDomainInfo:731) Storing domain details: {\047console/port\047: \0473\047, \047name\047: \047migrating-vm_w2ksrv_01\047, \047console/limit\047: \0471048576\047, \047vm\047: \047/vm/8645c693-e2c4-0d28-c0dc-2a2ae3781546\047, \047domid\047: \0475\047, \047cpu/0/availability\047: \047online\047, \047memory/target\047: \047200704\047, \047store/ring-ref\047: \04750174\047, \047store/port\047: \0472\047} [2007-03-07 11:19:10 xend 3396] INFO (XendCheckpoint:247) ERROR Internal error: Couldn\047t map p2m_frame_list [2007-03-07 11:19:10 xend 3396] INFO (XendCheckpoint:247) Save exit rc=1 [2007-03-07 11:19:10 xend 3396] ERROR (XendCheckpoint:111) Save failed on domain vm_w2ksrv_01 (5). Traceback (most recent call last): File "/usr/lib64/python/xen/xend/XendCheckpoint.py", line 97, in save forkHelper(cmd, fd, saveInputHandler, False) File "/usr/lib64/python/xen/xend/XendCheckpoint.py", line 235, in forkHelper raise XendError("%s failed" % string.join(cmd)) XendError: /usr/lib64/xen/bin/xc_save 18 5 0 0 0 failed [2007-03-07 11:19:10 xend.XendDomainInfo 3396] DEBUG (XendDomainInfo:731) Storing domain details: {\047console/port\047: \0473\047, \047name\047: \047vm_w2ksrv_01\047, \047console/limit\047: \0471048576\047, \047vm\047: \047/vm/8645c693-e2c4-0d28-c0dc-2a2ae3781546\047, \047domid\047: \0475\047, \047cpu/0/availability\047: \047online\047, \047memory/target\047: \047200704\047, \047store/ring-ref\047: \04750174\047, \047store/port\047: \0472\047} The Problems occurs even if the targent domain is w2k server 32 bit or w2k3 server 64 bit, no difference (maybe the numbers behind the "save" are different by the given two domains... I have enough space on the disk etc. Does anybody has a solution for it? Is it my or xen error? I uer as dom0 Ubuntu Dapper 6.06 Thanx in advance for help, Archie. _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
> -----Original Message----- > From: xen-users-bounces@lists.xensource.com > [mailto:xen-users-bounces@lists.xensource.com] On Behalf Of > Artur Linhart - Linux communication > Sent: 07 March 2007 10:55 > To: xen-users@lists.xensource.com > Subject: [Xen-users] Problems saving domain > > Hello, > > > > I have the problems if I want to save the running > domU on Xen 3.0.4.1 - the save always fails. In the xen log > there i found following debug info: > > > > [2007-03-07 11:19:10 xend 3396] DEBUG (XendCheckpoint:80) > [xc_save]: /usr/lib64/xen/bin/xc_save 18 5 0 0 0 > > [2007-03-07 11:19:10 xend.XendDomainInfo 3396] DEBUG > (XendDomainInfo:731) Storing domain details: > {\047console/port\047: \0473\047, \047name\047: > \047migrating-vm_w2ksrv_01\047, \047console/limit\047: > \0471048576\047, \047vm\047: > \047/vm/8645c693-e2c4-0d28-c0dc-2a2ae3781546\047, > \047domid\047: \0475\047, \047cpu/0/availability\047: > \047online\047, \047memory/target\047: \047200704\047, > \047store/ring-ref\047: \04750174\047, \047store/port\047: \0472\047}Does vm_w2ksrv_01 mean that this is a Windows guest -> a HVM guest? In that case it''s not "supposed to work". The code to implement HVM save/restore was introduced into unstable a few weeks back. It works most of the time at present, but there are a few bugs to fix still - in particular, fixing that a domain may be in the middle of a IO transaction when it gets stopped - the current code in xen-unstable isn''t coping with this very well... There is work in progress to fix this... I think this is a "required" feature for 3.0.5, so 3.0.5 should have working save/restore - Live migration may or may not be included in that. -- Mats -- Mats _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Artur Linhart - Linux communication
2007-Mar-08 07:44 UTC
RE: [Xen-users] Problems saving domain
Hi Mats, Thank You for the answer. Yes, it is Windows on HVM. With linux as domU it works OK. So it is clear. I have also the problem with the shutdown of such windows domain - the VM is always "turned off", so Windows are not shut down correctly (again, with Linux as domU it is no problem). What would You recommend, is there any possibility to get this both functionalities working for windows (also not with HVM), could You point me to some description how to configure it to get it working? Or is the only chance to wait for xen 3.0.5 or maybe later? Thank You very much for response, Archie. -----Original Message----- From: Petersson, Mats [mailto:Mats.Petersson@amd.com] Sent: Wednesday, March 07, 2007 12:11 PM To: Artur Linhart - Linux communication; xen-users@lists.xensource.com Subject: RE: [Xen-users] Problems saving domain> -----Original Message----- > From: xen-users-bounces@lists.xensource.com > [mailto:xen-users-bounces@lists.xensource.com] On Behalf Of > Artur Linhart - Linux communication > Sent: 07 March 2007 10:55 > To: xen-users@lists.xensource.com > Subject: [Xen-users] Problems saving domain > > Hello, > > > > I have the problems if I want to save the running > domU on Xen 3.0.4.1 - the save always fails. In the xen log > there i found following debug info: > > > > [2007-03-07 11:19:10 xend 3396] DEBUG (XendCheckpoint:80) > [xc_save]: /usr/lib64/xen/bin/xc_save 18 5 0 0 0 > > [2007-03-07 11:19:10 xend.XendDomainInfo 3396] DEBUG > (XendDomainInfo:731) Storing domain details: > {\047console/port\047: \0473\047, \047name\047: > \047migrating-vm_w2ksrv_01\047, \047console/limit\047: > \0471048576\047, \047vm\047: > \047/vm/8645c693-e2c4-0d28-c0dc-2a2ae3781546\047, > \047domid\047: \0475\047, \047cpu/0/availability\047: > \047online\047, \047memory/target\047: \047200704\047, > \047store/ring-ref\047: \04750174\047, \047store/port\047: \0472\047}Does vm_w2ksrv_01 mean that this is a Windows guest -> a HVM guest? In that case it''s not "supposed to work". The code to implement HVM save/restore was introduced into unstable a few weeks back. It works most of the time at present, but there are a few bugs to fix still - in particular, fixing that a domain may be in the middle of a IO transaction when it gets stopped - the current code in xen-unstable isn''t coping with this very well... There is work in progress to fix this... I think this is a "required" feature for 3.0.5, so 3.0.5 should have working save/restore - Live migration may or may not be included in that. -- Mats -- Mats __________ Informace od NOD32 2101 (20070307) __________ Tato zprava byla proverena antivirovym systemem NOD32. http://www.nod32.cz _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
> -----Original Message----- > From: Artur Linhart - Linux communication > [mailto:AL.LINUX@bcpraha.com] > Sent: 08 March 2007 07:44 > To: Petersson, Mats; xen-users@lists.xensource.com > Subject: RE: [Xen-users] Problems saving domain > > > Hi Mats, > > Thank You for the answer. Yes, it is Windows on HVM. With > linux as domU it > works OK. So it is clear. > I have also the problem with the shutdown of such windows > domain - the VM is > always "turned off", so Windows are not shut down correctly > (again, with > Linux as domU it is no problem). > > What would You recommend, is there any possibility to get this both > functionalities working for windows (also not with HVM), > could You point me > to some description how to configure it to get it working? Or > is the only > chance to wait for xen 3.0.5 or maybe later?Since Windows only works in HVM mode, it''s not possible to get this working "by configuration". The code needed to save/restore HVM domains isn''t there in 3.0.4, it''s only present in the "unstable" version of Xen. This version will become 3.0.5 in the next few weeks or so. I was the one who wrote the code to save the AMD CPU context, so I should know ;-) As to power-off in Windows, I thought that worked, but maybe there are different variants of how this works, which work differently - or maybe because I''ve been running unstable for several months, and it certainly works in unstable (well, I''ve never really done anything other than unstable, as I''m a Xen kernel developer when I''m not responding to posts here - there''s rarely much point in running the "released" version when you want to add new code to Xen) -- Mats> > Thank You very much for response, > > Archie. > > -----Original Message----- > From: Petersson, Mats [mailto:Mats.Petersson@amd.com] > Sent: Wednesday, March 07, 2007 12:11 PM > To: Artur Linhart - Linux communication; xen-users@lists.xensource.com > Subject: RE: [Xen-users] Problems saving domain > > > -----Original Message----- > > From: xen-users-bounces@lists.xensource.com > > [mailto:xen-users-bounces@lists.xensource.com] On Behalf Of > > Artur Linhart - Linux communication > > Sent: 07 March 2007 10:55 > > To: xen-users@lists.xensource.com > > Subject: [Xen-users] Problems saving domain > > > > Hello, > > > > > > > > I have the problems if I want to save the running > > domU on Xen 3.0.4.1 - the save always fails. In the xen log > > there i found following debug info: > > > > > > > > [2007-03-07 11:19:10 xend 3396] DEBUG (XendCheckpoint:80) > > [xc_save]: /usr/lib64/xen/bin/xc_save 18 5 0 0 0 > > > > [2007-03-07 11:19:10 xend.XendDomainInfo 3396] DEBUG > > (XendDomainInfo:731) Storing domain details: > > {\047console/port\047: \0473\047, \047name\047: > > \047migrating-vm_w2ksrv_01\047, \047console/limit\047: > > \0471048576\047, \047vm\047: > > \047/vm/8645c693-e2c4-0d28-c0dc-2a2ae3781546\047, > > \047domid\047: \0475\047, \047cpu/0/availability\047: > > \047online\047, \047memory/target\047: \047200704\047, > > \047store/ring-ref\047: \04750174\047, \047store/port\047: > \0472\047} > > Does vm_w2ksrv_01 mean that this is a Windows guest -> a HVM guest? In > that case it''s not "supposed to work". The code to implement HVM > save/restore was introduced into unstable a few weeks back. It works > most of the time at present, but there are a few bugs to fix > still - in > particular, fixing that a domain may be in the middle of a IO > transaction when it gets stopped - the current code in xen-unstable > isn''t coping with this very well... There is work in progress to fix > this... I think this is a "required" feature for 3.0.5, so > 3.0.5 should > have working save/restore - Live migration may or may not be > included in > that. > > -- > Mats > > -- > Mats > > > > __________ Informace od NOD32 2101 (20070307) __________ > > Tato zprava byla proverena antivirovym systemem NOD32. > http://www.nod32.cz > > > > >_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Artur Linhart - Linux communication
2007-Mar-08 09:56 UTC
RE: [Xen-users] Problems saving domain
Hello, Ok, clear. Thank You for Your work and for Your engagement how You help us using xen :-) Sincerelly, Archie -----Original Message----- From: Petersson, Mats [mailto:Mats.Petersson@amd.com] Sent: Thursday, March 08, 2007 10:41 AM To: Artur Linhart - Linux communication; xen-users@lists.xensource.com Subject: RE: [Xen-users] Problems saving domain> -----Original Message----- > From: Artur Linhart - Linux communication > [mailto:AL.LINUX@bcpraha.com] > Sent: 08 March 2007 07:44 > To: Petersson, Mats; xen-users@lists.xensource.com > Subject: RE: [Xen-users] Problems saving domain > > > Hi Mats, > > Thank You for the answer. Yes, it is Windows on HVM. With > linux as domU it > works OK. So it is clear. > I have also the problem with the shutdown of such windows > domain - the VM is > always "turned off", so Windows are not shut down correctly > (again, with > Linux as domU it is no problem). > > What would You recommend, is there any possibility to get this both > functionalities working for windows (also not with HVM), > could You point me > to some description how to configure it to get it working? Or > is the only > chance to wait for xen 3.0.5 or maybe later?Since Windows only works in HVM mode, it''s not possible to get this working "by configuration". The code needed to save/restore HVM domains isn''t there in 3.0.4, it''s only present in the "unstable" version of Xen. This version will become 3.0.5 in the next few weeks or so. I was the one who wrote the code to save the AMD CPU context, so I should know ;-) As to power-off in Windows, I thought that worked, but maybe there are different variants of how this works, which work differently - or maybe because I''ve been running unstable for several months, and it certainly works in unstable (well, I''ve never really done anything other than unstable, as I''m a Xen kernel developer when I''m not responding to posts here - there''s rarely much point in running the "released" version when you want to add new code to Xen) -- Mats> > Thank You very much for response, > > Archie. > > -----Original Message----- > From: Petersson, Mats [mailto:Mats.Petersson@amd.com] > Sent: Wednesday, March 07, 2007 12:11 PM > To: Artur Linhart - Linux communication; xen-users@lists.xensource.com > Subject: RE: [Xen-users] Problems saving domain > > > -----Original Message----- > > From: xen-users-bounces@lists.xensource.com > > [mailto:xen-users-bounces@lists.xensource.com] On Behalf Of > > Artur Linhart - Linux communication > > Sent: 07 March 2007 10:55 > > To: xen-users@lists.xensource.com > > Subject: [Xen-users] Problems saving domain > > > > Hello, > > > > > > > > I have the problems if I want to save the running > > domU on Xen 3.0.4.1 - the save always fails. In the xen log > > there i found following debug info: > > > > > > > > [2007-03-07 11:19:10 xend 3396] DEBUG (XendCheckpoint:80) > > [xc_save]: /usr/lib64/xen/bin/xc_save 18 5 0 0 0 > > > > [2007-03-07 11:19:10 xend.XendDomainInfo 3396] DEBUG > > (XendDomainInfo:731) Storing domain details: > > {\047console/port\047: \0473\047, \047name\047: > > \047migrating-vm_w2ksrv_01\047, \047console/limit\047: > > \0471048576\047, \047vm\047: > > \047/vm/8645c693-e2c4-0d28-c0dc-2a2ae3781546\047, > > \047domid\047: \0475\047, \047cpu/0/availability\047: > > \047online\047, \047memory/target\047: \047200704\047, > > \047store/ring-ref\047: \04750174\047, \047store/port\047: > \0472\047} > > Does vm_w2ksrv_01 mean that this is a Windows guest -> a HVM guest? In > that case it''s not "supposed to work". The code to implement HVM > save/restore was introduced into unstable a few weeks back. It works > most of the time at present, but there are a few bugs to fix > still - in > particular, fixing that a domain may be in the middle of a IO > transaction when it gets stopped - the current code in xen-unstable > isn''t coping with this very well... There is work in progress to fix > this... I think this is a "required" feature for 3.0.5, so > 3.0.5 should > have working save/restore - Live migration may or may not be > included in > that. > > -- > Mats > > -- > Mats > > > > __________ Informace od NOD32 2101 (20070307) __________ > > Tato zprava byla proverena antivirovym systemem NOD32. > http://www.nod32.cz > > > > >__________ Informace od NOD32 2102 (20070308) __________ Tato zprava byla proverena antivirovym systemem NOD32. http://www.nod32.cz _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users