1186128f7SMauro Carvalho Chehab.. _changes:
2186128f7SMauro Carvalho Chehab
39b4ebd98SJonathan CorbetMinimal requirements to compile the Kernel
4186128f7SMauro Carvalho Chehab++++++++++++++++++++++++++++++++++++++++++
5186128f7SMauro Carvalho Chehab
6186128f7SMauro Carvalho ChehabIntro
7186128f7SMauro Carvalho Chehab=====
8186128f7SMauro Carvalho Chehab
9186128f7SMauro Carvalho ChehabThis document is designed to provide a list of the minimum levels of
105a5866c2SBruno Moreira-Guedessoftware necessary to run the current kernel version.
11186128f7SMauro Carvalho Chehab
12186128f7SMauro Carvalho ChehabThis document is originally based on my "Changes" file for 2.0.x kernels
13186128f7SMauro Carvalho Chehaband therefore owes credit to the same people as that file (Jared Mauch,
14186128f7SMauro Carvalho ChehabAxel Boldt, Alessandro Sigala, and countless other users all over the
15186128f7SMauro Carvalho Chehab'net).
16186128f7SMauro Carvalho Chehab
17186128f7SMauro Carvalho ChehabCurrent Minimal Requirements
18186128f7SMauro Carvalho Chehab****************************
19186128f7SMauro Carvalho Chehab
20186128f7SMauro Carvalho ChehabUpgrade to at **least** these software revisions before thinking you've
21186128f7SMauro Carvalho Chehabencountered a bug!  If you're unsure what version you're currently
22d8a224f5SManuel Ebnerrunning, the suggested command should tell you. For a list of the programs
23d8a224f5SManuel Ebneron your system including their version execute ./scripts/ver_linux
24186128f7SMauro Carvalho Chehab
25186128f7SMauro Carvalho ChehabAgain, keep in mind that this list assumes you are already functionally
26186128f7SMauro Carvalho Chehabrunning a Linux kernel.  Also, not all tools are necessary on all
279c3c0c20SArnd Bergmannsystems; obviously, if you don't have any PC Card hardware, for example,
28d8a224f5SManuel Ebneryou probably do not need to concern yourself with pcmciautils.
29186128f7SMauro Carvalho Chehab
30186128f7SMauro Carvalho Chehab====================== ===============  ========================================
31186128f7SMauro Carvalho Chehab        Program        Minimal version       Command to check the version
32186128f7SMauro Carvalho Chehab====================== ===============  ========================================
33da4288b9SMasahiro Yamadabash                   4.2              bash --version
34186128f7SMauro Carvalho Chehabbc                     1.06.95          bc --version
355181afcdSLinus Torvaldsbindgen (optional)     0.71.1           bindgen --version
36ece7e57aSManuel Ebnerbinutils               2.30             ld -v
37ece7e57aSManuel Ebnerbison                  2.0              bison --version
38ece7e57aSManuel Ebnerbtrfs-progs            0.18             btrfs --version
39ce3267a3SNathan ChancellorClang/LLVM (optional)  17.0.1           clang --version
40ece7e57aSManuel Ebnere2fsprogs              1.41.4           e2fsck -V
41ece7e57aSManuel Ebnerflex                   2.5.35           flex --version
42d8a224f5SManuel Ebnergdb                    7.2              gdb --version
43ece7e57aSManuel EbnerGNU awk (optional)     5.1.0            gawk --version
44ece7e57aSManuel EbnerGNU C                  8.1              gcc --version
45ece7e57aSManuel EbnerGNU make               4.0              make --version
46c584476dSMasahiro YamadaGNU tar                1.28             tar --version
47ece7e57aSManuel EbnerGRUB                   0.93             grub --version || grub-install --version
48b230235bSAhmed S. Darwishgtags (optional)       6.6.5            gtags --version
49ece7e57aSManuel Ebneriptables               1.4.2            iptables -V
50ece7e57aSManuel Ebnerjfsutils               1.1.3            fsck.jfs -V
51ece7e57aSManuel Ebnerkmod                   13               kmod -V
52ece7e57aSManuel Ebnermcelog                 0.6              mcelog --version
537a23b027SSimon Glassmkimage (optional)     2017.01          mkimage --version
54ece7e57aSManuel Ebnernfs-utils              1.0.5            showmount --version
55ece7e57aSManuel Ebneropenssl & libcrypto    1.0.0            openssl version
562c1ccd9aSZhan Xushengpahole                 1.26             pahole --version
57ece7e57aSManuel Ebnerpcmciautils            004              pccardctl -V
5848ebe1cbSLorenzo Stoakes (ARM)pigz (optional)        2.4              pigz --version
59ece7e57aSManuel EbnerPPP                    2.4.0            pppd --version
60ece7e57aSManuel Ebnerprocps                 3.2.0            ps --version
61bc20c56eSMauro Carvalho ChehabPython                 3.9.x            python3 --version
62ece7e57aSManuel Ebnerquota-tools            3.09             quota -V
635181afcdSLinus TorvaldsRust (optional)        1.85.0           rustc --version
64ece7e57aSManuel EbnerSphinx\ [#f1]_         3.4.3            sphinx-build --version
65ece7e57aSManuel Ebnersquashfs-tools         4.0              mksquashfs -version
66ece7e57aSManuel Ebnerudev                   081              udevadm --version
67ece7e57aSManuel Ebnerutil-linux             2.10o            mount --version
68ece7e57aSManuel Ebnerxfsprogs               2.6.0            xfs_db -V
69186128f7SMauro Carvalho Chehab====================== ===============  ========================================
70186128f7SMauro Carvalho Chehab
71186128f7SMauro Carvalho Chehab.. [#f1] Sphinx is needed only to build the Kernel documentation
72186128f7SMauro Carvalho Chehab
73186128f7SMauro Carvalho ChehabKernel compilation
74186128f7SMauro Carvalho Chehab******************
75186128f7SMauro Carvalho Chehab
76186128f7SMauro Carvalho ChehabGCC
77186128f7SMauro Carvalho Chehab---
78186128f7SMauro Carvalho Chehab
79186128f7SMauro Carvalho ChehabThe gcc version requirements may vary depending on the type of CPU in your
80186128f7SMauro Carvalho Chehabcomputer.
81186128f7SMauro Carvalho Chehab
823519c4d6SNick DesaulniersClang/LLVM (optional)
833519c4d6SNick Desaulniers---------------------
843519c4d6SNick Desaulniers
853519c4d6SNick DesaulniersThe latest formal release of clang and LLVM utils (according to
863519c4d6SNick Desaulniers`releases.llvm.org <https://releases.llvm.org>`_) are supported for building
873519c4d6SNick Desaulnierskernels. Older releases aren't guaranteed to work, and we may drop workarounds
883519c4d6SNick Desaulniersfrom the kernel that were used to support older versions. Please see additional
893519c4d6SNick Desaulniersdocs on :ref:`Building Linux with Clang/LLVM <kbuild_llvm>`.
903519c4d6SNick Desaulniers
91d07479b2SMiguel OjedaRust (optional)
92d07479b2SMiguel Ojeda---------------
93d07479b2SMiguel Ojeda
9463b27f4aSMiguel OjedaA recent version of the Rust compiler is required.
95d07479b2SMiguel Ojeda
96d07479b2SMiguel OjedaPlease see Documentation/rust/quick-start.rst for instructions on how to
97d07479b2SMiguel Ojedasatisfy the build requirements of Rust support. In particular, the ``Makefile``
98d07479b2SMiguel Ojedatarget ``rustavailable`` is useful to check why the Rust toolchain may not
99d07479b2SMiguel Ojedabe detected.
100d07479b2SMiguel Ojeda
101d07479b2SMiguel Ojedabindgen (optional)
102d07479b2SMiguel Ojeda------------------
103d07479b2SMiguel Ojeda
104d07479b2SMiguel Ojeda``bindgen`` is used to generate the Rust bindings to the C side of the kernel.
105d07479b2SMiguel OjedaIt depends on ``libclang``.
106d07479b2SMiguel Ojeda
107186128f7SMauro Carvalho ChehabMake
108186128f7SMauro Carvalho Chehab----
109186128f7SMauro Carvalho Chehab
1105f99665eSMasahiro YamadaYou will need GNU make 4.0 or later to build the kernel.
111186128f7SMauro Carvalho Chehab
112da4288b9SMasahiro YamadaBash
113da4288b9SMasahiro Yamada----
114da4288b9SMasahiro Yamada
115da4288b9SMasahiro YamadaSome bash scripts are used for the kernel build.
116da4288b9SMasahiro YamadaBash 4.2 or newer is needed.
117da4288b9SMasahiro Yamada
118186128f7SMauro Carvalho ChehabBinutils
119186128f7SMauro Carvalho Chehab--------
120186128f7SMauro Carvalho Chehab
12128d51df0SArnd BergmannBinutils 2.30 or newer is needed to build the kernel.
122186128f7SMauro Carvalho Chehab
1234ab3b801SRandy Dunlappkg-config
1244ab3b801SRandy Dunlap----------
1254ab3b801SRandy Dunlap
1264ab3b801SRandy DunlapThe build system, as of 4.18, requires pkg-config to check for installed
1274ab3b801SRandy Dunlapkconfig tools and to determine flags settings for use in
128fd65465bSMasahiro Yamada'make {g,x}config'.  Previously pkg-config was being used but not
1294ab3b801SRandy Dunlapverified or documented.
1304ab3b801SRandy Dunlap
131033dba2eSMasahiro YamadaFlex
132033dba2eSMasahiro Yamada----
133033dba2eSMasahiro Yamada
134033dba2eSMasahiro YamadaSince Linux 4.16, the build system generates lexical analyzers
135033dba2eSMasahiro Yamadaduring build.  This requires flex 2.5.35 or later.
136033dba2eSMasahiro Yamada
137033dba2eSMasahiro Yamada
138033dba2eSMasahiro YamadaBison
139033dba2eSMasahiro Yamada-----
140033dba2eSMasahiro Yamada
141033dba2eSMasahiro YamadaSince Linux 4.16, the build system generates parsers
142033dba2eSMasahiro Yamadaduring build.  This requires bison 2.0 or later.
143033dba2eSMasahiro Yamada
14440be2369SThorsten Blumpahole
14540be2369SThorsten Blum------
146333b11e5SArnaldo Carvalho de Melo
147333b11e5SArnaldo Carvalho de MeloSince Linux 5.2, if CONFIG_DEBUG_INFO_BTF is selected, the build system
148333b11e5SArnaldo Carvalho de Melogenerates BTF (BPF Type Format) from DWARF in vmlinux, a bit later from kernel
149903922cfSIhor Solodraimodules as well.  This requires pahole v1.22 or later.
150333b11e5SArnaldo Carvalho de Melo
151333b11e5SArnaldo Carvalho de MeloIt is found in the 'dwarves' or 'pahole' distro packages or from
152333b11e5SArnaldo Carvalho de Melohttps://fedorapeople.org/~acme/dwarves/.
153333b11e5SArnaldo Carvalho de Melo
154186128f7SMauro Carvalho ChehabPerl
155186128f7SMauro Carvalho Chehab----
156186128f7SMauro Carvalho Chehab
157186128f7SMauro Carvalho ChehabYou will need perl 5 and the following modules: ``Getopt::Long``,
158186128f7SMauro Carvalho Chehab``Getopt::Std``, ``File::Basename``, and ``File::Find`` to build the kernel.
159186128f7SMauro Carvalho Chehab
160bc20c56eSMauro Carvalho ChehabPython
161bc20c56eSMauro Carvalho Chehab------
162bc20c56eSMauro Carvalho Chehab
163bc20c56eSMauro Carvalho ChehabSeveral config options require it: it is required for arm/arm64
164bc20c56eSMauro Carvalho Chehabdefault configs, CONFIG_LTO_CLANG, some DRM optional configs,
165bc20c56eSMauro Carvalho Chehabthe kernel-doc tool, and docs build (Sphinx), among others.
166bc20c56eSMauro Carvalho Chehab
167186128f7SMauro Carvalho ChehabBC
168186128f7SMauro Carvalho Chehab--
169186128f7SMauro Carvalho Chehab
170186128f7SMauro Carvalho ChehabYou will need bc to build kernels 3.10 and higher
171186128f7SMauro Carvalho Chehab
172186128f7SMauro Carvalho Chehab
173186128f7SMauro Carvalho ChehabOpenSSL
174186128f7SMauro Carvalho Chehab-------
175186128f7SMauro Carvalho Chehab
176186128f7SMauro Carvalho ChehabModule signing and external certificate handling use the OpenSSL program and
177186128f7SMauro Carvalho Chehabcrypto library to do key creation and signature generation.
178186128f7SMauro Carvalho Chehab
179186128f7SMauro Carvalho ChehabYou will need openssl to build kernels 3.7 and higher if module signing is
180186128f7SMauro Carvalho Chehabenabled.  You will also need openssl development packages to build kernels 4.3
181186128f7SMauro Carvalho Chehaband higher.
182186128f7SMauro Carvalho Chehab
183c584476dSMasahiro YamadaTar
184c584476dSMasahiro Yamada---
185c584476dSMasahiro Yamada
186c584476dSMasahiro YamadaGNU tar is needed if you want to enable access to the kernel headers via sysfs
187c584476dSMasahiro Yamada(CONFIG_IKHEADERS).
188c584476dSMasahiro Yamada
189b230235bSAhmed S. Darwishgtags / GNU GLOBAL (optional)
190b230235bSAhmed S. Darwish-----------------------------
191b230235bSAhmed S. Darwish
192b230235bSAhmed S. DarwishThe kernel build requires GNU GLOBAL version 6.6.5 or later to generate
193b230235bSAhmed S. Darwishtag files through ``make gtags``.  This is due to its use of the gtags
194b230235bSAhmed S. Darwish``-C (--directory)`` flag.
195186128f7SMauro Carvalho Chehab
1967a23b027SSimon Glassmkimage
1977a23b027SSimon Glass-------
1987a23b027SSimon Glass
1997a23b027SSimon GlassThis tool is used when building a Flat Image Tree (FIT), commonly used on ARM
2007a23b027SSimon Glassplatforms. The tool is available via the ``u-boot-tools`` package or can be
2017a23b027SSimon Glassbuilt from the U-Boot source code. See the instructions at
2027a23b027SSimon Glasshttps://docs.u-boot.org/en/latest/build/tools.html#building-tools-for-linux
2037a23b027SSimon Glass
2045f5e7344SKris Van HeesGNU AWK
2055f5e7344SKris Van Hees-------
2065f5e7344SKris Van Hees
2075f5e7344SKris Van HeesGNU AWK is needed if you want kernel builds to generate address range data for
2085f5e7344SKris Van Heesbuiltin modules (CONFIG_BUILTIN_MODULE_RANGES).
2095f5e7344SKris Van Hees
21048ebe1cbSLorenzo Stoakes (ARM)pigz (optional)
21148ebe1cbSLorenzo Stoakes (ARM)---------------
21248ebe1cbSLorenzo Stoakes (ARM)
21348ebe1cbSLorenzo Stoakes (ARM)pigz is a parallel implementation of gzip. If it is installed the compressed
21448ebe1cbSLorenzo Stoakes (ARM)kernel image is produced with it rather than with gzip, see ``KPGZIP`` in
21548ebe1cbSLorenzo Stoakes (ARM)Documentation/kbuild/kbuild.rst.
21648ebe1cbSLorenzo Stoakes (ARM)
217186128f7SMauro Carvalho ChehabSystem utilities
218186128f7SMauro Carvalho Chehab****************
219186128f7SMauro Carvalho Chehab
220186128f7SMauro Carvalho ChehabArchitectural changes
221186128f7SMauro Carvalho Chehab---------------------
222186128f7SMauro Carvalho Chehab
223186128f7SMauro Carvalho ChehabDevFS has been obsoleted in favour of udev
224e7b4311eSAlexander A. Klimov(https://www.kernel.org/pub/linux/utils/kernel/hotplug/)
225186128f7SMauro Carvalho Chehab
226186128f7SMauro Carvalho Chehab32-bit UID support is now in place.  Have fun!
227186128f7SMauro Carvalho Chehab
228186128f7SMauro Carvalho ChehabLinux documentation for functions is transitioning to inline
229186128f7SMauro Carvalho Chehabdocumentation via specially-formatted comments near their
230ff41c419SMauro Carvalho Chehabdefinitions in the source.  These comments can be combined with ReST
23189136329SNauman Sabirfiles in the Documentation/ directory to make enriched documentation, which can
232ff41c419SMauro Carvalho Chehabthen be converted to PostScript, HTML, LaTex, ePUB and PDF files.
233ff41c419SMauro Carvalho ChehabIn order to convert from ReST format to a format of your choice, you'll need
234ff41c419SMauro Carvalho ChehabSphinx.
235186128f7SMauro Carvalho Chehab
236186128f7SMauro Carvalho ChehabUtil-linux
237186128f7SMauro Carvalho Chehab----------
238186128f7SMauro Carvalho Chehab
239186128f7SMauro Carvalho ChehabNew versions of util-linux provide ``fdisk`` support for larger disks,
240186128f7SMauro Carvalho Chehabsupport new options to mount, recognize more supported partition
241821bd43eSThomas Weißschuhtypes, and similar goodies.
242186128f7SMauro Carvalho ChehabYou'll probably want to upgrade.
243186128f7SMauro Carvalho Chehab
244186128f7SMauro Carvalho ChehabKsymoops
245186128f7SMauro Carvalho Chehab--------
246186128f7SMauro Carvalho Chehab
247186128f7SMauro Carvalho ChehabIf the unthinkable happens and your kernel oopses, you may need the
248186128f7SMauro Carvalho Chehabksymoops tool to decode it, but in most cases you don't.
249186128f7SMauro Carvalho ChehabIt is generally preferred to build the kernel with ``CONFIG_KALLSYMS`` so
250186128f7SMauro Carvalho Chehabthat it produces readable dumps that can be used as-is (this also
251186128f7SMauro Carvalho Chehabproduces better output than ksymoops).  If for some reason your kernel
252186128f7SMauro Carvalho Chehabis not build with ``CONFIG_KALLSYMS`` and you have no way to rebuild and
253186128f7SMauro Carvalho Chehabreproduce the Oops with that option, then you can still decode that Oops
254186128f7SMauro Carvalho Chehabwith ksymoops.
255186128f7SMauro Carvalho Chehab
256186128f7SMauro Carvalho ChehabMkinitrd
257186128f7SMauro Carvalho Chehab--------
258186128f7SMauro Carvalho Chehab
259186128f7SMauro Carvalho ChehabThese changes to the ``/lib/modules`` file tree layout also require that
260186128f7SMauro Carvalho Chehabmkinitrd be upgraded.
261186128f7SMauro Carvalho Chehab
262186128f7SMauro Carvalho ChehabE2fsprogs
263186128f7SMauro Carvalho Chehab---------
264186128f7SMauro Carvalho Chehab
265186128f7SMauro Carvalho ChehabThe latest version of ``e2fsprogs`` fixes several bugs in fsck and
266186128f7SMauro Carvalho Chehabdebugfs.  Obviously, it's a good idea to upgrade.
267186128f7SMauro Carvalho Chehab
268186128f7SMauro Carvalho ChehabJFSutils
269186128f7SMauro Carvalho Chehab--------
270186128f7SMauro Carvalho Chehab
271186128f7SMauro Carvalho ChehabThe ``jfsutils`` package contains the utilities for the file system.
272186128f7SMauro Carvalho ChehabThe following utilities are available:
273186128f7SMauro Carvalho Chehab
274186128f7SMauro Carvalho Chehab- ``fsck.jfs`` - initiate replay of the transaction log, and check
275186128f7SMauro Carvalho Chehab  and repair a JFS formatted partition.
276186128f7SMauro Carvalho Chehab
277186128f7SMauro Carvalho Chehab- ``mkfs.jfs`` - create a JFS formatted partition.
278186128f7SMauro Carvalho Chehab
279186128f7SMauro Carvalho Chehab- other file system utilities are also available in this package.
280186128f7SMauro Carvalho Chehab
281186128f7SMauro Carvalho ChehabXfsprogs
282186128f7SMauro Carvalho Chehab--------
283186128f7SMauro Carvalho Chehab
284186128f7SMauro Carvalho ChehabThe latest version of ``xfsprogs`` contains ``mkfs.xfs``, ``xfs_db``, and the
285186128f7SMauro Carvalho Chehab``xfs_repair`` utilities, among others, for the XFS filesystem.  It is
286186128f7SMauro Carvalho Chehabarchitecture independent and any version from 2.0.0 onward should
287186128f7SMauro Carvalho Chehabwork correctly with this version of the XFS kernel code (2.6.0 or
288186128f7SMauro Carvalho Chehablater is recommended, due to some significant improvements).
289186128f7SMauro Carvalho Chehab
290186128f7SMauro Carvalho ChehabPCMCIAutils
291186128f7SMauro Carvalho Chehab-----------
292186128f7SMauro Carvalho Chehab
293186128f7SMauro Carvalho ChehabPCMCIAutils replaces ``pcmcia-cs``. It properly sets up
294186128f7SMauro Carvalho ChehabPCMCIA sockets at system startup and loads the appropriate modules
295186128f7SMauro Carvalho Chehabfor 16-bit PCMCIA devices if the kernel is modularized and the hotplug
296186128f7SMauro Carvalho Chehabsubsystem is used.
297186128f7SMauro Carvalho Chehab
298186128f7SMauro Carvalho ChehabQuota-tools
299186128f7SMauro Carvalho Chehab-----------
300186128f7SMauro Carvalho Chehab
301186128f7SMauro Carvalho ChehabSupport for 32 bit uid's and gid's is required if you want to use
302186128f7SMauro Carvalho Chehabthe newer version 2 quota format.  Quota-tools version 3.07 and
303186128f7SMauro Carvalho Chehabnewer has this support.  Use the recommended version or newer
304186128f7SMauro Carvalho Chehabfrom the table above.
305186128f7SMauro Carvalho Chehab
306186128f7SMauro Carvalho ChehabIntel IA32 microcode
307186128f7SMauro Carvalho Chehab--------------------
308186128f7SMauro Carvalho Chehab
309186128f7SMauro Carvalho ChehabA driver has been added to allow updating of Intel IA32 microcode,
310186128f7SMauro Carvalho Chehabaccessible as a normal (misc) character device.  If you are not using
311186128f7SMauro Carvalho Chehabudev you may need to::
312186128f7SMauro Carvalho Chehab
313186128f7SMauro Carvalho Chehab  mkdir /dev/cpu
314186128f7SMauro Carvalho Chehab  mknod /dev/cpu/microcode c 10 184
315186128f7SMauro Carvalho Chehab  chmod 0644 /dev/cpu/microcode
316186128f7SMauro Carvalho Chehab
317186128f7SMauro Carvalho Chehabas root before you can use this.  You'll probably also want to
318186128f7SMauro Carvalho Chehabget the user-space microcode_ctl utility to use with this.
319186128f7SMauro Carvalho Chehab
320186128f7SMauro Carvalho Chehabudev
321186128f7SMauro Carvalho Chehab----
322186128f7SMauro Carvalho Chehab
323186128f7SMauro Carvalho Chehab``udev`` is a userspace application for populating ``/dev`` dynamically with
324186128f7SMauro Carvalho Chehabonly entries for devices actually present. ``udev`` replaces the basic
325186128f7SMauro Carvalho Chehabfunctionality of devfs, while allowing persistent device naming for
326186128f7SMauro Carvalho Chehabdevices.
327186128f7SMauro Carvalho Chehab
328186128f7SMauro Carvalho ChehabFUSE
329186128f7SMauro Carvalho Chehab----
330186128f7SMauro Carvalho Chehab
331186128f7SMauro Carvalho ChehabNeeds libfuse 2.4.0 or later.  Absolute minimum is 2.3.0 but mount
332186128f7SMauro Carvalho Chehaboptions ``direct_io`` and ``kernel_cache`` won't work.
333186128f7SMauro Carvalho Chehab
334186128f7SMauro Carvalho ChehabNetworking
335186128f7SMauro Carvalho Chehab**********
336186128f7SMauro Carvalho Chehab
337186128f7SMauro Carvalho ChehabGeneral changes
338186128f7SMauro Carvalho Chehab---------------
339186128f7SMauro Carvalho Chehab
340186128f7SMauro Carvalho ChehabIf you have advanced network configuration needs, you should probably
341186128f7SMauro Carvalho Chehabconsider using the network tools from ip-route2.
342186128f7SMauro Carvalho Chehab
343186128f7SMauro Carvalho ChehabPacket Filter / NAT
344186128f7SMauro Carvalho Chehab-------------------
345186128f7SMauro Carvalho ChehabThe packet filtering and NAT code uses the same tools like the previous 2.4.x
346186128f7SMauro Carvalho Chehabkernel series (iptables).  It still includes backwards-compatibility modules
347186128f7SMauro Carvalho Chehabfor 2.2.x-style ipchains and 2.0.x-style ipfwadm.
348186128f7SMauro Carvalho Chehab
349186128f7SMauro Carvalho ChehabPPP
350186128f7SMauro Carvalho Chehab---
351186128f7SMauro Carvalho Chehab
352186128f7SMauro Carvalho ChehabThe PPP driver has been restructured to support multilink and to
353186128f7SMauro Carvalho Chehabenable it to operate over diverse media layers.  If you use PPP,
354186128f7SMauro Carvalho Chehabupgrade pppd to at least 2.4.0.
355186128f7SMauro Carvalho Chehab
356186128f7SMauro Carvalho ChehabIf you are not using udev, you must have the device file /dev/ppp
357186128f7SMauro Carvalho Chehabwhich can be made by::
358186128f7SMauro Carvalho Chehab
359186128f7SMauro Carvalho Chehab  mknod /dev/ppp c 108 0
360186128f7SMauro Carvalho Chehab
361186128f7SMauro Carvalho Chehabas root.
362186128f7SMauro Carvalho Chehab
363186128f7SMauro Carvalho ChehabNFS-utils
364186128f7SMauro Carvalho Chehab---------
365186128f7SMauro Carvalho Chehab
366186128f7SMauro Carvalho ChehabIn ancient (2.4 and earlier) kernels, the nfs server needed to know
367186128f7SMauro Carvalho Chehababout any client that expected to be able to access files via NFS.  This
368186128f7SMauro Carvalho Chehabinformation would be given to the kernel by ``mountd`` when the client
369186128f7SMauro Carvalho Chehabmounted the filesystem, or by ``exportfs`` at system startup.  exportfs
370186128f7SMauro Carvalho Chehabwould take information about active clients from ``/var/lib/nfs/rmtab``.
371186128f7SMauro Carvalho Chehab
372186128f7SMauro Carvalho ChehabThis approach is quite fragile as it depends on rmtab being correct
373186128f7SMauro Carvalho Chehabwhich is not always easy, particularly when trying to implement
374186128f7SMauro Carvalho Chehabfail-over.  Even when the system is working well, ``rmtab`` suffers from
375186128f7SMauro Carvalho Chehabgetting lots of old entries that never get removed.
376186128f7SMauro Carvalho Chehab
377186128f7SMauro Carvalho ChehabWith modern kernels we have the option of having the kernel tell mountd
378186128f7SMauro Carvalho Chehabwhen it gets a request from an unknown host, and mountd can give
379186128f7SMauro Carvalho Chehabappropriate export information to the kernel.  This removes the
380186128f7SMauro Carvalho Chehabdependency on ``rmtab`` and means that the kernel only needs to know about
381186128f7SMauro Carvalho Chehabcurrently active clients.
382186128f7SMauro Carvalho Chehab
383186128f7SMauro Carvalho ChehabTo enable this new functionality, you need to::
384186128f7SMauro Carvalho Chehab
385186128f7SMauro Carvalho Chehab  mount -t nfsd nfsd /proc/fs/nfsd
386186128f7SMauro Carvalho Chehab
387186128f7SMauro Carvalho Chehabbefore running exportfs or mountd.  It is recommended that all NFS
388186128f7SMauro Carvalho Chehabservices be protected from the internet-at-large by a firewall where
389186128f7SMauro Carvalho Chehabthat is possible.
390186128f7SMauro Carvalho Chehab
391186128f7SMauro Carvalho Chehabmcelog
392186128f7SMauro Carvalho Chehab------
393186128f7SMauro Carvalho Chehab
394186128f7SMauro Carvalho ChehabOn x86 kernels the mcelog utility is needed to process and log machine check
395186128f7SMauro Carvalho Chehabevents when ``CONFIG_X86_MCE`` is enabled. Machine check events are errors
396186128f7SMauro Carvalho Chehabreported by the CPU. Processing them is strongly encouraged.
397186128f7SMauro Carvalho Chehab
398186128f7SMauro Carvalho ChehabKernel documentation
399186128f7SMauro Carvalho Chehab********************
400186128f7SMauro Carvalho Chehab
401186128f7SMauro Carvalho ChehabSphinx
402186128f7SMauro Carvalho Chehab------
403186128f7SMauro Carvalho Chehab
404c99fcb58SJonathan CorbetPlease see :ref:`sphinx_install` in Documentation/doc-guide/sphinx.rst
405b8b07b5cSMauro Carvalho Chehabfor details about Sphinx requirements.
406186128f7SMauro Carvalho Chehab
407d07479b2SMiguel Ojedarustdoc
408d07479b2SMiguel Ojeda-------
409d07479b2SMiguel Ojeda
410d07479b2SMiguel Ojeda``rustdoc`` is used to generate the documentation for Rust code. Please see
411d07479b2SMiguel OjedaDocumentation/rust/general-information.rst for more information.
412d07479b2SMiguel Ojeda
413186128f7SMauro Carvalho ChehabGetting updated software
414186128f7SMauro Carvalho Chehab========================
415186128f7SMauro Carvalho Chehab
416186128f7SMauro Carvalho ChehabKernel compilation
417186128f7SMauro Carvalho Chehab******************
418186128f7SMauro Carvalho Chehab
419186128f7SMauro Carvalho Chehabgcc
420186128f7SMauro Carvalho Chehab---
421186128f7SMauro Carvalho Chehab
422186128f7SMauro Carvalho Chehab- <ftp://ftp.gnu.org/gnu/gcc/>
423186128f7SMauro Carvalho Chehab
4243519c4d6SNick DesaulniersClang/LLVM
4253519c4d6SNick Desaulniers----------
4263519c4d6SNick Desaulniers
4273519c4d6SNick Desaulniers- :ref:`Getting LLVM <getting_llvm>`.
4283519c4d6SNick Desaulniers
429d07479b2SMiguel OjedaRust
430d07479b2SMiguel Ojeda----
431d07479b2SMiguel Ojeda
432d07479b2SMiguel Ojeda- Documentation/rust/quick-start.rst.
433d07479b2SMiguel Ojeda
434d07479b2SMiguel Ojedabindgen
435d07479b2SMiguel Ojeda-------
436d07479b2SMiguel Ojeda
437d07479b2SMiguel Ojeda- Documentation/rust/quick-start.rst.
438d07479b2SMiguel Ojeda
439186128f7SMauro Carvalho ChehabMake
440186128f7SMauro Carvalho Chehab----
441186128f7SMauro Carvalho Chehab
442186128f7SMauro Carvalho Chehab- <ftp://ftp.gnu.org/gnu/make/>
443186128f7SMauro Carvalho Chehab
444da4288b9SMasahiro YamadaBash
445da4288b9SMasahiro Yamada----
446da4288b9SMasahiro Yamada
447da4288b9SMasahiro Yamada- <ftp://ftp.gnu.org/gnu/bash/>
448da4288b9SMasahiro Yamada
449186128f7SMauro Carvalho ChehabBinutils
450186128f7SMauro Carvalho Chehab--------
451186128f7SMauro Carvalho Chehab
4523bdadc86SSeongJae Park- <https://www.kernel.org/pub/linux/devel/binutils/>
453186128f7SMauro Carvalho Chehab
454033dba2eSMasahiro YamadaFlex
455033dba2eSMasahiro Yamada----
456033dba2eSMasahiro Yamada
457033dba2eSMasahiro Yamada- <https://github.com/westes/flex/releases>
458033dba2eSMasahiro Yamada
459033dba2eSMasahiro YamadaBison
460033dba2eSMasahiro Yamada-----
461033dba2eSMasahiro Yamada
462033dba2eSMasahiro Yamada- <ftp://ftp.gnu.org/gnu/bison/>
463033dba2eSMasahiro Yamada
464186128f7SMauro Carvalho ChehabOpenSSL
465186128f7SMauro Carvalho Chehab-------
466186128f7SMauro Carvalho Chehab
467186128f7SMauro Carvalho Chehab- <https://www.openssl.org/>
468186128f7SMauro Carvalho Chehab
469186128f7SMauro Carvalho ChehabSystem utilities
470186128f7SMauro Carvalho Chehab****************
471186128f7SMauro Carvalho Chehab
472186128f7SMauro Carvalho ChehabUtil-linux
473186128f7SMauro Carvalho Chehab----------
474186128f7SMauro Carvalho Chehab
4753bdadc86SSeongJae Park- <https://www.kernel.org/pub/linux/utils/util-linux/>
476186128f7SMauro Carvalho Chehab
477934193a6SRandy DunlapKmod
478934193a6SRandy Dunlap----
479934193a6SRandy Dunlap
480934193a6SRandy Dunlap- <https://www.kernel.org/pub/linux/utils/kernel/kmod/>
481934193a6SRandy Dunlap- <https://git.kernel.org/pub/scm/utils/kernel/kmod/kmod.git>
482934193a6SRandy Dunlap
483186128f7SMauro Carvalho ChehabKsymoops
484186128f7SMauro Carvalho Chehab--------
485186128f7SMauro Carvalho Chehab
4863bdadc86SSeongJae Park- <https://www.kernel.org/pub/linux/utils/kernel/ksymoops/v2.4/>
487186128f7SMauro Carvalho Chehab
488186128f7SMauro Carvalho ChehabMkinitrd
489186128f7SMauro Carvalho Chehab--------
490186128f7SMauro Carvalho Chehab
491186128f7SMauro Carvalho Chehab- <https://code.launchpad.net/initrd-tools/main>
492186128f7SMauro Carvalho Chehab
493186128f7SMauro Carvalho ChehabE2fsprogs
494186128f7SMauro Carvalho Chehab---------
495186128f7SMauro Carvalho Chehab
496599e6f8dSRandy Dunlap- <https://www.kernel.org/pub/linux/kernel/people/tytso/e2fsprogs/>
497599e6f8dSRandy Dunlap- <https://git.kernel.org/pub/scm/fs/ext2/e2fsprogs.git/>
498186128f7SMauro Carvalho Chehab
499186128f7SMauro Carvalho ChehabJFSutils
500186128f7SMauro Carvalho Chehab--------
501186128f7SMauro Carvalho Chehab
502383f3088SSeongJae Park- <https://jfs.sourceforge.net/>
503186128f7SMauro Carvalho Chehab
504186128f7SMauro Carvalho ChehabXfsprogs
505186128f7SMauro Carvalho Chehab--------
506186128f7SMauro Carvalho Chehab
507599e6f8dSRandy Dunlap- <https://git.kernel.org/pub/scm/fs/xfs/xfsprogs-dev.git>
508599e6f8dSRandy Dunlap- <https://www.kernel.org/pub/linux/utils/fs/xfs/xfsprogs/>
509186128f7SMauro Carvalho Chehab
510186128f7SMauro Carvalho ChehabPcmciautils
511186128f7SMauro Carvalho Chehab-----------
512186128f7SMauro Carvalho Chehab
5133bdadc86SSeongJae Park- <https://www.kernel.org/pub/linux/utils/kernel/pcmcia/>
514186128f7SMauro Carvalho Chehab
515186128f7SMauro Carvalho ChehabQuota-tools
516186128f7SMauro Carvalho Chehab-----------
517186128f7SMauro Carvalho Chehab
518383f3088SSeongJae Park- <https://sourceforge.net/projects/linuxquota/>
519186128f7SMauro Carvalho Chehab
520186128f7SMauro Carvalho Chehab
521186128f7SMauro Carvalho ChehabIntel P6 microcode
522186128f7SMauro Carvalho Chehab------------------
523186128f7SMauro Carvalho Chehab
524186128f7SMauro Carvalho Chehab- <https://downloadcenter.intel.com/>
525186128f7SMauro Carvalho Chehab
526186128f7SMauro Carvalho Chehabudev
527186128f7SMauro Carvalho Chehab----
528186128f7SMauro Carvalho Chehab
529e7b4311eSAlexander A. Klimov- <https://www.freedesktop.org/software/systemd/man/udev.html>
530186128f7SMauro Carvalho Chehab
531186128f7SMauro Carvalho ChehabFUSE
532186128f7SMauro Carvalho Chehab----
533186128f7SMauro Carvalho Chehab
53486afad7dSMartin Kepplinger- <https://github.com/libfuse/libfuse/releases>
535186128f7SMauro Carvalho Chehab
536186128f7SMauro Carvalho Chehabmcelog
537186128f7SMauro Carvalho Chehab------
538186128f7SMauro Carvalho Chehab
539383f3088SSeongJae Park- <https://www.mcelog.org/>
540186128f7SMauro Carvalho Chehab
541186128f7SMauro Carvalho ChehabNetworking
542186128f7SMauro Carvalho Chehab**********
543186128f7SMauro Carvalho Chehab
544186128f7SMauro Carvalho ChehabPPP
545186128f7SMauro Carvalho Chehab---
546186128f7SMauro Carvalho Chehab
547599e6f8dSRandy Dunlap- <https://download.samba.org/pub/ppp/>
548599e6f8dSRandy Dunlap- <https://git.ozlabs.org/?p=ppp.git>
549599e6f8dSRandy Dunlap- <https://github.com/paulusmack/ppp/>
550186128f7SMauro Carvalho Chehab
551186128f7SMauro Carvalho ChehabNFS-utils
552186128f7SMauro Carvalho Chehab---------
553186128f7SMauro Carvalho Chehab
554383f3088SSeongJae Park- <https://sourceforge.net/project/showfiles.php?group_id=14>
555383f3088SSeongJae Park- <https://nfs.sourceforge.net/>
556186128f7SMauro Carvalho Chehab
557186128f7SMauro Carvalho ChehabIptables
558186128f7SMauro Carvalho Chehab--------
559186128f7SMauro Carvalho Chehab
560599e6f8dSRandy Dunlap- <https://netfilter.org/projects/iptables/index.html>
561186128f7SMauro Carvalho Chehab
562186128f7SMauro Carvalho ChehabIp-route2
563186128f7SMauro Carvalho Chehab---------
564186128f7SMauro Carvalho Chehab
565186128f7SMauro Carvalho Chehab- <https://www.kernel.org/pub/linux/utils/net/iproute2/>
566186128f7SMauro Carvalho Chehab
567186128f7SMauro Carvalho ChehabOProfile
568186128f7SMauro Carvalho Chehab--------
569186128f7SMauro Carvalho Chehab
570383f3088SSeongJae Park- <https://oprofile.sf.net/download/>
571186128f7SMauro Carvalho Chehab
572186128f7SMauro Carvalho ChehabKernel documentation
573186128f7SMauro Carvalho Chehab********************
574186128f7SMauro Carvalho Chehab
575186128f7SMauro Carvalho ChehabSphinx
576186128f7SMauro Carvalho Chehab------
577186128f7SMauro Carvalho Chehab
578e7b4311eSAlexander A. Klimov- <https://www.sphinx-doc.org/>
579