Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp2338871pxb; Thu, 11 Feb 2021 09:50:20 -0800 (PST) X-Google-Smtp-Source: ABdhPJxYfpKiXpwflNx6lehtgIJ6mcfQQ7hRnNJr0eWF60V5ZVaX4Ji2pkg7/2Mf7HtSGrmNWX+b X-Received: by 2002:a17:906:cc49:: with SMTP id mm9mr9417079ejb.450.1613065820134; Thu, 11 Feb 2021 09:50:20 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1613065820; cv=none; d=google.com; s=arc-20160816; b=USxZ6TOPzZbPYRtYLTd1FmIJKRL1w97IxBP1bElvWBaYH+ORnlVUt1+6/iOrIfWQ3F un0xw+/7SrkEPrAJMXiRj/xN41K0avRZhGNpl/bYH1t69ap5YG7wQZB3BKbGb1fdK/W4 oEB3pguKSUusRgmBGKdQNG1IJ8/BRZiEQoeFcors4tcxLTmutErpwLIKDVipcfIIQCaS kszRPQcMlTnSLWReuAux5UK8OBafBJeM7f5p9/lhxUnCULYrRYHwFEiFLyCr9iU4dong /NAgNsyuwHmT4aZHv3Da1/xI9ClRc6BiLGF7s8NYqBks7OdnDCON+LCqLtoi8LLKnTqv jFSQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject:dkim-signature; bh=6WEYQQb0H1BdtLvpRHOyUD9ECxFdkNdhBC5U4O1Uj+w=; b=zd+820h9oVCnmJ4XDnXu83XomsiMLNt2r4McaZ9YWrX6WwTQOWIuA4ON3zWrn6khxW SXdstGmXXawzYm1Vffjayc+EBeG4At3Wec2wi09z0skZ4s1vfUl9A+Ncm65X4oVj5dsE R1sGVkh3O7e7VCD+AEsSX64F6T+uZKGLXOkIjn934iHm+JdFI2CXNPzBEHf51E5/H/2n DCVXPABWUC8Ok/FTlvB6x8oXy6f50UwSvER40bO+ZiXJ+rVS7/TsMuHpfrrNP6E84Oj5 gElNS6p2r+9ioyb78cFDIYQ/ZEtjqe3l80y6z4DE/LaQpLmMr+cJ388fNM26glwQrui6 UzSg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=merlin.20170209 header.b="q/OrS2NZ"; 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 hj13si320233ejb.710.2021.02.11.09.49.56; Thu, 11 Feb 2021 09:50:20 -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; dkim=pass header.i=@infradead.org header.s=merlin.20170209 header.b="q/OrS2NZ"; 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 S232004AbhBKRrG (ORCPT + 99 others); Thu, 11 Feb 2021 12:47:06 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45774 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232226AbhBKRH6 (ORCPT ); Thu, 11 Feb 2021 12:07:58 -0500 Received: from merlin.infradead.org (merlin.infradead.org [IPv6:2001:8b0:10b:1231::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8B5F0C061788; Thu, 11 Feb 2021 09:07:18 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=merlin.20170209; h=Content-Transfer-Encoding:Content-Type: In-Reply-To:MIME-Version:Date:Message-ID:From:References:Cc:To:Subject:Sender :Reply-To:Content-ID:Content-Description; bh=6WEYQQb0H1BdtLvpRHOyUD9ECxFdkNdhBC5U4O1Uj+w=; b=q/OrS2NZDj1wxWUThBwO3Etocq /K3l52ZG+S5qOHsivKptiNrCujvRiupPXHyq1YUBXdXd22PRnY2XXkmQi1UY93wihy03yjy7mRBZ0 MA6QoDj1ceeJ5g8FUoSA3reBvzSoSwGfPGNc9X1aprNYn/Elcabo1I/yzJBNOXvnUhu86630h2q6h qvMp4R33i1HJksidEe7ScaLwIQt1dNDXGHE3mvj/HtH+FN3l7va38qYJujPccZohi1Imd9ck0esAE F+Es+wBaPjt6py6+U34ZTqDEM6OS89z+CNTq7XTbKtbUXp4O7gFdwakfUrcSFga/tL8iDjzUJxCql OMpqZu1w==; Received: from [2601:1c0:6280:3f0::cf3b] by merlin.infradead.org with esmtpsa (Exim 4.92.3 #3 (Red Hat Linux)) id 1lAFQs-0001uw-MB; Thu, 11 Feb 2021 17:07:11 +0000 Subject: Re: [PATCH] docs: reporting-issues.rst: explain how to decode stack traces To: Thorsten Leemhuis , Jonathan Corbet Cc: linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, Sasha Levin , Vlastimil Babka , Joerg Roedel , Qais Yousef , Damian Tometzki References: <20210210054823.242262-1-linux@leemhuis.info> From: Randy Dunlap Message-ID: Date: Thu, 11 Feb 2021 09:07:05 -0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.7.0 MIME-Version: 1.0 In-Reply-To: <20210210054823.242262-1-linux@leemhuis.info> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Thorsten, Just a couple of small nits (or one that is repeated): On 2/9/21 9:48 PM, Thorsten Leemhuis wrote: > Replace placeholder text about decoding stack traces with a section that > properly describes what a typical user should do these days. To make > it works for them, add a paragraph in an earlier section to ensure > people build their kernels with everything that's needed to decode stack > traces later. > > Signed-off-by: Thorsten Leemhuis > --- > .../admin-guide/reporting-issues.rst | 77 +++++++++++++------ > 1 file changed, 55 insertions(+), 22 deletions(-) > > diff --git a/Documentation/admin-guide/reporting-issues.rst b/Documentation/admin-guide/reporting-issues.rst > index 07879d01fe68..b9c07d8e3141 100644 > --- a/Documentation/admin-guide/reporting-issues.rst > +++ b/Documentation/admin-guide/reporting-issues.rst > @@ -154,8 +154,8 @@ After these preparations you'll now enter the main part: > that hear about it for the first time. And if you learned something in this > process, consider searching again for existing reports about the issue. > > - * If the failure includes a stack dump, like an Oops does, consider decoding > - it to find the offending line of code. > + * If your failure involves a 'panic', 'oops', or 'warning', consider decoding > + the kernel log to find the line of code that trigger the error. triggered > > * If your problem is a regression, try to narrow down when the issue was > introduced as much as possible. > @@ -869,6 +869,15 @@ pick up the configuration of your current kernel and then tries to adjust it > somewhat for your system. That does not make the resulting kernel any better, > but quicker to compile. > > > Check 'taint' flag > ------------------ > @@ -923,31 +932,55 @@ instead you can join. > Decode failure messages > ----------------------- > > -.. note:: > + *If your failure involves a 'panic', 'oops', or 'warning', consider > + decoding the kernel log to find the line of code that trigger the error.* triggered or it could be "code that triggers"... (just not "trigger"). -- ~Randy