[CRIU] Checkpoint/Restore LXC container with CRIU on a raspberry pi 2

Cyrill Gorcunov gorcunov at gmail.com
Tue Jun 14 11:45:16 PDT 2016


On Tue, Jun 14, 2016 at 12:39:50PM -0600, Tycho Andersen wrote:
> On Tue, Jun 14, 2016 at 08:25:32PM +0200, alex vk wrote:
> > Hi again,
> > 
> > I removed the 'lxc.console=none' from the config file, and the output of
> > the tty.info is  "tty[8801:b]"
> > 
> > However the restore now fails with this message :
> > 
> > pie: 1: Error (pie/restorer.c:888): Can't restore ticks/time for timer>
> > pie: 1: fd - 0
> > pie: 1: Error (pie/restorer.c:1408): Can't restore timerfd -22
> 
> It looks like the only way you'd get this is if the fd passed to
> timerfd_settime was not a real timerfd. (at least based on
> https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=5442e9fbd
> and the check for t->ticks in the CRIU code the EINVAL you get should
> come from timerfd_settime).

Not only. EINVAL comes from flags and settings too. So timerfd.img might help here.

> 
> Can you give the output of `crit show fdinfo-$id.img` for all your
> fdinfo images?
> 
> I'm also CCing Cyrill, maybe he has a better idea :)




More information about the CRIU mailing list