Re: [PATCH] documentation: update sysrq.txt magic sysrq keys

From: Jason Wessel
Date: Tue Oct 26 2010 - 21:39:38 EST



Acked-by: Jason Wessel <jason.wessel@xxxxxxxxxxxxx>

If you take a look at commit: 364b5b7b1d793a7f98be55b6b154716dcae78dfc,
the voyager and kgdb bits were originally fixed there. It was not
obvious to me at the time that this was documented in multiple places,
else it would have been fixed in the same commit.

Cheers,
Jason.

On 10/26/2010 04:20 PM, Randy Dunlap wrote:
> From: Randy Dunlap <randy.dunlap@xxxxxxxxxx>
>
> Update Documentation/sysrq.txt magic sysrq keys:
>
> - 'g' is for kgdb (not arch-specific);
> - add 2 new uses for 'v', remove the Voyager info;
> - add 'y' info (SPARC-64 specific);
>
> Signed-off-by: Randy Dunlap <randy.dunlap@xxxxxxxxxx>
> Cc: Jason Wessel <jason.wessel@xxxxxxxxxxxxx>
> Cc: "David S. Miller" <davem@xxxxxxxxxxxxx>
> Cc: "James E.J. Bottomley" <James.Bottomley@xxxxxxx>
> Cc: David Airlie <airlied@xxxxxxxx>
> Acked-by: Alexander Shishkin <virtuoso@xxxxxxxxx>
> ---
> Documentation/sysrq.txt | 7 +++++--
> 1 file changed, 5 insertions(+), 2 deletions(-)
>
> --- lnx-2636-g6-docs.orig/Documentation/sysrq.txt
> +++ lnx-2636-g6-docs/Documentation/sysrq.txt
> @@ -75,7 +75,7 @@ On all - write a character to /proc/sys
>
> 'f' - Will call oom_kill to kill a memory hog process.
>
> -'g' - Used by kgdb on ppc and sh platforms.
> +'g' - Used by kgdb (kernel debugger)
>
> 'h' - Will display help (actually any other key than those listed
> here will display help. but 'h' is easy to remember :-)
> @@ -110,12 +110,15 @@ On all - write a character to /proc/sys
>
> 'u' - Will attempt to remount all mounted filesystems read-only.
>
> -'v' - Dumps Voyager SMP processor info to your console.
> +'v' - Forcefully restores framebuffer console
> +'v' - Causes ETM buffer dump [ARM-specific]
>
> 'w' - Dumps tasks that are in uninterruptable (blocked) state.
>
> 'x' - Used by xmon interface on ppc/powerpc platforms.
>
> +'y' - Show global CPU Registers [SPARC-64 specific]
> +
> 'z' - Dump the ftrace buffer
>
> '0'-'9' - Sets the console log level, controlling which kernel messages
>

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/