Skip to content

Restore on X86 #19

@blackgeorge-boom

Description

@blackgeorge-boom

Currently, restore on x86 fails with:

sudo ~/TransProc/criu-3.15/criu/criu restore -vvv --shell-job

...
(00.015607)  45496: Found 12 VMAs in image
(00.015611)  45496: vma 0x4f0000 0x4f1000
(00.015612)  45496: vma 0x500000 0x506000
(00.015613)  45496: vma 0x600000 0x602000
(00.015614)  45496: vma 0x700000 0x702000
(00.015616)  45496: vma 0x800000 0x802000
(00.015617)  45496: vma 0x900000 0x901000
(00.015618)  45496: vma 0xa00000 0xa01000
(00.015620)  45496: vma 0xa01000 0xa03000
(00.015621)  45496: vma 0x7ffff7ffb000 0x7ffff7ffe000
(00.015622)  45496: vma 0x7ffff7ffe000 0x7ffff7fff000
(00.015624)  45496: vma 0xffffde6bf000 0xffffde6e0000
(00.015625)  45496: vma 0xffffffffff600000 0xffffffffff601000
(00.015777)  45496: Collect fdinfo pid=45496 fd=0 id=0x2
(00.015783)  45496: Collect fdinfo pid=45496 fd=1 id=0x4
(00.015784)  45496: Collect fdinfo pid=45496 fd=2 id=0x2
(00.016023)  45496: skqueue: Preparing SCMs
(00.016028)  45496: tty: Unpaired slave 0
(00.016031)  45496: tty: ctl tty leader 0x2
(00.016032)  45496: tty: Inherit terminal for id 0x2
(00.016034)  45496: tty: head driver pts id 0x2 index 0 (master 0 sid 37888 pgrp 45632 inherit 1)
(00.016036)  45496: tty: Found orphan slave fake leader (0x2)
(00.016038)  45496: unix: ghost: Resolving addresses
(00.016040)  45496: File descs:
(00.016041)  45496:  `- type 1 ID 0x1
(00.016042)  45496:  `- type 11 ID 0x2
(00.016043)  45496:    `- FD 0 pid 45496
(00.016045)  45496:    `- FD 2 pid 45496
(00.016046)  45496:  `- type 1 ID 0x3
(00.016047)  45496:  `- type 1 ID 0x4
(00.016048)  45496:    `- FD 1 pid 45496
(00.016049)  45496:  `- type 1 ID 0x5
(00.016050)  45496:  `- type 1 ID 0x6
(00.016349)  45496: Opened local page read 1 (parent 0)
(00.016353)  45496: Enqueue page-read
(00.016354)  45496: Enqueue page-read
(00.016355)  45496: Enqueue page-read
(00.016356)  45496: Enqueue page-read
(00.016357)  45496: Enqueue page-read
(00.016358)  45496: Error (criu/mem.c:1092): Trying to restore page for non-private VMA
(00.016359)  45496: Error (criu/mem.c:1221): Page entry address ffffde6dc000 outside of VMA ffffde6bf000-ffffde6e0000
(00.016393) Error (criu/cr-restore.c:2483): Restoring FAILED.

It seems like a similar issue to this: checkpoint-restore/criu#706, although there isn't a clear solution in the thread.

Is restore on x86 possible, from a recoded aarch64 image, or the differences in the vma addresses cause issues?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions