linux-rt-users.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Aaron Marcher <aaron@sigma-star.at>
To: linux-rt-users@vger.kernel.org
Subject: Debugging reboot freeze
Date: Fri, 25 Sep 2020 12:04:50 +0200	[thread overview]
Message-ID: <20200925100450.3t3xrwwb22fac7ti@linux-8csb> (raw)

Hi,

we are encountering reboot freezes on the current 5.4.66-rt38 kernel
with PREEMPT_RT enabled on i.mx8mm hardware.
Unfortunately, debugging is difficult in this situation as the only
related output we get during reboot (via serial console) is:

    Rebooting...
    Segmentation fault

However, the second line is not shown on every reboot; the freeze
happens everytime.

We already tried various kernel command line options
(print-fatal-signals=1 oops=panic), earlyprintk/earlycon and a lot of
debug printk's in the kernel source.
However it seems that there is no output after
`kernel_restart_prepare(cmd);` in kernel/reboot.c.

When using the same kernel version without PREEMPT_RT, the issue does
not occur.

Do you have any hints for further debugging?
Thank you very much in advance.

Regards,
Aaron Marcher

             reply	other threads:[~2020-09-25 10:04 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-09-25 10:04 Aaron Marcher [this message]
2020-09-27  0:59 ` Debugging reboot freeze Peng Fan
2020-09-28  7:39   ` Aaron Marcher
2020-09-28 10:07     ` Peng Fan
2020-09-28 11:21       ` Aaron Marcher
  -- strict thread matches above, loose matches on Subject: below --
2020-09-25  9:57 Aaron Marcher
2020-09-25 15:16 ` Sebastian Andrzej Siewior
2020-10-05 19:40   ` Richard Weinberger

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=20200925100450.3t3xrwwb22fac7ti@linux-8csb \
    --to=aaron@sigma-star.at \
    --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).