[CRIU] criu check --extra output and dump failure

Dmitry Safonov 0x7f454c46 at gmail.com
Fri Apr 7 06:07:22 PDT 2017


017-04-07 15:40 GMT+03:00 Brinkmann, Harald
<Harald.Brinkmann at bst-international.com>:
>
> Hello,
>
> I am trying to get criu to do something on an "armv7l GNU/Linux"
> platform. I am running a 4.4.8 kernel. I think I successfully selected
> the options you mention in https://criu.org/Installation .
>
> This is what I get when I run the first checks:
>
> root at POWERScope:~ criu check
> Looks good.
> root at POWERScope:~ criu check --extra
> Warn  (criu/cr-check.c:705): Dirty tracking is OFF. Memory snapshot will not work.
> Error (criu/tun.c:61): Can't check tun support: No such file or directory
> Error (criu/cr-check.c:919): cgroupns not supported. This is not fatal.
> Error (criu/cr-check.c:1021): The TCP_REPAIR_WINDOW option isn't supported.
> Error (criu/cr-check.c:965): TCP_REPAIR can't be enabled for half-closed sockets
> Error (criu/cr-check.c:1035): No userns proc file: No such file or directory
> Warn  (criu/cr-check.c:1054): Loginuid restore is OFF.
> Looks good but some kernel features are missing
> which, depending on your process tree, may cause
> dump or restore failure.
>
> Do I need to get worried by this?
>
> It seems I do, because when I run the example on
> https://criu.org/Simple_loop with setsid, even just dumping this simple
> program fails:
>
> root at POWERScope:~ setsid ./test.sh  < /dev/null &> test.log &
> root at POWERScope:~ ps -C test.sh
>   PID TTY          TIME CMD
>   746 ?        00:00:00 test.sh
> [1]+  Done                       setsid ./test.sh 0</dev/null 1>&test.log
> root at POWERScope:~ tail -f test.log
> Wed Apr  5 14:56:35 UTC 2017
> Wed Apr  5 14:56:36 UTC 2017
> Wed Apr  5 14:56:37 UTC 2017
> Wed Apr  5 14:56:38 UTC 2017
> Wed Apr  5 14:56:39 UTC 2017
> Wed Apr  5 14:56:40 UTC 2017
> Wed Apr  5 14:56:42 UTC 2017
> Wed Apr  5 14:56:43 UTC 2017
> Wed Apr  5 14:56:44 UTC 2017
> Wed Apr  5 14:56:45 UTC 2017
> Wed Apr  5 14:56:46 UTC 2017
> Wed Apr  5 14:56:47 UTC 2017
> ^C
> root at POWERScope:~ criu dump -t 746 -vvv -o dump.log && echo OK
> root at POWERScope:~ more dump.log
> (00.001599) Version: 2.12.1 (gitid 0)
> (00.001855) Probing sock diag modules
> (00.002156) Done probing
> (00.093177) Error (criu/util.c:670): exited, status=3
> (00.138497) Error (criu/util.c:670): exited, status=3
> (00.138753) ========================================
> (00.138813) Dumping processes (pid: 746)
> (00.138841) ========================================
> (00.138899) Running pre-dump scripts
> (00.142058) Pagemap is fully functional
> (00.142332) Found anon-shmem device at 5
> (00.142390) Reset 829's dirty tracking
> (00.142555)  ... done
> (00.142767) Dirty tracking support is OFF
> (00.143262) Found task size of 7f000000
> (00.175317) Adjust mmap_min_addr 0x8000 -> 0x10000
> (00.175378) Found mmap_min_addr 0x10000
> (00.175397) irmap: Searching irmap cache in work dir
> (00.176014) No irmap-cache image
> (00.176045) irmap: Searching irmap cache in parent
> (00.186418) irmap: No irmap cache
> (00.186449) cg-prop: Parsing controller "cpu"
> (00.186471) cg-prop:    Strategy "replace"
> (00.186491) cg-prop:    Property "cpu.shares"
> (00.186507) cg-prop:    Property "cpu.cfs_period_us"
> (00.186522) cg-prop:    Property "cpu.cfs_quota_us"
> (00.186538) cg-prop:    Property "cpu.rt_period_us"
> (00.186553) cg-prop:    Property "cpu.rt_runtime_us"
> (00.186577) cg-prop: Parsing controller "memory"
> (00.186602) cg-prop:    Strategy "replace"
> (00.186620) cg-prop:    Property "memory.limit_in_bytes"
> (00.186636) cg-prop:    Property "memory.memsw.limit_in_bytes"
> (00.186651) cg-prop:    Property "memory.swappiness"
> (00.186666) cg-prop:    Property "memory.soft_limit_in_bytes"
> (00.186681) cg-prop:    Property "memory.move_charge_at_immigrate"
> (00.186697) cg-prop:    Property "memory.oom_control"
> (00.186711) cg-prop:    Property "memory.use_hierarchy"
> (00.186726) cg-prop:    Property "memory.kmem.limit_in_bytes"
> (00.186741) cg-prop:    Property "memory.kmem.tcp.limit_in_bytes"
> (00.186756) cg-prop: Parsing controller "cpuset"
> (00.186772) cg-prop:    Strategy "replace"
> (00.186788) cg-prop:    Property "cpuset.cpus"
> (00.186803) cg-prop:    Property "cpuset.mems"
> (00.186817) cg-prop:    Property "cpuset.memory_migrate"
> (00.186833) cg-prop:    Property "cpuset.cpu_exclusive"
> (00.186848) cg-prop:    Property "cpuset.mem_exclusive"
> (00.186863) cg-prop:    Property "cpuset.mem_hardwall"
> (00.186877) cg-prop:    Property "cpuset.memory_spread_page"
> (00.186892) cg-prop:    Property "cpuset.memory_spread_slab"
> (00.186907) cg-prop:    Property "cpuset.sched_load_balance"
> (00.186922) cg-prop:    Property "cpuset.sched_relax_domain_level"
> (00.186937) cg-prop: Parsing controller "blkio"
> (00.186953) cg-prop:    Strategy "replace"
> (00.186970) cg-prop:    Property "blkio.weight"
> (00.186984) cg-prop: Parsing controller "freezer"
> (00.187000) cg-prop:    Strategy "replace"
> (00.187016) cg-prop: Parsing controller "perf_event"
> (00.187032) cg-prop:    Strategy "replace"
> (00.187048) cg-prop: Parsing controller "net_cls"
> (00.187064) cg-prop:    Strategy "replace"
> (00.187080) cg-prop:    Property "net_cls.classid"
> (00.187095) cg-prop: Parsing controller "net_prio"
> (00.187111) cg-prop:    Strategy "replace"
> (00.187126) cg-prop:    Property "net_prio.ifpriomap"
> (00.187142) cg-prop: Parsing controller "pids"
> (00.187158) cg-prop:    Strategy "replace"
> (00.187174) cg-prop:    Property "pids.max"
> (00.187189) cg-prop: Parsing controller "devices"
> (00.187204) cg-prop:    Strategy "replace"
> (00.187220) cg-prop:    Property "devices.list"
> (00.187442) Perparing image inventory (version 1)
> (00.187543) Add pid ns 1 pid 829
> (00.187600) Add net ns 2 pid 829
> (00.187653) Add ipc ns 3 pid 829
> (00.187704) Add uts ns 4 pid 829
> (00.187752) Add mnt ns 5 pid 829
> (00.187787) Add user ns 6 pid 829
> (00.187818) Add cgroup ns 7 pid 829
> (00.187836) cg: Dumping cgroups for 829
> (00.187963) cg:  `- New css ID 1
> (00.187986) cg:     `- [devices] -> [/system.slice/system-sshd.slice] [0]
> (00.188002) cg:     `- [memory] -> [/] [0]
> (00.188017) cg:     `- [name=systemd] -> [/system.slice/system-sshd.slice/sshd at 0-192.168.0.1:22-192.168.0.98:48143.service] [0]
> (00.188031) cg: Set 1 is criu one
> (00.188427) Seized task 746, state 1
> (00.188545) Collected (4 attempts, 0 in_progress)
> (00.188647) Seized task 833, state 0
> (00.189007) Collected (4 attempts, 0 in_progress)
> (00.189127) Collected (4 attempts, 0 in_progress)
> (00.189184) Collected 833 in 1 state
> (00.189316) Collected (3 attempts, 0 in_progress)
> (00.189345) Collected 746 in 1 state
> (00.189750) Lock network
> (00.190127)     type nfs source 192.168.0.98:/root mnt_id 16 s_dev 0x10 / @ ./ flags 0x300000 options vers=3,rsize=4096,wsize=4096,namlen=255,hard,nolock,proto=tcp,port=2049,timeo=600,retrans=2,sec=sys,mountaddr=192.168.0.98,mountvers=3,mountport=2049,mountproto=tcp,local_lock=all,addr=192.168.0.98
> (00.190215)     type devtmpfs source devtmpfs mnt_id 17 s_dev 0x6 / @ ./dev flags 0x300000 options size=316836k,nr_inodes=79209,mode=755
> (00.190269)     type sysfs source sysfs mnt_id 18 s_dev 0x11 / @ ./sys flags 0x30000e options
> (00.190318)     type proc source proc mnt_id 19 s_dev 0x4 / @ ./proc flags 0x30000e options
> (00.190368)     type securityfs source securityfs mnt_id 20 s_dev 0x12 / @ ./sys/kernel/security flags 0x30000e options
> (00.190415)     type tmpfs source tmpfs mnt_id 21 s_dev 0x13 / @ ./dev/shm flags 0x1100006 options
> (00.190473)     type devpts source devpts mnt_id 22 s_dev 0xd / @ ./dev/pts flags 0x30000a options gid=112,mode=620,ptmxmode=000
> (00.190563)     type tmpfs source tmpfs mnt_id 23 s_dev 0x14 / @ ./run flags 0x1100006 options mode=755
> (00.190619)     type tmpfs source tmpfs mnt_id 24 s_dev 0x15 / @ ./sys/fs/cgroup flags 0x110000f options mode=755
> (00.190767)     type cgroup source cgroup mnt_id 25 s_dev 0x16 / @ ./sys/fs/cgroup/systemd flags 0x30000e options xattr,release_agent=/lib/systemd/systemd-cgroups-agent,name=systemd
> (00.190826)     type cgroup source cgroup mnt_id 26 s_dev 0x17 / @ ./sys/fs/cgroup/memory flags 0x30000e options memory
> (00.190878)     type cgroup source cgroup mnt_id 27 s_dev 0x18 / @ ./sys/fs/cgroup/devices flags 0x30000e options devices
> (00.190925)     type mqueue source mqueue mnt_id 28 s_dev 0xe / @ ./dev/mqueue flags 0x300000 options
> (00.190971)     type debugfs source debugfs mnt_id 29 s_dev 0x7 / @ ./sys/kernel/debug flags 0x300000 options
> (00.191019)     type fusectl source fusectl mnt_id 30 s_dev 0x19 / @ ./sys/fs/fuse/connections flags 0x300000 options
> (00.191094)     type tmpfs source tmpfs mnt_id 47 s_dev 0x1a / @ ./tmp flags 0x300006 options size=205488k
> (00.191148)     type tmpfs source tmpfs mnt_id 49 s_dev 0x1b / @ ./var/tmp flags 0x300006 options size=205488k
> (00.191200)     type tmpfs source tmpfs mnt_id 51 s_dev 0x1c / @ ./var/lock flags 0x30000e options size=1024k,mode=755
> (00.191268) mnt: Building mountpoints tree
> (00.191288) mnt:        Building plain mount tree
> (00.191303) mnt:                Working on 51->16
> (00.191318) mnt:                Working on 49->16
> (00.191331) mnt:                Working on 47->16
> (00.191345) mnt:                Working on 30->18
> (00.191359) mnt:                Working on 29->18
> (00.191372) mnt:                Working on 28->17
> (00.191385) mnt:                Working on 27->24
> (00.191398) mnt:                Working on 26->24
> (00.191411) mnt:                Working on 25->24
> (00.191423) mnt:                Working on 24->18
> (00.191436) mnt:                Working on 23->16
> (00.191449) mnt:                Working on 22->17
> (00.191462) mnt:                Working on 21->17
> (00.191475) mnt:                Working on 20->18
> (00.191488) mnt:                Working on 19->16
> (00.191501) mnt:                Working on 18->16
> (00.191514) mnt:                Working on 17->16
> (00.191527) mnt:                Working on 16->0
> (00.191541) mnt:        Resorting siblings on 16
> (00.191554) mnt:        Resorting siblings on 51
> (00.191567) mnt:        Resorting siblings on 49
> (00.191580) mnt:        Resorting siblings on 47
> (00.191593) mnt:        Resorting siblings on 23
> (00.191606) mnt:        Resorting siblings on 19
> (00.191619) mnt:        Resorting siblings on 18
> (00.191632) mnt:        Resorting siblings on 30
> (00.191645) mnt:        Resorting siblings on 29
> (00.191658) mnt:        Resorting siblings on 24
> (00.191670) mnt:        Resorting siblings on 27
> (00.191684) mnt:        Resorting siblings on 26
> (00.191697) mnt:        Resorting siblings on 25
> (00.191711) mnt:        Resorting siblings on 20
> (00.191723) mnt:        Resorting siblings on 17
> (00.191737) mnt:        Resorting siblings on 28
> (00.191751) mnt:        Resorting siblings on 22
> (00.191763) mnt:        Resorting siblings on 21
> (00.191776) mnt: Done:
> (00.191790) mnt: [./](16->0)
> (00.191808) mnt:  [./tmp](47->16)
> (00.191823) mnt:  <--
> (00.191856) mnt:  [./dev](17->16)
> (00.191876) mnt:   [./dev/mqueue](28->17)
> (00.191891) mnt:   <--
> (00.191904) mnt:   [./dev/shm](21->17)
> (00.191919) mnt:   <--
> (00.191932) mnt:   [./dev/pts](22->17)
> (00.191946) mnt:   <--
> (00.191958) mnt:  <--
> (00.191971) mnt:  [./sys](18->16)
> (00.191985) mnt:   [./sys/kernel/debug](29->18)
> (00.191999) mnt:   <--
> (00.192013) mnt:   [./sys/kernel/security](20->18)
> (00.192027) mnt:   <--
> (00.192040) mnt:   [./sys/fs/cgroup](24->18)
> (00.192054) mnt:    [./sys/fs/cgroup/devices](27->24)
> (00.192069) mnt:    <--
> (00.192082) mnt:    [./sys/fs/cgroup/systemd](25->24)
> (00.192096) mnt:    <--
> (00.192109) mnt:    [./sys/fs/cgroup/memory](26->24)
> (00.192124) mnt:    <--
> (00.192136) mnt:   <--
> (00.192149) mnt:   [./sys/fs/fuse/connections](30->18)
> (00.192163) mnt:   <--
> (00.192176) mnt:  <--
> (00.192189) mnt:  [./proc](19->16)
> (00.192203) mnt:  <--
> (00.192216) mnt:  [./run](23->16)
> (00.192230) mnt:  <--
> (00.192242) mnt:  [./var/lock](51->16)
> (00.192256) mnt:  <--
> (00.192269) mnt:  [./var/tmp](49->16)
> (00.192283) mnt:  <--
> (00.192296) mnt: <--
> (00.192355) Collecting netns 2/829
> (00.193396) sk unix:    Collected: ino 0x10ff peer_ino 0 family    1 type    2 state  7 name /run/systemd/journal/dev-log
> (00.193475) sk unix:    Collected: ino 0x1a1a peer_ino 0 family    1 type    1 state 10 name /var/run/dbus/system_bus_socket
> (00.193518) sk unix:    Collected: ino 0x1555 peer_ino 0 family    1 type    2 state  7 name /run/systemd/notify
> (00.193557) sk unix:    Collected: ino 0x1557 peer_ino 0 family    1 type    2 state  7 name /run/systemd/cgroups-agent
> (00.193596) sk unix:    Collected: ino 0x155b peer_ino 0 family    1 type    1 state 10 name /run/systemd/private
> (00.193636) sk unix:    Collected: ino 0x1568 peer_ino 0 family    1 type    5 state 10 name /run/udev/control
> (00.193674) sk unix:    Collected: ino 0x156c peer_ino 0 family    1 type    1 state 10 name /run/systemd/journal/stdout
> (00.193712) sk unix:    Collected: ino 0x156f peer_ino 0 family    1 type    2 state  7 name /run/systemd/journal/socket
> (00.193737) sk unix:    Collected: ino 0x24e7 peer_ino 0x24e8 family    1 type    5 state  1 name
> (00.193773) sk unix:    Collected: ino 0x10f8 peer_ino 0 family    1 type    5 state 10 name /run/systemd/coredump
> (00.193797) sk unix:    Collected: ino 0x1636 peer_ino 0x1637 family    1 type    2 state  7 name (null)
> (00.193844) sk unix:    Collected: ino 0x2344 peer_ino 0x1a24 family    1 type    1 state  1 name /var/run/dbus/system_bus_socket
> (00.193884) sk unix:    Collected: ino 0x234d peer_ino 0x13bc family    1 type    1 state  1 name /run/systemd/journal/stdout
> (00.193907) sk unix:    Collected: ino 0x2342 peer_ino 0x2343 family    1 type    1 state  1 name (null)
> (00.193928) sk unix:    Collected: ino 0x2c0a peer_ino 0x2c0b family    1 type    1 state  1 name (null)
> (00.193949) sk unix:    Collected: ino 0x2511 peer_ino 0x2512 family    1 type    1 state  1 name (null)
> (00.193983) sk unix:    Collected: ino 0x2349 peer_ino 0x1366 family    1 type    1 state  1 name /run/systemd/journal/stdout
> (00.194006) sk unix:    Collected: ino 0x2356 peer_ino 0x2357 family    1 type    1 state  1 name (null)
> (00.194028) sk unix:    Collected: ino 0x2524 peer_ino 0x2525 family    1 type    1 state  1 name (null)
> (00.194048) sk unix:    Collected: ino 0x1a17 peer_ino 0x1a16 family    1 type    2 state  7 name (null)
> (00.194067) sk unix:    Collected: ino 0x1b7e peer_ino 0x1b7f family    1 type    1 state  1 name (null)
> (00.194086) sk unix:    Collected: ino 0x24e4 peer_ino 0x24e5 family    1 type    5 state  1 name (null)
> (00.194105) sk unix:    Collected: ino 0x1b86 peer_ino 0x1b87 family    1 type    1 state  1 name (null)
> (00.194139) sk unix:    Collected: ino 0x2810 peer_ino 0x280f family    1 type    1 state  1 name /run/systemd/journal/stdout
> (00.194162) sk unix:    Collected: ino 0x2c08 peer_ino 0x2c07 family    1 type    1 state  1 name (null)
> (00.194183) sk unix:    Collected: ino 0x24e8 peer_ino 0x24e7 family    1 type    5 state  1 name (null)
> (00.194203) sk unix:    Collected: ino 0x1559 peer_ino 0x155a family    1 type    2 state  7 name (null)
> (00.194248) sk unix:    Collected: ino 0x2c12 peer_ino 0x2c11 family    1 type    1 state  1 name (null)
> (00.194271) sk unix:    Collected: ino 0x303f peer_ino 0x3040 family    1 type    1 state  1 name (null)
> (00.194292) sk unix:    Collected: ino 0x1bf5 peer_ino 0x1bf6 family    1 type    1 state  1 name (null)
> (00.194312) sk unix:    Collected: ino 0x2501 peer_ino 0x2500 family    1 type    1 state  1 name (null)
> (00.194331) sk unix:    Collected: ino 0x285c peer_ino 0x17da family    1 type    1 state  1 name (null)
> (00.194351) sk unix:    Collected: ino 0x1b21 peer_ino 0x13db family    1 type    1 state  1 name (null)
> (00.194370) sk unix:    Collected: ino 0x1a0f peer_ino 0x156f family    1 type    2 state  7 name (null)
> (00.194390) sk unix:    Collected: ino 0x2462 peer_ino 0x2461 family    1 type    1 state  1 name (null)
> (00.194409) sk unix:    Collected: ino 0x13bc peer_ino 0x234d family    1 type    1 state  1 name (null)
> (00.194429) sk unix:    Collected: ino 0x2508 peer_ino 0x2507 family    1 type    1 state  1 name (null)
> (00.194467) sk unix:    Collected: ino 0x18c8 peer_ino 0x21b7 family    1 type    1 state  1 name /run/systemd/journal/stdout
> (00.194491) sk unix:    Collected: ino 0x1366 peer_ino 0x2349 family    1 type    1 state  1 name (null)
> (00.194512) sk unix:    Collected: ino 0x2c11 peer_ino 0x2c12 family    1 type    1 state  1 name (null)
> (00.194532) sk unix:    Collected: ino 0x1a14 peer_ino 0x1a15 family    1 type    2 state  7 name (null)
> (00.194553) sk unix:    Collected: ino 0x24e5 peer_ino 0x24e4 family    1 type    5 state  1 name (null)
> (00.194572) sk unix:    Collected: ino 0x1b87 peer_ino 0x1b86 family    1 type    1 state  1 name (null)
> (00.194606) sk unix:    Collected: ino 0x28a4 peer_ino 0x2cb5 family    1 type    1 state  1 name /run/systemd/journal/stdout
> (00.194643) sk unix:    Collected: ino 0x22fc peer_ino 0x16c6 family    1 type    1 state  1 name /run/systemd/journal/stdout
> (00.194668) sk unix:    Collected: ino 0x1b7c peer_ino 0x1b7d family    1 type    1 state  1 name (null)
> (00.194688) sk unix:    Collected: ino 0x2450 peer_ino 0x174f family    1 type    1 state  1 name (null)
> (00.194708) sk unix:    Collected: ino 0x267a peer_ino 0 family    1 type    5 state  7 name (null)
> (00.194728) sk unix:    Collected: ino 0x2c04 peer_ino 0x2c05 family    1 type    1 state  1 name (null)
> (00.194763) sk unix:    Collected: ino 0x174f peer_ino 0x2450 family    1 type    1 state  1 name /run/systemd/journal/stdout
> (00.194787) sk unix:    Collected: ino 0x1bfe peer_ino 0x1bfd family    1 type    1 state  1 name (null)
> (00.194808) sk unix:    Collected: ino 0x18a7 peer_ino 0x18c1 family    1 type    1 state  1 name (null)
> (00.194828) sk unix:    Collected: ino 0x2461 peer_ino 0x2462 family    1 type    1 state  1 name (null)
> (00.194893) sk unix:    Collected: ino 0x17da peer_ino 0x285c family    1 type    1 state  1 name /run/systemd/journal/stdout
> (00.194919) sk unix:    Collected: ino 0x1b7f peer_ino 0x1b7e family    1 type    1 state  1 name (null)
> (00.194940) sk unix:    Collected: ino 0x2503 peer_ino 0x2502 family    1 type    1 state  1 name (null)
> (00.194960) sk unix:    Collected: ino 0x1782 peer_ino 0x1783 family    1 type    1 state  1 name (null)
> (00.194994) sk unix:    Collected: ino 0x234b peer_ino 0x1391 family    1 type    1 state  1 name /run/systemd/journal/stdout
> (00.195018) sk unix:    Collected: ino 0x21b7 peer_ino 0x18c8 family    1 type    1 state  1 name (null)
> (00.195039) sk unix:    Collected: ino 0x1b82 peer_ino 0x1b81 family    1 type    1 state  1 name (null)
> (00.195059) sk unix:    Collected: ino 0x2507 peer_ino 0x2508 family    1 type    1 state  1 name (null)
> (00.195079) sk unix:    Collected: ino 0x1a15 peer_ino 0x1a14 family    1 type    2 state  7 name (null)
> (00.195099) sk unix:    Collected: ino 0x2cb5 peer_ino 0x28a4 family    1 type    1 state  1 name (null)
> (00.195118) sk unix:    Collected: ino 0x2c0b peer_ino 0x2c0a family    1 type    1 state  1 name (null)
> (00.195194) sk unix:    Collected: ino 0x2357 peer_ino 0x2356 family    1 type    1 state  1 name /var/run/dbus/system_bus_socket
> (00.195239) sk unix:    Collected: ino 0x1a37 peer_ino 0x1338 family    1 type    1 state  1 name /run/systemd/journal/stdout
> (00.195285) sk unix:    Collected: ino 0x16c6 peer_ino 0x22fc family    1 type    1 state  1 name (null)
> (00.195309) sk unix:    Collected: ino 0x2c1a peer_ino 0x2c19 family    1 type    1 state  1 name (null)
> (00.195330) sk unix:    Collected: ino 0x2c07 peer_ino 0x2c08 family    1 type    1 state  1 name (null)
> (00.195350) sk unix:    Collected: ino 0x2505 peer_ino 0x2504 family    1 type    1 state  1 name (null)
> (00.195371) sk unix:    Collected: ino 0x24fe peer_ino 0x24ff family    1 type    1 state  1 name (null)
> (00.195390) sk unix:    Collected: ino 0x1b8c peer_ino 0x1b8b family    1 type    1 state  1 name (null)
> (00.195409) sk unix:    Collected: ino 0x1186 peer_ino 0x156f family    1 type    2 state  7 name (null)
> (00.195445) sk unix:    Collected: ino 0x18c1 peer_ino 0x18a7 family    1 type    1 state  1 name /run/systemd/journal/stdout
> (00.195469) sk unix:    Collected: ino 0x21be peer_ino 0x156f family    1 type    2 state  7 name (null)
> (00.195489) sk unix:    Collected: ino 0x2c15 peer_ino 0x2c14 family    1 type    1 state  1 name (null)
> (00.195509) sk unix:    Collected: ino 0x1bfd peer_ino 0x1bfe family    1 type    1 state  1 name (null)
> (00.195528) sk unix:    Collected: ino 0x1b81 peer_ino 0x1b82 family    1 type    1 state  1 name (null)
> (00.195548) sk unix:    Collected: ino 0x1637 peer_ino 0x1636 family    1 type    2 state  7 name (null)
> (00.195567) sk unix:    Collected: ino 0x2512 peer_ino 0x2511 family    1 type    1 state  1 name (null)
> (00.195602) sk unix:    Collected: ino 0x13db peer_ino 0x1b21 family    1 type    1 state  1 name /run/systemd/journal/stdout
> (00.195626) sk unix:    Collected: ino 0x2504 peer_ino 0x2505 family    1 type    1 state  1 name (null)
> (00.195647) sk unix:    Collected: ino 0x1a24 peer_ino 0x2344 family    1 type    1 state  1 name (null)
> (00.195667) sk unix:    Collected: ino 0x1391 peer_ino 0x234b family    1 type    1 state  1 name (null)
> (00.195686) sk unix:    Collected: ino 0x1a16 peer_ino 0x1a17 family    1 type    2 state  7 name (null)
> (00.195706) sk unix:    Collected: ino 0x2502 peer_ino 0x2503 family    1 type    1 state  1 name (null)
> (00.195725) sk unix:    Collected: ino 0x1338 peer_ino 0x1a37 family    1 type    1 state  1 name (null)
> (00.195744) sk unix:    Collected: ino 0x2525 peer_ino 0x2524 family    1 type    1 state  1 name (null)
> (00.195778) sk unix:    Collected: ino 0x1783 peer_ino 0x1782 family    1 type    1 state  1 name /run/systemd/journal/stdout
> (00.195801) sk unix:    Collected: ino 0x2343 peer_ino 0x2342 family    1 type    1 state  1 name (null)
> (00.195822) sk unix:    Collected: ino 0x280f peer_ino 0x2810 family    1 type    1 state  1 name (null)
> (00.195842) sk unix:    Collected: ino 0x185a peer_ino 0x1555 family    1 type    2 state  7 name (null)
> (00.195862) sk unix:    Collected: ino 0x13bd peer_ino 0x156f family    1 type    2 state  7 name (null)
> (00.195882) sk unix:    Collected: ino 0x2c05 peer_ino 0x2c04 family    1 type    1 state  1 name (null)
> (00.195902) sk unix:    Collected: ino 0x24ff peer_ino 0x24fe family    1 type    1 state  1 name (null)
> (00.195921) sk unix:    Collected: ino 0x1b7d peer_ino 0x1b7c family    1 type    1 state  1 name (null)
> (00.195956) sk unix:    Collected: ino 0x3040 peer_ino 0x303f family    1 type    1 state  1 name /run/systemd/journal/stdout
> (00.195979) sk unix:    Collected: ino 0x2c14 peer_ino 0x2c15 family    1 type    1 state  1 name (null)
> (00.196000) sk unix:    Collected: ino 0x1b8b peer_ino 0x1b8c family    1 type    1 state  1 name (null)
> (00.196021) sk unix:    Collected: ino 0x2500 peer_ino 0x2501 family    1 type    1 state  1 name (null)
> (00.196041) sk unix:    Collected: ino 0x155a peer_ino 0x1559 family    1 type    2 state  7 name (null)
> (00.196084) sk unix:    Collected: ino 0x1bf6 peer_ino 0x1bf5 family    1 type    1 state  1 name (null)
> (00.196113) sk unix:    Collected: ino 0x2c19 peer_ino 0x2c1a family    1 type    1 state  1 name (null)
> (00.196512)     Collected: ino   0x2c3c family    2 type    1 port    36093 state 10 src_addr 192.168.0.1
> (00.196573)     Collected: ino   0x24b4 family    2 type    1 port    57566 state 10 src_addr 192.168.0.1
> (00.196600)     Collected: ino   0x1aeb family    2 type    1 port    45541 state 10 src_addr 192.168.0.1
> (00.196625)     Collected: ino   0x1b89 family    2 type    1 port     9222 state 10 src_addr 127.0.0.1
> (00.196648)     Collected: ino   0x253b family    2 type    1 port    36781 state 10 src_addr 192.168.0.1
> (00.196671)     Collected: ino   0x28b0 family    2 type    1 port     9200 state 10 src_addr 127.0.0.1
> (00.196694)     Collected: ino   0x245e family    2 type    1 port       80 state 10 src_addr 0.0.0.0
> (00.196717)     Collected: ino   0x2cd2 family    2 type    1 port     9201 state 10 src_addr 127.0.0.1
> (00.196740)     Collected: ino   0x1b31 family    2 type    1 port    58001 state 10 src_addr 192.168.0.1
> (00.196763)     Collected: ino   0x2556 family    2 type    1 port    54486 state 10 src_addr 192.168.0.1
> (00.196786)     Collected: ino   0x2cc7 family    2 type    1 port      946 state  1 src_addr 192.168.0.1
> (00.196809)     Collected: ino   0x28b9 family    2 type    1 port    35736 state  1 src_addr 127.0.0.1
> (00.196832)     Collected: ino   0x2c3e family    2 type    1 port    40698 state  1 src_addr 192.168.0.1
> (00.196855)     Collected: ino   0x304c family    2 type    1 port    45541 state  1 src_addr 192.168.0.1
> (00.196877)     Collected: ino   0x255a family    2 type    1 port     9201 state  1 src_addr 127.0.0.1
> (00.196900)     Collected: ino   0x2ce3 family    2 type    1 port       80 state  1 src_addr 127.0.0.1
> (00.196922)     Collected: ino   0x2ce4 family    2 type    1 port    35744 state  1 src_addr 127.0.0.1
> (00.196945)     Collected: ino   0x1b72 family    2 type    1 port    45541 state  1 src_addr 192.168.0.1
> (00.196968)     Collected: ino   0x24b6 family    2 type    1 port    55574 state  1 src_addr 192.168.0.1
> (00.196990)     Collected: ino   0x257d family    2 type    1 port     9201 state  1 src_addr 127.0.0.1
> (00.197013)     Collected: ino   0x1b33 family    2 type    1 port    45541 state  1 src_addr 192.168.0.1
> (00.197035)     Collected: ino   0x253d family    2 type    1 port    40549 state  1 src_addr 192.168.0.1
> (00.197057)     Collected: ino   0x2558 family    2 type    1 port    59632 state  1 src_addr 192.168.0.1
> (00.197080)     Collected: ino   0x2cdb family    2 type    1 port    58732 state  1 src_addr 127.0.0.1
> (00.197103)     Collected: ino   0x2ce2 family    2 type    1 port    58740 state  1 src_addr 127.0.0.1
> (00.197125)     Collected: ino   0x28b8 family    2 type    1 port       80 state  1 src_addr 127.0.0.1
> (00.197148)     Collected: ino   0x2817 family    2 type    1 port    38937 state  1 src_addr 192.168.0.1
> (00.197171)     Collected: ino   0x3052 family    2 type    1 port    45541 state  1 src_addr 192.168.0.1
> (00.197194)     Collected: ino   0x300a family    2 type    1 port    45541 state  1 src_addr 192.168.0.1
> (00.197312)     Collected: ino   0x2555 family    2 type    2 port    42796 state  7 src_addr 192.168.0.1
> (00.197343)     Collected: ino   0x24b2 family    2 type    2 port    36157 state  7 src_addr 192.168.0.1
> (00.197367)     Collected: ino   0x1aea family    2 type    2 port    42339 state  7 src_addr 192.168.0.1
> (00.197390)     Collected: ino   0x253a family    2 type    2 port    37735 state  7 src_addr 192.168.0.1
> (00.197413)     Collected: ino   0x24b3 family    2 type    2 port    41373 state  7 src_addr 192.168.0.1
> (00.197436)     Collected: ino   0x1b30 family    2 type    2 port    50591 state  7 src_addr 192.168.0.1
> (00.197459)     Collected: ino   0x2c3a family    2 type    2 port    51129 state  7 src_addr 192.168.0.1
> (00.197481)     Collected: ino   0x2c3b family    2 type    2 port    45575 state  7 src_addr 192.168.0.1
> (00.197504)     Collected: ino   0x1b2f family    2 type    2 port    36392 state  7 src_addr 192.168.0.1
> (00.197552)     Collected: ino   0x1ae9 family    2 type    2 port    59474 state  7 src_addr 192.168.0.1
> (00.197583)     Collected: ino   0x2554 family    2 type    2 port    50936 state  7 src_addr 192.168.0.1
> (00.197608)     Collected: ino   0x2539 family    2 type    2 port    59139 state  7 src_addr 192.168.0.1
> (00.197870)     Collected: ino   0x12b9 family   10 type    1 port       22 state 10 src_addr ::
> (00.197909)     Collected: ino   0x2599 family   10 type    1 port       22 state  1 src_addr ::ffff:192.168.0.1
> (00.198137) Collect netlink sock 0x1b84
> (00.198165) Collect netlink sock 0xe
> (00.198183) Collect netlink sock 0x1b84
> (00.198200) Collect netlink sock 0x4c6
> (00.198216) Collect netlink sock 0x2679
> (00.198231) Collect netlink sock 0x1089
> (00.198245) Collect netlink sock 0x4f
> (00.198260) Collect netlink sock 0x2355
> (00.198276) Collect netlink sock 0x24a4
> (00.198291) Collect netlink sock 0x156b
> (00.198307) Collect netlink sock 0x2354
> (00.198322) Collect netlink sock 0x251c
> (00.198338) Collect netlink sock 0x2c0e
> (00.198353) Collect netlink sock 0x2352
> (00.198369) Collect netlink sock 0x2353
> (00.198384) Collect netlink sock 0x10
> (00.198399) Collect netlink sock 0x1554
> (00.198414) Collect netlink sock 0x251c
> (00.198430) Collect netlink sock 0x2c0e
> (00.198446) Collect netlink sock 0x24a4
> (00.198461) Collect netlink sock 0x2355
> (00.198477) Collect netlink sock 0x2354
> (00.198492) Collect netlink sock 0x2353
> (00.198507) Collect netlink sock 0x2352
> (00.198523) Collect netlink sock 0x156b
> (00.198539) Collect netlink sock 0x1554
> (00.198554) Collect netlink sock 0x56
> (00.198653) ========================================
> (00.198672) Dumping task (pid: 746)
> (00.198687) ========================================
> (00.198699) Obtaining task stat ...
> (00.198867)
> (00.198892) Collecting mappings (pid: 746)
> (00.198907) ----------------------------------------
> (00.201246) Dumping path for -3 fd via self 8 [/bin/busybox]
> (00.205722) vma 54b1e000 borrows vfi from previous 54ac1000
> (00.205816) vma 54b20000 borrows vfi from previous 54b1e000
> (00.206524) Dumping path for -3 fd via self 8 [/lib/libc-2.20.so]
> (00.206645) vma 76ee0000 borrows vfi from previous 76e08000
> (00.206714) vma 76ee2000 borrows vfi from previous 76ee0000
> (00.208508) Dumping path for -3 fd via self 8 [/lib/ld-2.20.so]
> (00.208817) vma 76f06000 borrows vfi from previous 76f05000
> (00.209032) Collected, longest area occupies 216 pages
> (00.209056) 0x54ac1000-0x54b16000 (340K) prot 0x5 flags 0x2 fdflags 0 st 0x41 off 0 reg fp  shmid: 0x1
> (00.209081) 0x54b1e000-0x54b20000 (8K) prot 0x1 flags 0x2 fdflags 0 st 0x41 off 0x55000 reg fp  shmid: 0x1
> (00.209102) 0x54b20000-0x54b21000 (4K) prot 0x3 flags 0x2 fdflags 0 st 0x41 off 0x57000 reg fp  shmid: 0x1
> (00.209122) 0x56891000-0x568b2000 (132K) prot 0x3 flags 0x22 fdflags 0 st 0x221 off 0 reg heap ap  shmid: 0
> (00.209143) 0x76e08000-0x76ee0000 (864K) prot 0x5 flags 0x2 fdflags 0 st 0x41 off 0 reg fp  shmid: 0x2
> (00.209162) 0x76ee0000-0x76ee2000 (8K) prot 0x1 flags 0x2 fdflags 0 st 0x41 off 0xd8000 reg fp  shmid: 0x2
> (00.209181) 0x76ee2000-0x76ee3000 (4K) prot 0x3 flags 0x2 fdflags 0 st 0x41 off 0xda000 reg fp  shmid: 0x2
> (00.209200) 0x76ee3000-0x76ee6000 (12K) prot 0x3 flags 0x22 fdflags 0 st 0x201 off 0 reg ap  shmid: 0
> (00.209219) 0x76ee6000-0x76efe000 (96K) prot 0x5 flags 0x2 fdflags 0 st 0x41 off 0 reg fp  shmid: 0x3
> (00.209238) 0x76f03000-0x76f05000 (8K) prot 0x3 flags 0x22 fdflags 0 st 0x201 off 0 reg ap  shmid: 0
> (00.209256) 0x76f05000-0x76f06000 (4K) prot 0x1 flags 0x2 fdflags 0 st 0x41 off 0x17000 reg fp  shmid: 0x3
> (00.209275) 0x76f06000-0x76f07000 (4K) prot 0x3 flags 0x2 fdflags 0 st 0x41 off 0x18000 reg fp  shmid: 0x3
> (00.209293) 0x7ece2000-0x7ed04000 (136K) prot 0x3 flags 0x122 fdflags 0 st 0x201 off 0 reg ap  shmid: 0
> (00.209312) 0x7edb2000-0x7edb3000 (4K) prot 0x5 flags 0x22 fdflags 0 st 0x201 off 0 reg ap  shmid: 0
> (00.209331) 0xffff0000-0xffff1000 (4K) prot 0x5 flags 0x22 fdflags 0 st 0x204 off 0 vsys ap  shmid: 0
> (00.209350) ----------------------------------------
> (00.209366)
> (00.209380) Collecting fds (pid: 746)
> (00.209393) ----------------------------------------
> (00.209511) Found 4 file descriptors
> (00.209533) ----------------------------------------
> (00.209602) Dump private signals of 746
> (00.209634) Dump shared signals of 746
> (00.209691) Parasite syscall_ip at 0x54ac1000
> (00.210386) Set up parasite blob using memfd
> (00.210435) Putting parasite blob into 0x76d68000->0x76dfe000
> (00.210578) Dumping GP/FPU registers for 746
> (00.210634) Putting tsock into pid 746
> (00.210849) Error (criu/parasite-syscall.c:395): si_code=4 si_pid=746 si_status=11
> (00.210877) Error (criu/parasite-syscall.c:403): 746 was stopped by 11 unexpectedly
>
> And now I am totally stuck. Everything I do ends with an "unexpected
> signal 11" after injecting the parasite blob and I couldn't find any
> hint about what to do then.

Hi Harald,

could you check it on the last release (which is 2.12.1)?
I assume that arm port was broken during last changes.
We'll try to check and fix them till v3.0 release.

> The ultimate aim is to dump and restore a Chromium "content_shell"
> process. Is something of that order reasonably achievable with criu or
> have I wasted my time trying to get this far?
>
> Kind regards
>
> Harald
>
> --
>
> BST eltromat International GmbH
> Werk Leopoldshöhe
> Herforder Straße 249-251
> D-33818 Leopoldshöhe
>
> T:      +49 (5208) 987-513
>
> E:      harald.brinkmann at bst-international.com
> W:      http://www.bst-eltromat.com
>
>
>
>
> _______________________________________________________
> Amtsgericht Bielefeld, HRB Nr. 30830
> Geschäftsführer Kristian Jünke, Dr. Johann-Carsten Kipp, Dr. Gunter
> Tautorus
> Sitz der Gesellschaft: Bielefeld
> Vertrauliche E-Mail von BST eltromat International GmbH
>
>
> _______________________________________________
> CRIU mailing list
> CRIU at openvz.org
> https://lists.openvz.org/mailman/listinfo/criu



-- 
             Dmitry



More information about the CRIU mailing list