* Ckptinfo error i.e unexpected end of file (read 0 of 8) and restart error i.e Bad file discriptor
@ 2012-12-23 7:18 Tanu E
[not found] ` <CAJJ1Xt5gBpz72_64DxCFmHz8UJ1QfVLP_BtfwHMT5bbvZzmOOQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
0 siblings, 1 reply; 2+ messages in thread
From: Tanu E @ 2012-12-23 7:18 UTC (permalink / raw)
To: containers-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA
Hello All,
Please help me to solve the following issue.
while using the restart I am getting error i.e "Bad file discriptor"
also the ckptinfo giving me error i.e unexpected end of file (read 0 of 8)
I followed the below steps:
1. checked out the code from:
linux-cr : http://www.linux-cr.org/git/?p=linux-
cr.git;a=shortlog;h=refs/heads/ckpt-v23-rc2
user-cr : http://www.linux-cr.org/git/?p=user-
cr.git;a=shortlog;h=refs/heads/master
tests-cr : http://www.linux-cr.org/git/?p=tests-
cr.git;a=shortlog;h=refs/heads/master
2. Enabled the following tokens in the ".config" file.
CONFIG_CHECKPOINT_SUPPORT=y
CONFIG_SYSVIPC_CHECKPOINT=y
CONFIG_CHECKPOINT=y
CONFIG_NETNS_CHECKPOINT=y
CONFIG_CHECKPOINT_DEBUG=y
CONFIG_CGROUPS=y
CONFIG_CGROUP_FREEZER=y
CONFIG_NAMESPACES=y
CONFIG_CGROUP_NS=y
CONFIG_UTS_NS=y
CONFIG_IPC_NS=y
CONFIG_USER_NS=y
CONFIG_PID_NS=y
CONFIG_NET_NS=y
CONFIG_FREEZER=y
3. After booting the linux-cr. I run the following test code.
# vim hello.c
int main(void)
{
int i = 0;
while(1)
{
printf(" i = %d\n",i);
sleep(10);
}
}
#./hello &
2224 [1]
#mkdir /cgroup
#mount -t cgroup -o freezer cgroup /cgroup
#mkdir cgroup/cg1
#echo 2224 > /cgroup/cg1
#echo FROZEN > /cgroup/cg1/freezer.state
#./checkpoint 2224 > ckpt.image
#./ckptinfo -ev ckpt.image
info: [@12] object 1 HDR_HEADER len 72
...
unexpected end of file (read 0 of 8)
#echo THAWED > /cgroup/cg1/freezer.state
#./restart < ckpt.image
error "Bad file discriptor"
Please let me know how to fix this issue.
Thanks & Regards,
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Ckptinfo error i.e unexpected end of file (read 0 of 8) and restart error i.e Bad file discriptor
[not found] ` <CAJJ1Xt5gBpz72_64DxCFmHz8UJ1QfVLP_BtfwHMT5bbvZzmOOQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
@ 2013-01-02 14:36 ` Serge Hallyn
0 siblings, 0 replies; 2+ messages in thread
From: Serge Hallyn @ 2013-01-02 14:36 UTC (permalink / raw)
To: Tanu E; +Cc: containers-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA
Quoting Tanu E (tanisshqa-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org):
> Hello All,
Hi,
this work is no longer supported. Please see http://criu.org/Main_Page
for ongoing work.
-serge
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2013-01-02 14:36 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-12-23 7:18 Ckptinfo error i.e unexpected end of file (read 0 of 8) and restart error i.e Bad file discriptor Tanu E
[not found] ` <CAJJ1Xt5gBpz72_64DxCFmHz8UJ1QfVLP_BtfwHMT5bbvZzmOOQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2013-01-02 14:36 ` Serge Hallyn
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.