Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Power down problem [solved]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
intmain
Apprentice
Apprentice


Joined: 14 Dec 2005
Posts: 179
Location: Austria

PostPosted: Thu Aug 03, 2006 12:04 pm    Post subject: Power down problem [solved] Reply with quote

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
View user's profile Send private message
!equilibrium
Bodhisattva
Bodhisattva


Joined: 06 Jun 2004
Posts: 2109
Location: MI/BG/LC

PostPosted: Thu Aug 03, 2006 1:42 pm    Post subject: Re: Power down problem Reply with quote

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
View user's profile Send private message
sfragis
Tux's lil' helper
Tux's lil' helper


Joined: 24 Mar 2005
Posts: 95
Location: RE < IT < Europe

PostPosted: Thu Aug 03, 2006 1:58 pm    Post subject: Reply with quote

There's plenty of threads regarding power management and poweroff.
Instead of APM, you should enable ACPI in your kernel configuration.
Back to top
View user's profile Send private message
intmain
Apprentice
Apprentice


Joined: 14 Dec 2005
Posts: 179
Location: Austria

PostPosted: Thu Aug 03, 2006 3:18 pm    Post subject: Reply with quote

@!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
View user's profile Send private message
sfragis
Tux's lil' helper
Tux's lil' helper


Joined: 24 Mar 2005
Posts: 95
Location: RE < IT < Europe

PostPosted: Thu Aug 03, 2006 3:36 pm    Post subject: Reply with quote

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
View user's profile Send private message
intmain
Apprentice
Apprentice


Joined: 14 Dec 2005
Posts: 179
Location: Austria

PostPosted: Thu Aug 03, 2006 6:49 pm    Post subject: Reply with quote

Thanks for your help!
The SMP support caused the problem, as I used a genkernel, SMP support was enabled.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum