[CRIU] CRIU dump ERROR: No suitable VM found

Maikel Coenen maikel.coenen at nedap.com
Thu Sep 5 16:11:21 MSK 2019


Hi all,

I’m still porting CRIU to ARMv5 but it is almost finished but I found something weird.

My system:

# uname -a
Linux mini-sheeva 5.0.21-yocto-standard-custom #1 PREEMPT Thu Sep 5 12:30:01 UTC 2019 armv5tel GNU/Linux

# criu --version
Version: 3.11
GitID: v3.11

Currently I get following error during dump:

# criu dump -t 2276 -D /img/ -vvv -o /img/dump.log --tcp-established
……
(00.065925) Dumping task (pid: 2276)
(00.065975) ========================================
(00.066024) Obtaining task stat ...
(00.066421)
(00.066494) Collecting mappings (pid: 2276)
(00.066551) ----------------------------------------
(00.070340) Collected, longest area occupies 0 pages
(00.070468) 0x48e00000000000-0x578000 (17994366782019040K) prot 0x5 flags 0x22 fdflags 0 st 0x201 off 0 reg ap  shmid: 0
(00.070548) 0x58700000000000-0x58a000 (17990088994592296K) prot 0x5 flags 0x22 fdflags 0 st 0x201 off 0xe900000000000 reg ap  shmid: 0
(00.070616) 0x58a00000000000-0x58f000 (17990037454984764K) prot 0x7 flags 0x22 fdflags 0 st 0x201 off 0xec00000000000 reg ap  shmid: 0
(00.070682) 0x58f00000000000-0x5da000 (17989951555639144K) prot 0x7 flags 0x22 fdflags 0 st 0x221 off 0 reg heap ap  shmid: 0
(00.070747) 0xb6d4d00000000000-0xb6e82000 (5148789617572360K) prot 0x5 flags 0x22 fdflags 0 st 0x201 off 0 reg ap  shmid: 0
(00.070811) 0xb6e8200000000000-0xb6e92000 (5143481037994568K) prot 0 flags 0x22 fdflags 0 st 0x201 off 0x13500000000000 reg ap  shmid: 0
(00.070876) 0xb6e9200000000000-0xb6e94000 (5143206160087632K) prot 0x5 flags 0x22 fdflags 0 st 0x201 off 0x13500000000000 reg ap  shmid: 0
(00.070940) 0xb6e9400000000000-0xb6e95000 (5143171800349268K) prot 0x7 flags 0x22 fdflags 0 st 0x201 off 0x13700000000000 reg ap  shmid: 0
(00.071005) 0xb6e9500000000000-0xb6e98000 (5143154620480096K) prot 0x7 flags 0x22 fdflags 0 st 0x201 off 0 reg ap  shmid: 0
(00.071070) 0xb6e9800000000000-0xb6e9a000 (5143103080872552K) prot 0x5 flags 0x22 fdflags 0 st 0x201 off 0 reg ap  shmid: 0
(00.071134) 0xb6e9a00000000000-0xb6ea9000 (5143068721134244K) prot 0 flags 0x22 fdflags 0 st 0x201 off 0x200000000000 reg ap  shmid: 0
(00.071199) 0xb6ea900000000000-0xb6eaa000 (5142811023096488K) prot 0x5 flags 0x22 fdflags 0 st 0x201 off 0x100000000000 reg ap  shmid: 0
(00.071486) 0xb6eaa00000000000-0xb6eab000 (5142793843227308K) prot 0x7 flags 0x22 fdflags 0 st 0x201 off 0x200000000000 reg ap  shmid: 0
(00.071563) 0xb6eab00000000000-0xb6ec7000 (5142776663358236K) prot 0x5 flags 0x22 fdflags 0 st 0x201 off 0 reg ap  shmid: 0
(00.071629) 0xb6ec700000000000-0xb6ed7000 (5142295627021148K) prot 0 flags 0x22 fdflags 0 st 0x201 off 0x1c00000000000 reg ap  shmid: 0
(00.071695) 0xb6ed700000000000-0xb6ed9000 (5142020749114212K) prot 0x5 flags 0x22 fdflags 0 st 0x201 off 0x1c00000000000 reg ap  shmid: 0
(00.071761) 0xb6ed900000000000-0xb6eda000 (5141986389375848K) prot 0x7 flags 0x22 fdflags 0 st 0x201 off 0x1e00000000000 reg ap  shmid: 0
(00.071825) 0xb6eda00000000000-0xb6efa000 (5141969209506792K) prot 0x5 flags 0x22 fdflags 0 st 0x201 off 0 reg ap  shmid: 0
(00.071889) 0xb6f0500000000000-0xb6f07000 (5141230475131932K) prot 0x7 flags 0x22 fdflags 0 st 0x201 off 0 reg ap  shmid: 0
(00.071953) 0xb6f0900000000000-0xb6f0a000 (5141161755655208K) prot 0x5 flags 0x22 fdflags 0 st 0x201 off 0x1f00000000000 reg ap  shmid: 0
(00.072018) 0xb6f0a00000000000-0xb6f0b000 (5141144575786028K) prot 0x7 flags 0x22 fdflags 0 st 0x201 off 0x2000000000000 reg ap  shmid: 0
(00.072083) 0xbecea00000000000-0xbed0b000 (4587540471329836K) prot 0x3 flags 0x122 fdflags 0 st 0x201 off 0 reg ap  shmid: 0
(00.072147) 0xbefd900000000000-0xbefda000 (4574638389575528K) prot 0x5 flags 0x22 fdflags 0 st 0x201 off 0 reg ap  shmid: 0
(00.072212) 0xffff000000000000-0xffff1000 (274882101188K) prot 0x5 flags 0x22 fdflags 0 st 0x204 off 0 vsys ap  shmid: 0
(00.072271) ----------------------------------------
(00.072324)
(00.072371) Collecting fds (pid: 2276)
(00.072420) ----------------------------------------
(00.072743) Found 4 file descriptors
(00.072810) ----------------------------------------
(00.072967) Dump private signals of 2276
(00.073052) Dump shared signals of 2276
(00.073129) Error (criu/parasite-syscall.c:521): No suitable VM found
(00.073187) Error (criu/cr-dump.c:1280): Can't infect (pid: 2276) with parasite
(00.073928) Unlock network
(00.074023) Unfreezing tasks into 1
(00.074079)     Unseizing 2276 into 1
(00.074214)     Unseizing 2396 into 1
(00.077731) Error (criu/cr-dump.c:1732): Dumping FAILED.

