public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: "Shenhar, Talel" <talel@amazon.com>
To: <linux-debuggers@vger.kernel.org>, <linux-kernel@vger.kernel.org>
Subject: Inquiring about Debugging Platform Drivers using Crash Utility for Kernel Coredump
Date: Tue, 20 Jun 2023 13:47:10 +0300	[thread overview]
Message-ID: <f8f62216-ffaa-2f4e-ac5f-7dcd86e80a84@amazon.com> (raw)

Dear Linux Kernel Community,

I hope this message finds you well.

I'd like to use crash utility for postmortem of my kernel coredump 
analysis.

I was able to collect coredump and able to use various operation from 
within the crash utility such as irq -s,  log, files and others.

I am using: crash-arm64 version: 7.3.0, gdb version: 7.6, kernel version 
4.19.

My specific interest lies in debugging drivers internal state, e.g. 
platform drivers.

For some hands-on experience with crash utility I'd like to start by 
iterating over all the platform drivers and print their names,

However, I am finding it challenging to get started with this process 
and I am uncertain of the best approach to achieve this. I have scoured 
various resources for insights, but the information related to this 
specific usage seems to be scattered and not exhaustive.

Given the collective expertise on this mailing list, I thought it would 
be the best place to seek guidance. Specifically, I would appreciate it 
if you could provide:

Any relevant documentation, guides, or tutorials to debug platform 
drivers using the crash utility for kernel coredump analysis.
Some simple examples of using the crash utility to debug platform 
drivers, if possible.
Any important points or common pitfalls to keep in mind while performing 
this kind of analysis.
Any other tips, best practices, or recommendations to effectively debug 
platform drivers using the crash utility would also be greatly appreciated.

Thank you for your time and assistance. I look forward to hearing from you.

Best regards,
Talel, Shenhar.


             reply	other threads:[~2023-06-20 10:47 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-06-20 10:47 Shenhar, Talel [this message]
2023-06-20 16:41 ` Inquiring about Debugging Platform Drivers using Crash Utility for Kernel Coredump Stephen Brennan
2023-06-20 18:12 ` Omar Sandoval

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=f8f62216-ffaa-2f4e-ac5f-7dcd86e80a84@amazon.com \
    --to=talel@amazon.com \
    --cc=linux-debuggers@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox