Kernel: Difference between revisions

From Q
Jump to navigation Jump to search
Tgurr (talk | contribs)
No edit summary
Tgurr (talk | contribs)
No edit summary
Line 61: Line 61:
[*] Networking support  --->
[*] Networking support  --->
  Networking options  --->
  Networking options  --->
   <*>   The IPv6 protocol  --->
   [*]   The IPv6 protocol  --->
Device Drivers  --->
Device Drivers  --->
  Generic Driver Options  --->
  Generic Driver Options  --->
Line 73: Line 73:
   [*]  /proc/driver/rtc (procfs for rtc0)
   [*]  /proc/driver/rtc (procfs for rtc0)
   [*]  /dev/rtcN (character devices)
   [*]  /dev/rtcN (character devices)
   <*>   PC-style 'CMOS'
   [*]   PC-style 'CMOS'
Firmware Drivers  --->
Firmware Drivers  --->
  <*> EFI Variable Support via sysfs
  [*] EFI Variable Support via sysfs
  [*] Export DMI identification via sysfs to userspace
  [*] Export DMI identification via sysfs to userspace
  <*> DMI table support in sysfs
  [*] DMI table support in sysfs
File systems  --->
File systems  --->
  [*] Inotify support for userspace
  [*] Inotify support for userspace
  [*] Filesystem wide access notification
  [*] Filesystem wide access notification
   [*]  fanotify permissions checking
   [*]  fanotify permissions checking
  <*> Kernel automounter version 4 support (also supports v3)
  [*] Kernel automounter version 4 support (also supports v3)
  Pseudo filesystems
  Pseudo filesystems
   [*] /proc file system support
   [*] /proc file system support
Line 104: Line 104:
{{Kernel|Kernel .config|
{{Kernel|Kernel .config|
<pre>
<pre>
[*] Enable the block layer  --->
[*]  Block layer SG support v4
Device Drivers  --->
Device Drivers  --->
  Generic Driver Options  --->
  Generic Driver Options  --->
Line 111: Line 113:
  Pseudo filesystems
  Pseudo filesystems
   [*] Tmpfs virtual memory file system support (former shm fs)
   [*] Tmpfs virtual memory file system support (former shm fs)
  [*]  Tmpfs POSIX Access Control Lists
</pre>
</pre>
}}
}}
Line 126: Line 129:
   [*] Tmpfs virtual memory file system support (former shm fs)
   [*] Tmpfs virtual memory file system support (former shm fs)
   [*]  Tmpfs POSIX Access Control Lists
   [*]  Tmpfs POSIX Access Control Lists
  -*- Native language support  --->
  [*] Native language support  --->
   (utf8) Default NLS Option
   (utf8) Default NLS Option
   <*>   NLS UTF-8
   [*]   NLS UTF-8
</pre>
</pre>
}}
}}
Line 137: Line 140:
Device Drivers  --->
Device Drivers  --->
  Graphics support  --->
  Graphics support  --->
   <*> /dev/agpgart (AGP Support)  --->
   [*] /dev/agpgart (AGP Support)  --->
   <*> Direct Rendering Manager (XFree86 4.1.0 and higher DRI support)  --->
   [*] Direct Rendering Manager (XFree86 4.1.0 and higher DRI support)  --->
   <*> Intel 8xx/9xx/G3x/G4x/HD Graphics
   [*] Intel 8xx/9xx/G3x/G4x/HD Graphics
   [*]  Enable modesetting on intel by default
   [*]  Enable modesetting on intel by default
</pre>
</pre>
Line 186: Line 189:
   [*] Network packet filtering framework (Netfilter)  --->
   [*] Network packet filtering framework (Netfilter)  --->
   Core Netfilter Configuration  --->
   Core Netfilter Configuration  --->
     <*>   CHECKSUM target support
     [*]   CHECKSUM target support
   [*] Network packet filtering framework (Netfilter)  --->
   [*] Network packet filtering framework (Netfilter)  --->
   <*>   Ethernet Bridge tables (ebtables) support  --->
   [*]   Ethernet Bridge tables (ebtables) support  --->
</pre>
</pre>
Linux Containers virtualisation support:
Linux Containers virtualisation support:
Line 217: Line 220:
Device Drivers  --->
Device Drivers  --->
  Character devices  --->
  Character devices  --->
   -*- Unix98 PTY support
   [*] Unix98 PTY support
   [*]  Support multiple instances of devpts
   [*]  Support multiple instances of devpts
