REPORTING-BUGS 4.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798
  1. Identify the problematic subsystem
  2. ----------------------------------
  3. Identifying which part of the Linux kernel might be causing your issue
  4. increases your chances of getting your bug fixed. Simply posting to the
  5. generic linux-kernel mailing list (LKML) may cause your bug report to be
  6. lost in the noise of a mailing list that gets 1000+ emails a day.
  7. Instead, try to figure out which kernel subsystem is causing the issue,
  8. and email that subsystem's maintainer and mailing list. If the subsystem
  9. maintainer doesn't answer, then expand your scope to mailing lists like
  10. LKML.
  11. Identify who to notify
  12. ----------------------
  13. Once you know the subsystem that is causing the issue, you should send a
  14. bug report. Some maintainers prefer bugs to be reported via bugzilla
  15. (https://bugzilla.kernel.org), while others prefer that bugs be reported
  16. via the subsystem mailing list.
  17. To find out where to send an emailed bug report, find your subsystem or
  18. device driver in the MAINTAINERS file. Search in the file for relevant
  19. entries, and send your bug report to the person(s) listed in the "M:"
  20. lines, making sure to Cc the mailing list(s) in the "L:" lines. When the
  21. maintainer replies to you, make sure to 'Reply-all' in order to keep the
  22. public mailing list(s) in the email thread.
  23. If you know which driver is causing issues, you can pass one of the driver
  24. files to the get_maintainer.pl script:
  25. perl scripts/get_maintainer.pl -f <filename>
  26. If it is a security bug, please copy the Security Contact listed in the
  27. MAINTAINERS file. They can help coordinate bugfix and disclosure. See
  28. Documentation/SecurityBugs for more information.
  29. If you can't figure out which subsystem caused the issue, you should file
  30. a bug in kernel.org bugzilla and send email to
  31. linux-kernel@vger.kernel.org, referencing the bugzilla URL. (For more
  32. information on the linux-kernel mailing list see
  33. http://www.tux.org/lkml/).
  34. [Some of this is taken from Frohwalt Egerer's original linux-kernel FAQ]
  35. Gather information
  36. ------------------
  37. The most important information in a bug report is how to reproduce the
  38. bug. This includes system information, and (most importantly)
  39. step-by-step instructions for how a user can trigger the bug.
  40. If the failure includes an "OOPS:", take a picture of the screen, capture
  41. a netconsole trace, or type the message from your screen into the bug
  42. report. Please read "Documentation/oops-tracing.txt" before posting your
  43. bug report. This explains what you should do with the "Oops" information
  44. to make it useful to the recipient.
  45. This is a suggested format for a bug report sent via email or bugzilla.
  46. Having a standardized bug report form makes it easier for you not to
  47. overlook things, and easier for the developers to find the pieces of
  48. information they're really interested in. If some information is not
  49. relevant to your bug, feel free to exclude it.
  50. First run the ver_linux script included as scripts/ver_linux, which
  51. reports the version of some important subsystems. Run this script with
  52. the command "sh scripts/ver_linux".
  53. Use that information to fill in all fields of the bug report form, and
  54. post it to the mailing list with a subject of "PROBLEM: <one line
  55. summary from [1.]>" for easy identification by the developers.
  56. [1.] One line summary of the problem:
  57. [2.] Full description of the problem/report:
  58. [3.] Keywords (i.e., modules, networking, kernel):
  59. [4.] Kernel information
  60. [4.1.] Kernel version (from /proc/version):
  61. [4.2.] Kernel .config file:
  62. [5.] Most recent kernel version which did not have the bug:
  63. [6.] Output of Oops.. message (if applicable) with symbolic information
  64. resolved (see Documentation/oops-tracing.txt)
  65. [7.] A small shell script or example program which triggers the
  66. problem (if possible)
  67. [8.] Environment
  68. [8.1.] Software (add the output of the ver_linux script here)
  69. [8.2.] Processor information (from /proc/cpuinfo):
  70. [8.3.] Module information (from /proc/modules):
  71. [8.4.] Loaded driver and hardware information (/proc/ioports, /proc/iomem)
  72. [8.5.] PCI information ('lspci -vvv' as root)
  73. [8.6.] SCSI information (from /proc/scsi/scsi)
  74. [8.7.] Other information that might be relevant to the problem
  75. (please look in /proc and include all information that you
  76. think to be relevant):
  77. [X.] Other notes, patches, fixes, workarounds:
  78. Thank you