Received: by 2002:a05:6a10:16a7:0:0:0:0 with SMTP id gp39csp550535pxb; Thu, 12 Nov 2020 10:04:19 -0800 (PST) X-Google-Smtp-Source: ABdhPJzWePtx6TVBFlaqHqed4UCqAFTGL5nRwYyrdEd5oK67PItyS1zStH6VpyUO/QOPzTGu7qDY X-Received: by 2002:ac2:418e:: with SMTP id z14mr196642lfh.25.1605204259242; Thu, 12 Nov 2020 10:04:19 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1605204259; cv=none; d=google.com; s=arc-20160816; b=AqzkILet+onGjPrYZ4i8l1WEOXjMbuou27W7K1JSzWpL74rfJfIW6xfkfRE5l3Qv1D kRSudDt/JfmFIG3btBzeyaILhN4CZEkzXWN2EZvw5pK2tMtRIVxb3nmJ78MhdnHFv0KY yJOVuBWMA+3w0g+0XZcOdIv+544rCUuVdT9S69586Cyw/0Rgefo2FAcybyDY8OdYtAYf gO9jKLRZ+RMnATBDjGpsfbBroEs718I8r4lKd59ybNRbX6DHtg8VMPF0END6vQ2bllNc OQz7QeXRIImiGQt/tmZWLMJz73hFi/hPjrRJeKSMnVxefy2eLgNLoWZuE0F9vUX9lDOK Saaw== 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=MrafV9FUDJkj0NKHF+QKcf1/0YrygKl02ANSXVPP+j0=; b=GL3F1BqVfr9GUFQTkGeUjkDn3p+Y5LFsu1QVx3tm9WyZrMFRXQS3RWzUWFdNVkMdvl IE2maTm9tkXEjKGybXoQUy/f+W1bI+B5kDOpz3eRGl1r7VwCdJ9O1y4nzhqoYyuykoSJ 3DUWeBf9CwQ4wrpThbzkv0EYt4sxE0yXascGwuKsNhxyA9oK6xmQOTsF7+LGf2EWtPMT XHh0L3CWRIRPTYkteNON6emBQKSw13WVFSx2g4FHxyQrMGB1RNFQ48cnnmBr3L56zBML llemJ0ERgJHLbCutlyyv3HZpYGmKKSFP2dPvG7/NUeC3ScQ/4hxQWBmo83nASeCMcQLG 7DQw== 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 i25si4136646ejy.626.2020.11.12.10.03.55; Thu, 12 Nov 2020 10:04:19 -0800 (PST) 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 S1726451AbgKLR7L (ORCPT + 99 others); Thu, 12 Nov 2020 12:59:11 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35094 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726281AbgKLR7H (ORCPT ); Thu, 12 Nov 2020 12:59:07 -0500 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 A5F94C0613D1; Thu, 12 Nov 2020 09:59:07 -0800 (PST) Received: from ip4d145e30.dynamic.kabel-deutschland.de ([77.20.94.48] helo=truhe.fritz.box); authenticated by wp530.webpack.hosteurope.de running ExIM with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) id 1kdGsC-0006ue-7n; Thu, 12 Nov 2020 18:59:04 +0100 From: Thorsten Leemhuis To: Jonathan Corbet Cc: Randy Dunlap , linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [RFC PATCH v2 02/26] docs: reporting-bugs: Create a TLDR how to report issues Date: Thu, 12 Nov 2020 18:58:39 +0100 Message-Id: <8f359da90f3234bdaa49912dd9d082b0042b89bf.1605203187.git.linux@leemhuis.info> X-Mailer: git-send-email 2.28.0 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-bounce-key: webpack.hosteurope.de;linux@leemhuis.info;1605203947;764f585d; X-HE-SMSGID: 1kdGsC-0006ue-7n 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 three paragraphs. The fourth is dedicated to issues only happening in stable and longterm kernels, as things otherwise get hard to follow. 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 --- v2: reshuffled and rewritten to make this section more straight forward --- Documentation/admin-guide/reporting-bugs.rst | 45 ++++++++++++++++++++ 1 file changed, 45 insertions(+) diff --git a/Documentation/admin-guide/reporting-bugs.rst b/Documentation/admin-guide/reporting-bugs.rst index 4bbb9132782b..97815a35c546 100644 --- a/Documentation/admin-guide/reporting-bugs.rst +++ b/Documentation/admin-guide/reporting-bugs.rst @@ -10,6 +10,51 @@ Reporting bugs .. inconsistent/not make sense before all patches of the rewrite got applied. .. ########################################################################### + +The short guide (aka TL;DR) +=========================== + +If you're facing multiple issues with the Linux kernel at once, report each +separately to its developers. Try your best guess which kernel part might be +causing the issue. Check the :ref:`MAINTAINERS ` file for how its +developers expect to be told about issues. Note, it's rarely +`bugzilla.kernel.org `_, as in almost all cases +the report needs to be sent by email! + +Check the destination thoroughly for existing reports; also search the LKML +archives and the web. Join existing discussion if you find matches. If you +don't find any, install `the latest Linux mainline kernel +`_. Make sure it's vanilla, thus is not patched or using +add-on kernel modules. Also ensure the kernel is running in a healthy +environment and is not already tainted before the issue occurs. + +If you can reproduce your issue with the mainline kernel, send a report to the +destination you determined earlier. Make sure it includes all relevant +information, which in case of a regression should mention the change that's +causing it which can often can be found with a bisection. Also ensure the +report reaches all people that need to know about it, for example the security +team, the stable maintainers or the developers of the patch that causes a +regression. Once the report it out, answer any questions that might be raised +and help where you can. That includes keeping the ball rolling: every time a +new rc1 mainline kernel is released, check if the issue is still happening +there and attach a status update to your initial report. + +If you can not reproduce the issue with the mainline kernel, consider sticking +with it; if you'd like to use an older version line and want to see it fixed +there, first make sure it's still supported. Install its latest release as +vanilla kernel. If you cannot 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 considered too complex. If backporting was +not discussed, ask if it's in the cards. In case you don't find any commits or +a preceding discussion, see the Linux-stable mailing list archives for existing +reports, as it might be a regression specific to the version line. If it is, +report it like you would report a problem in mainline (including the +bisection). + +If you reached this point without a solution, ask for advice one the +subsystem's mailing list. + + .. ############################################################################ .. 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.28.0