Skip to contentSkip to conversation

pmac_power_off is gone in 2.2.17

PATCH Olaf Hering 3 participants 4 messages Oct 12, 2000 – Oct 16, 2000 PowerPC

lore
Share & tools
lore
#0 lore raw

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?

arch/ppc/kernel/pmac_setup.c Thu Oct 12 17:49:03 2000 renamed from arch/ppc/kernel/pmac_setup.c Mon Sep 4 19:39:16 2000 +1 -0
diff -urN linux-2.2.17/arch/ppc/kernel/pmac_setup.c linux-2.2.17.poweroff/arch/ppc/kernel/pmac_setup.c
@@ -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/

#1 lore raw

Hi,

Quoted 3 lines

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/

#2 lore raw
Quoted 8 lines · Roman Zippel

Hi,

Quoted 3 lines

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/

#3 lore raw
In reply to Olaf Hering
Quoted 3 lines · Olaf Hering

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 [email protected], http://www.linuxcare.com.au/
Linuxcare. Support for the revolution.

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