Re: [PATCH v3 2/2] tty/sysrq: Dump printk ring buffer messages via sysrq

From: John Ogness
Date: Thu Jan 18 2024 - 05:05:51 EST


On 2024-01-17, Sreenath Vijayan <sreenath.vijayan@xxxxxxxx> wrote:
> When terminal is unresponsive, one cannot use dmesg to view printk
> ring buffer messages. Also, syslog services may be disabled,
> to check the messages after a reboot, especially on embedded systems.
> In this scenario, dump the printk ring buffer messages via sysrq
> by pressing sysrq+D.

Note that using sysrq+g with kgdb or kdb it is already possible to dump
the printk ringbuffer messages. However using this new sysrq+D is much
more comfortable, less intrusive, and generally safer.

I have no problems with this change. But I guess the tty maintainers
will need to speak up about extending the sysrq list.

John