Re: test 1: was: Re: A Comparison of printk between upstream and linux-rt-devel

From: John Ogness
Date: Mon Aug 26 2024 - 12:57:01 EST


On 2024-08-26, Petr Mladek <pmladek@xxxxxxxx> wrote:
>> [ 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.

For the 8250, I would expect the legacy driver (even during "hope and
pray" mode) to be fairly reliable.

If this is running in QEMU, you could attach gdb and dump the backtrace
for the panic CPU and investigate some state variables. If this is
reproducible, it may be worth investigating where/why the legacy
printing is choking.

John Ogness