From: Marc Perkel <marc@perkel.com>
To: Anton Altaparmakov <aia21@cam.ac.uk>
Cc: Lee Revell <rlrevell@joe-job.com>, linux-kernel@vger.kernel.org
Subject: Re: Forcing an immediate reboot
Date: Sat, 15 Oct 2005 07:29:58 -0700 [thread overview]
Message-ID: <43511266.7010709@perkel.com> (raw)
In-Reply-To: <Pine.LNX.4.64.0510150846430.25927@hermes-1.csi.cam.ac.uk>
Anton Altaparmakov wrote:
>On Fri, 14 Oct 2005, Lee Revell wrote:
>
>
>>On Fri, 2005-10-14 at 18:46 -0700, Marc Perkel wrote:
>>
>>
>>>Is there any way to force an immediate reboot as if to push the reset
>>>button in software? Got a remote server that i need to reboot and
>>>shutdown isn't working.
>>>
>>>
>>If it has Oopsed, and the "reboot" command does not work, then all bets
>>are off - kernel memory has probably been corrupted.
>>
>>Get one of those powerstrips that you can telnet into and power cycle
>>things remotely.
>>
>>
>
>If it has sysrq compiled in as root just do:
>
>echo s > /proc/sysrq-trigger
>echo u > /proc/sysre-trigger
>echo s > /proc/sysrq-trigger
>echo b > /proc/sysrq-trigger
>
>This will "sync", "umount/remount read-only", "sync", "immediate hardware
>reboot". Should always work...
>
>
>
>
This worked great. If I had this last night it would probably have saved
me a trip to San Jose. I especially like that it does the file system
syncs. I've put it in a script I call "coldboot" and it is now one of my
tools.
Very useful.
next prev parent reply other threads:[~2005-10-15 14:30 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-10-15 1:46 Forcing an immediate reboot Marc Perkel
2005-10-15 1:50 ` Lee Revell
2005-10-15 6:47 ` Coywolf Qi Hunt
2005-10-15 6:51 ` Marc Perkel
2005-10-15 7:48 ` Anton Altaparmakov
2005-10-15 7:56 ` Coywolf Qi Hunt
2005-10-15 8:16 ` Anton Altaparmakov
2005-10-16 0:10 ` Petr Vandrovec
2005-10-15 13:23 ` documentation? (i learned something today ;-) ) Damir Perisa
2005-10-15 13:40 ` Benoit Boissinot
2005-10-15 14:52 ` Documentation/files somewhere online? Damir Perisa
2005-10-15 15:02 ` Denis Vlasenko
2005-10-15 15:13 ` Michael Krufky
2005-10-15 23:18 ` Documentation/files online: available at git in webinterface Damir Perisa
2005-10-15 14:29 ` Marc Perkel [this message]
2005-10-15 1:55 ` Forcing an immediate reboot Randy.Dunlap
2005-10-15 2:24 ` Danny ter Haar
2005-10-15 6:21 ` Willy Tarreau
2005-10-15 6:50 ` Coywolf Qi Hunt
2005-10-15 10:24 ` Denis Vlasenko
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=43511266.7010709@perkel.com \
--to=marc@perkel.com \
--cc=aia21@cam.ac.uk \
--cc=linux-kernel@vger.kernel.org \
--cc=rlrevell@joe-job.com \
/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