public inbox for linux-rt-users@vger.kernel.org
 help / color / mirror / Atom feed
From: Petr Mladek <pmladek@suse.com>
To: Derek Barbosa <debarbos@redhat.com>
Cc: pmaldek@suse.com, williams@redhat.com, john.ogness@linutronix.de,
	tglx@linutronix.de, linux-rt-users@vger.kernel.org,
	linux-kernel@vger.kernel.org
Subject: Re: test 1: was: Re: A Comparison of printk between upstream and linux-rt-devel
Date: Mon, 26 Aug 2024 17:08:45 +0200	[thread overview]
Message-ID: <Zsyafduo2UItzLAK@pathway.suse.cz> (raw)
In-Reply-To: <ZsyVXMqM2SK0aYyV@debarbos-thinkpadt14sgen2i.remote.csb>

On Mon 2024-08-26 10:46:52, Derek Barbosa wrote:
> On Mon, Aug 26, 2024 at 04:02:34PM +0200, Petr Mladek wrote:
> > > If you have any other questions, please let me know. I would be happy to re-do
> > > these tests with different kernels, configs + other variables and controls.
> > 
> > It might be interesting to redo the 1st test without the crashdump.
> > I wonder if console_flush_on_panic() would allow to see the panic
> > backtrace with the stock kernel.
> 
> Sure. 
> 
> I disabled the systemd kdump service unit via systemctl, and performed a reboot
> to ensure that the crashkernel would not be armed.
> 
> Performing a trial run of console_blast.sh shows results similar to what was
> documented previously, with the difference being we don't reboot after the test
> is completed and the kernel has effectively "crashed" via the sysrq-trigger.
>
> I have appended the serial console output as an attachment. You will see that we
> do not get a final trace printed.
>
> [   98.341743] sysrq: Show State
> [   98.341746] sysrq: Show State
> [   98.341805] sysrq: Show State
> [   98.341808] sysrq: Show State
> [   98.341812] task:systemd         state:S
> [   98.341814] task:systemd         state:S
> [   98.341814]  stack:0     pid:1     tgid:1     ppid:0      flags:0x00000002
> [   98.341818]  stack:0     pid:1     tgid:1     ppid:0      flags:0x00000002
[...]
> [  111.777491]  ? __pfx_hrtimer_wakeup+0x10/0x10
> ** 8555 printk messages dropped **
> [  111.807996]  ? __lruvec_stat_mod_folio+0x86/0xd0
> 

I see. I guess that the panic CPU ended in a deadlock in
console_flush_on_panic() after it ignored the console_lock().
Otherwise, it would have flushed the last messages and rebooted.

Best Regards,
Petr

  reply	other threads:[~2024-08-26 15:08 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-08-22 16:32 A Comparison of printk between upstream and linux-rt-devel Derek Barbosa
2024-08-23  7:09 ` Sebastian Andrzej Siewior
2024-08-23 18:45   ` Derek Barbosa
2024-08-23  7:11 ` Sebastian Andrzej Siewior
2024-08-23 10:19 ` test 1: was: " Petr Mladek
2024-08-23 19:06   ` Derek Barbosa
2024-08-26 14:02     ` Petr Mladek
2024-08-26 14:46       ` Derek Barbosa
2024-08-26 15:08         ` Petr Mladek [this message]
2024-08-26 16:56           ` John Ogness
2024-08-26 17:05             ` Derek Barbosa
2024-08-26 18:00               ` John Ogness

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=Zsyafduo2UItzLAK@pathway.suse.cz \
    --to=pmladek@suse.com \
    --cc=debarbos@redhat.com \
    --cc=john.ogness@linutronix.de \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-rt-users@vger.kernel.org \
    --cc=pmaldek@suse.com \
    --cc=tglx@linutronix.de \
    --cc=williams@redhat.com \
    /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