Thread (6 messages) flat view 6 messages, 3 authors, 2021-02-15

Re: [PATCH] docs: reporting-issues.rst: explain how to decode stack traces

From: Qais Yousef <hidden>
Date: 2021-02-15 14:28:58
Also in: lkml

Hi Thorsten

On 02/15/21 06:55, Thorsten Leemhuis wrote:
Hi! Many thx for looking into this, much appreciated!

Am 14.02.21 um 17:00 schrieb Qais Yousef:
quoted
On 02/10/21 06:48, Thorsten Leemhuis wrote:
quoted
- * 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
or 'BUG'? There are similar other places below that could benefit from this
addition too.
Good point. In fact there are other places in the document where this is
needed as well. Will address those in another patch.
quoted
quoted
+   the kernel log to find the line of code that trigger the error.
 
  * 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.
 
+Note: If you are dealing with a kernel panic, oops, or warning, please make
+sure to enable CONFIG_KALLSYMS when configuring your kernel. Additionally,
s/make sure/try/
I did that, but ignored...
quoted
s/kernel./kernel if you can./
...this. Yes, you have a point with...
quoted
Less demanding wording in case the user doesn't have the capability to rebuild
or deploy such a kernel where the problem happens. Maybe you can tweak it more
if you like too :-)
...that, but that section in the document is about building your own
kernel, so I'd say we don't have to be that careful here.
Cool. Works for me.

Thanks

--
Qais Yousef
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help