Mauro Carvalho Chehab | 609d99a | 2016-09-19 08:07:56 -0300 | [diff] [blame] | 1 | .. _changes: |
| 2 | |
Jonathan Corbet | 9b4ebd9 | 2016-10-26 16:34:09 -0600 | [diff] [blame] | 3 | Minimal requirements to compile the Kernel |
Mauro Carvalho Chehab | 840f669 | 2016-09-19 08:07:42 -0300 | [diff] [blame] | 4 | ++++++++++++++++++++++++++++++++++++++++++ |
| 5 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 6 | Intro |
| 7 | ===== |
| 8 | |
| 9 | This document is designed to provide a list of the minimum levels of |
Mauro Carvalho Chehab | 81f10d1 | 2016-09-19 08:07:43 -0300 | [diff] [blame] | 10 | software necessary to run the 4.x kernels. |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 11 | |
| 12 | This document is originally based on my "Changes" file for 2.0.x kernels |
| 13 | and therefore owes credit to the same people as that file (Jared Mauch, |
| 14 | Axel Boldt, Alessandro Sigala, and countless other users all over the |
| 15 | 'net). |
| 16 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 17 | Current Minimal Requirements |
Mauro Carvalho Chehab | 840f669 | 2016-09-19 08:07:42 -0300 | [diff] [blame] | 18 | **************************** |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 19 | |
Mauro Carvalho Chehab | 840f669 | 2016-09-19 08:07:42 -0300 | [diff] [blame] | 20 | Upgrade to at **least** these software revisions before thinking you've |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 21 | encountered a bug! If you're unsure what version you're currently |
| 22 | running, the suggested command should tell you. |
| 23 | |
Linus Torvalds | 5adaf85 | 2011-07-11 16:48:38 -0700 | [diff] [blame] | 24 | Again, keep in mind that this list assumes you are already functionally |
| 25 | running a Linux kernel. Also, not all tools are necessary on all |
| 26 | systems; obviously, if you don't have any ISDN hardware, for example, |
| 27 | you probably needn't concern yourself with isdn4k-utils. |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 28 | |
Mauro Carvalho Chehab | 840f669 | 2016-09-19 08:07:42 -0300 | [diff] [blame] | 29 | ====================== =============== ======================================== |
| 30 | Program Minimal version Command to check the version |
| 31 | ====================== =============== ======================================== |
| 32 | GNU C 3.2 gcc --version |
Masahiro Yamada | 37d69ee | 2017-05-07 00:39:17 +0900 | [diff] [blame] | 33 | GNU make 3.81 make --version |
Mauro Carvalho Chehab | 840f669 | 2016-09-19 08:07:42 -0300 | [diff] [blame] | 34 | binutils 2.12 ld -v |
| 35 | util-linux 2.10o fdformat --version |
| 36 | module-init-tools 0.9.10 depmod -V |
| 37 | e2fsprogs 1.41.4 e2fsck -V |
| 38 | jfsutils 1.1.3 fsck.jfs -V |
| 39 | reiserfsprogs 3.6.3 reiserfsck -V |
| 40 | xfsprogs 2.6.0 xfs_db -V |
| 41 | squashfs-tools 4.0 mksquashfs -version |
| 42 | btrfs-progs 0.18 btrfsck |
| 43 | pcmciautils 004 pccardctl -V |
| 44 | quota-tools 3.09 quota -V |
| 45 | PPP 2.4.0 pppd --version |
| 46 | isdn4k-utils 3.1pre1 isdnctrl 2>&1|grep version |
| 47 | nfs-utils 1.0.5 showmount --version |
| 48 | procps 3.2.0 ps --version |
| 49 | oprofile 0.9 oprofiled --version |
| 50 | udev 081 udevd --version |
| 51 | grub 0.93 grub --version || grub-install --version |
| 52 | mcelog 0.6 mcelog --version |
| 53 | iptables 1.4.2 iptables -V |
| 54 | openssl & libcrypto 1.0.0 openssl version |
| 55 | bc 1.06.95 bc --version |
Mauro Carvalho Chehab | 81f10d1 | 2016-09-19 08:07:43 -0300 | [diff] [blame] | 56 | Sphinx\ [#f1]_ 1.2 sphinx-build --version |
Mauro Carvalho Chehab | 840f669 | 2016-09-19 08:07:42 -0300 | [diff] [blame] | 57 | ====================== =============== ======================================== |
Jan Engelhardt | 7a92263 | 2009-12-14 14:52:10 +0100 | [diff] [blame] | 58 | |
Mauro Carvalho Chehab | 81f10d1 | 2016-09-19 08:07:43 -0300 | [diff] [blame] | 59 | .. [#f1] Sphinx is needed only to build the Kernel documentation |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 60 | |
| 61 | Kernel compilation |
Mauro Carvalho Chehab | 840f669 | 2016-09-19 08:07:42 -0300 | [diff] [blame] | 62 | ****************** |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 63 | |
| 64 | GCC |
| 65 | --- |
| 66 | |
| 67 | The gcc version requirements may vary depending on the type of CPU in your |
Andrew Morton | a136564 | 2006-01-08 01:04:09 -0800 | [diff] [blame] | 68 | computer. |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 69 | |
| 70 | Make |
| 71 | ---- |
| 72 | |
Max Filippov | 13e0988 | 2017-05-06 15:39:25 -0700 | [diff] [blame] | 73 | You will need GNU make 3.81 or later to build the kernel. |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 74 | |
| 75 | Binutils |
| 76 | -------- |
| 77 | |
Mauro Carvalho Chehab | 840f669 | 2016-09-19 08:07:42 -0300 | [diff] [blame] | 78 | Linux on IA-32 has recently switched from using ``as86`` to using ``gas`` for |
| 79 | assembling the 16-bit boot code, removing the need for ``as86`` to compile |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 80 | your kernel. This change does, however, mean that you need a recent |
| 81 | release of binutils. |
| 82 | |
Jose Luis Perez Diez | 0821962 | 2009-06-17 16:26:30 -0700 | [diff] [blame] | 83 | Perl |
| 84 | ---- |
| 85 | |
Mauro Carvalho Chehab | 840f669 | 2016-09-19 08:07:42 -0300 | [diff] [blame] | 86 | You will need perl 5 and the following modules: ``Getopt::Long``, |
| 87 | ``Getopt::Std``, ``File::Basename``, and ``File::Find`` to build the kernel. |
Jose Luis Perez Diez | 0821962 | 2009-06-17 16:26:30 -0700 | [diff] [blame] | 88 | |
Alan | 221069b | 2014-05-19 14:02:17 +0100 | [diff] [blame] | 89 | BC |
| 90 | -- |
| 91 | |
| 92 | You will need bc to build kernels 3.10 and higher |
| 93 | |
Jose Luis Perez Diez | 0821962 | 2009-06-17 16:26:30 -0700 | [diff] [blame] | 94 | |
David Howells | 3f1d44a | 2015-08-27 11:13:36 +0100 | [diff] [blame] | 95 | OpenSSL |
| 96 | ------- |
| 97 | |
| 98 | Module signing and external certificate handling use the OpenSSL program and |
| 99 | crypto library to do key creation and signature generation. |
| 100 | |
| 101 | You will need openssl to build kernels 3.7 and higher if module signing is |
| 102 | enabled. You will also need openssl development packages to build kernels 4.3 |
| 103 | and higher. |
| 104 | |
| 105 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 106 | System utilities |
Mauro Carvalho Chehab | 840f669 | 2016-09-19 08:07:42 -0300 | [diff] [blame] | 107 | **************** |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 108 | |
| 109 | Architectural changes |
| 110 | --------------------- |
| 111 | |
| 112 | DevFS has been obsoleted in favour of udev |
| 113 | (http://www.kernel.org/pub/linux/utils/kernel/hotplug/) |
| 114 | |
| 115 | 32-bit UID support is now in place. Have fun! |
| 116 | |
| 117 | Linux documentation for functions is transitioning to inline |
| 118 | documentation via specially-formatted comments near their |
| 119 | definitions in the source. These comments can be combined with the |
| 120 | SGML templates in the Documentation/DocBook directory to make DocBook |
| 121 | files, which can then be converted by DocBook stylesheets to PostScript, |
| 122 | HTML, PDF files, and several other formats. In order to convert from |
| 123 | DocBook format to a format of your choice, you'll need to install Jade as |
| 124 | well as the desired DocBook stylesheets. |
| 125 | |
| 126 | Util-linux |
| 127 | ---------- |
| 128 | |
Mauro Carvalho Chehab | 840f669 | 2016-09-19 08:07:42 -0300 | [diff] [blame] | 129 | New versions of util-linux provide ``fdisk`` support for larger disks, |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 130 | support new options to mount, recognize more supported partition |
| 131 | types, have a fdformat which works with 2.4 kernels, and similar goodies. |
| 132 | You'll probably want to upgrade. |
| 133 | |
| 134 | Ksymoops |
| 135 | -------- |
| 136 | |
Jesper Juhl | 62a07e6 | 2005-11-07 01:01:03 -0800 | [diff] [blame] | 137 | If the unthinkable happens and your kernel oopses, you may need the |
| 138 | ksymoops tool to decode it, but in most cases you don't. |
Mauro Carvalho Chehab | 840f669 | 2016-09-19 08:07:42 -0300 | [diff] [blame] | 139 | It is generally preferred to build the kernel with ``CONFIG_KALLSYMS`` so |
Linus Torvalds | 5adaf85 | 2011-07-11 16:48:38 -0700 | [diff] [blame] | 140 | that it produces readable dumps that can be used as-is (this also |
| 141 | produces better output than ksymoops). If for some reason your kernel |
Mauro Carvalho Chehab | 840f669 | 2016-09-19 08:07:42 -0300 | [diff] [blame] | 142 | is not build with ``CONFIG_KALLSYMS`` and you have no way to rebuild and |
Linus Torvalds | 5adaf85 | 2011-07-11 16:48:38 -0700 | [diff] [blame] | 143 | reproduce the Oops with that option, then you can still decode that Oops |
| 144 | with ksymoops. |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 145 | |
| 146 | Module-Init-Tools |
| 147 | ----------------- |
| 148 | |
Mauro Carvalho Chehab | 840f669 | 2016-09-19 08:07:42 -0300 | [diff] [blame] | 149 | A new module loader is now in the kernel that requires ``module-init-tools`` |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 150 | to use. It is backward compatible with the 2.4.x series kernels. |
| 151 | |
| 152 | Mkinitrd |
| 153 | -------- |
| 154 | |
Mauro Carvalho Chehab | 840f669 | 2016-09-19 08:07:42 -0300 | [diff] [blame] | 155 | These changes to the ``/lib/modules`` file tree layout also require that |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 156 | mkinitrd be upgraded. |
| 157 | |
| 158 | E2fsprogs |
| 159 | --------- |
| 160 | |
Mauro Carvalho Chehab | 840f669 | 2016-09-19 08:07:42 -0300 | [diff] [blame] | 161 | The latest version of ``e2fsprogs`` fixes several bugs in fsck and |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 162 | debugfs. Obviously, it's a good idea to upgrade. |
| 163 | |
| 164 | JFSutils |
| 165 | -------- |
| 166 | |
Mauro Carvalho Chehab | 840f669 | 2016-09-19 08:07:42 -0300 | [diff] [blame] | 167 | The ``jfsutils`` package contains the utilities for the file system. |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 168 | The following utilities are available: |
Mauro Carvalho Chehab | 840f669 | 2016-09-19 08:07:42 -0300 | [diff] [blame] | 169 | |
| 170 | - ``fsck.jfs`` - initiate replay of the transaction log, and check |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 171 | and repair a JFS formatted partition. |
Mauro Carvalho Chehab | 840f669 | 2016-09-19 08:07:42 -0300 | [diff] [blame] | 172 | |
| 173 | - ``mkfs.jfs`` - create a JFS formatted partition. |
| 174 | |
| 175 | - other file system utilities are also available in this package. |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 176 | |
| 177 | Reiserfsprogs |
| 178 | ------------- |
| 179 | |
| 180 | The reiserfsprogs package should be used for reiserfs-3.6.x |
| 181 | (Linux kernels 2.4.x). It is a combined package and contains working |
Mauro Carvalho Chehab | 840f669 | 2016-09-19 08:07:42 -0300 | [diff] [blame] | 182 | versions of ``mkreiserfs``, ``resize_reiserfs``, ``debugreiserfs`` and |
| 183 | ``reiserfsck``. These utils work on both i386 and alpha platforms. |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 184 | |
| 185 | Xfsprogs |
| 186 | -------- |
| 187 | |
Mauro Carvalho Chehab | 840f669 | 2016-09-19 08:07:42 -0300 | [diff] [blame] | 188 | The latest version of ``xfsprogs`` contains ``mkfs.xfs``, ``xfs_db``, and the |
| 189 | ``xfs_repair`` utilities, among others, for the XFS filesystem. It is |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 190 | architecture independent and any version from 2.0.0 onward should |
| 191 | work correctly with this version of the XFS kernel code (2.6.0 or |
| 192 | later is recommended, due to some significant improvements). |
| 193 | |
Dominik Brodowski | 5085cb2 | 2005-06-27 16:28:45 -0700 | [diff] [blame] | 194 | PCMCIAutils |
| 195 | ----------- |
| 196 | |
Mauro Carvalho Chehab | 840f669 | 2016-09-19 08:07:42 -0300 | [diff] [blame] | 197 | PCMCIAutils replaces ``pcmcia-cs``. It properly sets up |
Dominik Brodowski | 5085cb2 | 2005-06-27 16:28:45 -0700 | [diff] [blame] | 198 | PCMCIA sockets at system startup and loads the appropriate modules |
| 199 | for 16-bit PCMCIA devices if the kernel is modularized and the hotplug |
| 200 | subsystem is used. |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 201 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 202 | Quota-tools |
| 203 | ----------- |
| 204 | |
| 205 | Support for 32 bit uid's and gid's is required if you want to use |
| 206 | the newer version 2 quota format. Quota-tools version 3.07 and |
| 207 | newer has this support. Use the recommended version or newer |
| 208 | from the table above. |
| 209 | |
| 210 | Intel IA32 microcode |
| 211 | -------------------- |
| 212 | |
| 213 | A driver has been added to allow updating of Intel IA32 microcode, |
Greg Kroah-Hartman | 890fbae | 2005-06-20 21:15:16 -0700 | [diff] [blame] | 214 | accessible as a normal (misc) character device. If you are not using |
Jonathan Corbet | 1b49ecf | 2016-09-20 18:46:36 -0600 | [diff] [blame] | 215 | udev you may need to:: |
Mauro Carvalho Chehab | 840f669 | 2016-09-19 08:07:42 -0300 | [diff] [blame] | 216 | |
| 217 | mkdir /dev/cpu |
| 218 | mknod /dev/cpu/microcode c 10 184 |
| 219 | chmod 0644 /dev/cpu/microcode |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 220 | |
| 221 | as root before you can use this. You'll probably also want to |
| 222 | get the user-space microcode_ctl utility to use with this. |
| 223 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 224 | udev |
| 225 | ---- |
Mauro Carvalho Chehab | 840f669 | 2016-09-19 08:07:42 -0300 | [diff] [blame] | 226 | |
| 227 | ``udev`` is a userspace application for populating ``/dev`` dynamically with |
| 228 | only entries for devices actually present. ``udev`` replaces the basic |
Jan Engelhardt | 03a67a4 | 2006-11-30 05:32:19 +0100 | [diff] [blame] | 229 | functionality of devfs, while allowing persistent device naming for |
Greg Kroah-Hartman | 890fbae | 2005-06-20 21:15:16 -0700 | [diff] [blame] | 230 | devices. |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 231 | |
Miklos Szeredi | 909021e | 2005-09-27 21:45:20 -0700 | [diff] [blame] | 232 | FUSE |
| 233 | ---- |
| 234 | |
| 235 | Needs libfuse 2.4.0 or later. Absolute minimum is 2.3.0 but mount |
Mauro Carvalho Chehab | 840f669 | 2016-09-19 08:07:42 -0300 | [diff] [blame] | 236 | options ``direct_io`` and ``kernel_cache`` won't work. |
Miklos Szeredi | 909021e | 2005-09-27 21:45:20 -0700 | [diff] [blame] | 237 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 238 | Networking |
Mauro Carvalho Chehab | 840f669 | 2016-09-19 08:07:42 -0300 | [diff] [blame] | 239 | ********** |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 240 | |
| 241 | General changes |
| 242 | --------------- |
| 243 | |
| 244 | If you have advanced network configuration needs, you should probably |
| 245 | consider using the network tools from ip-route2. |
| 246 | |
| 247 | Packet Filter / NAT |
| 248 | ------------------- |
| 249 | The packet filtering and NAT code uses the same tools like the previous 2.4.x |
| 250 | kernel series (iptables). It still includes backwards-compatibility modules |
| 251 | for 2.2.x-style ipchains and 2.0.x-style ipfwadm. |
| 252 | |
| 253 | PPP |
| 254 | --- |
| 255 | |
| 256 | The PPP driver has been restructured to support multilink and to |
| 257 | enable it to operate over diverse media layers. If you use PPP, |
| 258 | upgrade pppd to at least 2.4.0. |
| 259 | |
Greg Kroah-Hartman | 890fbae | 2005-06-20 21:15:16 -0700 | [diff] [blame] | 260 | If you are not using udev, you must have the device file /dev/ppp |
Jonathan Corbet | 1b49ecf | 2016-09-20 18:46:36 -0600 | [diff] [blame] | 261 | which can be made by:: |
Mauro Carvalho Chehab | 840f669 | 2016-09-19 08:07:42 -0300 | [diff] [blame] | 262 | |
| 263 | mknod /dev/ppp c 108 0 |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 264 | |
| 265 | as root. |
| 266 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 267 | Isdn4k-utils |
| 268 | ------------ |
| 269 | |
| 270 | Due to changes in the length of the phone number field, isdn4k-utils |
| 271 | needs to be recompiled or (preferably) upgraded. |
| 272 | |
| 273 | NFS-utils |
| 274 | --------- |
| 275 | |
Linus Torvalds | 5adaf85 | 2011-07-11 16:48:38 -0700 | [diff] [blame] | 276 | In ancient (2.4 and earlier) kernels, the nfs server needed to know |
| 277 | about any client that expected to be able to access files via NFS. This |
Mauro Carvalho Chehab | 840f669 | 2016-09-19 08:07:42 -0300 | [diff] [blame] | 278 | information would be given to the kernel by ``mountd`` when the client |
| 279 | mounted the filesystem, or by ``exportfs`` at system startup. exportfs |
| 280 | would take information about active clients from ``/var/lib/nfs/rmtab``. |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 281 | |
| 282 | This approach is quite fragile as it depends on rmtab being correct |
| 283 | which is not always easy, particularly when trying to implement |
Mauro Carvalho Chehab | 840f669 | 2016-09-19 08:07:42 -0300 | [diff] [blame] | 284 | fail-over. Even when the system is working well, ``rmtab`` suffers from |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 285 | getting lots of old entries that never get removed. |
| 286 | |
Linus Torvalds | 5adaf85 | 2011-07-11 16:48:38 -0700 | [diff] [blame] | 287 | With modern kernels we have the option of having the kernel tell mountd |
| 288 | when it gets a request from an unknown host, and mountd can give |
| 289 | appropriate export information to the kernel. This removes the |
Mauro Carvalho Chehab | 840f669 | 2016-09-19 08:07:42 -0300 | [diff] [blame] | 290 | dependency on ``rmtab`` and means that the kernel only needs to know about |
Linus Torvalds | 5adaf85 | 2011-07-11 16:48:38 -0700 | [diff] [blame] | 291 | currently active clients. |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 292 | |
Jonathan Corbet | 1b49ecf | 2016-09-20 18:46:36 -0600 | [diff] [blame] | 293 | To enable this new functionality, you need to:: |
Mauro Carvalho Chehab | 840f669 | 2016-09-19 08:07:42 -0300 | [diff] [blame] | 294 | |
Robert P. J. Day | e412171 | 2006-09-11 12:39:19 -0400 | [diff] [blame] | 295 | mount -t nfsd nfsd /proc/fs/nfsd |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 296 | |
| 297 | before running exportfs or mountd. It is recommended that all NFS |
| 298 | services be protected from the internet-at-large by a firewall where |
| 299 | that is possible. |
| 300 | |
Andi Kleen | 172d899 | 2009-04-28 23:37:02 +0200 | [diff] [blame] | 301 | mcelog |
| 302 | ------ |
| 303 | |
Paul Bolle | c8c3f7d | 2014-07-12 09:54:52 -0700 | [diff] [blame] | 304 | On x86 kernels the mcelog utility is needed to process and log machine check |
Mauro Carvalho Chehab | 840f669 | 2016-09-19 08:07:42 -0300 | [diff] [blame] | 305 | events when ``CONFIG_X86_MCE`` is enabled. Machine check events are errors |
| 306 | reported by the CPU. Processing them is strongly encouraged. |
Andi Kleen | 172d899 | 2009-04-28 23:37:02 +0200 | [diff] [blame] | 307 | |
Mauro Carvalho Chehab | 81f10d1 | 2016-09-19 08:07:43 -0300 | [diff] [blame] | 308 | Kernel documentation |
| 309 | ******************** |
| 310 | |
| 311 | Sphinx |
| 312 | ------ |
| 313 | |
| 314 | The ReST markups currently used by the Documentation/ files are meant to be |
| 315 | built with ``Sphinx`` version 1.2 or upper. If you're desiring to build |
| 316 | PDF outputs, it is recommended to use version 1.4.6. |
| 317 | |
| 318 | .. note:: |
| 319 | |
| 320 | Please notice that, for PDF and LaTeX output, you'll also need ``XeLaTeX`` |
Markus Heiser | db6ccf2 | 2017-03-06 14:09:27 +0100 | [diff] [blame] | 321 | version 3.14159265. Depending on the distribution, you may also need to |
| 322 | install a series of ``texlive`` packages that provide the minimal set of |
| 323 | functionalities required for ``XeLaTex`` to work. For PDF output you'll also |
| 324 | need ``convert(1)`` from ImageMagick (https://www.imagemagick.org). |
Mauro Carvalho Chehab | 81f10d1 | 2016-09-19 08:07:43 -0300 | [diff] [blame] | 325 | |
| 326 | Other tools |
| 327 | ----------- |
| 328 | |
| 329 | In order to produce documentation from DocBook, you'll also need ``xmlto``. |
| 330 | Please notice, however, that we're currently migrating all documents to use |
| 331 | ``Sphinx``. |
| 332 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 333 | Getting updated software |
| 334 | ======================== |
| 335 | |
| 336 | Kernel compilation |
| 337 | ****************** |
| 338 | |
Andrew Morton | a136564 | 2006-01-08 01:04:09 -0800 | [diff] [blame] | 339 | gcc |
| 340 | --- |
Mauro Carvalho Chehab | 840f669 | 2016-09-19 08:07:42 -0300 | [diff] [blame] | 341 | |
| 342 | - <ftp://ftp.gnu.org/gnu/gcc/> |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 343 | |
| 344 | Make |
| 345 | ---- |
Mauro Carvalho Chehab | 840f669 | 2016-09-19 08:07:42 -0300 | [diff] [blame] | 346 | |
| 347 | - <ftp://ftp.gnu.org/gnu/make/> |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 348 | |
| 349 | Binutils |
| 350 | -------- |
Mauro Carvalho Chehab | 840f669 | 2016-09-19 08:07:42 -0300 | [diff] [blame] | 351 | |
SeongJae Park | 3bdadc8 | 2017-03-27 22:05:34 +0900 | [diff] [blame] | 352 | - <https://www.kernel.org/pub/linux/devel/binutils/> |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 353 | |
David Howells | 3f1d44a | 2015-08-27 11:13:36 +0100 | [diff] [blame] | 354 | OpenSSL |
| 355 | ------- |
Mauro Carvalho Chehab | 840f669 | 2016-09-19 08:07:42 -0300 | [diff] [blame] | 356 | |
| 357 | - <https://www.openssl.org/> |
David Howells | 3f1d44a | 2015-08-27 11:13:36 +0100 | [diff] [blame] | 358 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 359 | System utilities |
| 360 | **************** |
| 361 | |
| 362 | Util-linux |
| 363 | ---------- |
Mauro Carvalho Chehab | 840f669 | 2016-09-19 08:07:42 -0300 | [diff] [blame] | 364 | |
SeongJae Park | 3bdadc8 | 2017-03-27 22:05:34 +0900 | [diff] [blame] | 365 | - <https://www.kernel.org/pub/linux/utils/util-linux/> |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 366 | |
| 367 | Ksymoops |
| 368 | -------- |
Mauro Carvalho Chehab | 840f669 | 2016-09-19 08:07:42 -0300 | [diff] [blame] | 369 | |
SeongJae Park | 3bdadc8 | 2017-03-27 22:05:34 +0900 | [diff] [blame] | 370 | - <https://www.kernel.org/pub/linux/utils/kernel/ksymoops/v2.4/> |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 371 | |
| 372 | Module-Init-Tools |
| 373 | ----------------- |
Mauro Carvalho Chehab | 840f669 | 2016-09-19 08:07:42 -0300 | [diff] [blame] | 374 | |
SeongJae Park | 3bdadc8 | 2017-03-27 22:05:34 +0900 | [diff] [blame] | 375 | - <https://www.kernel.org/pub/linux/utils/kernel/module-init-tools/> |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 376 | |
| 377 | Mkinitrd |
| 378 | -------- |
Mauro Carvalho Chehab | 840f669 | 2016-09-19 08:07:42 -0300 | [diff] [blame] | 379 | |
| 380 | - <https://code.launchpad.net/initrd-tools/main> |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 381 | |
| 382 | E2fsprogs |
| 383 | --------- |
Mauro Carvalho Chehab | 840f669 | 2016-09-19 08:07:42 -0300 | [diff] [blame] | 384 | |
| 385 | - <http://prdownloads.sourceforge.net/e2fsprogs/e2fsprogs-1.29.tar.gz> |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 386 | |
| 387 | JFSutils |
| 388 | -------- |
Mauro Carvalho Chehab | 840f669 | 2016-09-19 08:07:42 -0300 | [diff] [blame] | 389 | |
| 390 | - <http://jfs.sourceforge.net/> |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 391 | |
| 392 | Reiserfsprogs |
| 393 | ------------- |
Mauro Carvalho Chehab | 840f669 | 2016-09-19 08:07:42 -0300 | [diff] [blame] | 394 | |
| 395 | - <http://www.kernel.org/pub/linux/utils/fs/reiserfs/> |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 396 | |
| 397 | Xfsprogs |
| 398 | -------- |
Mauro Carvalho Chehab | 840f669 | 2016-09-19 08:07:42 -0300 | [diff] [blame] | 399 | |
| 400 | - <ftp://oss.sgi.com/projects/xfs/> |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 401 | |
Dominik Brodowski | 5085cb2 | 2005-06-27 16:28:45 -0700 | [diff] [blame] | 402 | Pcmciautils |
| 403 | ----------- |
Mauro Carvalho Chehab | 840f669 | 2016-09-19 08:07:42 -0300 | [diff] [blame] | 404 | |
SeongJae Park | 3bdadc8 | 2017-03-27 22:05:34 +0900 | [diff] [blame] | 405 | - <https://www.kernel.org/pub/linux/utils/kernel/pcmcia/> |
Dominik Brodowski | 5085cb2 | 2005-06-27 16:28:45 -0700 | [diff] [blame] | 406 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 407 | Quota-tools |
Mauro Carvalho Chehab | 840f669 | 2016-09-19 08:07:42 -0300 | [diff] [blame] | 408 | ----------- |
| 409 | |
| 410 | - <http://sourceforge.net/projects/linuxquota/> |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 411 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 412 | DocBook Stylesheets |
| 413 | ------------------- |
Mauro Carvalho Chehab | 840f669 | 2016-09-19 08:07:42 -0300 | [diff] [blame] | 414 | |
| 415 | - <http://sourceforge.net/projects/docbook/files/docbook-dsssl/> |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 416 | |
Martin Waitz | 8b0c2d9 | 2005-05-01 08:59:27 -0700 | [diff] [blame] | 417 | XMLTO XSLT Frontend |
| 418 | ------------------- |
Mauro Carvalho Chehab | 840f669 | 2016-09-19 08:07:42 -0300 | [diff] [blame] | 419 | |
| 420 | - <http://cyberelk.net/tim/xmlto/> |
Martin Waitz | 8b0c2d9 | 2005-05-01 08:59:27 -0700 | [diff] [blame] | 421 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 422 | Intel P6 microcode |
| 423 | ------------------ |
Mauro Carvalho Chehab | 840f669 | 2016-09-19 08:07:42 -0300 | [diff] [blame] | 424 | |
| 425 | - <https://downloadcenter.intel.com/> |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 426 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 427 | udev |
| 428 | ---- |
Mauro Carvalho Chehab | 840f669 | 2016-09-19 08:07:42 -0300 | [diff] [blame] | 429 | |
| 430 | - <http://www.freedesktop.org/software/systemd/man/udev.html> |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 431 | |
Miklos Szeredi | 909021e | 2005-09-27 21:45:20 -0700 | [diff] [blame] | 432 | FUSE |
| 433 | ---- |
Mauro Carvalho Chehab | 840f669 | 2016-09-19 08:07:42 -0300 | [diff] [blame] | 434 | |
| 435 | - <http://sourceforge.net/projects/fuse> |
Miklos Szeredi | 909021e | 2005-09-27 21:45:20 -0700 | [diff] [blame] | 436 | |
Andi Kleen | 172d899 | 2009-04-28 23:37:02 +0200 | [diff] [blame] | 437 | mcelog |
| 438 | ------ |
Mauro Carvalho Chehab | 840f669 | 2016-09-19 08:07:42 -0300 | [diff] [blame] | 439 | |
| 440 | - <http://www.mcelog.org/> |
Andi Kleen | 172d899 | 2009-04-28 23:37:02 +0200 | [diff] [blame] | 441 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 442 | Networking |
| 443 | ********** |
| 444 | |
| 445 | PPP |
| 446 | --- |
Mauro Carvalho Chehab | 840f669 | 2016-09-19 08:07:42 -0300 | [diff] [blame] | 447 | |
| 448 | - <ftp://ftp.samba.org/pub/ppp/> |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 449 | |
| 450 | Isdn4k-utils |
| 451 | ------------ |
Mauro Carvalho Chehab | 840f669 | 2016-09-19 08:07:42 -0300 | [diff] [blame] | 452 | |
| 453 | - <ftp://ftp.isdn4linux.de/pub/isdn4linux/utils/> |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 454 | |
| 455 | NFS-utils |
| 456 | --------- |
Mauro Carvalho Chehab | 840f669 | 2016-09-19 08:07:42 -0300 | [diff] [blame] | 457 | |
| 458 | - <http://sourceforge.net/project/showfiles.php?group_id=14> |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 459 | |
| 460 | Iptables |
| 461 | -------- |
Mauro Carvalho Chehab | 840f669 | 2016-09-19 08:07:42 -0300 | [diff] [blame] | 462 | |
| 463 | - <http://www.iptables.org/downloads.html> |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 464 | |
| 465 | Ip-route2 |
| 466 | --------- |
Mauro Carvalho Chehab | 840f669 | 2016-09-19 08:07:42 -0300 | [diff] [blame] | 467 | |
| 468 | - <https://www.kernel.org/pub/linux/utils/net/iproute2/> |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 469 | |
| 470 | OProfile |
| 471 | -------- |
Mauro Carvalho Chehab | 840f669 | 2016-09-19 08:07:42 -0300 | [diff] [blame] | 472 | |
| 473 | - <http://oprofile.sf.net/download/> |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 474 | |
| 475 | NFS-Utils |
| 476 | --------- |
Mauro Carvalho Chehab | 840f669 | 2016-09-19 08:07:42 -0300 | [diff] [blame] | 477 | |
| 478 | - <http://nfs.sourceforge.net/> |
Mauro Carvalho Chehab | 81f10d1 | 2016-09-19 08:07:43 -0300 | [diff] [blame] | 479 | |
| 480 | Kernel documentation |
| 481 | ******************** |
| 482 | |
| 483 | Sphinx |
| 484 | ------ |
| 485 | |
| 486 | - <http://www.sphinx-doc.org/> |