|
From: Tony N. <to...@gr...> - 2000-03-14 02:48:46
|
On Fri Mar 10 2000 at 22:05, James Simmons wrote:
> > I've heard that the sysRq key is supposed to help. compile in "magic sysRq
> > key" support in the kernel, then press Alt-SysRq-{some letter which i
> > forgot}.
>
> Alt-SysRq-K
>
> > i never got it working, cause i haven't had the problem and the
> > sysRq key at the same time, but *tell me if you get it working* I would very
> > much like to have the procedure for this figured out.
less /usr/src/linux/Documentation/sysrq.txt
echo 1 > /proc/sys/kernel/sysrq
On redhat systems, in /etc/sysconfig/init you can change:
MAGIC_SYSRQ=no
to
MAGIC_SYSRQ=yes
But where it is set in /etc/rc.d/rc.sysinit it doesn't actually turn
this on - it only turns it off. I'm not sure what the bootup default
is, but if it is "0" then it is off. It needs to be "1" to be enabled.
The sysrq.txt file tells you how to use it from there.
It's a way cool feature. I used to use a "SAK patch" (Secure
Attention Key) on older kernels, but it is now a part of the kernel
with added functionality. This has got me out of several situations
where I would otherwise had to do a hard reboot because of a crashed
graphics app and the keyboard driver left in raw mode.
Beware though - this tweak is _not_ for beginners who don't know what
they are doing.
Cheers
Tony
-=*#*=-=*#*=-=*#*=-=*#*=-=*#*=-=*#*=-=*#*=-=*#*=-=*#*=-=*#*=-=*#*=-
Tony Nugent <To...@gr...> Systems Administrator, RHCE
GrowZone OnLine (a project of) GrowZone Development Network
POBox 475 Toowoomba Oueensland Australia 4350 Ph: 07 4637 8322
-=*#*=-=*#*=-=*#*=-=*#*=-=*#*=-=*#*=-=*#*=-=*#*=-=*#*=-=*#*=-=*#*=-
|