xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
* [xm save --checkpoint problem]
@ 2010-06-21 17:46 박은병
  2010-06-22 12:08 ` 박은병
  0 siblings, 1 reply; 4+ messages in thread
From: 박은병 @ 2010-06-21 17:46 UTC (permalink / raw)
  To: xen-devel


[-- Attachment #1.1: Type: text/plain, Size: 5107 bytes --]

I posted 'xm save --checkpoint' problem in the past.

just snapshot with 'xm save' works well.

but live checkpoint 'xm save --checkpoint' command doesn't work well.
As you know, '-c' option means "leaving domain running after creating
snapshot"

but after checkpointing, domU state is bad

xm console [domain] after checkpointing,

WARNING: g.e. still in use!
WARNING: g.e. still in use!
WARNING: g.e. still in use!
WARNING: g.e. still in use!

domU login prompt following this message appeared.
And, I try to login my guest domU, domU does not show any responses.

after destroy domU, I try to restore by snapshoted file and it seems to work
well.

I have tested xen 3.4.2 with pvops 2.6.31.6,
and now, xen-unstable 4.1 with pvops 2.6.32.15 also have same problem
my disribution is ubuntu 9.10 karmic server

I snapshoted the guest disk image (lvm) by applying following scripts
http://lists.xensource.com/archives/html/xen-devel/2007-06/msg00732.html

my /var/log/xen/xend.log

[2010-06-22 02:33:06 3161] INFO (DevController:361) Calling external
migration tool for step 1
[2010-06-22 02:33:07 3161] INFO (DevController:365) Calling VBD migration
script: /root/xen/domainU/ubuntu1-0622023306 ubuntu1 1
[2010-06-22 02:33:07 3161] INFO (DevController:361) Calling external
migration tool for step 1
[2010-06-22 02:33:07 3161] INFO (DevController:365) Error: Could not find
script '/etc/xen/scripts/vif-migration.sh'
[2010-06-22 02:33:07 3161] DEBUG (XendCheckpoint:124) [xc_save]:
/usr/lib/xen/bin/xc_save 37 8 0 0 0
[2010-06-22 02:33:07 3161] INFO (XendCheckpoint:408) xc_save: failed to get
the suspend evtchn port
[2010-06-22 02:33:07 3161] INFO (XendCheckpoint:408)
[2010-06-22 02:33:07 3161] DEBUG (XendCheckpoint:379) suspend
[2010-06-22 02:33:07 3161] DEBUG (XendCheckpoint:127) In saveInputHandler
suspend
[2010-06-22 02:33:07 3161] DEBUG (XendCheckpoint:129) Suspending 8 ...
[2010-06-22 02:33:07 3161] DEBUG (XendDomainInfo:521)
XendDomainInfo.shutdown(suspend)
[2010-06-22 02:33:07 3161] DEBUG (XendDomainInfo:1877)
XendDomainInfo.handleShutdownWatch
[2010-06-22 02:33:07 3161] DEBUG (XendDomainInfo:1877)
XendDomainInfo.handleShutdownWatch
[2010-06-22 02:33:07 3161] INFO (XendDomainInfo:2074) Domain has shutdown:
name=migrating-ubuntu1 id=8 reason=suspend.
[2010-06-22 02:33:07 3161] INFO (DevController:361) Calling external
migration tool for step 2
[2010-06-22 02:33:08 3161] INFO (DevController:365) Calling VBD migration
script: /root/xen/domainU/ubuntu1-0622023306 ubuntu1 2
[2010-06-22 02:33:08 3161] INFO (DevController:365) File descriptor 3 left
open
[2010-06-22 02:33:08 3161] INFO (DevController:365) File descriptor 18 left
open
[2010-06-22 02:33:08 3161] INFO (DevController:365) File descriptor 19 left
open
[2010-06-22 02:33:08 3161] INFO (DevController:365) File descriptor 20 left
open
[2010-06-22 02:33:08 3161] INFO (DevController:365) File descriptor 21 left
open
[2010-06-22 02:33:08 3161] INFO (DevController:365) File descriptor 22 left
open
[2010-06-22 02:33:08 3161] INFO (DevController:365) File descriptor 23 left
open
[2010-06-22 02:33:08 3161] INFO (DevController:365) File descriptor 24 left
open
[2010-06-22 02:33:08 3161] INFO (DevController:365) File descriptor 25 left
open
[2010-06-22 02:33:08 3161] INFO (DevController:365) File descriptor 26 left
open
[2010-06-22 02:33:08 3161] INFO (DevController:365) File descriptor 27 left
open
[2010-06-22 02:33:08 3161] INFO (DevController:365) File descriptor 28 left
open
[2010-06-22 02:33:08 3161] INFO (DevController:365) File descriptor 29 left
open
[2010-06-22 02:33:08 3161] INFO (DevController:365) File descriptor 36 left
open
[2010-06-22 02:33:08 3161] INFO (DevController:365) File descriptor 37 left
open
[2010-06-22 02:33:08 3161] INFO (DevController:365) File descriptor 40 left
open
[2010-06-22 02:33:08 3161] INFO (DevController:365) File descriptor 41 left
open
[2010-06-22 02:33:08 3161] INFO (DevController:365) File descriptor 43 left
open
[2010-06-22 02:33:08 3161] INFO (DevController:365)   Logical volume
"ubuntu1-0622023306" created
[2010-06-22 02:33:08 3161] INFO (DevController:361) Calling external
migration tool for step 2
[2010-06-22 02:33:08 3161] INFO (DevController:365) Error: Could not find
script '/etc/xen/scripts/vif-migration.sh'
[2010-06-22 02:33:08 3161] INFO (XendCheckpoint:135) Domain 8 suspended.
[2010-06-22 02:33:08 3161] INFO (DevController:361) Calling external
migration tool for step 3
[2010-06-22 02:33:08 3161] INFO (DevController:365) Calling VBD migration
script: /root/xen/domainU/ubuntu1-0622023306 ubuntu1 3
[2010-06-22 02:33:08 3161] INFO (DevController:361) Calling external
migration tool for step 3
[2010-06-22 02:33:09 3161] INFO (DevController:365) Error: Could not find
script '/etc/xen/scripts/vif-migration.sh'
[2010-06-22 02:33:09 3161] DEBUG (XendCheckpoint:144) Written done
[2010-06-22 02:33:28 3161] DEBUG (XendDomainInfo:3131)
XendDomainInfo.resumeDomain(8)
[2010-06-22 02:33:28 3161] DEBUG (XendDomainInfo:3172)
XendDomainInfo.resumeDomain: completed

what is the problem??
'xm save --checkpoint' is works well to you??

-- 
Eunbyung Park

[-- Attachment #1.2: Type: text/html, Size: 5581 bytes --]

[-- Attachment #2: Type: text/plain, Size: 138 bytes --]

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [xm save --checkpoint problem]
  2010-06-21 17:46 [xm save --checkpoint problem] 박은병
@ 2010-06-22 12:08 ` 박은병
  2010-06-23 17:19   ` Brendan Cully
  0 siblings, 1 reply; 4+ messages in thread
From: 박은병 @ 2010-06-22 12:08 UTC (permalink / raw)
  To: xen-devel


[-- Attachment #1.1: Type: text/plain, Size: 5896 bytes --]

This is soliloquy....since anyone do not answer..:)..

I have tested same environment except for HVM domU

In HVM domU guests, 'xm save --checkpoint' worked very well.

So, I think that this problem is PV domU's

I searched the xen mailing list, But, any answer could not be found.

Is there anyone who success the 'xm save --checkpoint' command ??

2010/6/22 박은병 <peb1611@gmail.com>

> I posted 'xm save --checkpoint' problem in the past.
>
> just snapshot with 'xm save' works well.
>
> but live checkpoint 'xm save --checkpoint' command doesn't work well.
> As you know, '-c' option means "leaving domain running after creating
> snapshot"
>
> but after checkpointing, domU state is bad
>
> xm console [domain] after checkpointing,
>
> WARNING: g.e. still in use!
> WARNING: g.e. still in use!
> WARNING: g.e. still in use!
> WARNING: g.e. still in use!
>
> domU login prompt following this message appeared.
> And, I try to login my guest domU, domU does not show any responses.
>
> after destroy domU, I try to restore by snapshoted file and it seems to
> work well.
>
> I have tested xen 3.4.2 with pvops 2.6.31.6,
> and now, xen-unstable 4.1 with pvops 2.6.32.15 also have same problem
> my disribution is ubuntu 9.10 karmic server
>
> I snapshoted the guest disk image (lvm) by applying following scripts
> http://lists.xensource.com/archives/html/xen-devel/2007-06/msg00732.html
>
> my /var/log/xen/xend.log
>
> [2010-06-22 02:33:06 3161] INFO (DevController:361) Calling external
> migration tool for step 1
> [2010-06-22 02:33:07 3161] INFO (DevController:365) Calling VBD migration
> script: /root/xen/domainU/ubuntu1-0622023306 ubuntu1 1
> [2010-06-22 02:33:07 3161] INFO (DevController:361) Calling external
> migration tool for step 1
> [2010-06-22 02:33:07 3161] INFO (DevController:365) Error: Could not find
> script '/etc/xen/scripts/vif-migration.sh'
> [2010-06-22 02:33:07 3161] DEBUG (XendCheckpoint:124) [xc_save]:
> /usr/lib/xen/bin/xc_save 37 8 0 0 0
> [2010-06-22 02:33:07 3161] INFO (XendCheckpoint:408) xc_save: failed to get
> the suspend evtchn port
> [2010-06-22 02:33:07 3161] INFO (XendCheckpoint:408)
> [2010-06-22 02:33:07 3161] DEBUG (XendCheckpoint:379) suspend
> [2010-06-22 02:33:07 3161] DEBUG (XendCheckpoint:127) In saveInputHandler
> suspend
> [2010-06-22 02:33:07 3161] DEBUG (XendCheckpoint:129) Suspending 8 ...
> [2010-06-22 02:33:07 3161] DEBUG (XendDomainInfo:521)
> XendDomainInfo.shutdown(suspend)
> [2010-06-22 02:33:07 3161] DEBUG (XendDomainInfo:1877)
> XendDomainInfo.handleShutdownWatch
> [2010-06-22 02:33:07 3161] DEBUG (XendDomainInfo:1877)
> XendDomainInfo.handleShutdownWatch
> [2010-06-22 02:33:07 3161] INFO (XendDomainInfo:2074) Domain has shutdown:
> name=migrating-ubuntu1 id=8 reason=suspend.
> [2010-06-22 02:33:07 3161] INFO (DevController:361) Calling external
> migration tool for step 2
> [2010-06-22 02:33:08 3161] INFO (DevController:365) Calling VBD migration
> script: /root/xen/domainU/ubuntu1-0622023306 ubuntu1 2
> [2010-06-22 02:33:08 3161] INFO (DevController:365) File descriptor 3 left
> open
> [2010-06-22 02:33:08 3161] INFO (DevController:365) File descriptor 18 left
> open
> [2010-06-22 02:33:08 3161] INFO (DevController:365) File descriptor 19 left
> open
> [2010-06-22 02:33:08 3161] INFO (DevController:365) File descriptor 20 left
> open
> [2010-06-22 02:33:08 3161] INFO (DevController:365) File descriptor 21 left
> open
> [2010-06-22 02:33:08 3161] INFO (DevController:365) File descriptor 22 left
> open
> [2010-06-22 02:33:08 3161] INFO (DevController:365) File descriptor 23 left
> open
> [2010-06-22 02:33:08 3161] INFO (DevController:365) File descriptor 24 left
> open
> [2010-06-22 02:33:08 3161] INFO (DevController:365) File descriptor 25 left
> open
> [2010-06-22 02:33:08 3161] INFO (DevController:365) File descriptor 26 left
> open
> [2010-06-22 02:33:08 3161] INFO (DevController:365) File descriptor 27 left
> open
> [2010-06-22 02:33:08 3161] INFO (DevController:365) File descriptor 28 left
> open
> [2010-06-22 02:33:08 3161] INFO (DevController:365) File descriptor 29 left
> open
> [2010-06-22 02:33:08 3161] INFO (DevController:365) File descriptor 36 left
> open
> [2010-06-22 02:33:08 3161] INFO (DevController:365) File descriptor 37 left
> open
> [2010-06-22 02:33:08 3161] INFO (DevController:365) File descriptor 40 left
> open
> [2010-06-22 02:33:08 3161] INFO (DevController:365) File descriptor 41 left
> open
> [2010-06-22 02:33:08 3161] INFO (DevController:365) File descriptor 43 left
> open
> [2010-06-22 02:33:08 3161] INFO (DevController:365)   Logical volume
> "ubuntu1-0622023306" created
> [2010-06-22 02:33:08 3161] INFO (DevController:361) Calling external
> migration tool for step 2
> [2010-06-22 02:33:08 3161] INFO (DevController:365) Error: Could not find
> script '/etc/xen/scripts/vif-migration.sh'
> [2010-06-22 02:33:08 3161] INFO (XendCheckpoint:135) Domain 8 suspended.
> [2010-06-22 02:33:08 3161] INFO (DevController:361) Calling external
> migration tool for step 3
> [2010-06-22 02:33:08 3161] INFO (DevController:365) Calling VBD migration
> script: /root/xen/domainU/ubuntu1-0622023306 ubuntu1 3
> [2010-06-22 02:33:08 3161] INFO (DevController:361) Calling external
> migration tool for step 3
> [2010-06-22 02:33:09 3161] INFO (DevController:365) Error: Could not find
> script '/etc/xen/scripts/vif-migration.sh'
> [2010-06-22 02:33:09 3161] DEBUG (XendCheckpoint:144) Written done
> [2010-06-22 02:33:28 3161] DEBUG (XendDomainInfo:3131)
> XendDomainInfo.resumeDomain(8)
> [2010-06-22 02:33:28 3161] DEBUG (XendDomainInfo:3172)
> XendDomainInfo.resumeDomain: completed
>
> what is the problem??
> 'xm save --checkpoint' is works well to you??
>
> --
> Eunbyung Park
>



-- 
Eunbyung Park

[-- Attachment #1.2: Type: text/html, Size: 6466 bytes --]

[-- Attachment #2: Type: text/plain, Size: 138 bytes --]

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Re: [xm save --checkpoint problem]
  2010-06-22 12:08 ` 박은병
