View previous topic :: View next topic |
Author |
Message |
intmain Apprentice


Joined: 14 Dec 2005 Posts: 179 Location: Austria
|
Posted: Thu Aug 03, 2006 12:04 pm Post subject: Power down problem [solved] |
|
|
Hi!
I have installed Gentoo on an old machine (~ 8 years old) which serves as a home router. The problem is, that it doesn't power down after shutdown. I have tried shutting it down with halt, shutdown -h now and poweroff, but it always shuts down, writes "System halted." and keeps on running.
I have also tried adding apm=power-off to the kernel options and loaded the apm module, but this didn't help either.
When I tried booting Knoppix and shutting down the machine, it worked, but I didn't find a reason why. Before installing Gentoo I used SuSE 8.2 on this machine, which also powered down automatically. Since booting Knoppix I know that this machine does not support ACPI but APM.
The kernel configuration contains CONFIG_APM_REAL_MODE_POWER_OFF=y.
I'm using gentoo-sources-2.6.16-r13.
Any ideas?
Thanks in advance!
Last edited by intmain on Thu Aug 03, 2006 6:49 pm; edited 1 time in total |
|
Back to top |
|
 |
!equilibrium Bodhisattva


Joined: 06 Jun 2004 Posts: 2109 Location: MI/BG/LC
|
Posted: Thu Aug 03, 2006 1:42 pm Post subject: Re: Power down problem |
|
|
intmain wrote: | When I tried booting Knoppix and shutting down the machine, it worked, but I didn't find a reason why. Before installing Gentoo I used SuSE 8.2 on this machine, which also powered down automatically. Since booting Knoppix I know that this machine does not support ACPI but APM. |
probably the knoppix kernel have something enabled/disabled that is different from your gentoo kernel; boot with knoppix, grab the kernel configuration and do a diff with your gentoo kernel conf. my 2 cents. _________________ Arch Tester for Gentoo/FreeBSD
Equilibrium's Universe
all my contents are released under the Creative Commons Licence by-nc-nd 2.5 |
|
Back to top |
|
 |
sfragis Tux's lil' helper


Joined: 24 Mar 2005 Posts: 95 Location: RE < IT < Europe
|
Posted: Thu Aug 03, 2006 1:58 pm Post subject: |
|
|
There's plenty of threads regarding power management and poweroff.
Instead of APM, you should enable ACPI in your kernel configuration. |
|
Back to top |
|
 |
intmain Apprentice


Joined: 14 Dec 2005 Posts: 179 Location: Austria
|
Posted: Thu Aug 03, 2006 3:18 pm Post subject: |
|
|
@!equilibrium I have compared the two kernel configs and enabled the option CONFIG_APM_ALLOW_INTS which was the only power-management-related option which wasn't enabled in my kernel, but this didn't help.
@sfragis I have already tried enabling ACPI with acpi=force, but this old machine simply does not support ACPI. I also have read many threads about poweroff, but I didn't find a solution.
Is it possible that the reason for this problem is a configuration problem and the shutdown program is not calling the power down function of the kernel? I don't really understand why the last output when shutting down is "System halted." and not "Power down.". All my other machines which are running Gentoo write out "Power down." before powering down. |
|
Back to top |
|
 |
sfragis Tux's lil' helper


Joined: 24 Mar 2005 Posts: 95 Location: RE < IT < Europe
|
Posted: Thu Aug 03, 2006 3:36 pm Post subject: |
|
|
It's long since I used APM to poweroff. I remember that maybe SMP support blocks it. Even if you don't have a multi processor machine, look if such an option is enabled. |
|
Back to top |
|
 |
intmain Apprentice


Joined: 14 Dec 2005 Posts: 179 Location: Austria
|
Posted: Thu Aug 03, 2006 6:49 pm Post subject: |
|
|
Thanks for your help!
The SMP support caused the problem, as I used a genkernel, SMP support was enabled. |
|
Back to top |
|
 |
|