Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp276972pxk; Thu, 1 Oct 2020 02:01:02 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz82JjyfmIlbg1Xym27ovPQT4MJREa+/liIR8VEmkuw4POnJb3o3CAJ4Wunx19P/AK9U+xU X-Received: by 2002:a17:906:2752:: with SMTP id a18mr6835062ejd.350.1601542862737; Thu, 01 Oct 2020 02:01:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1601542862; cv=none; d=google.com; s=arc-20160816; b=rMX9hqkMJgjNhT465jnIWMEE7z6y/gHno9AT+tN+ffKMJoIha7ZTm428RXB6A/VPTc 2B58AbhxqlPQKf2okf7GDp6ILH7YKDtPBDb6gy+MsdD4BHM1E2g014Efv4wEWxZy6ZjZ LZ1fiwqayJv5kfM9fEY5D4TUh8oRWvsbAyfO/ZbcsfWMmmMKLMxSZ/XsShqAVx5Bxo0z 6gVc3HbGBJxg+gIwg3PEdWD52OgJn/lUsOMKsvSLleQ//7cdbdR4xw9t8pAO096AKc09 A08GccNa4PpdpKvoeV9uTyAAnenthjLl2rNcr7MQNcJWEUTTY7M3PjOHr5+HGBp0Wv2k cfsw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=yG1W7bGZ9wfJHgpu9YxHsJ/6dqKQ4S3svRvCQCLeLhQ=; b=zkpddP8gB37IlEXzqhmAPSaOqXCLrGUndHuf1w5VKM9DrYsQKULE0/+kf2r7HcsErr 9eSb/7iB/bMiu/uVvXfPbf2ANNxrrr0IkvXLFW25Ui2eThjXEcygq68ELCG9VOEiud0W Vihx/12G63MsWu4BYJyJoaanBLs5jHnLYA5axrUGfchO6k0F+i0BSPkbueEWYzfcPgl/ ysrnieHLS9GTDvCpar8UDmMTQbxFAeZNCTXoxz7xHinGzjkTz8tkPncJzZMWVqqn0BBm tv1bUXOcCl5nyNtPKSrU625H5nnhFnglFXLqsNATrL+y4G28qFnXx0RjwxtyEG6Dtu2q A0jQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id x99si2846781ede.160.2020.10.01.02.00.40; Thu, 01 Oct 2020 02:01:02 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731817AbgJAI4g (ORCPT + 99 others); Thu, 1 Oct 2020 04:56:36 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34816 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731592AbgJAI4b (ORCPT ); Thu, 1 Oct 2020 04:56:31 -0400 Received: from wp530.webpack.hosteurope.de (wp530.webpack.hosteurope.de [IPv6:2a01:488:42:1000:50ed:8234::]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7E7E0C0613D0 for ; Thu, 1 Oct 2020 01:56:31 -0700 (PDT) Received: from ip4d14bc8c.dynamic.kabel-deutschland.de ([77.20.188.140] helo=truhe.fritz.box); authenticated by wp530.webpack.hosteurope.de running ExIM with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) id 1kNu7w-0006b9-F2; Thu, 01 Oct 2020 10:39:48 +0200 From: Thorsten Leemhuis To: Jonathan Corbet Cc: linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [RFC PATCH v1 02/26] docs: reporting-bugs: Create a TLDR how to report issues Date: Thu, 1 Oct 2020 10:39:23 +0200 Message-Id: X-Mailer: git-send-email 2.26.2 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-bounce-key: webpack.hosteurope.de;linux@leemhuis.info;1601542591;4b97c1ad; X-HE-SMSGID: 1kNu7w-0006b9-F2 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Get straight to the point in a few paragraphs instead of forcing users to read quite a bit of text, like the old approach did. All normally needed fits into the first two paragraphs. The third is dedicated to issues only happening in stable and longterm kernels, as things otherwise get hard to follow. At the end explicitly spell out that some issues need to be handled slightly different. This TLDR naturally leaves lots of details out. But it will be good enough in some situations, for example for users that recently reported an issue or are familiar with reporting issues to FLOSS projects. Signed-off-by: Thorsten Leemhuis --- Documentation/admin-guide/reporting-bugs.rst | 43 ++++++++++++++++++++ 1 file changed, 43 insertions(+) diff --git a/Documentation/admin-guide/reporting-bugs.rst b/Documentation/admin-guide/reporting-bugs.rst index 4bbb9132782b..7bde6f32ff72 100644 --- a/Documentation/admin-guide/reporting-bugs.rst +++ b/Documentation/admin-guide/reporting-bugs.rst @@ -10,6 +10,49 @@ Reporting bugs .. inconsistent/not make sense before all patches of the rewrite got applied. .. ########################################################################### + +The short guide (aka TL;DR) +=========================== + +This is how you report issues with the Linux kernel to its developers: + +If you deal with multiple issues at once, process each of them separately. Try +your best guess which area of the kernel might be responsible for your issue. +Check the `MAINTAINERS file +`_ +how developers of that particular area expect to be told about issues; note, +it's rarely `bugzilla.kernel.org `_, as most +subsystems expect reports by mail sent to their maintainers and their public +mailing list! + +Check the archives of the determined destination thoroughly for existing +reports; also search the LKML archives and the internet as a whole. If you can't +find any, install the `latest Linux mainline version `_. +Make sure to use a vanilla kernel and avert any add-on kernel modules externally +developed; also ensure the kernel is running in a healthy environment and does +not 'taint' itself before the issue occurs. If you can reproduce it, write a +report to the destination you determined earlier. Afterwards keep the ball +rolling by proactive testing, a status update now and then, and helping where +you can. + +You can't reproduce an issue with mainline you want to see fixed in older +version lines? Then make sure the line you care about still gets support. +Install its latest release as vanilla kernel. If you can reproduce the issue +there, try to find the commit that fixed it in mainline or any discussion +preceding it: those will often mention if backporting is planed or impossible; +if not, ask for it. In case you don't find anything, check if it's a regression +specific to the version line that need to be bisected and report just like a +problem in mainline with the stable mailing list CCed. If you reached this point +without a solution, ask for advice by mailing the subsystem maintainer with the +subsystem and stable mailing list in CC. + +If you deal with a regression, bisect it to find the culprit and CC or forward +your report to its developers. + +Security issues are typically best report privately; also CC the security team +or forward your report there. + + .. ############################################################################ .. Temporary marker added while this document is rewritten. Sections above .. are new and dual-licensed under GPLv2+ and CC-BY 4.0, those below are old. -- 2.26.2