* Re: [PATCH] Allow sysrq() via /proc/sys/kernel/magickey
[not found] <200308252003.h7PK3EQq024312@hera.kernel.org>
@ 2003-08-26 1:06 ` Jeff Garzik
2003-09-19 13:09 ` Dave Jones
1 sibling, 0 replies; 2+ messages in thread
From: Jeff Garzik @ 2003-08-26 1:06 UTC (permalink / raw)
To: Marcelo Tosatti, m.c.p; +Cc: Linux Kernel Mailing List
Linux Kernel Mailing List wrote:
> ChangeSet 1.1114, 2003/08/25 16:42:57-03:00, m.c.p@wolk-project.de
>
> [PATCH] Allow sysrq() via /proc/sys/kernel/magickey
>
> Hi 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 do sysrq() too, but it's not
> possible to do so the remote way.
>
> 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
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH] Allow sysrq() via /proc/sys/kernel/magickey
[not found] <200308252003.h7PK3EQq024312@hera.kernel.org>
2003-08-26 1:06 ` [PATCH] Allow sysrq() via /proc/sys/kernel/magickey Jeff Garzik
@ 2003-09-19 13:09 ` Dave Jones
1 sibling, 0 replies; 2+ messages in thread
From: Dave Jones @ 2003-09-19 13:09 UTC (permalink / raw)
To: Linux Kernel Mailing List; +Cc: Marcelo Tossati, m.c.p
On Mon, Aug 25, 2003 at 07:42:57PM +0000, Linux Kernel wrote:
> ChangeSet 1.1114, 2003/08/25 16:42:57-03:00, m.c.p@wolk-project.de
>
> [PATCH] Allow sysrq() via /proc/sys/kernel/magickey
>
> Hi 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 do sysrq() too, but it's not
> possible to do so the remote way.
>
> 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
--
Dave Jones http://www.codemonkey.org.uk
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2003-09-19 13:10 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <200308252003.h7PK3EQq024312@hera.kernel.org>
2003-08-26 1:06 ` [PATCH] Allow sysrq() via /proc/sys/kernel/magickey Jeff Garzik
2003-09-19 13:09 ` Dave Jones
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox