Magic Sysreq keys: kernel compilation needed?
There's a feature in recent kernels called Magic Sysreq that assigns particular meanings to various Alt-SysReq-x key combinations. For example, Alt-SysReq-B forces an immediate reboot and Alt-SysReq-S syncs your file systems. I have this working with a stock (non-Suse) 2.2.18 kernel on a system upgraded from SuSE 6.3 to SuSE 7.1. I recompiled the kernel myself and set the configuration options. Is it possible to make this feature available (on my other system) without getting the kernel sources and recompiling them? Paul Abrahams
Paul Abrahams wrote:
There's a feature in recent kernels called Magic Sysreq that assigns particular meanings to various Alt-SysReq-x key combinations. For example, Alt-SysReq-B forces an immediate reboot and Alt-SysReq-S syncs your file systems.
I have this working with a stock (non-Suse) 2.2.18 kernel on a system upgraded from SuSE 6.3 to SuSE 7.1. I recompiled the kernel myself and set the configuration options. Is it possible to make this feature available (on my other system) without getting the kernel sources and recompiling them?
No, you'll need to recompile the kernel. Magic SysReq is primarily for kernel hackers doing debugging, etc. (or rather, that's where I've most frequently seen it). I'm not sure it's that recent a feature, as it's available in my 2.2.5 kernel... Bye, Chris -- __ _ -o)/ / (_)__ __ ____ __ Chris Reeves /\\ /__/ / _ \/ // /\ \/ / ICQ# 22219005 _\_v __/_/_//_/\_,_/ /_/\_\
On Fri, 6 Apr 2001, Chris Reeves wrote:
Paul Abrahams wrote:
I have this working with a stock (non-Suse) 2.2.18 kernel on a system upgraded from SuSE 6.3 to SuSE 7.1. I recompiled the kernel myself and set the configuration options. Is it possible to make this feature available (on my other system) without getting the kernel sources and recompiling them?
No, you'll need to recompile the kernel. Magic SysReq is primarily for kernel hackers doing debugging, etc. (or rather, that's where I've most frequently seen it). I'm not sure it's that recent a feature, as it's available in my 2.2.5 kernel...
I didn't try it, but apparently SuSE's kernel also supports this without recompiling. At least there is an option in /etc/rc.config called ENABLE_SYSRQ. This is the text near that option: # If you say yes here, you will have some control over the system even # if the system crashes for example during kernel debugging. # Please consult /usr/src/linux/Documentation/sysrq.txt # for further information. Regards Ole
participants (3)
-
Chris Reeves
-
Ole Kofoed Hansen
-
Paul Abrahams