2016-10-27 06:14:52 +08:00
|
|
|
The Linux kernel user's and administrator's guide
|
|
|
|
=================================================
|
2016-09-21 20:51:11 +08:00
|
|
|
|
2016-10-27 06:14:52 +08:00
|
|
|
The following is a collection of user-oriented documents that have been
|
|
|
|
added to the kernel over time. There is, as yet, little overall order or
|
|
|
|
organization here — this material was not written to be a single, coherent
|
|
|
|
document! With luck things will improve quickly over time.
|
|
|
|
|
|
|
|
This initial section contains overall information, including the README
|
|
|
|
file describing the kernel as a whole, documentation on kernel parameters,
|
2016-11-08 03:03:18 +08:00
|
|
|
etc.
|
2016-09-21 20:51:11 +08:00
|
|
|
|
|
|
|
.. toctree::
|
2016-10-27 06:14:52 +08:00
|
|
|
:maxdepth: 1
|
2016-09-21 20:51:11 +08:00
|
|
|
|
|
|
|
README
|
2016-10-27 06:14:52 +08:00
|
|
|
kernel-parameters
|
|
|
|
devices
|
2019-04-23 03:48:00 +08:00
|
|
|
sysctl/index
|
2016-10-27 06:14:52 +08:00
|
|
|
|
2020-10-30 15:40:36 +08:00
|
|
|
abi
|
2020-11-30 23:36:34 +08:00
|
|
|
features
|
2020-10-30 15:40:36 +08:00
|
|
|
|
2019-02-19 18:10:49 +08:00
|
|
|
This section describes CPU vulnerabilities and their mitigations.
|
2018-07-13 22:23:26 +08:00
|
|
|
|
|
|
|
.. toctree::
|
|
|
|
:maxdepth: 1
|
|
|
|
|
2019-02-19 18:10:49 +08:00
|
|
|
hw-vuln/index
|
2018-07-13 22:23:26 +08:00
|
|
|
|
2016-10-27 06:14:52 +08:00
|
|
|
Here is a set of documents aimed at users who are trying to track down
|
|
|
|
problems and bugs in particular.
|
|
|
|
|
|
|
|
.. toctree::
|
|
|
|
:maxdepth: 1
|
2016-11-08 03:03:18 +08:00
|
|
|
|
docs: Add a new text describing how to report bugs
Add a mostly finished document describing how to report issues with the
Linux kernel to its developers. It is designed to be a lot more straight
forward and easier to follow than the current text about this
(Documentation/admin-guide/reporting-bugs.rst); at the same time the new
text should be more helpful for people unfamiliar with the topic, as it
provides a lot more details, too.
The main work on the text is done, but some polishing is still needed.
The text also needs to be reviewed by more people and a few issues still
might need some discussion. To make these tasks easier, it was decided
([1]) to add this document to the kernel sources in parallel to the
existing text; the latter will be removed once this text is considered
good enough(tm).
This document is quite long and provides a lot of details, but was
carefully crafted to make sure it's can also serve people that are in a
hurry. That's mainly achieved by having a TDLR and a step-by-step guide,
which should be good enough for quite a lot of people. Everybody that
wants or need more explanations can find them in a reference section,
which describes all the needed steps in detail.
Thanks to this structure the text can work for kernel developers that
just need to look something up, experienced FLOSS contributors that are
unfamiliar with the kernel's bug reporting workflow, and users reporting
something upstream for the first time. The text is thus a bit like the
kernel itself, which works well for embedded machines, a typical desktop
PC, cloud servers, and HPC.
The document was written in the hope it will improve the quality of the
bug reports, especially those that come from people unfamiliar with how
Linux kernel development works. Sadly quite a few reports from this
group are currently of poor quality and/or get submitted to the wrong
place. Part of the problem is the old reporting-bugs document, as it
makes its essence hard to grasp; it's and also inaccurate and slightly
outdated in a few spots. Due to this quite a few valid reports are
ignored in the end, which is annoying for those that compiled them and
bad for the kernel's quality.
The document near the top points out that it's still unfinished, but
nevertheless ready for consumption. Those few areas in the text that
might need some further discussion contain a note pointing this out.
Besides lack of review from core developers there is only one major
issue left: the section 'Decode failure message' is known to be
outdated: it's waiting for someone familiar with the topic to write
something up or give at least provide some hints and pointers what to
write there.
The new document is dual-licensed under GPL-2.0+ or CC-BY-4.0. The
latter is way more liberal and makes it attractive to use this text as a
base when writing about this topic on websites or in books. This
hopefully increases the chances that such texts are accurate and stick
to official way of doing things.
[1] https://lkml.kernel.org/r/20201118172958.5b014a44@lwn.net
Signed-off-by: Thorsten Leemhuis <linux@leemhuis.info>
CC: Thomas Gleixner <tglx@linutronix.de>
CC: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
CC: Christoph Hellwig <hch@lst.de>
Link: https://lore.kernel.org/r/e2db808f954744b79f10937a923d9c99bdca1fca.1607063223.git.linux@leemhuis.info
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
2020-12-04 14:43:49 +08:00
|
|
|
reporting-issues
|
2022-02-16 14:51:33 +08:00
|
|
|
reporting-regressions
|
docs: describe how to quickly build a trimmed kernel
Add a text explaining how to quickly build a kernel, as that's something
users will often have to do when they want to report an issue or test
proposed fixes. This is a huge and frightening task for quite a few
users these days, as many rely on pre-compiled kernels and have never
built their own. They find help on quite a few websites explaining the
process in various ways, but those howtos often omit important details
or make things too hard for the 'quickly build just for testing' case
that 'localmodconfig' is really useful for. Hence give users something
at hand to guide them, as that makes it easier for them to help with
testing, debugging, and fixing the kernel.
To keep the complexity at bay, the document explicitly focuses on how to
compile the kernel on commodity distributions running on commodity
hardware. People that deal with less common distributions or hardware
will often know their way around already anyway.
The text describes a few oddities of Arch and Debian that were found by
the author and a few volunteers that tested the described procedure.
There are likely more such quirks that need to be covered as well as a
few things the author will have missed -- but one has to start
somewhere.
The document heavily uses anchors and links to them, which makes things
slightly harder to read in the source form. But the intended target
audience is way more likely to read rendered versions of this text on
pages like docs.kernel.org anyway -- and there those anchors and links
allow easy jumps to the reference section and back, which makes the
document a lot easier to work with for the intended target audience.
Aspects relevant for bisection were left out on purpose, as that is a
related, but in the end different use case. The rough plan is to have a
second document with a similar style to cover bisection. The idea is to
reuse a few bits from this document and link quite often to entries in
the reference section with the help of the anchors in this text.
Signed-off-by: Thorsten Leemhuis <linux@leemhuis.info>
Reviewed-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Link: https://lore.kernel.org/r/1a788a8e7ba8a2063df08668f565efa832016032.1678021408.git.linux@leemhuis.info
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
2023-03-05 21:04:44 +08:00
|
|
|
quickly-build-trimmed-linux
|
2016-09-21 20:51:11 +08:00
|
|
|
bug-hunting
|
2016-11-08 03:03:17 +08:00
|
|
|
bug-bisect
|
2016-11-08 03:03:18 +08:00
|
|
|
tainted-kernels
|
2016-09-21 20:51:11 +08:00
|
|
|
ramoops
|
|
|
|
dynamic-debug-howto
|
2016-10-27 06:14:52 +08:00
|
|
|
init
|
2019-06-14 02:21:39 +08:00
|
|
|
kdump/index
|
2019-06-19 03:06:08 +08:00
|
|
|
perf/index
|
2020-07-19 00:51:03 +08:00
|
|
|
pstore-blk
|
2016-10-27 06:14:52 +08:00
|
|
|
|
|
|
|
This is the beginning of a section with information of interest to
|
|
|
|
application developers. Documents covering various aspects of the kernel
|
|
|
|
ABI will be found here.
|
|
|
|
|
|
|
|
.. toctree::
|
|
|
|
:maxdepth: 1
|
2016-11-08 03:03:18 +08:00
|
|
|
|
2016-10-27 06:14:52 +08:00
|
|
|
sysfs-rules
|
|
|
|
|
2023-02-01 06:11:05 +08:00
|
|
|
This is the beginning of a section with information of interest to
|
|
|
|
application developers and system integrators doing analysis of the
|
|
|
|
Linux kernel for safety critical applications. Documents supporting
|
|
|
|
analysis of kernel interactions with applications, and key kernel
|
|
|
|
subsystems expectations will be found here.
|
|
|
|
|
|
|
|
.. toctree::
|
|
|
|
:maxdepth: 1
|
|
|
|
|
|
|
|
workload-tracing
|
|
|
|
|
2016-10-27 06:14:52 +08:00
|
|
|
The rest of this manual consists of various unordered guides on how to
|
|
|
|
configure specific aspects of kernel behavior to your liking.
|
|
|
|
|
|
|
|
.. toctree::
|
|
|
|
:maxdepth: 1
|
2016-11-08 03:03:18 +08:00
|
|
|
|
2019-04-25 23:30:54 +08:00
|
|
|
acpi/index
|
2019-06-27 23:59:40 +08:00
|
|
|
aoe/index
|
2019-10-13 01:11:09 +08:00
|
|
|
auxdisplay/index
|
|
|
|
bcache
|
|
|
|
binderfs
|
|
|
|
binfmt-misc
|
|
|
|
blockdev/index
|
2020-01-11 00:05:06 +08:00
|
|
|
bootconfig
|
2019-10-13 01:11:09 +08:00
|
|
|
braille-console
|
2019-06-28 01:56:51 +08:00
|
|
|
btmrvl
|
2019-10-13 01:11:09 +08:00
|
|
|
cgroup-v1/index
|
|
|
|
cgroup-v2
|
|
|
|
cifs/index
|
2019-06-28 01:56:51 +08:00
|
|
|
clearing-warn-once
|
|
|
|
cpu-load
|
|
|
|
cputopology
|
2019-10-13 01:11:10 +08:00
|
|
|
dell_rbu
|
2019-06-18 23:40:23 +08:00
|
|
|
device-mapper/index
|
2020-02-15 01:41:33 +08:00
|
|
|
edid
|
2019-06-28 01:56:51 +08:00
|
|
|
efi-stub
|
2019-10-13 01:11:09 +08:00
|
|
|
ext4
|
2021-10-26 03:27:46 +08:00
|
|
|
filesystem-monitoring
|
2020-01-11 07:24:23 +08:00
|
|
|
nfs/index
|
2019-06-28 19:14:42 +08:00
|
|
|
gpio/index
|
2019-06-28 01:56:51 +08:00
|
|
|
highuid
|
|
|
|
hw_random
|
2019-10-13 01:11:09 +08:00
|
|
|
initrd
|
2019-06-28 01:56:51 +08:00
|
|
|
iostats
|
2019-10-13 01:11:09 +08:00
|
|
|
java
|
|
|
|
jfs
|
2019-06-28 01:56:51 +08:00
|
|
|
kernel-per-CPU-kthreads
|
2019-06-14 02:07:43 +08:00
|
|
|
laptops/index
|
2019-06-28 01:56:51 +08:00
|
|
|
lcd-panel-cgram
|
|
|
|
ldm
|
|
|
|
lockup-watchdogs
|
2019-10-13 01:11:09 +08:00
|
|
|
LSM/index
|
|
|
|
md
|
2020-03-04 20:08:03 +08:00
|
|
|
media/index
|
2019-10-13 01:11:09 +08:00
|
|
|
mm/index
|
|
|
|
module-signing
|
|
|
|
mono
|
|
|
|
namespaces/index
|
2019-06-28 01:56:51 +08:00
|
|
|
numastat
|
2019-10-13 01:11:09 +08:00
|
|
|
parport
|
|
|
|
perf-security
|
|
|
|
pm/index
|
2019-06-28 01:56:51 +08:00
|
|
|
pnp
|
2019-10-13 01:11:09 +08:00
|
|
|
rapidio
|
|
|
|
ras
|
2019-06-28 01:56:51 +08:00
|
|
|
rtc
|
2019-10-13 01:11:09 +08:00
|
|
|
serial-console
|
2019-06-28 01:56:51 +08:00
|
|
|
svga
|
2020-11-28 03:32:38 +08:00
|
|
|
syscall-user-dispatch
|
2019-10-13 01:11:09 +08:00
|
|
|
sysrq
|
2023-02-13 18:07:59 +08:00
|
|
|
thermal/index
|
2019-10-13 01:11:09 +08:00
|
|
|
thunderbolt
|
|
|
|
ufs
|
|
|
|
unicode
|
|
|
|
vga-softcursor
|
2019-06-28 01:56:51 +08:00
|
|
|
video-output
|
2019-10-13 01:11:09 +08:00
|
|
|
xfs
|
2016-10-26 14:23:16 +08:00
|
|
|
|
|
|
|
.. only:: subproject and html
|
|
|
|
|
|
|
|
Indices
|
|
|
|
=======
|
|
|
|
|
|
|
|
* :ref:`genindex`
|