blob: 6ed518b6f71565e9fab85e2adc8166759039531c [file] [log] [blame]
Sarah Sharpd60418b2013-04-13 17:44:55 -07001Identify the problematic subsystem
2----------------------------------
3
4Identifying which part of the Linux kernel might be causing your issue
5increases your chances of getting your bug fixed. Simply posting to the
6generic linux-kernel mailing list (LKML) may cause your bug report to be
7lost in the noise of a mailing list that gets 1000+ emails a day.
8
9Instead, try to figure out which kernel subsystem is causing the issue,
10and email that subsystem's maintainer and mailing list. If the subsystem
11maintainer doesn't answer, then expand your scope to mailing lists like
12LKML.
13
14
15Identify who to notify
16----------------------
17
18Once you know the subsystem that is causing the issue, you should send a
19bug report. Some maintainers prefer bugs to be reported via bugzilla
20(https://bugzilla.kernel.org), while others prefer that bugs be reported
21via the subsystem mailing list.
22
23To find out where to send an emailed bug report, find your subsystem or
24device driver in the MAINTAINERS file. Search in the file for relevant
25entries, and send your bug report to the person(s) listed in the "M:"
26lines, making sure to Cc the mailing list(s) in the "L:" lines. When the
27maintainer replies to you, make sure to 'Reply-all' in order to keep the
28public mailing list(s) in the email thread.
29
30If you know which driver is causing issues, you can pass one of the driver
31files to the get_maintainer.pl script:
32 perl scripts/get_maintainer.pl -f <filename>
33
34If it is a security bug, please copy the Security Contact listed in the
35MAINTAINERS file. They can help coordinate bugfix and disclosure. See
36Documentation/SecurityBugs for more information.
37
38If you can't figure out which subsystem caused the issue, you should file
39a bug in kernel.org bugzilla and send email to
40linux-kernel@vger.kernel.org, referencing the bugzilla URL. (For more
41information on the linux-kernel mailing list see
42http://www.tux.org/lkml/).
43
44
Linus Torvalds1da177e2005-04-16 15:20:36 -070045[Some of this is taken from Frohwalt Egerer's original linux-kernel FAQ]
46
Sarah Sharp3b12c212013-04-13 17:55:18 -070047What follows is a suggested procedure for reporting Linux bugs. You aren't
48obliged to use the bug reporting format, it is provided as a guide to the
49kind of information that can be useful to developers - no more.
Linus Torvalds1da177e2005-04-16 15:20:36 -070050
Sarah Sharp3b12c212013-04-13 17:55:18 -070051If the failure includes an "OOPS:" type message in your log or on screen
52please read "Documentation/oops-tracing.txt" before posting your bug
53report. This explains what you should do with the "Oops" information to
54make it useful to the recipient.
Linus Torvalds1da177e2005-04-16 15:20:36 -070055
Sarah Sharpd60418b2013-04-13 17:44:55 -070056If it occurs repeatably try and describe how to recreate it. That is worth
57even more than the oops itself.
Linus Torvalds1da177e2005-04-16 15:20:36 -070058
Tobias Klauser9dcbb322005-09-10 00:26:58 -070059This is a suggested format for a bug report sent to the Linux kernel mailing
60list. Having a standardized bug report form makes it easier for you not to
61overlook things, and easier for the developers to find the pieces of
Linus Torvalds1da177e2005-04-16 15:20:36 -070062information they're really interested in. Don't feel you have to follow it.
63
Sarah Sharp3b12c212013-04-13 17:55:18 -070064First run the ver_linux script included as scripts/ver_linux, which
Linus Torvalds1da177e2005-04-16 15:20:36 -070065reports the version of some important subsystems. Run this script with
66the command "sh scripts/ver_linux".
67
68Use that information to fill in all fields of the bug report form, and
69post it to the mailing list with a subject of "PROBLEM: <one line
Tobias Klauser9dcbb322005-09-10 00:26:58 -070070summary from [1.]>" for easy identification by the developers.
Linus Torvalds1da177e2005-04-16 15:20:36 -070071
Tobias Klauser9dcbb322005-09-10 00:26:58 -070072[1.] One line summary of the problem:
Linus Torvalds1da177e2005-04-16 15:20:36 -070073[2.] Full description of the problem/report:
74[3.] Keywords (i.e., modules, networking, kernel):
Randy Dunlap4e229be2006-12-06 20:39:14 -080075[4.] Kernel information
76[4.1.] Kernel version (from /proc/version):
77[4.2.] Kernel .config file:
Andrew Morton30e835e2005-08-05 11:59:32 -070078[5.] Most recent kernel version which did not have the bug:
79[6.] Output of Oops.. message (if applicable) with symbolic information
Linus Torvalds1da177e2005-04-16 15:20:36 -070080 resolved (see Documentation/oops-tracing.txt)
Andrew Morton30e835e2005-08-05 11:59:32 -070081[7.] A small shell script or example program which triggers the
Linus Torvalds1da177e2005-04-16 15:20:36 -070082 problem (if possible)
Andrew Morton30e835e2005-08-05 11:59:32 -070083[8.] Environment
84[8.1.] Software (add the output of the ver_linux script here)
85[8.2.] Processor information (from /proc/cpuinfo):
86[8.3.] Module information (from /proc/modules):
87[8.4.] Loaded driver and hardware information (/proc/ioports, /proc/iomem)
88[8.5.] PCI information ('lspci -vvv' as root)
89[8.6.] SCSI information (from /proc/scsi/scsi)
90[8.7.] Other information that might be relevant to the problem
Linus Torvalds1da177e2005-04-16 15:20:36 -070091 (please look in /proc and include all information that you
92 think to be relevant):
93[X.] Other notes, patches, fixes, workarounds:
94
95
96Thank you