Kernel Newbies archive on
 help / color / Atom feed
From: Cong Wang <>
To: "孙世龙 sunshilong" <>
Cc: LKML <>,
	kernelnewbies <>
Subject: Re: How do you investigate the cause of total hang? Is there some information that I should pay attention to in order to get some hint?
Date: Tue, 30 Jun 2020 23:06:48 -0700
Message-ID: <> (raw)
In-Reply-To: <>

On Tue, Jun 30, 2020 at 7:49 PM 孙世龙 sunshilong <> wrote:
> Hi, list
> My x86 machine(linux4.19) sometimes hangs, suddenly not responding in
> any way to the mouse or the keyboard.
> How can I investigate why it hung up? Is there extra information I can
> find for a clue? Is there anything less drastic than power-off to get
> some kind of action, if only some limited shell or just beeps,
> but might give a clue?

If the hang was a crash which you didn't get a chance to capture the
last kernel log, you can use kdump to collect them. The kernel log
tells what kind of crash it is, a NULL pointer deref, a kernel page fault

If the hang was a hard lockup, you have to turn on lockup detector
and also kdump to capture what the detector tells.


Kernelnewbies mailing list

  reply index

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-07-01  2:46 孙世龙 sunshilong
2020-07-01  6:06 ` Cong Wang [this message]
2020-07-03  6:09   ` 孙世龙 sunshilong

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:

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

  git send-email \ \ \ \ \ \

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

Kernel Newbies archive on

Archives are clonable:
	git clone --mirror kernelnewbies/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 kernelnewbies kernelnewbies/ \
	public-inbox-index kernelnewbies

Example config snippet for mirrors

Newsgroup available over NNTP:

AGPL code for this site: git clone