Device Drivers  --->
Device Drivers  --->
  [*] Network device support  --->
  [*] Network device support  --->
   [*]  Network core driver support
   [*]  Network core driver support
   <*>     MAC-VLAN support (EXPERIMENTAL)
   [*]     MAC-VLAN support (EXPERIMENTAL)
   <*>     Virtual ethernet pair device
   [*]     Virtual ethernet pair device
</pre>
</pre>
MAC-based TAP (macvlan/macvtap) for networking instead of the normal TUN/TAP:
MAC-based TAP (macvlan/macvtap) for networking instead of the normal TUN/TAP:
Line 230: Line 233:
  [*] Network device support  --->
  [*] Network device support  --->
   [*]  Network core driver support
   [*]  Network core driver support
   <*>     MAC-VLAN support (EXPERIMENTAL)
   [*]     MAC-VLAN support (EXPERIMENTAL)
   <*>       MAC-VLAN based tap driver (EXPERIMENTAL)
   [*]       MAC-VLAN based tap driver (EXPERIMENTAL)
</pre>
</pre>
}}
}}
Line 240: Line 243:
[*] Networking support  --->
[*] Networking support  --->
  Networking options  --->
  Networking options  --->
   <*> 802.1d Ethernet Bridging
   [*] 802.1d Ethernet Bridging
Device Drivers  --->
Device Drivers  --->
  [*] Network device support  --->
  [*] Network device support  --->
   [*]  Network core driver support
   [*]  Network core driver support
   <*>     Universal TUN/TAP device driver support
   [*]     Universal TUN/TAP device driver support
[*] Virtualization  --->
[*] Virtualization  --->
  <*>   Kernel-based Virtual Machine (KVM) support
  [*]   Kernel-based Virtual Machine (KVM) support
  <*>     KVM for Intel processors support
  [*]     KVM for Intel processors support
  < >     KVM for AMD processors support
  [ ]     KVM for AMD processors support
  <*>   Host kernel accelerator for virtio net (EXPERIMENTAL)
  [*]   Host kernel accelerator for virtio net (EXPERIMENTAL)
</pre>
</pre>
[http://www.linux-kvm.org/page/How_to_assign_devices_with_VT-d_in_KVM Official VT-d documentation]
[http://www.linux-kvm.org/page/How_to_assign_devices_with_VT-d_in_KVM Official VT-d documentation]
Line 255: Line 258:
Bus options (PCI etc.)  --->
Bus options (PCI etc.)  --->
  [*] Enable PCI resource re-allocation detection
  [*] Enable PCI resource re-allocation detection
  <*> PCI Stub driver
  [*] PCI Stub driver
  [*] PCI IOV support
  [*] PCI IOV support
Device Drivers  --->
Device Drivers  --->
Line 274: Line 277:
Device Drivers  --->
Device Drivers  --->
  Misc devices  --->
  Misc devices  --->
   <*> VMware Balloon Driver
   [*] VMware Balloon Driver
  SCSI device support  --->
  SCSI device support  --->
   [*] SCSI low-level drivers  --->
   [*] SCSI low-level drivers  --->
   <*>   VMware PVSCSI driver support
   [*]   VMware PVSCSI driver support
  [*] Network device support  --->
  [*] Network device support  --->
   <*>   VMware VMXNET3 ethernet driver
   [*]   VMware VMXNET3 ethernet driver
  Graphics support  --->
  Graphics support  --->
   <*> Direct Rendering Manager (XFree86 4.1.0 and higher DRI support)  --->
   [*] Direct Rendering Manager (XFree86 4.1.0 and higher DRI support)  --->
   <*>   DRM driver for VMware Virtual GPU
   [*]   DRM driver for VMware Virtual GPU
</pre>
</pre>
}}
}}

Revision as of 06:23, 20 March 2013

Ext4 filesystem

Linux Kernel Configuration: Kernel .config
File systems  --->
 <*> The Extended 4 (ext4) filesystem
 [*]   Use ext4 for ext2/ext3 file systems
 [*]   Ext4 extended attributes

GPT partitions

Linux Kernel Configuration: Kernel .config
-*- Enable the block layer  --->
  Partition Types  --->
    [*]   EFI GUID Partition support

systemd

Linux Kernel Configuration: Kernel .config
General setup  --->
 [*] open by fhandle syscalls
 [*] Auditing support
  [*]   Make audit loginuid immutable
 [*] Control Group support  --->
  [*]   Freezer cgroup subsystem
  [*]   Device controller for cgroups
  [*]   Cpuset support
  [*]   Simple CPU accounting cgroup subsystem
  [*]   Resource counters
  [*]     Memory Resource Controller for Control Groups
  [*]       Memory Resource Controller Swap Extension
  [*]         Memory Resource Controller Swap Extension enabled by default
  [*]       Memory Resource Controller Kernel Memory accounting (EXPERIMENTAL)
  [*]     HugeTLB Resource Controller for Control Groups
  [*]   Enable perf_event per-cpu per-container group (cgroup) monitoring
  [*]   Group CPU scheduler  --->
   [*]   Group scheduling for SCHED_OTHER
   [*]     CPU bandwidth provisioning for FAIR_GROUP_SCHED
   [*]   Group scheduling for SCHED_RR/FIFO
  [*]   Block IO controller
 [*] Namespaces support  --->
  [*]   UTS namespace
  [*]   IPC namespace
  [*]   User namespace (EXPERIMENTAL)
  [*]   PID Namespaces
  [*]   Network namespace
 [*] Automatic process group scheduling
 [ ] Enable deprecated sysfs features to support old userspace tools
[*] Enable the block layer  --->
 Partition Types  --->
  [*] Advanced partition selection
   [*]   EFI GUID Partition support
Processor type and features  --->
 [*] Transparent Hugepage Support
       Transparent Hugepage Support sysfs defaults (always)  --->
 [*] Enable seccomp to safely compute untrusted bytecode
 [*] EFI runtime service support
[*] Networking support  --->
 Networking options  --->
  [*]   The IPv6 protocol  --->
Device Drivers  --->
 Generic Driver Options  --->
  ()  path to uevent helper
  [*] Maintain a devtmpfs filesystem to mount at /dev
  [*]   Automount devtmpfs at /dev, after the kernel mounted the rootfs
 [*] Real Time Clock  --->
  [*]   Set system time from RTC on startup and resume
   (rtc0)  RTC used to set the system time
  [*]   /sys/class/rtc/rtcN (sysfs)
  [*]   /proc/driver/rtc (procfs for rtc0)
  [*]   /dev/rtcN (character devices)
  [*]   PC-style 'CMOS'
Firmware Drivers  --->
 [*] EFI Variable Support via sysfs
 [*] Export DMI identification via sysfs to userspace
 [*] DMI table support in sysfs
File systems  --->
 [*] Inotify support for userspace
 [*] Filesystem wide access notification
  [*]   fanotify permissions checking
 [*] Kernel automounter version 4 support (also supports v3)
 Pseudo filesystems
  [*] /proc file system support
  [*] Tmpfs virtual memory file system support (former shm fs)
  [*]   Tmpfs POSIX Access Control Lists
  [*]   Tmpfs extended attributes
  [*] HugeTLB file system support
Security options  --->
 [*] Enable different security models

SMACK support

Security options  --->
 [*] Simplified Mandatory Access Control Kernel Support
 Default security module (Simplified Mandatory Access Control)  --->

udev

Linux Kernel Configuration: Kernel .config
[*] Enable the block layer  --->
 [*]   Block layer SG support v4
Device Drivers  --->
 Generic Driver Options  --->
  [*] Maintain a devtmpfs filesystem to mount at /dev
  [*]   Automount devtmpfs at /dev, after the kernel mounted the rootfs
File systems  --->
 Pseudo filesystems
  [*] Tmpfs virtual memory file system support (former shm fs)
  [*]   Tmpfs POSIX Access Control Lists

udisks2

Linux Kernel Configuration: Kernel .config
General setup  --->
 [*] Support for paging of anonymous memory (swap)
Device Drivers  --->
 [*] USB support  --->
  [*]     USB runtime power management (autosuspend) and wakeup
File systems  --->
 Pseudo filesystems
  [*] Tmpfs virtual memory file system support (former shm fs)
  [*]   Tmpfs POSIX Access Control Lists
 [*] Native language support  --->
  (utf8) Default NLS Option
  [*]   NLS UTF-8

xf86-video-intel

Linux Kernel Configuration: Kernel .config
Device Drivers  --->
 Graphics support  --->
  [*] /dev/agpgart (AGP Support)  --->
  [*] Direct Rendering Manager (XFree86 4.1.0 and higher DRI support)  --->
  [*] Intel 8xx/9xx/G3x/G4x/HD Graphics
  [*]   Enable modesetting on intel by default

sydbox

