l i n u x - u s e r s - g r o u p - o f - d a v i s
L U G O D
 
Next Meeting:
November 4: Social gathering
Next Installfest:
TBD
Latest News:
Oct. 24: LUGOD election season has begun!
Page last updated:
2003 Mar 18 18:28

The following is an archive of a post made to our 'vox-tech mailing list' by one of its subscribers.

Report this post as spam:

(Enter your email address)
Re: [vox-tech] magic sysreq key
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [vox-tech] magic sysreq key



On Tue, Mar 18, 2003 at 01:33:38PM -0800, Peter Jay Salzman wrote:
> begin Mike Simons <msimons@moria.simons-clan.com> 
> >   Keep in mind sysrq works form inside X too... 
[...]
> >   X can not trap or block those key sequences...
> 
> that is what it looks like when i type "alt-sysreq-h" from within X.
> 
> i would say that X is definitely catching the key sequence.  or else the
> scancode is changing for some reason...

I wrote:
#   The output goes into the kernel message buffer, which will appear on
# the console, in dmesg, and some /var/log files depending on how you have
# klogd setup...
#   After hitting A-S-h you should see something like:
# 
# dmesg | tail -1
# ===
# SysRq : HELP : loglevel0-8 reBoot tErm kIll saK showMem Off showPc unRaw
# Sync showTasks Unmount
# ===

from the documentation:
% *  What is the magic SysRq key?
% ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
% It is a 'magical' key combo you can hit which the kernel will respond to
% regardless of whatever else it is doing, unless it is completely locked up.

Pete,

  Type your Alt-Sysrq combo, then look at dmesg or 
tail -f /var/log/kern.log.  The command sequence is being run.

  The sysrq keys would be rather useless if they didn't work inside X...
since most people live in X.

  The kernel owns the keyboard input devices, and is always the thing 
interpreting the keystrokes to pass to the application running on the
"active" console.

  This option's user interface is rather crude, which is why it's under 
"Kernel Hacking" in the configuration menus... it's not meant to be used
by everyone, Linux isn't supposed to be unstable, and you only need
it if something breaks.  

  So test it out inside X, and let me know if it doesn't work.

    Later,
      Mike
_______________________________________________
vox-tech mailing list
vox-tech@lists.lugod.org
http://lists.lugod.org/mailman/listinfo/vox-tech



LinkedIn
LUGOD Group on LinkedIn
Sign up for LUGOD event announcements
Your email address:
facebook
LUGOD Group on Facebook
'Like' LUGOD on Facebook:

Hosting provided by:
Sunset Systems
Sunset Systems offers preconfigured Linux systems, remote system administration and custom software development.

LUGOD: Linux Users' Group of Davis
PO Box 2082, Davis, CA 95617
Contact Us

LUGOD is a 501(c)7 non-profit organization
based in Davis, California
and serving the Sacramento area.
"Linux" is a trademark of Linus Torvalds.

Sponsored in part by:
Appahost Applications
For a significant contribution towards our projector, and a generous donation to allow us to continue meeting at the Davis Library.