2001-10-09 14:52:36

by Crutcher Dunnavant

[permalink] [raw]
Subject: [PATCH] Sticky/Key-Setable SysRq (resubmit)

Attached is the patch from last week which provides the sysrq system
with the following:

a toggleable 'sticky' flag in /proc, which makes the sysrq key work on bad
keyboards, and through bad KVMs.

the ability to set which key in /proc, which makes the sysrq key work on
system _without_ a 'sysrq' key; like bad KVMs.

I've gotten no tracktion on this in a week, so I'm resubmitting it.

--
Crutcher <[email protected]>
GCS d--- s+:>+:- a-- C++++$ UL++++$ L+++$>++++ !E PS+++ PE Y+ PGP+>++++
R-(+++) !tv(+++) b+(++++) G+ e>++++ h+>++ r* y+>*$


Attachments:
(No filename) (562.00 B)
patch-2.4.11-pre2-stateful_sysrq.final.2 (6.81 kB)
patch-2.4.11-pre2-sticky_sysrq
Download all attachments

2001-10-09 17:43:37

by H. Peter Anvin

[permalink] [raw]
Subject: Re: [PATCH] Sticky/Key-Setable SysRq (resubmit)

Followup to: <[email protected]>
By author: Crutcher Dunnavant <[email protected]>
In newsgroup: linux.dev.kernel
>
> Attached is the patch from last week which provides the sysrq system
> with the following:
>
> a toggleable 'sticky' flag in /proc, which makes the sysrq key work on bad
> keyboards, and through bad KVMs.
>
> the ability to set which key in /proc, which makes the sysrq key work on
> system _without_ a 'sysrq' key; like bad KVMs.
>
> I've gotten no tracktion on this in a week, so I'm resubmitting it.
>

I think doing this through procfs might be reasonable, but a kernel
command line option would be absolutely mandatory. If things are
crappy you might not get to the point of fidding with /proc.

Also, I really think SysRq has nothing to do under "Kernel
Hacking/Kernel Debugging". More than anything else it's a system
administration feature.

-hpa
--
<[email protected]> at work, <[email protected]> in private!
"Unix gives you enough rope to shoot yourself in the foot."
http://www.zytor.com/~hpa/puzzle.txt <[email protected]>

2001-10-10 08:51:59

by BALBIR SINGH

[permalink] [raw]
Subject: Re: [PATCH] Sticky/Key-Setable SysRq (resubmit)

H. Peter Anvin wrote:

>Followup to: <[email protected]>
>By author: Crutcher Dunnavant <[email protected]>
>In newsgroup: linux.dev.kernel
>
>>Attached is the patch from last week which provides the sysrq system
>>with the following:
>>
>>a toggleable 'sticky' flag in /proc, which makes the sysrq key work
on bad
>>keyboards, and through bad KVMs.
>>
>>the ability to set which key in /proc, which makes the sysrq key work on
>>system _without_ a 'sysrq' key; like bad KVMs.
>>
>>I've gotten no tracktion on this in a week, so I'm resubmitting it.
>>
>
>I think doing this through procfs might be reasonable, but a kernel
>command line option would be absolutely mandatory. If things are
>crappy you might not get to the point of fidding with /proc.
>
>Also, I really think SysRq has nothing to do under "Kernel
>Hacking/Kernel Debugging". More than anything else it's a system
>administration feature.
>
> -hpa
>

Also, when configuring the kernel you can decide not to have /proc
mounted (although this is very rare), but it might happen, if somebody
decided not to use it, so as suggested, I think a kernel command line
option would be nice.

Balbir





Attachments:
Wipro_Disclaimer.txt (853.00 B)

2001-10-11 22:51:03

by Crutcher Dunnavant

[permalink] [raw]
Subject: Re: [PATCH] Sticky/Key-Setable SysRq (resubmit)

++ 10/10/01 14:22 +0530 - BALBIR SINGH:
> H. Peter Anvin wrote:
>
> >Followup to: <[email protected]>
> >By author: Crutcher Dunnavant <[email protected]>
> >In newsgroup: linux.dev.kernel
> >
> >>Attached is the patch from last week which provides the sysrq system
> >>with the following:
> >>
> >>a toggleable 'sticky' flag in /proc, which makes the sysrq key work
> on bad
> >>keyboards, and through bad KVMs.
> >>
> >>the ability to set which key in /proc, which makes the sysrq key work on
> >>system _without_ a 'sysrq' key; like bad KVMs.
> >>
> >>I've gotten no tracktion on this in a week, so I'm resubmitting it.
> >>
> >
> >I think doing this through procfs might be reasonable, but a kernel
> >command line option would be absolutely mandatory. If things are
> >crappy you might not get to the point of fidding with /proc.
> >
> >Also, I really think SysRq has nothing to do under "Kernel
> >Hacking/Kernel Debugging". More than anything else it's a system
> >administration feature.
> >
> > -hpa
> >
>
> Also, when configuring the kernel you can decide not to have /proc
> mounted (although this is very rare), but it might happen, if somebody
> decided not to use it, so as suggested, I think a kernel command line
> option would be nice.
>
> Balbir

This gets into a realm of advanced/robust features which I want to add
when 2.5 opens up. I will remember it, but right now I not seeing any
traction on this at all.


--
Crutcher <[email protected]>
GCS d--- s+:>+:- a-- C++++$ UL++++$ L+++$>++++ !E PS+++ PE Y+ PGP+>++++
R-(+++) !tv(+++) b+(++++) G+ e>++++ h+>++ r* y+>*$