linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* pmac_power_off is gone in 2.2.17
@ 2000-10-12 15:53 Olaf Hering
  2000-10-12 20:08 ` Roman Zippel
  2000-10-16 23:57 ` Paul Mackerras
  0 siblings, 2 replies; 4+ messages in thread
From: Olaf Hering @ 2000-10-12 15:53 UTC (permalink / raw)
  To: linuxppc-dev


Hi,

the pmac_power_off() call in pmac_halt() disappeared in 2.2.17.
Is there any special reason for that? I affects proably only B&W
machines, /sbin/halt doesnt work anymore.


Can we have it back?


diff -urN linux-2.2.17/arch/ppc/kernel/pmac_setup.c linux-2.2.17.poweroff/arch/ppc/kernel/pmac_setup.c
--- linux-2.2.17/arch/ppc/kernel/pmac_setup.c   Mon Sep  4 19:39:16 2000
+++ linux-2.2.17.poweroff/arch/ppc/kernel/pmac_setup.c  Thu Oct 12 17:49:03 2000
@@ -551,6 +551,7 @@
 void
 pmac_halt(void)
 {
+pmac_power_off();
 }




Gruss Olaf

--
 $ man clone

BUGS
       Main feature not yet implemented...

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: pmac_power_off is gone in 2.2.17
  2000-10-12 15:53 pmac_power_off is gone in 2.2.17 Olaf Hering
@ 2000-10-12 20:08 ` Roman Zippel
  2000-10-12 21:24   ` Olaf Hering
  2000-10-16 23:57 ` Paul Mackerras
  1 sibling, 1 reply; 4+ messages in thread
From: Roman Zippel @ 2000-10-12 20:08 UTC (permalink / raw)
  To: linuxppc-dev


Hi,

> the pmac_power_off() call in pmac_halt() disappeared in 2.2.17.
> Is there any special reason for that? I affects proably only B&W
> machines, /sbin/halt doesnt work anymore.

Did you try "halt -p"?

bye, Roman


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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: pmac_power_off is gone in 2.2.17
  2000-10-12 20:08 ` Roman Zippel
@ 2000-10-12 21:24   ` Olaf Hering
  0 siblings, 0 replies; 4+ messages in thread
From: Olaf Hering @ 2000-10-12 21:24 UTC (permalink / raw)
  To: linuxppc-dev


On Thu, Oct 12, Roman Zippel wrote:

>
> Hi,
>
> > the pmac_power_off() call in pmac_halt() disappeared in 2.2.17.
> > Is there any special reason for that? I affects proably only B&W
> > machines, /sbin/halt doesnt work anymore.
>
> Did you try "halt -p"?

That might work, but why can I poweroff any other machine with halt?
(ibook, wallstreet, 7200?)


Gruss Olaf

--
 $ man clone

BUGS
       Main feature not yet implemented...

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: pmac_power_off is gone in 2.2.17
  2000-10-12 15:53 pmac_power_off is gone in 2.2.17 Olaf Hering
  2000-10-12 20:08 ` Roman Zippel
@ 2000-10-16 23:57 ` Paul Mackerras
  1 sibling, 0 replies; 4+ messages in thread
From: Paul Mackerras @ 2000-10-16 23:57 UTC (permalink / raw)
  To: linuxppc-dev


Olaf Hering writes:

> the pmac_power_off() call in pmac_halt() disappeared in 2.2.17.
> Is there any special reason for that? I affects proably only B&W
> machines, /sbin/halt doesnt work anymore.

This was changed to make it consistent with the behaviour on other
architectures.  Distributions should use halt -p in their init scripts
if power-off is required on shutdown.

Paul.

--
Paul Mackerras, Senior Open Source Researcher, Linuxcare, Inc.
+61 2 6262 8990 tel, +61 2 6262 8991 fax
paulus@linuxcare.com.au, http://www.linuxcare.com.au/
Linuxcare.  Support for the revolution.

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2000-10-16 23:57 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2000-10-12 15:53 pmac_power_off is gone in 2.2.17 Olaf Hering
2000-10-12 20:08 ` Roman Zippel
2000-10-12 21:24   ` Olaf Hering
2000-10-16 23:57 ` Paul Mackerras

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).