From: blaisorblade_spam@yahoo.it
To: akpm@osdl.org
Cc: linux-kernel@vger.kernel.org, jdike@addtoit.com,
user-mode-linux-devel@lists.sourceforge.net,
blaisorblade_spam@yahoo.it
Subject: [uml-devel] [patch 2/8] uml: readd CONFIG_MAGIC_SYSRQ for UML
Date: Thu, 13 Jan 2005 06:13:27 +0100 [thread overview]
Message-ID: <20050113051327.B173A6324B@zion> (raw)
From: Paolo 'Blaisorblade' Giarrusso <blaisorblade_spam@yahoo.it>
This config option was lost during the creation of lib/Kconfig.debug, due to a
bad expressed dependency; I also moved the option back to its original place
for UML (it is near CONFIG_MCONSOLE since it depends on that).
Signed-off-by: Paolo 'Blaisorblade' Giarrusso <blaisorblade_spam@yahoo.it>
---
linux-2.6.11-paolo/arch/um/Kconfig | 19 +++++++++++++++++++
linux-2.6.11-paolo/lib/Kconfig.debug | 1 -
2 files changed, 19 insertions(+), 1 deletion(-)
diff -puN lib/Kconfig.debug~uml-readd-config-magic-sysrq lib/Kconfig.debug
--- linux-2.6.11/lib/Kconfig.debug~uml-readd-config-magic-sysrq 2005-01-13 01:48:41.153139144 +0100
+++ linux-2.6.11-paolo/lib/Kconfig.debug 2005-01-13 01:48:41.157138536 +0100
@@ -23,7 +23,6 @@ config MAGIC_SYSRQ
config MAGIC_SYSRQ
bool "Magic SysRq key"
depends on DEBUG_KERNEL && (H8300 || M68KNOMMU || V850)
- depends (USERMODE && MCONSOLE)
help
Enables console device to interpret special characters as
commands to dump state information.
diff -puN arch/um/Kconfig~uml-readd-config-magic-sysrq arch/um/Kconfig
--- linux-2.6.11/arch/um/Kconfig~uml-readd-config-magic-sysrq 2005-01-13 01:48:41.155138840 +0100
+++ linux-2.6.11-paolo/arch/um/Kconfig 2005-01-13 01:48:41.158138384 +0100
@@ -145,6 +145,25 @@ config MCONSOLE
It is safe to say 'Y' here.
+config MAGIC_SYSRQ
+ bool "Magic SysRq key"
+ depends on MCONSOLE
+ ---help---
+ If you say Y here, you will have some control over the system even
+ if the system crashes for example during kernel debugging (e.g., you
+ will be able to flush the buffer cache to disk, reboot the system
+ immediately or dump some status information). A key for each of the
+ possible requests is provided.
+
+ This is the feature normally accomplished by pressing a key
+ while holding SysRq (Alt+PrintScreen).
+
+ On UML, this is accomplished by sending a "sysrq" command with
+ mconsole, followed by the letter for the requested command.
+
+ The keys are documented in <file:Documentation/sysrq.txt>. Don't say Y
+ unless you really know what this hack does.
+
config HOST_2G_2G
bool "2G/2G host address space split"
default n
_
-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt
_______________________________________________
User-mode-linux-devel mailing list
User-mode-linux-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel
reply other threads:[~2005-01-13 15:31 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20050113051327.B173A6324B@zion \
--to=blaisorblade_spam@yahoo.it \
--cc=akpm@osdl.org \
--cc=jdike@addtoit.com \
--cc=linux-kernel@vger.kernel.org \
--cc=user-mode-linux-devel@lists.sourceforge.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox