linux-rt-users.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Vignesh Raman <vignesh.raman.in@gmail.com>
To: Julia Cartwright <julia@ni.com>
Cc: linux-rt-users@vger.kernel.org
Subject: Re: kernel freeze when running docker
Date: Wed, 22 Aug 2018 13:38:49 +0530	[thread overview]
Message-ID: <d4b10821-ccd1-79cb-f337-403077aba2f6@gmail.com> (raw)
In-Reply-To: <20180821134221.GC8562@jcartwri.amer.corp.natinst.com>

Hi Julia,

On Tuesday 21 August 2018 07:12 PM, Julia Cartwright wrote:
> That's annoying.  When you are in this state can you trigger a dump via
> the magic sysrq sequence over serial?

No. I'm not able to trigger a crash using sysrq (Alt+SysRq+c). Keyboard
'caps lock' led light does not respond when caps lock key is pressed.

Does it indicate a softlockup or hardlockup ?

> Have you tried enabling the various lockup detectors?  There is a
> software-driven one, and an NMI watchdog based one.  Enabling both
> at the same time should be fine.

The below config options are enabled,
CONFIG_HAVE_HARDLOCKUP_DETECTOR_PERF=y
# Debug Lockups and Hangs
CONFIG_LOCKUP_DETECTOR=y
CONFIG_SOFTLOCKUP_DETECTOR=y
CONFIG_HARDLOCKUP_DETECTOR_PERF=y
CONFIG_HARDLOCKUP_CHECK_TIMESTAMP=y
CONFIG_HARDLOCKUP_DETECTOR=y
# CONFIG_BOOTPARAM_HARDLOCKUP_PANIC is not set
CONFIG_BOOTPARAM_HARDLOCKUP_PANIC_VALUE=0
# CONFIG_BOOTPARAM_SOFTLOCKUP_PANIC is not set
CONFIG_BOOTPARAM_SOFTLOCKUP_PANIC_VALUE=0
CONFIG_HAVE_NMI=y
CONFIG_HAVE_PERF_EVENTS_NMI=y

CONFIG_BOOTPARAM_HARDLOCKUP_PANIC and CONFIG_BOOTPARAM_SOFTLOCKUP_PANIC
is enabled using,
echo 1 > /proc/sys/kernel/softlockup_panic
echo 1 > /proc/sys/kernel/hardlockup_panic

In addition to this the below parameters were set,
echo 1 > /proc/sys/kernel/hung_task_panic
echo 1 > /proc/sys/kernel/panic
echo 1 > /proc/sys/kernel/panic_on_io_nmi
echo 1 > /proc/sys/kernel/panic_on_oops
echo 1 > /proc/sys/kernel/panic_on_unrecovered_nmi
echo 1 > /proc/sys/kernel/unknown_nmi_panic
echo 1 > /proc/sys/vm/panic_on_oom
echo 1 > /proc/sys/kernel/sysrq

Thanks.

Regards,
Vignesh

  reply	other threads:[~2018-08-22 11:32 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-08-20  9:35 kernel freeze when running docker Vignesh Raman
     [not found] ` <20180821012731.GB8562@jcartwri.amer.corp.natinst.com>
     [not found]   ` <CAH3OF50F26ywGHZ2Rfa7v-SeoZ6KccSPt+1uNq65eBNTqom=-A@mail.gmail.com>
2018-08-21 13:42     ` Julia Cartwright
2018-08-22  8:08       ` Vignesh Raman [this message]
     [not found]         ` <20180822164235.GR1123@jcartwri.amer.corp.natinst.com>
2018-08-24  6:41           ` Vignesh Raman
2018-08-27 13:43             ` Vignesh Raman

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=d4b10821-ccd1-79cb-f337-403077aba2f6@gmail.com \
    --to=vignesh.raman.in@gmail.com \
    --cc=julia@ni.com \
    --cc=linux-rt-users@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;
as well as URLs for NNTP newsgroup(s).