Received: by 2002:a05:6a10:16a7:0:0:0:0 with SMTP id gp39csp551731pxb; Thu, 12 Nov 2020 10:05:48 -0800 (PST) X-Google-Smtp-Source: ABdhPJygCNQfK8nMsLZNxZVvsmO1466HuoRJlqgRzuVG+rNi5dic6NlcqsotkVvkbJiM+Vmp6ApP X-Received: by 2002:a17:906:1e45:: with SMTP id i5mr469474ejj.203.1605204347929; Thu, 12 Nov 2020 10:05:47 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1605204347; cv=none; d=google.com; s=arc-20160816; b=e1+ABfvpYGDNgL70rGAValjehh0gEibjD48Bz/2sIOBzQ7661BEPE5kplVpUMrw8Zo S/ryorYSDkXMPHO3pX4KSeuD6fBVF0GTAL97qEYqKvYCLZTJe4q/raavoARhkoEyTjVN f87T9yPHnZoq/z89zcRjZgGl0ciAh0Oat08Qj3AEMjhOvGJz/9siGB6Cpkz31PP/t9ZT PjtDwralVgUwNvAUYP4tIPRLjFaD2HOwLUFZMpm7KTzfZTbHSGim2O/1dEqlo1PMydl6 tXcK+7RdeL7oQsafdyAgWM/KV7WImMnCDBFL2r+gTA+xiEe77ulQSjphIS3pnytSlyru ODXA== 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=eWcmB2oFBaAWGbHjngdD0cw8MzHEUpGhg1XcKaoXHfU=; b=eldYKWHhPgaYr1XOoARbAJUZWPaLzE/cnn0UFqoSd52hMBBsfL8hHZhCi1hD/yGw2L lULJg9Qnq3EqQNaYhKpG24xEluVbY3IYD9w/IxgGzug9/XZlt6ZYdHYDC/+dDP23Ru0G OCqBeV48ALex3R9ePUy9ZJ0XdqE1awrC9+I1K/vtzatVjOrXE5SleajU4ht93fjPVkWz OOCxM+Wp2+7SQpGnicXNLa9jSAUg+1hujAvp9aOytB6NVsvUszoCB5Qf5el6WGZnlQaZ 7vfIYqfn68sYrBr2a+l5m06NjGbeqWH1c8CEBYA8ImGBp+weVvwT5UuH9K0Y99ZngLuY ZczQ== 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 u13si86058edp.102.2020.11.12.10.05.24; Thu, 12 Nov 2020 10:05:47 -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 S1726532AbgKLR7Q (ORCPT + 99 others); Thu, 12 Nov 2020 12:59:16 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35118 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726440AbgKLR7K (ORCPT ); Thu, 12 Nov 2020 12:59:10 -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 DE0A5C0613D1; Thu, 12 Nov 2020 09:59:10 -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-Jl; 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 04/26] docs: reporting-bugs: step-by-step guide for issues in stable & longterm Date: Thu, 12 Nov 2020 18:58:41 +0100 Message-Id: <2d840fb91b7c5d481284275dea1d4f75fd755af6.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;1605203950;e91369b8; X-HE-SMSGID: 1kdGsC-0006ue-Jl Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Handle stable and longterm kernels in a subsection, as dealing with them directly in the main part of the step-by-step guide turned out to make it messy and hard to follow: it looked a bit like code with a large amount of if-then-else section to handle special cases, which made the typical flow hard to understand. Yet again a reference section will later describe each step in more detail and repeat each step as introduction. Signed-off-by: Thorsten Leemhuis --- Documentation/admin-guide/reporting-bugs.rst | 48 ++++++++++++++++++++ 1 file changed, 48 insertions(+) diff --git a/Documentation/admin-guide/reporting-bugs.rst b/Documentation/admin-guide/reporting-bugs.rst index a654c54d7dc6..2b48c824d070 100644 --- a/Documentation/admin-guide/reporting-bugs.rst +++ b/Documentation/admin-guide/reporting-bugs.rst @@ -162,6 +162,54 @@ After these preparations you'll now enter the main part: help yourself, if you don't get any help or if it's unsatisfying. +Reporting issues only occurring in older kernel version lines +------------------------------------------------------------- + +This section is for you, if you tried the latest mainline kernel as outlined +above, but failed to reproduce your issue there; at the same time you want to +see the issue fixed in older version lines or a vendor kernel that's regularly +rebased on new stable or longterm releases. If that case follow these steps: + + * Prepare yourself for the possibility that going through the next few steps + might not get the issue solved in older releases: the fix might be too big + or risky to get backported there. + + * Check if the kernel developers still maintain the Linux kernel version + line you care about: go to the front page of kernel.org and make sure it + mentions the latest release of the particular version line without an + '[EOL]' tag. + + * Check the archives of the Linux stable mailing list for existing reports. + + * Install the latest release from the particular version line as a vanilla + kernel. Ensure this kernel is not tainted and still shows the problem, as + the issue might have already been fixed there. + + * Search the Linux kernel version control system for the change that fixed + the issue in mainline, as its commit message might tell you if the fix is + scheduled for backporting already. If you don't find anything that way, + search the appropriate mailing lists for posts that discuss such an issue + or peer-review possible fixes; then check the discussions if the fix was + deemed unsuitable for backporting. If backporting was not considered at + all, join the newest discussion, asking if it's in the cards. + + * Check if you're dealing with a regression that was never present in + mainline by installing the first release of the version line you care + about. If the issue doesn't show up with it, you basically need to report + the issue with this version like you would report a problem with mainline + (see above). This ideally includes a bisection followed by a search for + existing reports on the net; with the help of the subject and the two + relevant commit-ids. If that doesn't turn up anything, write the report; CC + or forward the report to the stable maintainers, the stable mailing list, + and those who authored the change. Include the shortened commit-id if you + found the change that causes it. + + * One of the former steps should lead to a solution. If that doesn't work + out, ask the maintainers for the subsystem that seems to be causing the + issue for advice; CC the mailing list for the particular subsystem as well + as the stable 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