linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
From: Ethan Benson <erbenson@alaska.net>
To: linuxppc-dev list <linuxppc-dev@lists.linuxppc.org>
Subject: Re: pmac_halt() bug
Date: Mon, 10 Nov 2003 23:53:55 -0900	[thread overview]
Message-ID: <20031111085355.GR3648@plato.local.lan> (raw)
In-Reply-To: <1068539125.13038.87.camel@gaston>


On Tue, Nov 11, 2003 at 07:25:25PM +1100, Benjamin Herrenschmidt wrote:
>
> >
> > That's precisely it.  Some (all?) pmacs with server mode don't
> > automatically turn on after an intentional shutdown, only after power
> > is lost.  So the idea is to have the UPS signal the computer to halt,
> > and then have the UPS cut power once it's safe.  Later the UPS switches
> > power back on and the computer will automatically boot.
>
> Ok, 2 things:
>
> - How does the UPS knows it's "safe" ?

varies, the UPS i have has a smart monitoring program run over a
serial line, the UPS informs the daemon when it believes there is only
5 minutes of power remaining, and the daemon initiates a halt, the UPS
shuts down when there is only 2 minutes of power remaining, so your
shutdown process better not take longer then 3 minutes.

> - And right, I need to disable server mode to be able to shut down :) So
> I indeed to that on those machines

and there is the problem. on x86 many bioses provide an option which
lets you choose behavior post powerfail, on an x86 i have one option
is to bootup whenever AC power is lost and then restored, regardless
of previous shutdown state, for others the only way is to just halt
the machine without a powerdown.

pmac seems to have no way to accomplish either atm.

--
Ethan Benson
http://www.alaska.net/~erbenson/

** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/

  reply	other threads:[~2003-11-11  8:53 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-11-20 21:03 pmac_halt() bug Tim Seufert
2003-11-10 16:33 ` Igal Baevsky
2003-11-10 23:59   ` Benjamin Herrenschmidt
2003-11-11  7:37     ` Tim Seufert
2003-11-11  8:25       ` Benjamin Herrenschmidt
2003-11-11  8:53         ` Ethan Benson [this message]
2003-11-11  7:28   ` Tim Seufert
  -- strict thread matches above, loose matches on Subject: below --
2003-11-11 12:03 Baevsky, Igal

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=20031111085355.GR3648@plato.local.lan \
    --to=erbenson@alaska.net \
    --cc=linuxppc-dev@lists.linuxppc.org \
    /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;
as well as URLs for NNTP newsgroup(s).