# cat /proc/2276/maps
0048e000-00578000 r-xp 00000000 b3:01 2819       /bin/bash.bash
00587000-0058a000 r-xp 000e9000 b3:01 2819       /bin/bash.bash
0058a000-0058f000 rwxp 000ec000 b3:01 2819       /bin/bash.bash
0058f000-005da000 rwxp 00000000 00:00 0          [heap]
b6d4d000-b6e82000 r-xp 00000000 b3:01 3033       /lib/libc-2.28.so
b6e82000-b6e92000 ---p 00135000 b3:01 3033       /lib/libc-2.28.so
b6e92000-b6e94000 r-xp 00135000 b3:01 3033       /lib/libc-2.28.so
b6e94000-b6e95000 rwxp 00137000 b3:01 3033       /lib/libc-2.28.so
b6e95000-b6e98000 rwxp 00000000 00:00 0
b6e98000-b6e9a000 r-xp 00000000 b3:01 3037       /lib/libdl-2.28.so
b6e9a000-b6ea9000 ---p 00002000 b3:01 3037       /lib/libdl-2.28.so
b6ea9000-b6eaa000 r-xp 00001000 b3:01 3037       /lib/libdl-2.28.so
b6eaa000-b6eab000 rwxp 00002000 b3:01 3037       /lib/libdl-2.28.so
b6eab000-b6ec7000 r-xp 00000000 b3:01 3850       /lib/libtinfo.so.5.9
b6ec7000-b6ed7000 ---p 0001c000 b3:01 3850       /lib/libtinfo.so.5.9
b6ed7000-b6ed9000 r-xp 0001c000 b3:01 3850       /lib/libtinfo.so.5.9
b6ed9000-b6eda000 rwxp 0001e000 b3:01 3850       /lib/libtinfo.so.5.9
b6eda000-b6efa000 r-xp 00000000 b3:01 3019       /lib/ld-2.28.so
b6f05000-b6f07000 rwxp 00000000 00:00 0
b6f09000-b6f0a000 r-xp 0001f000 b3:01 3019       /lib/ld-2.28.so
b6f0a000-b6f0b000 rwxp 00020000 b3:01 3019       /lib/ld-2.28.so
becea000-bed0b000 rw-p 00000000 00:00 0          [stack]
befd9000-befda000 r-xp 00000000 00:00 0          [sigpage]
ffff0000-ffff1000 r-xp 00000000 00:00 0          [vectors]

Why is it failing to get the start of the VM, as far as I can see, the maps file looks correct?

Kind regards,

Maikel

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openvz.org/pipermail/criu/attachments/20190905/28380596/attachment-0001.html>


More information about the CRIU mailing list