* [PATCH] voyager sysrq usage
@ 2002-11-19 23:21 Randy.Dunlap
2002-11-20 0:15 ` J.E.J. Bottomley
0 siblings, 1 reply; 2+ messages in thread
From: Randy.Dunlap @ 2002-11-19 23:21 UTC (permalink / raw)
To: james.bottomley; +Cc: linux-kernel
Hi James,
This patch (to 2.5.48 plain) moves the Voyager sysrq dump key
from 'C' to 'V' and makes the 'V' a capital V in the help_msg.
The latter is the way that the other sysrq help messages indicate
which character key to use to invoke them, and it would be good
if the Voyager sysrq dump did the same.
It also documents this key in Documentation/sysrq.txt .
Is there any particular reason that Voyager sysrq dump is using
'C' to dump processor info?
BTW, how does someone enable CONFIG_VOYAGER to build a
Voyager kernel?
Please apply.
--
~Randy
--- ./drivers/char/sysrq.c%voy Sun Nov 17 20:29:53 2002
+++ ./drivers/char/sysrq.c Tue Nov 19 15:01:01 2002
@@ -326,7 +326,7 @@
#ifdef CONFIG_VOYAGER
static struct sysrq_key_op sysrq_voyager_dump_op = {
.handler = voyager_dump,
- .help_msg = "voyager",
+ .help_msg = "Voyager",
.action_msg = "Dump Voyager Status\n",
};
#endif
@@ -364,11 +364,7 @@
it is handled specially on the sparc
and will never arrive */
/* b */ &sysrq_reboot_op,
-#ifdef CONFIG_VOYAGER
-/* c */ &sysrq_voyager_dump_op,
-#else
/* c */ NULL,
-#endif
/* d */ NULL,
/* e */ &sysrq_term_op,
/* f */ NULL,
@@ -396,7 +392,11 @@
/* s */ &sysrq_sync_op,
/* t */ &sysrq_showstate_op,
/* u */ &sysrq_mountro_op,
+#ifdef CONFIG_VOYAGER
+/* v */ &sysrq_voyager_dump_op,
+#else
/* v */ NULL,
+#endif
/* w */ NULL,
/* x */ NULL,
/* y */ NULL,
--- ./Documentation/sysrq.txt%voy Sun Nov 17 20:29:45 2002
+++ ./Documentation/sysrq.txt Tue Nov 19 15:04:25 2002
@@ -59,6 +59,8 @@
'm' - Will dump current memory info to your console.
+'v' - Dumps Voyager SMP processor info to your console.
+
'0'-'9' - Sets the console log level, controlling which kernel messages
will be printed to your console. ('0', for example would make
it so that only emergency messages like PANICs or OOPSes would
^ permalink raw reply [flat|nested] 2+ messages in thread* Re: [PATCH] voyager sysrq usage
2002-11-19 23:21 [PATCH] voyager sysrq usage Randy.Dunlap
@ 2002-11-20 0:15 ` J.E.J. Bottomley
0 siblings, 0 replies; 2+ messages in thread
From: J.E.J. Bottomley @ 2002-11-20 0:15 UTC (permalink / raw)
To: Randy.Dunlap; +Cc: james.bottomley, linux-kernel
rddunlap@osdl.org said:
> BTW, how does someone enable CONFIG_VOYAGER to build a Voyager kernel?
Ah, well, you need the rest of the voyager patches which include the Kconfig
stuff (or they're in the -ac tree).
rddunlap@osdl.org said:
> This patch (to 2.5.48 plain) moves the Voyager sysrq dump key from 'C'
> to 'V' and makes the 'V' a capital V in the help_msg. The latter is
> the way that the other sysrq help messages indicate which character
> key to use to invoke them, and it would be good if the Voyager sysrq
> dump did the same.
There was a reason for 'C' a long time ago, but I've forgotten what it was.
I'll move it to 'V' thanks.
James
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2002-11-20 0:08 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-11-19 23:21 [PATCH] voyager sysrq usage Randy.Dunlap
2002-11-20 0:15 ` J.E.J. Bottomley
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®