Linux Kernel Configuration: Kernel .config
Processor type and features  --->
 [*] Cross Memory Support
 [*] Enable seccomp to safely compute untrusted bytecode

Chromium/Chrome

Linux Kernel Configuration: Kernel .config
General setup  --->
 [*] Namespaces support  --->
  [*]   PID Namespaces
  [*]   Network namespace
Processor type and features  --->
 [*] Enable seccomp to safely compute untrusted bytecode

Apache

Linux Kernel Configuration: Kernel .config
General setup  --->
 [*] System V IPC

mpm-itk 2.4.2

Processor type and features  --->
 [*] Enable seccomp to safely compute untrusted bytecode

libvirt

Linux Kernel Configuration: Kernel .config
[*] Networking support  --->
 Networking options  --->
  [*]   Advanced netfilter configuration
  [*] Network packet filtering framework (Netfilter)  --->
   Core Netfilter Configuration  --->
    [*]   CHECKSUM target support
  [*] Network packet filtering framework (Netfilter)  --->
   [*]   Ethernet Bridge tables (ebtables) support  --->

Linux Containers virtualisation support:

General setup  --->
 [*] POSIX Message Queues
 [*] Control Group support  --->
  [*]   Freezer cgroup subsystem
  [*]   Device controller for cgroups
  [*]   Cpuset support
  [*]   Simple CPU accounting cgroup subsystem
  [*]   Resource counters
  [*]     Memory Resource Controller for Control Groups
  [*]       Memory Resource Controller Swap Extension
  [*]         Memory Resource Controller Swap Extension enabled by default
  [*]       Memory Resource Controller Kernel Memory accounting (EXPERIMENTAL)
  [*]   Enable perf_event per-cpu per-container group (cgroup) monitoring
  [*]   Group CPU scheduler  --->
   [*]   Group scheduling for SCHED_OTHER
   [*]     CPU bandwidth provisioning for FAIR_GROUP_SCHED
   [*]   Group scheduling for SCHED_RR/FIFO
  [*]   Block IO controller
 [*] Namespaces support  --->
  [*]   UTS namespace
  [*]   IPC namespace
  [*]   PID Namespaces
  [*]   Network namespace
Device Drivers  --->
 Character devices  --->
  [*] Unix98 PTY support
   [*]   Support multiple instances of devpts
Device Drivers  --->
 [*] Network device support  --->
  [*]   Network core driver support
  [*]     MAC-VLAN support (EXPERIMENTAL)
  [*]     Virtual ethernet pair device

MAC-based TAP (macvlan/macvtap) for networking instead of the normal TUN/TAP:

Device Drivers  --->
 [*] Network device support  --->
  [*]   Network core driver support
  [*]     MAC-VLAN support (EXPERIMENTAL)
  [*]       MAC-VLAN based tap driver (EXPERIMENTAL)

KVM host

Linux Kernel Configuration: Kernel .config
[*] Networking support  --->
 Networking options  --->
  [*] 802.1d Ethernet Bridging
Device Drivers  --->
 [*] Network device support  --->
  [*]   Network core driver support
   [*]     Universal TUN/TAP device driver support
[*] Virtualization  --->
 [*]   Kernel-based Virtual Machine (KVM) support
 [*]     KVM for Intel processors support
 [ ]     KVM for AMD processors support
 [*]   Host kernel accelerator for virtio net (EXPERIMENTAL)

Official VT-d documentation

Bus options (PCI etc.)  --->
 [*] Enable PCI resource re-allocation detection
 [*] PCI Stub driver
 [*] PCI IOV support
Device Drivers  --->
 [*] IOMMU Hardware Support  --->
  [ ]   AMD IOMMU support
  [*]   Support for Intel IOMMU using DMA Remapping Devices
  [*]     Enable Intel DMA Remapping Devices by default
  [*]   Support for Interrupt Remapping (EXPERIMENTAL)

KVM guest

open-vm-tools

VMware ESXi guest

Linux Kernel Configuration: Kernel .config
Device Drivers  --->
 Misc devices  --->
  [*] VMware Balloon Driver
 SCSI device support  --->
  [*] SCSI low-level drivers  --->
   [*]   VMware PVSCSI driver support
 [*] Network device support  --->
  [*]   VMware VMXNET3 ethernet driver
 Graphics support  --->
  [*] Direct Rendering Manager (XFree86 4.1.0 and higher DRI support)  --->
   [*]   DRM driver for VMware Virtual GPU