Changes

Jump to: navigation, search

Installation

233 bytes removed, 01:02, 10 December 2013
Kernel configuration: restructured, kernel repo information moved to a separate page
== Kernel configuration ==
The <code>Linux kernel v3.11</code> upstream kernel already has all the or newer is required functionality merged, with some specific options set. Make sure If your distribution does not provide needed kernel, you might want to compile one yourself. Note we also have the following options turned on:our [[custom kernel]], which might contain some experimental CRIU related patches.
* General setup -> Checkpoint/restore support (Note you might have to enable; <code>CONFIG_CHECKPOINT_RESTORECONFIG_EXPERT</code>)* : General setup -> Namespaces support Configure standard kernel features (expert users)option, which depends on; <code>CONFIG_NAMESPACESCONFIG_EMBEDDED</code>)* : General setup -> Namespaces support -> PID namespaces Embedded system(welcome to Kconfig reverse chains hell). The following options should be enabled for CRIU to work: ; <code>CONFIG_PID_NSCONFIG_CHECKPOINT_RESTORE</code>)* : General setup -> open by fhandle syscalls (<code>CONFIG_FHANDLE<Checkpoint/code>)restore support * General setup -> Enable eventfd() system call (; <code>CONFIG_EVENTFDCONFIG_NAMESPACES</code>)* : General setup -> Enable eventpoll Namespaces support ( ; <code>CONFIG_EPOLLCONFIG_PID_NS</code>)* File systems : General setup -> Inotify Namespaces support for userspace (<code>CONFIG_INOTIFY_USER</code>)* Executable file formats -> Emulations -> IA32 Emulation (<code>CONFIG_IA32_EMULATION</code>)PID namespaces* Networking support -> Networking options -> Unix domain sockets -> UNIX: socket monitoring interface (<code>CONFIG_UNIX_DIAG</code>)* Networking support -> Networking options -> TCP/IP networking -> INET: socket monitoring interface (; <code>CONFIG_INET_DIAGCONFIG_FHANDLE</code>)* Networking support -> Networking options -> TCP/IP networking -> INET: socket monitoring interface General setup -> UDP: socket monitoring interface (open by fhandle syscalls ; <code>CONFIG_INET_UDP_DIAGCONFIG_EVENTFD</code>)* Networking support -> Networking options -> Packet socket -> Packet: sockets monitoring interface (<code>CONFIG_PACKET_DIAG</code>)* Networking support General setup -> Networking options -> Netlink socket -> Netlink: sockets monitoring interface Enable eventfd(<code>CONFIG_NETLINK_DIAG</code>)system call
Note you might have to enable; <code>CONFIG_EPOLL</code>: General setup -> Enable eventpoll support
* General setup -> Configure standard kernel features (expert users) (; <code>CONFIG_EXPERTCONFIG_INOTIFY_USER</code>): File systems -> Inotify support for userspace
option, which depends on; <code>CONFIG_IA32_EMULATION</code>: Executable file formats -> Emulations -> IA32 Emulation
* General setup -> Embedded system (; <code>CONFIG_EMBEDDEDCONFIG_UNIX_DIAG</code>): Networking support -> Networking options -> Unix domain sockets -> UNIX: socket monitoring interface
(welcome to Kconfig reverse chains hell).; <code>CONFIG_INET_DIAG</code>: Networking support -> Networking options -> TCP/IP networking -> INET: socket monitoring interface
For some [[usage scenarios]] there is an ability to track memory changes and produce incremental dumps. Need to enable* Processor type and features -> Track memory changes (; <code>CONFIG_MEM_SOFT_DIRTYCONFIG_INET_UDP_DIAG</code>): Networking support -> Networking options -> TCP/IP networking -> INET: socket monitoring interface -> UDP: socket monitoring interface
; <code>CONFIG_PACKET_DIAG</code>
: Networking support -> Networking options -> Packet socket -> Packet: sockets monitoring interface
In the future we can start working on some new kernel stuff for CRIU. In that case we will first put this into the staging repository at [http://git.kernel.org/?p=linux/kernel/git; <code>CONFIG_NETLINK_DIAG</gorcunov/linux-cr.git;a=summary linux-cr.git] ([httpscode>://github.com/avagin/linuxNetworking support -rpi> Networking options -criu/tree/criu> Netlink socket -rpi-3.10.y linux-cr-rpi.git] for [http> Netlink://www.raspberrypi.org/ Raspberry Pi]), so that anyone can checkout the latest branch and compile the kernel.sockets monitoring interface
For some [[usage scenarios]] there is an ability to track memory changes and produce [[incremental dumps]]. Need to enable
; <code>CONFIG_MEM_SOFT_DIRTY</code>
: Processor type and features -> Track memory changes
==iproute2==

Navigation menu