From: Keith Owens <kaos@ocs.com.au>
To: Nathan Neulinger <nneul@umr.edu>
Cc: linux-kernel@vger.kernel.org
Subject: Re: Non keyboard trigger of Alt-SysRQ-S-U-B
Date: Mon, 26 Mar 2001 08:16:55 +1000 [thread overview]
Message-ID: <6069.985558615@ocs3.ocs-net> (raw)
In-Reply-To: Your message of "Sun, 25 Mar 2001 10:27:28 CST." <3ABE1C70.92CBBF01@umr.edu>
On Sun, 25 Mar 2001 10:27:28 -0600,
Nathan Neulinger <nneul@umr.edu> wrote:
>Is there any way that this can be triggered remotely? I frequently get
>into situations with a particular machine where 'reboot' or 'reboot -f'
>just plain won't work, and would like to be able do a 'filesystem clean'
>forcible reboot, but don't particularly care about services being shut
>down cleanly. Of course, the key is, I'm not at the keyboard of the
>server in question.
If you have a serial console on the server, you can get sysrq by
sending a serial break followed by the character. See
drivers/char/serial.c on any 2.4 kernel. Otherwise you could hack up a
module that calls handle_sysrq() directly. Unless you are sending a
character that needs regs ('p'), kbd ('r') or tty ('k'), you can set
those parameters to NULL. Any unrecognised character will try to use
kbd and tty parameters.
next prev parent reply other threads:[~2001-03-25 22:18 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-03-25 16:27 Non keyboard trigger of Alt-SysRQ-S-U-B Nathan Neulinger
2001-03-25 22:16 ` Keith Owens [this message]
2001-04-04 11:21 ` Boris Pisarcik
2001-04-04 13:54 ` Boris Pisarcik
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=6069.985558615@ocs3.ocs-net \
--to=kaos@ocs.com.au \
--cc=linux-kernel@vger.kernel.org \
--cc=nneul@umr.edu \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox