[CRIU] VM_IO or VM_PFNMAP mappings

Sowmini Varadhan sowmini.varadhan at oracle.com
Mon Oct 27 18:31:31 PDT 2014


On (10/27/14 16:38), Cyrill Gorcunov wrote:
> 
> Compat mode support (ie 32bit executables running on 64bit kernel)
> is not yet implemented, so I wouldn't recommend to run such binaries
> if c/r needed. As to mappings -- IO | PFN mappings currently supported
> by the criu for vdso vvar area only. What kernel version it is?
> Could you please attach "cat /proc/<pidof-iperf-server>/maps" output?

indeed, you are right.

I just rebuilt my kernel and tried the 64 bit iperf again. The smaps for the 
VmFlags still has "pf" and "io", but the criu dump works ok
in this case. I'm attaching the maps file for the curious.

--Sowmini


Here's the maps file

00400000-00410000 r-xp 00000000 fd:01 1063806                            /home/sowmini/iperf-2.0.5/src/iperf
0060f000-00610000 r--p 0000f000 fd:01 1063806                            /home/sowmini/iperf-2.0.5/src/iperf
00610000-00611000 rw-p 00010000 fd:01 1063806                            /home/sowmini/iperf-2.0.5/src/iperf
0114b000-0116c000 rw-p 00000000 00:00 0                                  [heap]
7fc670000000-7fc670021000 rw-p 00000000 00:00 0 
7fc670021000-7fc674000000 ---p 00000000 00:00 0 
7fc677966000-7fc677967000 ---p 00000000 00:00 0 
7fc677967000-7fc678167000 rw-p 00000000 00:00 0                          [stack:1803]
7fc678167000-7fc678168000 ---p 00000000 00:00 0 
7fc678168000-7fc678968000 rw-p 00000000 00:00 0                          [stack:1802]
7fc678968000-7fc678a6d000 r-xp 00000000 fd:01 926883                     /lib/x86_64-linux-gnu/libm-2.19.so
7fc678a6d000-7fc678c6c000 ---p 00105000 fd:01 926883                     /lib/x86_64-linux-gnu/libm-2.19.so
7fc678c6c000-7fc678c6d000 r--p 00104000 fd:01 926883                     /lib/x86_64-linux-gnu/libm-2.19.so
7fc678c6d000-7fc678c6e000 rw-p 00105000 fd:01 926883                     /lib/x86_64-linux-gnu/libm-2.19.so
7fc678c6e000-7fc678e29000 r-xp 00000000 fd:01 926880                     /lib/x86_64-linux-gnu/libc-2.19.so
7fc678e29000-7fc679029000 ---p 001bb000 fd:01 926880                     /lib/x86_64-linux-gnu/libc-2.19.so
7fc679029000-7fc67902d000 r--p 001bb000 fd:01 926880                     /lib/x86_64-linux-gnu/libc-2.19.so
7fc67902d000-7fc67902f000 rw-p 001bf000 fd:01 926880                     /lib/x86_64-linux-gnu/libc-2.19.so
7fc67902f000-7fc679034000 rw-p 00000000 00:00 0 
7fc679034000-7fc67904d000 r-xp 00000000 fd:01 926893                     /lib/x86_64-linux-gnu/libpthread-2.19.so
7fc67904d000-7fc67924c000 ---p 00019000 fd:01 926893                     /lib/x86_64-linux-gnu/libpthread-2.19.so
7fc67924c000-7fc67924d000 r--p 00018000 fd:01 926893                     /lib/x86_64-linux-gnu/libpthread-2.19.so
7fc67924d000-7fc67924e000 rw-p 00019000 fd:01 926893                     /lib/x86_64-linux-gnu/libpthread-2.19.so
7fc67924e000-7fc679252000 rw-p 00000000 00:00 0 
7fc679252000-7fc679268000 r-xp 00000000 fd:01 921897                     /lib/x86_64-linux-gnu/libgcc_s.so.1
7fc679268000-7fc679467000 ---p 00016000 fd:01 921897                     /lib/x86_64-linux-gnu/libgcc_s.so.1
7fc679467000-7fc679468000 rw-p 00015000 fd:01 921897                     /lib/x86_64-linux-gnu/libgcc_s.so.1
7fc679468000-7fc67954e000 r-xp 00000000 fd:01 1057806                    /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.19
7fc67954e000-7fc67974d000 ---p 000e6000 fd:01 1057806                    /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.19
7fc67974d000-7fc679755000 r--p 000e5000 fd:01 1057806                    /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.19
7fc679755000-7fc679757000 rw-p 000ed000 fd:01 1057806                    /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.19
7fc679757000-7fc67976c000 rw-p 00000000 00:00 0 
7fc67976c000-7fc67978f000 r-xp 00000000 fd:01 926881                     /lib/x86_64-linux-gnu/ld-2.19.so
7fc679971000-7fc679977000 rw-p 00000000 00:00 0 
7fc67998b000-7fc67998e000 rw-p 00000000 00:00 0 
7fc67998e000-7fc67998f000 r--p 00022000 fd:01 926881                     /lib/x86_64-linux-gnu/ld-2.19.so
7fc67998f000-7fc679990000 rw-p 00023000 fd:01 926881                     /lib/x86_64-linux-gnu/ld-2.19.so
7fc679990000-7fc679991000 rw-p 00000000 00:00 0 
7fff6055d000-7fff6057e000 rw-p 00000000 00:00 0                          [stack]
7fff605fc000-7fff605fe000 r--p 00000000 00:00 0                          [vvar]
7fff605fe000-7fff60600000 r-xp 00000000 00:00 0                          [vdso]
ffffffffff600000-ffffffffff601000 r-xp 00000000 00:00 0                  [vsyscall]


More information about the CRIU mailing list