Received: by 2002:a05:6a10:16a7:0:0:0:0 with SMTP id gp39csp549409pxb; Thu, 12 Nov 2020 10:02:54 -0800 (PST) X-Google-Smtp-Source: ABdhPJzhgDovZCNmTMc4R1zbISdQVXrrdvV6vSfngJs8AEjc9zXByw9EpAL0rUgRsJpgnTmydTuN X-Received: by 2002:a05:6402:234a:: with SMTP id r10mr1021323eda.311.1605204174508; Thu, 12 Nov 2020 10:02:54 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1605204174; cv=none; d=google.com; s=arc-20160816; b=INZEI/bt2AxYInsjHiIpRCTpiSGDzkLafazxWqnD/zK/h5jQ5bHGXUDHMjQsp2s8gG SXTsOVEOEmpJf9tp1OIPs6aCuqHC0XXtGLp8+NjwHnejx2aT2JxoLJ16jzU1hKOhNxZO 5yKEfl673KABdgYoKCDXwcP9O8kmssi6M2HdUMLAtS51nHwIofbCMBKcXruPqh6viZmN G3BOiFC5zd8ZSC1vwGZkdKighPVw1rlGAKkXY4Pb58y+bp1yVi0V6+Aa3bEJL+cqYx/3 L49/iHegoYkgRxclwJWu9j8X0PGrDQc1UmpPvHw9fB4L1rhMGLjVtoheEKyVmTwH1dc9 yplQ== 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=pr0XAX3sGo3QoFaxP5KNv8bJOcycqeparwzzy1xQEGA=; b=RUpmQqrSmLCp9/OIl7j5NUW9lfaWyOVJP2l0OgMdSfNdbgxnmVL4HT+4hlts5evUy5 teK3TOfIR/CNcwVQnj0Q82qv5F0piCn+/7F9wIWe39Jw94R8bYv2GnnWet6lfnpznUbS bpubhPHLjGXligYxwrvqhMPhMgHJ8PkjgTP2QXH+VpKwc4QXWkFDYkMmuBpa2iO8/1Cj 2Wp2OeHds8m4Gl88jpDCvdmCvpqgNowa1UrIhobTLx/geIm/Q29lt8re2G/9IANE0Okv RYpgQ7VDikER/JzYyKxkm1EHX1+CY0m+dG4ZBMjGIkB1U4hmWXgISyd/wgT/+HV3++ic 7eGw== 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 k11si4109149ejb.369.2020.11.12.10.02.28; Thu, 12 Nov 2020 10:02:54 -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 S1726829AbgKLSAT (ORCPT + 99 others); Thu, 12 Nov 2020 13:00:19 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35194 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726664AbgKLR73 (ORCPT ); Thu, 12 Nov 2020 12:59:29 -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 77094C0613D4; Thu, 12 Nov 2020 09:59:29 -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 1kdGsa-00076N-7J; Thu, 12 Nov 2020 18:59:28 +0100 From: Thorsten Leemhuis To: Jonathan Corbet Cc: Randy Dunlap , linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [RFC PATCH v2 19/26] docs: reporting-bugs: decode failure messages [need help!] Date: Thu, 12 Nov 2020 18:58:56 +0100 Message-Id: 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;1605203969;0e5b1c25; X-HE-SMSGID: 1kdGsa-00076N-7J Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This part is quite similar to the old text and just a placeholder for now. It and the referenced document afaics need to be revisited, as they seem outdated to me. But I'm not really familiar with the current state of things in that area and thus didn't feel qualified to write down anything better quickly. So consider this a request for help for those that know this area. Could you maybe write something that would fit in here? Or outline the current situation roughly in a reply (when is scripts/decode_stacktrace.sh enough?), as that will make it easier for me or others to write something? It should answer questions like "when is this actually needed", "what .config options to ideally set to make this step easy or unnecessary (CONFIG_UNWINDER_ORC when available, otherwise CONFIG_UNWINDER_FRAME_POINTER)?". Signed-off-by: Thorsten Leemhuis --- Documentation/admin-guide/reporting-bugs.rst | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-) diff --git a/Documentation/admin-guide/reporting-bugs.rst b/Documentation/admin-guide/reporting-bugs.rst index 7af4e7a6e797..be866dd1e6b6 100644 --- a/Documentation/admin-guide/reporting-bugs.rst +++ b/Documentation/admin-guide/reporting-bugs.rst @@ -839,6 +839,18 @@ issue you face. Use this knowledge and search again for existing reports instead you can join. +Decode failure messages +----------------------- + + *If the failure includes a stack dump, like an Oops does, consider decoding + it to find the offending line of code.* + +When the kernel detects an error, it will print a stack dump that allows to +identify the exact line of code where the issue happens. But that information +sometimes needs to get decoded to be readable, which is explained in +admin-guide/bug-hunting.rst. + + .. ############################################################################ .. 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. @@ -870,9 +882,7 @@ step-by-step instructions for how a user can trigger the bug. If the failure includes an "OOPS:", take a picture of the screen, capture a netconsole trace, or type the message from your screen into the bug -report. Please read "Documentation/admin-guide/bug-hunting.rst" before posting your -bug report. This explains what you should do with the "Oops" information -to make it useful to the recipient. +report. This is a suggested format for a bug report sent via email or bugzilla. Having a standardized bug report form makes it easier for you not to -- 2.28.0