Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp4414382pxf; Tue, 30 Mar 2021 07:17:38 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzjE+BH1u5TFl4qskVOjTRktnCnOnD8YpkMZKu94lzhbkaclxqVfOhoj+hJLy1JDhWC+YGt X-Received: by 2002:a17:907:629c:: with SMTP id nd28mr23155691ejc.267.1617113858670; Tue, 30 Mar 2021 07:17:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1617113858; cv=none; d=google.com; s=arc-20160816; b=wCtngUVh03ZlpXzhTqUIJ1fYGC3f0iAvL2xGYbiuOYatVBdONfX+lggTKEbZKTMVNn gLHzfb+VtyvmA0ESp3c9KP9dLN0hveeqQoRyfrcbDLnlaMDSVJ9ZRQ+oPGvwZQwXfT3/ 6RnflOx8t19AJ2zVpuq1PBOWc58Yj3ge/hT7kzbGIWaX9SU17Ta7Cr2Lz7NdmwxZG/+V UtTO7sbowlOxV9o2FhWYkrk0nrf1Oodz1XMb09sI6p5AFHLyeaUGsD0IQPQNVSjOGkuS +C05bFwzUJUSKif76oMNtKkTQiLeE7tVD9E40fs/gSzUsPTe6mBXqrF9kovTL1AHLGKb vH1g== 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=RqaepYwmDu3h8fpLJhao8iVhmxDmFPkCLdTATNQJB/E=; b=1EKDkMxrE1KJ42v1D6HbQhyWnho0AVckurbJkpLK+20Z0GuZmALJDpJSMWn8qwGqGD QrE1x7LTxVPBg4aRmTTOJWZcojvWRfcGWtV3WC30k/Nm3BXhWVgXmlm32aaGlIcZRyQn iRJ9RhRgtgcjGWaTvB6CpC0Ya7giDSFo1CaOQV5SkDnKCIBkHhARbzi+0y1Gf+qp/koM VklFmDbGi3KUNdKX2kpiPrJekRNhH0wvEoVdLkjHb95lp/RxfK0UeAYcorFC1ezclEP2 wiChlIc/1zFOvD/nL4X0rOnlDZQD8YexMv9iCkA7q1XZHDl4ouf4UN3t62AzROWu7dVN 6m5Q== 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 e24si15141640edv.373.2021.03.30.07.17.02; Tue, 30 Mar 2021 07:17:38 -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 S232082AbhC3ON5 (ORCPT + 99 others); Tue, 30 Mar 2021 10:13:57 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42000 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231579AbhC3ONW (ORCPT ); Tue, 30 Mar 2021 10:13:22 -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 10F10C061762; Tue, 30 Mar 2021 07:13:21 -0700 (PDT) Received: from ip4d14bd53.dynamic.kabel-deutschland.de ([77.20.189.83] helo=truhe.fritz.box); authenticated by wp530.webpack.hosteurope.de running ExIM with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) id 1lRF7I-0000jw-7j; Tue, 30 Mar 2021 16:13:12 +0200 From: Thorsten Leemhuis To: Jonathan Corbet Cc: Randy Dunlap , linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v1 3/4] docs: reporting-issues.rst: reshuffle and improve TLDR Date: Tue, 30 Mar 2021 16:13:06 +0200 Message-Id: <762ccd7735315d2fdaa79612fccc1f474881118b.1617113469.git.linux@leemhuis.info> X-Mailer: git-send-email 2.30.2 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-bounce-key: webpack.hosteurope.de;linux@leemhuis.info;1617113602;38c5c4bd; X-HE-SMSGID: 1lRF7I-0000jw-7j Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Make the TLDR a bit shorter while improving it at the same time by going straight to the aspects readers are more interested it. The change makes the process especially more straight-forward for people that hit a regression in a stable or longterm kernel. Due to the changes the TLDR now also matches the step by step guide better. Signed-off-by: Thorsten Leemhuis --- v1 - Incorporated feedback received from posting a draft to LKML. Also slightly change the beginning of the third paragraph to improve the flow. --- .../admin-guide/reporting-issues.rst | 75 +++++++++---------- 1 file changed, 35 insertions(+), 40 deletions(-) diff --git a/Documentation/admin-guide/reporting-issues.rst b/Documentation/admin-guide/reporting-issues.rst index ca809a4be620..77d38acca282 100644 --- a/Documentation/admin-guide/reporting-issues.rst +++ b/Documentation/admin-guide/reporting-issues.rst @@ -17,46 +17,41 @@ Reporting issues 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 is 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. - +Are you facing a regression with vanilla kernels from the same stable or +longterm series? One still supported? Then search the `LKML +`_ and the `Linux stable mailing list +_` archives for matching reports to join. If +you don't find any, install `the latest release from that series +`_. If it still shows the issue, report it to the stable +mailing list (stable@vger.kernel.org). + +In all other cases 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 problems, which most of the time will be by email with a +mailing list in CC. Check the destination's archives for matching reports; +search the `LKML `_ and the web, too. If you +don't find any to join, install `the latest mainline kernel +`_. If the issue is present there, send a report. + +The issue was fixed there, but you would like to see it resolved in a still +supported stable or longterm series as well? Then install its latest release. +If it shows the problem, search for the change that fixed it in mainline and +check if backporting is in the works or was discarded; if it's neither, ask +those who handled the change for it. + +**General remarks**: When installing and testing a kernel as outlined above, +ensure it's vanilla (IOW: not patched and not using add-on modules). Also make +sure it's built and running in a healthy environment and not already tainted +before the issue occurs. + +While writing your report, include all information relevant to the issue, like +the kernel and the distro used. In case of a regression try to include the +commit-id of the change causing it, which a bisection can find. If you're facing +multiple issues with the Linux kernel at once, report each separately. + +Once the report is out, answer any questions that come up and help where you +can. That includes keeping the ball rolling by occasionally retesting with newer +releases and sending a status update afterwards. Step-by-step guide how to report issues to the kernel maintainers ================================================================= -- 2.30.2