(Add a note about duplicating bugs across releases) |
No edit summary |
||
Line 12: | Line 12: | ||
* [http://bugzilla.kernel.org/buglist.cgi?short_desc_type=allwordssubstr&short_desc=&long_desc_type=allwordssubstr&long_desc=&kernel_version_type=allwordssubstr&kernel_version=&bug_status=NEW&bug_status=ASSIGNED&emailassigned_to1=1&emailtype1=substring&email1=&emailassigned_to2=1&emailreporter2=1&emailcc2=1&emailtype2=substring&email2=&bugidtype=include&bug_id=&changedin=&chfieldfrom=&chfieldto=Now&chfieldvalue=&newqueryname=&field0-0-0=noop&type0-0-0=noop&value0-0-0= Upstream Kernel Bugs] | * [http://bugzilla.kernel.org/buglist.cgi?short_desc_type=allwordssubstr&short_desc=&long_desc_type=allwordssubstr&long_desc=&kernel_version_type=allwordssubstr&kernel_version=&bug_status=NEW&bug_status=ASSIGNED&emailassigned_to1=1&emailtype1=substring&email1=&emailassigned_to2=1&emailreporter2=1&emailcc2=1&emailtype2=substring&email2=&bugidtype=include&bug_id=&changedin=&chfieldfrom=&chfieldto=Now&chfieldvalue=&newqueryname=&field0-0-0=noop&type0-0-0=noop&value0-0-0= Upstream Kernel Bugs] | ||
== Kernel Bug Classification == | |||
[[KernelBugClassification]] | |||
== Kernel Bugzilla Basics == | == Kernel Bugzilla Basics == |
Revision as of 19:41, 29 April 2013
Quick links to bug lists
Kernel Bug Classification
Kernel Bugzilla Basics
- If there's an upstream (http://bugzilla.kernel.org) bug that matches
- In the Fedora bug, set 'external bugzilla references' to point to the upstream bug number
- In the upstream kernel.org bugzilla, add a comment along the lines of "also seen in Fedora. http://bugzilla.redhat.com/show_bug.cgi?id=253096"
- If the bug is against an already released Fedora (Ie, Fedora 7) and there isn't much information to go on "my machine locked up" for eg, request that the user try to reproduce the problem using the kernel-debug kernel. The additional debugging checks may trigger some clues.
- If the bug you are triaging contains a patch, please add [PATCH] to the beginning of the summary line of the bugzilla.
- Sometimes a user will attach a kernel panic as a jpeg, or in worst case, as a tarball of their /var/log/messages.
- It saves the kernel team time if the kernel oops parts of these are transcribed/cut out and pasted into the bug as text.
- Additionally, making sure that text attachments of bugs have their MIME type set to text/plain can save some time.
- You can ask reporters to try and duplicate with the latest nightly live composes: http://alt.fedoraproject.org/pub/alt/nightly-composes/
- You can ask reporters to try the newest kernel available in koji: http://koji.fedoraproject.org/koji/packageinfo?packageID=8
- If the bug appears to be video/kernel modesetting related, reassign it to the xorg-x11-drv-{intel,ati,nouveau} component. See KernelBugTriage#Video_Subsystem_bugs
- If the reporter is using a custom compiled kernel, close the bug as a duplicate of https://bugzilla.redhat.com/show_bug.cgi?id=126342
Bug state transitions
- A bug marked as MODIFIED has patches in testing and should not have their status changed. An exception to this is when a bug has been in MODIFIED state for some time (this usually indicates that the issue was fixed in an update, and no-one ever closed the bug. If in doubt, ping the reporter to retest with the latest build).
- If a bug has been in NEEDINFO for several weeks with no follow-up from the reporter, there's not a great deal we can do. In this situation, closing the bug is the only recourse available (which does actually tend to 'wake up' some reporters who then reopen the bug). See KernelBugTriage#Stale_Bugs below.
- When marking bugs as duplicates, we want the one with the most information to be the one that remains open, even if this means a higher numbered bug gets closed. Also, the Fedora release branches are kept on essentially the same kernel version. Therefore, if the same bug is reported in both releases then we close one of them as a duplicate of the other following the aforementioned rule. Duplicating bugs across releases is one way to control the bug count.
- Don't close bugs marked beginning with [mmconf] or [msi] (bugs beginning with [$something] are usually specifically marked so developers can quickly see the main issue within the bug)
NEW state bugs
If the bug is new and (this type of bug must be key-worded in either WHITEBOARD or BLOCKER): Hello,
- Thank you for taking the time to report this bug. I have added the proper keyword to this bug to bring it to the attention of the <subsystem-name> subsystem maintainer.
- Can you attach the following information to this bug:
Then pick the info that is useful in this case:
- dmesg output from boot before issue.
- dmesg output after issue.
- dmesg output from boot with 'quiet' option replaced with 'debug'
- lspci output
- lsusb output
For other necessary information check:
- X bugs see: http://fedoraproject.org/wiki/How_to_debug_Xorg_problems.
- Other troubleshooting ideas: http://fedoraproject.org/wiki/Common_kernel_problems.
Bug assignment
Assigning/cc'ing people responsible for the relevant subsystem is a good idea.
When reassigning bugs to yourself, add kernel-maint@redhat.com to Cc:
If you are an upstream developer, and would like to be added to the Cc: of relevant bugs, send an email to kernel-team at fedoraproject.org, (We used to maintain this here on the wiki, but for a number of reasons, we now maintain this list privately)
Possibly fixed in CURRENTRELEASE (Stick for prodding sleeping bugs with)
If the bug is against a previous point release kernel, and the reporter hasn't re-tested (this type of bugs must be set in NEEDINFO_REPORTER state):
- Thank you for taking the time to report this bug. Updates to the kernel have been released since it was first reported. If you have time to update the package and re-test, please do so and report the results here. You can obtain the updated package by typing
'yum update kernel'
or using the graphical updater, Software Update. If the problem no longer exists then please close this bug or it will be closed in a few weeks if there is no additional information lodged.
Installer bugs
If the bug refers to problems when installing Fedora in any of the possible ways CD, DVD, USB, network, etc (this type of bugs must be set in NEEDINFO_REPORTER state):
- Thank you for taking the time to report this bug. Bugs involving the installation process cannot usually be resolved after release date. We therefore ask reporters to use one (or both) of the following options:
- Test with an Alpha, Beta or Release Candidate for the next version. These can be found at http://fedoraproject.org/get-prerelease and by testing these we can work to resolve any installation issues so that the final release is free of such bugs.
- However if the problem no longer exists then please close this bug or it will be closed in a few weeks if there is no additional information lodged.
Video Subsystem bugs
The various video subsystems that have kernel modesetting support would just prefer their bugs to be moved over to the xorg-x11-drv-{intel|nouveau|ati} component. There, their triagers can gather needed info and debug the issue. If the problem is in the kernel, those maintainers can fix it, no need to leave the bug assigned to the kernel.
- This bug is in a video subsystem that has a kernel part. We track and work on these bugs via the driver package name instead of leaving them assigned to the kernel
Rebase Regressions
The kernel is often rebased to the latest stable kernel release and pushed as an update. This fixes a large amount of bugs, but it inevitably introduces a few regressions. If a bug is reported and it is determined that it worked with the previous kernel release, then a rebase regression entry should be added to the whiteboard field in the bug. This entry takes the form of:
rebase-regression-<kernel version>
E.g. if there is a regression when moving to the 3.1 kernel, it should be:
rebase-regression-3.1
The latest working Fedora kernel version and the earliest broken version should be noted in the comment section if possible.
This will allow the kernel developers to track regressions introduced by a rebased kernel. That will also help facilitate our communication with the upstream kernel developers, as we can report these bugs to them to be included in the regression lists that are published upstream.
Bugs with TAINTED modules
Certain bug reports refer to a kernel module that is not open source software (mark this bugs with the keyword TAINTED):
- Thank you for taking the time to report this bug. Sadly, your report contains information about a not open-sourced module. This means you have loaded a module into your kernel that we can't debug, making it difficult to isolate the issue. Can you reproduce the issue without loading the tainted <module-name> module?.
- If you cannot duplicate the bug without the tainted module loaded it will be closed.
- However, you can report it to the vendor of your non-free module.
Stale Bugs
If a bug has been in NEEDINFO with no response from the reporter for 2 weeks, close the bug out with INSUFFICIENT_DATA and the following text:
- This bug is being closed with INSUFFICIENT_DATA as there has not been a response in 2 weeks. If you are still experiencing this issue, please reopen and attach the relevant data from the latest kernel you are running and any data that might have been requested previously.
Common Problems
Point reporters to: KernelCommonProblems