@ 2010-06-23 17:19   ` Brendan Cully
  2010-06-23 17:38     ` Pasi Kärkkäinen
  0 siblings, 1 reply; 4+ messages in thread
From: Brendan Cully @ 2010-06-23 17:19 UTC (permalink / raw)
  To: 박은병; +Cc: xen-devel

On Tuesday, 22 June 2010 at 21:08, 박은병 wrote:
> This is soliloquy....since anyone do not answer..:)..
> 
> I have tested same environment except for HVM domU
> 
> In HVM domU guests, 'xm save --checkpoint' worked very well.
> 
> So, I think that this problem is PV domU's
> 
> I searched the xen mailing list, But, any answer could not be found.
> 
> Is there anyone who success the 'xm save --checkpoint' command ??

It is known not to work with pvops guests. It should be fine for
everything else (i.e., HVM and guests on the 2.6.18 tree).

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Re: [xm save --checkpoint problem]
  2010-06-23 17:19   ` Brendan Cully
@ 2010-06-23 17:38     ` Pasi Kärkkäinen
  0 siblings, 0 replies; 4+ messages in thread
From: Pasi Kärkkäinen @ 2010-06-23 17:38 UTC (permalink / raw)
  To: ?????????, xen-devel

On Wed, Jun 23, 2010 at 10:19:13AM -0700, Brendan Cully wrote:
> On Tuesday, 22 June 2010 at 21:08, ????????? wrote:
> > This is soliloquy....since anyone do not answer..:)..
> > 
> > I have tested same environment except for HVM domU
> > 
> > In HVM domU guests, 'xm save --checkpoint' worked very well.
> > 
> > So, I think that this problem is PV domU's
> > 
> > I searched the xen mailing list, But, any answer could not be found.
> > 
> > Is there anyone who success the 'xm save --checkpoint' command ??
> 
> It is known not to work with pvops guests. It should be fine for
> everything else (i.e., HVM and guests on the 2.6.18 tree).
> 

Any idea what the actual problem is? 

-- Pasi

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2010-06-23 17:38 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-06-21 17:46 [xm save --checkpoint problem] 박은병
2010-06-22 12:08 ` 박은병
2010-06-23 17:19   ` Brendan Cully
2010-06-23 17:38     ` Pasi Kärkkäinen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).