Re: RCU stall in 8250 serial driver Linux 4.15-rc1

From: Andy Shevchenko
Date: Wed Jan 24 2018 - 11:40:40 EST


On Tue, Jan 23, 2018 at 5:52 PM, Alan Cox <gnomes@xxxxxxxxxxxxxxxxxxx> wrote:
> On Wed, 17 Jan 2018 09:24:32 -0800
> Shankara Pailoor <sp3485@xxxxxxxxxxxx> wrote:
>
>> Hi Greg,
>>
>> Sorry for that. Here is the stack trace. C Program below
>
>
>
>> serial_in drivers/tty/serial/8250/8250.h:111 [inline]
>> wait_for_xmitr+0x8a/0x1d0 drivers/tty/serial/8250/8250_port.c:2033
>> serial8250_console_putchar+0x19/0x50 drivers/tty/serial/8250/8250_port.c:3170
>> uart_console_write+0x98/0xc0 drivers/tty/serial/serial_core.c:1858
>
> The console is spinning in polled mode trying to write data to the
> console port, which it seems has gotten a bit stuck. Could be the
> hypervisor hits some kind of buffering limit, could be hypervisor
> interface broke.
>
> Either way the console interface is supposed to stall the machine to
> ensure the bytes always get out and if your serial port jams or gets
> massively behind then this will happen.

+1
https://lkml.org/lkml/2017/12/21/480

--
With Best Regards,
Andy Shevchenko