Re: Forcing an immediate reboot

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 10/15/05, Anton Altaparmakov <[email protected]> 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

What the purpose of the second sync?

> echo b > /proc/sysrq-trigger
>
> This will "sync", "umount/remount read-only", "sync", "immediate hardware
> reboot".  Should always work...
--
Coywolf Qi Hunt
http://sosdg.org/~coywolf/
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux