I haven't looked at the code yet, but since our tty is actually a pts, do you need a different plugin than tty.c to checkpoint it? I think you'll get more useful replies from the criu list.
I do want to get criu+lxc working soon-ish, but other things need to get tidied up first. -serge Quoting Urgen Sherpa ([email protected]): > when i did reboot on container later fllowing error occured > root@ktmnp:/home/nplink/criu-1.1# lxc-info --name test-container > state: RUNNING > pid: 9815 > root@ktmnp:/home/nplink/criu-1.1# ./criu dump -D /dumps/ -o dumps.log -t > 9815 --file-locks --tcp-established > root@ktmnp:/home/nplink/criu-1.1# cat /dumps/dump > dump.log dumps.log > root@ktmnp:/home/nplink/criu-1.1# cat /dumps/dumps.log > Error (parasite-syscall.c:387): si_code=4 si_pid=10087 si_status=5 > Error (parasite-syscall.c:387): si_code=4 si_pid=10091 si_status=5 > Error (parasite-syscall.c:387): si_code=4 si_pid=10092 si_status=5 > Error (tty.c:222): tty: Unexpected format on path /dev/lxc/tty4 > Error (cr-dump.c:1493): Dump files (pid: 10172) failed with -1 > Error (cr-dump.c:1828): Dumping FAILED. > root@ktmnp:/home/nplink/criu-1.1# > > > On Tue, Feb 4, 2014 at 11:54 AM, Urgen Sherpa > <[email protected]>wrote: > > > Hello, > > system used: ubuntu 13.1 X64bit RAM: 2G > > i was trying to check point lxc container(using CRIU which i compiled from > > source). > > steps follwed to check point were:- > > 1# lxc-create -n test-container -t ubuntu > > 2# lxc-start -n test-container (//test-container is ubuntu12.04 > > machine) > > 3)problem := > > root@ktmnp:/home/nplink/criu-1.1# lxc-info -n test-container > > state: RUNNING > > pid: 4643 > > root@ktmnp:/home/nplink/criu-1.1# ./criu dump -t 4643 -D /dumps/ -o > > dump.log --tcp-established --file-locks > > root@ktmnp:/home/nplink/criu-1.1# cat /dumps/dump.log > > Error (sk-netlink.c:77): The socket has data to read > > Error (cr-dump.c:1493): Dump files (pid: 4832) failed with -1 > > Error (cr-dump.c:1828): Dumping FAILED. > > root@ktmnp:/home/nplink/criu-1.1# > > > > any suggestions please > > > > > _______________________________________________ > lxc-users mailing list > [email protected] > http://lists.linuxcontainers.org/listinfo/lxc-users _______________________________________________ lxc-users mailing list [email protected] http://lists.linuxcontainers.org/listinfo/lxc-users
