linux-rt-users.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Debugging reboot freeze
@ 2020-09-25 10:04 Aaron Marcher
  2020-09-27  0:59 ` Peng Fan
  0 siblings, 1 reply; 8+ messages in thread
From: Aaron Marcher @ 2020-09-25 10:04 UTC (permalink / raw)
  To: linux-rt-users

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

^ permalink raw reply	[flat|nested] 8+ messages in thread
* Debugging reboot freeze
@ 2020-09-25  9:57 Aaron Marcher
  2020-09-25 15:16 ` Sebastian Andrzej Siewior
  0 siblings, 1 reply; 8+ messages in thread
From: Aaron Marcher @ 2020-09-25  9:57 UTC (permalink / raw)
  To: linux-rt-users

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

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2020-10-05 19:40 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-09-25 10:04 Debugging reboot freeze Aaron Marcher
2020-09-27  0:59 ` 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

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).