[CRIU] [PATCH v3 0/2] mem: Address kernel's guard page rework

Andrei Vagin avagin at virtuozzo.com
Wed Jun 21 08:22:01 MSK 2017


https://travis-ci.org/avagin/criu/jobs/245211271

======================== Run zdtm/static/fifo_ro in ns =========================
Start test
./fifo_ro --pidfile=fifo_ro.pid --outfile=fifo_ro.out --filename=fifo_ro.test
start time for zdtm/static/fifo_ro: 0.49
Run criu dump
Run criu restore
=[log]=> dump/zdtm/static/fifo_ro/60/1/restore.log
------------------------ grep Error ------------------------
(01.076580)      5: 	premap 0x002b14c40f7000-0x002b14c42f7000 -> 00002b9c2e473000
(01.076619)      5: 	premap 0x002b14c42f7000-0x002b14c42fb000 -> 00002b9c2e673000
(01.076651)      5: 	premap 0x002b14c42fb000-0x002b14c42fd000 -> 00002b9c2e677000
(01.076685)      5: 	premap 0x002b14c42fd000-0x002b14c4302000 -> 00002b9c2e679000
(01.076743)      5: Error (criu/mem.c:726): Unable to remap a private vma: Bad address
(01.078470)      1: Error (criu/cr-restore.c:1469): 5 exited, status=1
(01.152942) uns: calling exit_usernsd (-1, 1)
(01.153054) uns: daemon calls 0x463160 (80, -1, 1)
(01.153075) uns: `- daemon exits w/ 0
(01.154838) uns: daemon stopped
(01.154866) Error (criu/cr-restore.c:2362): Restoring FAILED.
------------------------ ERROR OVER ------------------------
################ Test zdtm/static/fifo_ro FAIL at CRIU restore #################

+ uname -a
Linux testing-gce-0ce6ec49-4be1-43e4-8c69-9800efa28ea9 4.12.0-rc6+ #1 SMP Wed Jun 21 05:00:16 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux

On Wed, Jun 21, 2017 at 12:42:25AM +0300, Cyrill Gorcunov wrote:
> Note that grow_map(x) tests are failing even on its own.
> So we might need to tune them up. The series is on top of
> criu-dev branch.
> 
> Cyrill Gorcunov (2):
>   kerndat: Detect if we have guard page mangle in procfs output
>   mem: Don't assume guard page is returned in procfs with new kernels
> 
>  criu/include/kerndat.h |  1 +
>  criu/include/mem.h     |  2 ++
>  criu/kerndat.c         | 58 ++++++++++++++++++++++++++++++++++++++++++++++++++
>  criu/mem.c             | 19 ++++++++++++-----
>  criu/proc_parse.c      |  6 ++++--
>  5 files changed, 79 insertions(+), 7 deletions(-)
> 
> -- 
> 2.7.5
> 


More information about the CRIU mailing list