Re: [PATCH]: Runtime sysrq toggle for 2.1.107,2.1.108pre1.

Myrdraal (myrdraal@jackalz.dyn.ml.org)
Sat, 27 Jun 1998 10:20:29 -0400


On Sat, Jun 27, 1998 at 04:13:09PM +0200, Martin Mares wrote:
Hi,
> > This patch makes a sysctl /proc/sys/debug/sysrq_enable that can
> > enable or disable the magic sysrq key on the fly. (It only appears
> > if CONFIG_MAGIC_SYSRQ is set.) It also updates Documentation/sysrq.txt.
> > This seems like something that would be useful in the kernel, include
> > it if you want to :)
>
> I think we really don't need such features. SysRq is a tool for salvaging
> after system crash, therefore you need to know in advance that the system
> will crash if you want to switch it on before having to use it. As crashes
> are usually hardly predictable, you need to have it switched on all the
> time, therefore you don't need any switches, QED.
Well, as long as the system console is protected from lusers (who probably
could screw things up *without* help from sysrq), I don't see any reason not
to leave it on all the time. Also, I can see a scenario where a server is
crashing often - So you enable sysrq, and catch the next crash. Personally,
I think sysrq should always be enabled unless the system console is available
to the general public :)
-Myrdraal
-- 
Linux jackalz 2.1.108 #77 Sat Jun 27 00:55:49 EDT 1998 i486
10:17am  up  8:47, 16 users,  load average: 0.11, 0.13, 0.72

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu