Power off a SMP Box
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
Quoted 2 lines · On Thu, 2 Jan 2003 13:53:50 +0100 Marc Giger <[email protected]> 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?
Quoted 4 lines
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.
Quoted 1 line
Has someone a hint for me?
You could try ACPI in (very) recent kernels.
Signature · 3 lines
Cheers, Stephen Rothwell [email protected] http://www.canb.auug.org.au/~sfr/
Quoted 5 lines · On Fri, 3 Jan 2003 02:03:58 +1100 Stephen Rothwell <[email protected]> wrote:
Quoted 2 lines · On Thu, 2 Jan 2003 13:53:50 +0100 Marc Giger <[email protected]> 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..
Quoted 7 lines
Quoted 5 lines
I tried with
apm=smp-power-off //no effect
apm=power-off //this one oopses on bootThis second should work on any kernel since early 2000.
As I already said, with the second argument it oopses on boot...
Quoted 4 lines
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...
Quoted 4 lines
Quoted 2 lines
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
Hi!
Quoted 7 lines
Quoted 3 lines
Quoted 1 line
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
Signature · 2 lines
I'm [email protected]. "In my country we have almost anarchy and I don't care." Panos Katsaloulis describing me w.r.t. patents at [email protected]
ACPI power off requires swsusp (was: Re: Power off a SMP Box)
Quoted 8 lines · Pavel Machek
Quoted 5 lines
Quoted 1 line
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
Re: ACPI power off requires swsusp (was: Re: Power off a SMP Box)
Quoted 4 lines · Tobias Ringstrom
I just disovered that in 2.5.56 (at least), ACPI power-off needs
CONFIG_ACPI_SLEEPwhich depends onCONFIG_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.
Signature · 3 lines
Valdis Kletnieks Computer Systems Senior Engineer Virginia Tech
From: Marc Giger <[email protected]>
Date: Thu, Jan 02, 2003 at 01:53:50PM +0100
Quoted 6 lines
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.
Quoted 9 lines
I tried with
apm=smp-power-off //no effect
apm=power-off //this one oopses on bootI 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
Signature · 6 lines
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