UML - Reenable SysRq support
Subsystems (2)
PATCH 4/5 UML - Reenable SysRq support
Sysrq works fine on UML.
lib/Kconfig.debug +0 -1
@@ -18,7 +18,6 @@ config ENABLE_MUST_CHECK config MAGIC_SYSRQ bool "Magic SysRq key" - depends on !UML 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
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
User-mode-linux-devel mailing list [email protected]
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel
Quoted 9 lines · Jeff Dike
Sysrq works fine on UML.
Signed-off-by Jeff Dike <[email protected]>Index: linux-2.6.17/lib/Kconfig.debug
===================================================================
lib/Kconfig.debug config ENABLE_MUST_CHECK · line 23
Quoted 7 lines
lib/Kconfig.debug +0
-1@@ -18,7 +18,6 @@ config ENABLE_MUST_CHECK config MAGIC_SYSRQ bool "Magic SysRq key" - depends on !UML 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
Please reject this patch, the setting for UML is just elsewhere, in arch/um/Kconfig (and depends on MCONSOLE).
If kbuild doesn't handle well having an option declared twice now (it isn't very happy but it worked when I added the above dependency) we can rename the one in arch/um/Kconfig to MAGIC_SYSRQ_UML and make the one above like this (untested):
config MAGIC_SYSRQ
bool
prompt "Magic SysRq key" if !UML
depends on MAGIC_SYSRQ_UML || !UML
default y if UML
Signature · 5 lines
Inform me of my mistakes, so I can keep imitating Homer Simpson's "Doh!". Paolo Giarrusso, aka Blaisorblade http://www.user-mode-linux.org/~blaisorblade Chiacchiera con i tuoi amici in tempo reale! http://it.yahoo.com/mail_it/foot/*http://it.messenger.yahoo.com
Quoted 2 lines · Blaisorblade
Please reject this patch, the setting for UML is just elsewhere, in
arch/um/Kconfig(and depends on MCONSOLE).
Whoops, right.
I swear I did a search on SYSRQ in menuconfig and the only thing that came up was the lib/Kconfig.debug one.
I just checked, and it finds the arch/um one...
Jeff
Quoted 19 lines · Blaisorblade
Quoted 9 lines · Jeff Dike
Sysrq works fine on UML.
Signed-off-by Jeff Dike <[email protected]>Index: linux-2.6.17/lib/Kconfig.debug
===================================================================lib/Kconfig.debug config ENABLE_MUST_CHECK · line 23
Quoted 7 lines
lib/Kconfig.debug +0
-1@@ -18,7 +18,6 @@ config ENABLE_MUST_CHECK config MAGIC_SYSRQ bool "Magic SysRq key" - depends on !UML 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., youPlease reject this patch, the setting for UML is just elsewhere, in
arch/um/Kconfig(and depends on MCONSOLE).
Quoted 8 lines
If kbuild doesn't handle well having an option declared twice now (it isn't very happy but it worked when I added the above dependency) we can rename the one in
arch/um/KconfigtoMAGIC_SYSRQ_UMLand make the one above like this (untested):config
MAGIC_SYSRQ
bool
prompt "Magic SysRq key" if !UML
depends onMAGIC_SYSRQ_UML|| !UML
default y if UML
Why not:
config MAGIC_SYSRQ
bool
prompt "Magic SysRq key"
depends on !UML || MCONSOLE
default y if UML
-hpa
"H. Peter Anvin" <[email protected]> ha scritto:
Quoted 9 lines
Why not:
config
MAGIC_SYSRQ
bool
prompt "Magic SysRq key"
depends on !UML || MCONSOLE
default y if UML-hpa
Because it has always been elsewhere in Kconfig (near MCONSOLE) for a meaningful reason (it is used through mconsole) and nobody has decided to move it.
Chiacchiera con i tuoi amici in tempo reale!
http://it.yahoo.com/mail_it/foot/*http://it.messenger.yahoo.com