Hi, On my dual PIII/500 machine the macine will not auto power off. I used to get this on my P4 but found it was because the multi-processor kernel had been installed and the solution was to uninstall that and install a single processor kernel. Obviously I want a multi-processor kernel on this box but I would also like it to power down automatically. James C. Rocks Equant Archway House Canary Wharf London E14 9SZ
Hello, James. I believe this is actually a feature limitation of SMP machines, and no fault of the kernel itself. I have 4 SMP machines here of various vintages, none of which power off at shutdown the way my uniprocessor machines do. Or maybe someone out there knows differently... Bye for now, Stuart. -----Original Message----- From: James.Rocks@equant.com [mailto:James.Rocks@equant.com] Sent: Monday, December 16, 2002 02:13 To: suse-linux-e@suse.com Subject: [SLE] Auto Power Down Hi, On my dual PIII/500 machine the macine will not auto power off. I used to get this on my P4 but found it was because the multi-processor kernel had been installed and the solution was to uninstall that and install a single processor kernel. Obviously I want a multi-processor kernel on this box but I would also like it to power down automatically. James C. Rocks Equant Archway House Canary Wharf London E14 9SZ -- Check the headers for your unsubscription address For additional commands send e-mail to suse-linux-e-help@suse.com Also check the archives at http://lists.suse.com Please read the FAQs: suse-linux-e-faq@suse.com
I fiddled with that ages ago. There is a setting somewhere that checks for SMP and simply bypasses the actual shutdown call. It simply states that Autoshutdown on a SMP box is "unsafe" and stop befor calling the poweroff module or whatever... I rewrote the call to disergard SMP awareness, and presto! It shut my dual Celeron board of!!! It didnt hurt (me) a bit... Now the only problem is.. I cant for my life remember WHERE that (&% file is either called OR placed... Maybe someone can shed light on where to look? -- /Rikard ------------------------------------------------------------------------------------ Rikard Johnels email : rjhn@linux.nu Web : http://www.rikjoh.com Mob : +46 70 464 99 39 ------------------------ Public PGP fingerprint ---------------------------- < 15 28 DF 78 67 98 B2 16 1F D3 FD C5 59 D4 B6 78 46 1C EE 56 >
----- Original Message -----
From: "Rikard Johnels"
On Monday 16 December 2002 20.15, Catimimi wrote:
It seems that you are lucky or that SMP is not running because at the beginning of boot SuSE tells the following message : "APM will be disabled since SMP is running ...." If APM is disabled the box can't be powered off.
ACPI can be used on SMP boxes.
On Monday 16 December 2002 20.15, Catimimi wrote:
----- Original Message ----- From: "Rikard Johnels"
To: Sent: Monday, December 16, 2002 6:47 PM Subject: Re: [SLE] Auto Power Down I fiddled with that ages ago. There is a setting somewhere that checks for SMP and simply bypasses the actual shutdown call. It simply states that Autoshutdown on a SMP box is "unsafe" and stop befor calling the poweroff module or whatever... I rewrote the call to disergard SMP awareness, and presto! It shut my dual Celeron board of!!! It didnt hurt (me) a bit...
Now the only problem is.. I cant for my life remember WHERE that (&% file is either called OR placed...
Maybe someone can shed light on where to look?
It seems that you are lucky or that SMP is not running because at the beginning of boot SuSE tells the following message : "APM will be disabled since SMP is running ...." If APM is disabled the box can't be powered off.
Catimimi.
I know that APM is disabled. Thats my point. Somewhere i tried to "hardwire" it to THINK it had APM, and thus shut down It might be that suspend and stuff like that is unsafe, but i cant for my life understand why a poweroff should be any harm as all procesees are shut down anyhow.. -- /Rikard ------------------------------------------------------------------------------------ Rikard Johnels email : rjhn@linux.nu Web : http://www.rikjoh.com Mob : +46 70 464 99 39 ------------------------ Public PGP fingerprint ---------------------------- < 15 28 DF 78 67 98 B2 16 1F D3 FD C5 59 D4 B6 78 46 1C EE 56 >
The 02.12.16 at 20:26, Rikard Johnels wrote:
I know that APM is disabled. Thats my point. Somewhere i tried to "hardwire" it to THINK it had APM, and thus shut down It might be that suspend and stuff like that is unsafe, but i cant for my life understand why a poweroff should be any harm as all procesees are shut down anyhow..
I think that powering off is part of the apm code; so if apm is dissabled at the start because it is unsafe, then later it can't power off. -- Cheers, Carlos Robinson
Twelve days ago, we had exchanges about auto power down with SMP. As amp is disabled with SMP, we concluded that it was not possible. BUT, if you have a look at the source of the apm.c kernel module (SuSE 8.1), you'll find an undocumented kernel parameter : apm=power-off with this parameter, you'll see at boot : apm: disabled - APM is not SMP safe (power off active). and the machine is powered off !!! Catimimi.
The 02.12.30 at 13:40, Catimimi wrote:
apm=power-off
with this parameter, you'll see at boot : apm: disabled - APM is not SMP safe (power off active). and the machine is powered off !!!
In the midle of booting up (start)? Or did you meant log-off, perhaps? -- Cheers, Carlos Robinson
----- Original Message -----
From: "Carlos E. R."
The 02.12.30 at 13:40, Catimimi wrote:
apm=power-off
with this parameter, you'll see at boot : apm: disabled - APM is not SMP safe (power off active). and the machine is powered off !!!
In the midle of booting up (start)? Or did you meant log-off, perhaps?
when the system comes down, otherwise the problem wouldn't be solved Catimimi
-- Check the headers for your unsubscription address For additional commands send e-mail to suse-linux-e-help@suse.com Also check the archives at http://lists.suse.com Please read the FAQs: suse-linux-e-faq@suse.com
participants (6)
-
Anders Johansson
-
Carlos E. R.
-
Catimimi
-
James.Rocks@equant.com
-
Rikard Johnels
-
Stuart Powell