public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* Power off a SMP Box
@ 2003-01-02 12:53 Marc Giger
  2003-01-02 15:03 ` Stephen Rothwell
  2003-01-02 15:21 ` Power off a SMP Box Jurriaan
  0 siblings, 2 replies; 7+ messages in thread
From: Marc Giger @ 2003-01-02 12:53 UTC (permalink / raw)
  To: Linux Kernel Mailing List

Hi All,

I know this question was already asked 1000 times.

My "problem" is that my Dual-Box won't power off itself after a shutdown.

I tried with 

apm=smp-power-off	//no effect
apm=power-off		//this one oopses on boot

I google'd around many hours with no solution.

Has someone a hint for me?

The Box is a Asus P3C-D with two PIII @ 933 Mhz

Thank you

Marc

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

* Re: Power off a SMP Box
  2003-01-02 12:53 Power off a SMP Box Marc Giger
@ 2003-01-02 15:03 ` Stephen Rothwell
  2003-01-02 15:40   ` Marc Giger
  2003-01-02 15:21 ` Power off a SMP Box Jurriaan
  1 sibling, 1 reply; 7+ messages in thread
From: Stephen Rothwell @ 2003-01-02 15:03 UTC (permalink / raw)
  To: Marc Giger; +Cc: linux-kernel

On Thu, 2 Jan 2003 13:53:50 +0100 Marc Giger <gigerstyle@gmx.ch> wrote:
>
> My "problem" is that my Dual-Box won't power off itself after a shutdown.

Has it ever?  What kernel version are you trying this on?

> I tried with 
> 
> apm=smp-power-off	//no effect
> apm=power-off		//this one oopses on boot

This second should work on any kernel since early 2000.

However, there are many SMP machines that cannot be powered off
using APM.  APM is not defined for SMP machines, and the result
you got is why APM is not enabled easily on SMP boxes.

> Has someone a hint for me?

You could try ACPI in (very) recent kernels.

-- 
Cheers,
Stephen Rothwell                    sfr@canb.auug.org.au
http://www.canb.auug.org.au/~sfr/

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

* Re: Power off a SMP Box
  2003-01-02 12:53 Power off a SMP Box Marc Giger
  2003-01-02 15:03 ` Stephen Rothwell
@ 2003-01-02 15:21 ` Jurriaan
  1 sibling, 0 replies; 7+ messages in thread
From: Jurriaan @ 2003-01-02 15:21 UTC (permalink / raw)
  To: Marc Giger; +Cc: Linux Kernel Mailing List

From: Marc Giger <gigerstyle@gmx.ch>
Date: Thu, Jan 02, 2003 at 01:53:50PM +0100
> Hi All,
> 
> I know this question was already asked 1000 times.
> 
> My "problem" is that my Dual-Box won't power off itself after a shutdown.
> 
> I tried with 
> 
> apm=smp-power-off	//no effect
> apm=power-off		//this one oopses on boot
> 
> I google'd around many hours with no solution.
> 
> Has someone a hint for me?
> 
Both my Abit VP6 and now a MSI Pro266TD Master work with:

kernel /boot/vmlinuz-2553matrox root=/dev/hda7 video=matrox:vesa:0x11E,fv:80,sgram hdc=scsi apm=smp apm=power-off

HTH,
Jurriaan
-- 
An ill wind comes arising
Across the cities of the plain
There's no swimming in the heavy water
No singing in the acid rain
   Rush - Distant Early Warning
GNU/Linux 2.5.53 SMP/ReiserFS 2x2752 bogomips load av: 0.02 0.18 0.09

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

* Re: Power off a SMP Box
  2003-01-02 15:03 ` Stephen Rothwell
@ 2003-01-02 15:40   ` Marc Giger
  2003-01-06 23:00     ` Pavel Machek
  0 siblings, 1 reply; 7+ messages in thread
From: Marc Giger @ 2003-01-02 15:40 UTC (permalink / raw)
  To: Stephen Rothwell; +Cc: linux-kernel

On Fri, 3 Jan 2003 02:03:58 +1100
Stephen Rothwell <sfr@canb.auug.org.au> wrote:

> On Thu, 2 Jan 2003 13:53:50 +0100 Marc Giger <gigerstyle@gmx.ch> wrote:
> >
> > My "problem" is that my Dual-Box won't power off itself after a shutdown.
> 
> Has it ever?  What kernel version are you trying this on?

With Linux never! With W....... no problem.

2.2.16, 2.2.18, and most of 2.4.

Now I'm running a 2.4.19 with openmosix patches..

> 
> > I tried with 
> > 
> > apm=smp-power-off	//no effect
> > apm=power-off		//this one oopses on boot
> 
> This second should work on any kernel since early 2000.

As I already said, with the second argument it oopses on boot...

