[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] [PATCH] xen/console: introduce a 'w' debug-key that dumps the console ring



>>> On 29.09.12 at 20:49, Matt Wilson <msw@xxxxxxxxxx> wrote:
> On Sat, Sep 29, 2012 at 06:55:41AM +0100, Keir Fraser wrote:
>> On 29/09/2012 06:02, "Matt Wilson" <msw@xxxxxxxxxx> wrote:
>> 
>> > This patch adds a new 'w' debug-key, chosen from the limited remaining
>> > keys only due to its proximity to 'q', that dumps the console ring to
>> > configured console devices. It's useful to for tracking down how an
>> > unresponsive system got into a broken state via serial console.
>> 
>> Why wouldn't everything on the ring already have been sent to the configured
>> console devices?
> 
> It would have been. But what if no one was looking, or dom0 cleared
> the console, or placed it into a scrolling mode that prevents a
> virtual terminal from placing output into a scrollback buffer. With
> this patch, you can connect to a serial console after a machine
> becomes unresponsive and gather clues on what went wrong.

That's an operator error then. I completely agree with Keir
that what you propose is pretty questionable (and you provide
one argument against it already - the shortage of remaining
keys).

Jan


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.