2024-01-18 10:05:53

by John Ogness

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

On 2024-01-17, Sreenath Vijayan <[email protected]> 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