lkml.org 
[lkml]   [2005]   [Oct]   [15]   [last100]   RSS-feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
Complete thread (EXPERIMENTAL)
/
DateSat, 15 Oct 2005 08:48:12 +0100 (BST)
FromAnton Altaparmakov <>
SubjectRe: Forcing an immediate reboot
Digg This
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...

Best regards,

Anton
-- 
Anton Altaparmakov <aia21 at cam.ac.uk> (replace at with @)
Unix Support, Computing Service, University of Cambridge, CB2 3QH, UK
Linux NTFS maintainer / IRC: #ntfs on irc.freenode.net
WWW: http://linux-ntfs.sf.net/ & http://www-stu.christs.cam.ac.uk/~aia21/
\
ISP Services
Valid XHTML 1.0!\ /
Valid CSS! Last update: 2005-10-15 07:50    [W:0.155 / U:0.080 seconds]
©2003-2005 Jasper Spaans