> 
> However, there are many SMP machines that cannot be powered off
> using APM.  APM is not defined for SMP machines, and the result
> you got is why APM is not enabled easily on SMP boxes.

yep...I know it...

> 
> > Has someone a hint for me?
> 
> You could try ACPI in (very) recent kernels.

You mean a 2.5.x kernel? Any Kernel with the newest ACPI patches has never powered off any of my machines:-(
Perhaps I don't know something...
I will try it now again...

Thank you

Marc

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

* Re: Power off a SMP Box
  2003-01-02 15:40   ` Marc Giger
@ 2003-01-06 23:00     ` Pavel Machek
  2003-01-11 12:10       ` ACPI power off requires swsusp (was: Re: Power off a SMP Box) Tobias Ringstrom
  0 siblings, 1 reply; 7+ messages in thread
From: Pavel Machek @ 2003-01-06 23:00 UTC (permalink / raw)
  To: Marc Giger; +Cc: Stephen Rothwell, linux-kernel

Hi!

> > > Has someone a hint for me?
> > 
> > You could try ACPI in (very) recent kernels.
> 
> You mean a 2.5.x kernel? Any Kernel with the newest ACPI patches has never powered off any of my machines:-(
> Perhaps I don't know something...
> I will try it now again...

You can also get new ACPI for 2.4.X (at acpi.sf.net) and even ACPI in
marcelo's kernel should be good enough for poweroff.
								Pavel
-- 
I'm pavel@ucw.cz. "In my country we have almost anarchy and I don't care."
Panos Katsaloulis describing me w.r.t. patents at discuss@linmodems.org

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

* ACPI power off requires swsusp (was: Re: Power off a SMP Box)
  2003-01-06 23:00     ` Pavel Machek
@ 2003-01-11 12:10       ` Tobias Ringstrom
  2003-01-12  4:05         ` Valdis.Kletnieks
  0 siblings, 1 reply; 7+ messages in thread
From: Tobias Ringstrom @ 2003-01-11 12:10 UTC (permalink / raw)
  To: Pavel Machek
  Cc: Marc Giger, Stephen Rothwell, Kernel Mailing List, Grover, Andrew

On Tue, 7 Jan 2003, Pavel Machek wrote:

> > > You could try ACPI in (very) recent kernels.
> > 
> > You mean a 2.5.x kernel? Any Kernel with the newest ACPI patches has never powered off any of my machines:-(
> > Perhaps I don't know something...
> > I will try it now again...
> 
> You can also get new ACPI for 2.4.X (at acpi.sf.net) and even ACPI in
> marcelo's kernel should be good enough for poweroff.

I just disovered that in 2.5.56 (at least), ACPI power-off needs
CONFIG_ACPI_SLEEP which depends on CONFIG_SOFTWARE_SUSPEND.  This means
that without selecting software suspend, your machine cannot power off
using ACPI.  Why is it so?

/Tobias


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

* Re: ACPI power off requires swsusp (was: Re: Power off a SMP Box)
  2003-01-11 12:10       ` ACPI power off requires swsusp (was: Re: Power off a SMP Box) Tobias Ringstrom
@ 2003-01-12  4:05         ` Valdis.Kletnieks
  0 siblings, 0 replies; 7+ messages in thread
From: Valdis.Kletnieks @ 2003-01-12  4:05 UTC (permalink / raw)
  To: Tobias Ringstrom; +Cc: Kernel Mailing List

[-- Attachment #1: Type: text/plain, Size: 689 bytes --]

On Sat, 11 Jan 2003 13:10:47 +0100, Tobias Ringstrom said:

> I just disovered that in 2.5.56 (at least), ACPI power-off needs
> CONFIG_ACPI_SLEEP which depends on CONFIG_SOFTWARE_SUSPEND.  This means
> that without selecting software suspend, your machine cannot power off
> using ACPI.  Why is it so?

Well.. I submitted  the Kconfig patch that makes it so.  However, I only did
that because there's code inside the ACPI_SLEEP that references a variable over
in SOFTWARE_SUSPEND.

A cleaner fix would probably be to move the variable someplace where it will
exist even when SOFTWARE_SUSPEND isn't defined.
-- 
				Valdis Kletnieks
				Computer Systems Senior Engineer
				Virginia Tech


[-- Attachment #2: Type: application/pgp-signature, Size: 226 bytes --]

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

end of thread, other threads:[~2003-01-12  3:56 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-01-02 12:53 Power off a SMP Box Marc Giger
2003-01-02 15:03 ` Stephen Rothwell
2003-01-02 15:40   ` Marc Giger
2003-01-06 23:00     ` Pavel Machek
2003-01-11 12:10       ` ACPI power off requires swsusp (was: Re: Power off a SMP Box) Tobias Ringstrom
2003-01-12  4:05         ` Valdis.Kletnieks
2003-01-02 15:21 ` Power off a SMP Box Jurriaan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox