11.. SPDX-License-Identifier: (GPL-2.0+ OR CC-BY-4.0)
2- ..
3- If you want to distribute this text under CC-BY-4.0 only, please use 'The
4- Linux kernel developers' for author attribution and link this as source:
5- https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/plain/Documentation/admin-guide/reporting-issues.rst
6- ..
7- Note: Only the content of this RST file as found in the Linux kernel sources
8- is available under CC-BY-4.0, as versions of this text that were processed
9- (for example by the kernel's build system) might contain content taken from
10- files which use a more restrictive license.
11-
2+ .. See the bottom of this file for additional redistribution information.
123
134 Reporting issues
145++++++++++++++++
@@ -395,22 +386,16 @@ fixed as soon as possible, hence there are 'issues of high priority' that get
395386handled slightly differently in the reporting process. Three type of cases
396387qualify: regressions, security issues, and really severe problems.
397388
398- You deal with a 'regression' if something that worked with an older version of
399- the Linux kernel does not work with a newer one or somehow works worse with it.
400- It thus is a regression when a WiFi driver that did a fine job with Linux 5.7
401- somehow misbehaves with 5.8 or doesn't work at all. It's also a regression if
402- an application shows erratic behavior with a newer kernel, which might happen
403- due to incompatible changes in the interface between the kernel and the
404- userland (like procfs and sysfs). Significantly reduced performance or
405- increased power consumption also qualify as regression. But keep in mind: the
406- new kernel needs to be built with a configuration that is similar to the one
407- from the old kernel (see below how to achieve that). That's because the kernel
408- developers sometimes can not avoid incompatibilities when implementing new
409- features; but to avoid regressions such features have to be enabled explicitly
410- during build time configuration.
389+ You deal with a regression if some application or practical use case running
390+ fine with one Linux kernel works worse or not at all with a newer version
391+ compiled using a similar configuration. The document
392+ Documentation/admin-guide/reporting-regressions.rst explains this in more
393+ detail. It also provides a good deal of other information about regressions you
394+ might want to be aware of; it for example explains how to add your issue to the
395+ list of tracked regressions, to ensure it won't fall through the cracks.
411396
412397What qualifies as security issue is left to your judgment. Consider reading
413- ' Documentation/admin-guide/security-bugs.rst' before proceeding, as it
398+ Documentation/admin-guide/security-bugs.rst before proceeding, as it
414399provides additional details how to best handle security issues.
415400
416401An issue is a 'really severe problem' when something totally unacceptably bad
@@ -517,7 +502,7 @@ line starting with 'CPU:'. It should end with 'Not tainted' if the kernel was
517502not tainted when it noticed the problem; it was tainted if you see 'Tainted:'
518503followed by a few spaces and some letters.
519504
520- If your kernel is tainted, study ' Documentation/admin-guide/tainted-kernels.rst'
505+ If your kernel is tainted, study Documentation/admin-guide/tainted-kernels.rst
521506to find out why. Try to eliminate the reason. Often it's caused by one these
522507three things:
523508
@@ -1043,7 +1028,7 @@ down the culprit, as maintainers often won't have the time or setup at hand to
10431028reproduce it themselves.
10441029
10451030To find the change there is a process called 'bisection' which the document
1046- ' Documentation/admin-guide/bug-bisect.rst' describes in detail. That process
1031+ Documentation/admin-guide/bug-bisect.rst describes in detail. That process
10471032will often require you to build about ten to twenty kernel images, trying to
10481033reproduce the issue with each of them before building the next. Yes, that takes
10491034some time, but don't worry, it works a lot quicker than most people assume.
@@ -1073,10 +1058,11 @@ When dealing with regressions make sure the issue you face is really caused by
10731058the kernel and not by something else, as outlined above already.
10741059
10751060In the whole process keep in mind: an issue only qualifies as regression if the
1076- older and the newer kernel got built with a similar configuration. The best way
1077- to archive this: copy the configuration file (``.config ``) from the old working
1078- kernel freshly to each newer kernel version you try. Afterwards run ``make
1079- olddefconfig `` to adjust it for the needs of the new version.
1061+ older and the newer kernel got built with a similar configuration. This can be
1062+ achieved by using ``make olddefconfig ``, as explained in more detail by
1063+ Documentation/admin-guide/reporting-regressions.rst; that document also
1064+ provides a good deal of other information about regressions you might want to be
1065+ aware of.
10801066
10811067
10821068Write and send the report
@@ -1283,7 +1269,7 @@ them when sending the report by mail. If you filed it in a bug tracker, forward
12831269the report's text to these addresses; but on top of it put a small note where
12841270you mention that you filed it with a link to the ticket.
12851271
1286- See ' Documentation/admin-guide/security-bugs.rst' for more information.
1272+ See Documentation/admin-guide/security-bugs.rst for more information.
12871273
12881274
12891275Duties after the report went out
@@ -1571,7 +1557,7 @@ Once your report is out your might get asked to do a proper one, as it allows to
15711557pinpoint the exact change that causes the issue (which then can easily get
15721558reverted to fix the issue quickly). Hence consider to do a proper bisection
15731559right away if time permits. See the section 'Special care for regressions' and
1574- the document ' Documentation/admin-guide/bug-bisect.rst' for details how to
1560+ the document Documentation/admin-guide/bug-bisect.rst for details how to
15751561perform one. In case of a successful bisection add the author of the culprit to
15761562the recipients; also CC everyone in the signed-off-by chain, which you find at
15771563the end of its commit message.
@@ -1594,7 +1580,7 @@ Some fixes are too complex
15941580Even small and seemingly obvious code-changes sometimes introduce new and
15951581totally unexpected problems. The maintainers of the stable and longterm kernels
15961582are very aware of that and thus only apply changes to these kernels that are
1597- within rules outlined in ' Documentation/process/stable-kernel-rules.rst' .
1583+ within rules outlined in Documentation/process/stable-kernel-rules.rst.
15981584
15991585Complex or risky changes for example do not qualify and thus only get applied
16001586to mainline. Other fixes are easy to get backported to the newest stable and
@@ -1756,10 +1742,23 @@ art will lay some groundwork to improve the situation over time.
17561742
17571743
17581744..
1759- This text is maintained by Thorsten Leemhuis <linux@leemhuis.info>. If you
1760- spot a typo or small mistake, feel free to let him know directly and he'll
1761- fix it. You are free to do the same in a mostly informal way if you want
1762- to contribute changes to the text, but for copyright reasons please CC
1745+ end-of-content
1746+ ..
1747+ This document is maintained by Thorsten Leemhuis <linux@leemhuis.info>. If
1748+ you spot a typo or small mistake, feel free to let him know directly and
1749+ he'll fix it. You are free to do the same in a mostly informal way if you
1750+ want to contribute changes to the text, but for copyright reasons please CC
17631751 linux-doc@vger.kernel.org and "sign-off" your contribution as
17641752 Documentation/process/submitting-patches.rst outlines in the section "Sign
17651753 your work - the Developer's Certificate of Origin".
1754+ ..
1755+ This text is available under GPL-2.0+ or CC-BY-4.0, as stated at the top
1756+ of the file. If you want to distribute this text under CC-BY-4.0 only,
1757+ please use "The Linux kernel developers" for author attribution and link
1758+ this as source:
1759+ https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/plain/Documentation/admin-guide/reporting-issues.rst
1760+ ..
1761+ Note: Only the content of this RST file as found in the Linux kernel sources
1762+ is available under CC-BY-4.0, as versions of this text that were processed
1763+ (for example by the kernel's build system) might contain content taken from
1764+ files which use a more restrictive license.
0 commit comments