KernelTriage

= Introduction =

The Linux kernel is a large and complex software project, and thus gets a lot of bug reports in the Fedora bugzilla instance. This effort attempts to triage these bugs to allow Fedora kernel maintainers to focus on real bugs and issues.

The Fedora kernel team is intending to have once a month triage days. This page documents some of the things that could be done to help.

As the kernel gets more bugs than any other package in the distro, the maintainers would like to keep bug mail to a minimum, so when taking on some of the tasks below, try to do them as 'atomic operations', rather than as several separate commits.

NEW bugs
When a new bug is filed, the bugzapper kernel team should check it against the following list for actions.


 * 1) If it seems relevant, ask for the following information (if not yet provided):
 * 2) * uname -a
 * 3) * dmesg output
 * 4) * smolt profile (optional)
 * 5) * lsmod DO NOT ask for all this information on every single bug. Adding unnecessary information just makes the bug harder to parse. If we have a backtrace, we usually don't need much else from this list.
 * 6) If the reporter is not running the most current kernel update, ask them to duplicate with the newest kernel version available if possible. Note also there may be newer kernels available in koji directly.
 * 7) If the report has a kernel OOPS that shows that their kernel is "tainted", parse the flags that follow it.
 * 8) * If there is a P flag, tell the reporter that we cannot fix problems reported with binary modules loaded, and CLOSED->CANTFIX the bug.
 * 9) * TODO: Decide what we want to do with other flags.
 * 10) * If an oops isn't tainted, but shows vboxdrv in the modules list, ask the user to try and reproduce the bug without it having been loaded. VirtualBox is opensource, but historically has caused all sorts of problems that Fedora does not have the resources to fix. If the user cannot (or will not) reproduce the problem without Vbox, then advise them to take the bug to the upstream VirtualBox developers.
 * 11) Note to the reporter the KernelCommonProblems page.
 * 12) If this is a feature request, point reporter upstream (also CLOSED->WONTFIX?)
 * 13) If the bug contains a patch, add "[PATCH]" to the subject. If the patch is not a backport of upstream, ask them to submit upstream.
 * 14) Don't bother setting the Severity field. For as long as it's a user-settable field, it's useless and is ignored.
 * 15) If this is a regression from a previous Fedora kernel, add a 'regression' keyword. NOTE what regression means. ;)
 * 16) If the bug is pertaining to a config option that should be enabled/disabled/made modular, add 'kernel_config' keyword.
 * 17) The arch of the bug should be noted. If it's a secondary Fedora arch, the secondary arch team should be added to CC and/or a keyword added.
 * 18) The High level subsystem the bug is involved in should be noted and a Keyword added for it, as well as possibly a CC to subsystem maintainers.
 * 19) * Where possible, use the module name of the driver (for example e1000e.ko bugs get tagged 'e1000e').
 * 20) * If the module name isn't obvious, do nothing.
 * 21) Note that for the following subsystems, the bug should be switched from 'kernel' to the component within brackets:
 * 22) * AMD/ATI Radeon graphics (xorg-x11-drv-ati)
 * 23) * Intel graphics (xorg-x11-drv-intel)
 * 24) * Nvidia graphics (xorg-x11-drv-nouveau)
 * 25) Abrt bug cleanup: Abrt has a number of problems in its automatic filing. (bugs have been filed that will hopefully get them fixed soon).
 * 26) * It always reports 'TAINTED' in the summary. If the first trace in the report has 'Not tainted', then clear the TAINTED part of the summary (and the flags or 'WARNING ISSUED' type messages that follow)
 * 27) * Remove the 'kernel: ' part of the summary while you're at it. We already know it's a kernel bug.
 * 28) * For oopses and similar traces, knowing where it happened is valuable info in the summary for looking for possible dupes. On 32 bit this is the important part of the trace: The address  isn't important (and may change from build to build).  Add the rest to the summary.
 * 29) * Using https://bugzilla.redhat.com/show_bug.cgi?id=722827 as an example. abrt filed the bug as: cleaned up, this would look like:
 * 30) * Finally, the "Triaged" Keyword should be added.
 * 31) * There is also a lot more information on https://fedoraproject.org/wiki/KernelBugTriage. In particular, note the 'bug assignment' table. Add Cc's where necessary.

ASSIGNED / MODIFIED bugs

 * Let subsystem maintainer handle the bug.


 * If reporter is impatient, ask them to report upstream in the kernel bugtracker or kernel list.


 * When new kernels are released, optionally ask reporters to try them and duplicate.


 * If no answer from reporter X time, close bug INSUFFICIENT_INFORMATION