Allow sysrq() via /proc/sys/kernel/magickey
A message that is not in the archive (sent off-list or not yet received): [email protected]
Quoted 11 lines · Linux Kernel Mailing List
ChangeSet 1.1114, 2003/08/25 16:42:57-03:00, [email protected]
[PATCH] Allow
sysrq()via/proc/sys/kernel/magickeyHi Marcelo,
sysrq()is a good thing to debug things, but unfortunately you need to have physical access to the keyboard. My company for instance maintains tons of remote machines and sometimes we need to dosysrq()too, but it's not possible to do so the remote way.
Quoted 5 lines
Attached patch enables emulation of the Magic SysRq key (Alt-SysRq-key) via the /proc interface. Just echo the desired character into the file and there you go.
Patch from Randy Dunlap!
This patch is completely unneeded and redundant.
2.4.x already has /proc/sysrq-trigger for precisely this purpose.
See fs/proc/proc_misc.c for more details.
Jeff
Quoted 11 lines · Linux Kernel
ChangeSet 1.1114, 2003/08/25 16:42:57-03:00, [email protected]
[PATCH] Allow
sysrq()via/proc/sys/kernel/magickeyHi Marcelo,
sysrq()is a good thing to debug things, but unfortunately you need to have physical access to the keyboard. My company for instance maintains tons of remote machines and sometimes we need to dosysrq()too, but it's not possible to do so the remote way.
Quoted 8 lines
Attached patch enables emulation of the Magic SysRq key (Alt-SysRq-key) via the /proc interface. Just echo the desired character into the file and there you go.
Patch from Randy Dunlap!
It's in -wolk for a long time and also in some other kernel tree forks. 2.5/2.6 has almost the same (
/proc/sysrq-trigger)
So why not make this compatible with existing behaviour, and use the same name ? Seems this is deviating between 2.4 / 2.6 for no good reason.
Dave
Signature · 1 line
Dave Jones http://www.codemonkey.org.uk