Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp273369pxk; Thu, 1 Oct 2020 01:53:56 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyufXf3yGguU17UPzz3sUelP2RSUA1qPyMRfcfef92txU1cg+NLDuaT7OegUQh0efonWoqJ X-Received: by 2002:a17:906:fb8f:: with SMTP id lr15mr6782500ejb.25.1601542436304; Thu, 01 Oct 2020 01:53:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1601542436; cv=none; d=google.com; s=arc-20160816; b=I0UG5y9fuUwUoAZiDgbBgdFOadbNlF6MiVqp61DGGGTXs3Z18OKYrQE3yoMnECy/JK Zte8rm5/Hqiwpn8GPHmOeVz+F9TVZCdSmcF9m79J798FJXoD2uDzfLmdIW5aNBhr/sDL fFm3pFUVPk983Vm9111xVVyeZVJna07AmZKjvBcuJ0Ka/7Ss4QNNpoOySUu+XvDeh2eT 03Ofwq28OlBhvNRBBDZzpE+5aYrVWzdr5I3j/rX9d5zk59zlz7ULqCStjkoT9Yi26Pmi XJzOHb10XGde76pqsmZOHEl2Br3gsTCyOe9smR3jyb5hKFehl7SkHENBbO2SApqnq49S 6pFA== 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=RAMNAsFJL2RnYn2oe9ZQv0aBzZ2Ns5ED8aRqPVfJ7dw=; b=DvVxz8tEHP6380DJYjoPp0DanM4IrOIKVfxIu5ChNqIsSH+o4xr8/jCd4RpZx9zsvX DgG0WbUuhH40mrmz3W+mwZ8dc8s9A2qeTcvKEeYDvvlrEVhTqEIyuLWAygRWg0fXnjV8 Jkq9EkB75qLxUH1s04EmLnXP8sK8SwWBsyXw+Ufq99yp6hN/LdY06CoPEEe87X9PaXeT q+AxUppHnqO+0fFxHq+IZ/fpC+lGFa97VA7UOK+ChB5EMINU/W384kyLPD6WHlIK6c06 XVCZA88SQExAuF8LJwgD5AY1JuRYdRerkntRHRZEjQFWOEUC0utvHjeL678SKnMxcU1K iwWA== 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 o16si3014488ejr.517.2020.10.01.01.53.33; Thu, 01 Oct 2020 01:53:56 -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 S1731826AbgJAIvy (ORCPT + 99 others); Thu, 1 Oct 2020 04:51:54 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34100 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726647AbgJAIvt (ORCPT ); Thu, 1 Oct 2020 04:51:49 -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 CCA5AC0613E5 for ; Thu, 1 Oct 2020 01:51:48 -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 1kNu8e-0000gU-SU; Thu, 01 Oct 2020 10:40:32 +0200 From: Thorsten Leemhuis To: Jonathan Corbet Cc: linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [RFC PATCH v1 14/26] docs: reporting-bugs: make users write notes, one for each issue Date: Thu, 1 Oct 2020 10:39:35 +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;1601542308;fb80fcf1; X-HE-SMSGID: 1kNu8e-0000gU-SU Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Tell users to write some rough notes how to reproduce the issue. They will need those notes soon once they have to reproduce the issue with the latest mainline kernel. At the same time they can serve as basis for the report later. While at it point out that each report should focus on one issue, as that is a good time for it: it will make the notes more straight forward if the reader deal with multiple issues at once. Signed-off-by: Thorsten Leemhuis --- Documentation/admin-guide/reporting-bugs.rst | 35 +++++++++++++++----- 1 file changed, 26 insertions(+), 9 deletions(-) diff --git a/Documentation/admin-guide/reporting-bugs.rst b/Documentation/admin-guide/reporting-bugs.rst index 2292b79cf462..f99d92a05bca 100644 --- a/Documentation/admin-guide/reporting-bugs.rst +++ b/Documentation/admin-guide/reporting-bugs.rst @@ -617,6 +617,32 @@ should minimize it: look like a regression. +Document how to reproduce issue +------------------------------- + + *Write down coarsely how to reproduce the issue. If you deal with multiple + issue at once, create separate notes for each of them and make sure they + work independently on a freshly booted system. That's needed, as each issue + needs to get reported to the kernel developers separately, unless they are + strongly entangled.* + +If you deal with multiple issue at once, you'll have to report each of them +separately, as they might be handled by different developers. Describing various +issues in one report also makes it quite difficult for others to tear it apart. +Hence, only combine issues in one report if they are strongly entangled. + +Additionally, during the reporting process you will have to test if the issue +happens with other kernel versions. Therefore, it will make your work easier if +you know exactly how to reproduce it quickly on a freshly booted system. + +Note: it's often fruitless to debug issues that only happened once, as they +might be caused by a bit flip due to cosmic radiation. That's why you should try +to rule that out by reproducing the issue before going further. Feed free to +ignore this if you are experienced enough to tell a one-time error due to faulty +hardware apart from a kernel issue that rarely happens and thus is hard to +reproduce. + + .. ############################################################################ .. 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. @@ -639,15 +665,6 @@ How to report Linux kernel bugs =============================== -Tips for reporting bugs ------------------------ - -It's REALLY important to report bugs that seem unrelated as separate email -threads or separate bugzilla entries. If you report several unrelated -bugs at once, it's difficult for maintainers to tease apart the relevant -data. - - Gather information ------------------ -- 2.26.2