PDA

View Full Version : Shutdown does not physically power-off machine?


skoona
25th February 2004, 02:37 PM
I am using fedora-1 on my homebrew machine that has two amd 2400+MP processors and 1GB of memory, using an MSI K7D-L mainboard.

When I 'shutdown -h now' the machine shutdowns down and give me a message that says 'power down machine'... Instead of physicall turning off the power.

Note: I have two systems, the other runs XP. It does power off as expected.

All of the fedora updates are applied and I have a custom kernel config. Whenever I have time to dig into this problem - I never seem to find a reason for this happening. APM is configured but disabled because of smp features. ACPI is enabled seems to be working, and their are no related error or warning messages that I can find.

What can I do to make the system power off automatically? My cpu's normally heatup to 55c and can go to 67c, I have a monitor that will issue a shutdown command at a temp of 80c - if that command gets issued now, I will be in trouble.

thanks,

skoona
25th February 2004, 03:26 PM
this is a copy of my current kernel config. my intent was to remove support for features i don't have or use; like scsi, 1gnet, etc

fedora-core-1, 2.4.22-1.2174.nptl

thanks,

Bana
26th February 2004, 01:27 AM

Does the automatic power off work with the stock default kernel?

Perhaps you should try using configuring ACPI? I'm not familiar with it, but this link might help (or might not?):
http://www.mail-archive.com/eug-lug@efn.org/msg16221.html

GL

skoona
26th February 2004, 03:14 AM
using grub I stepped through three shutdown halt cycle with the following results;

a. .......nptl = yes (powered off
b..nptlsmp = no (text message only
c...nptlcustom = no (text message only

item (a) is likely using APM to power off the machine, while items (b/c) are using ACPI for power management. Interesting...

ACPI configuration? I will look for more info on configuring ACPI.

Your link pointed to APM configuration tips, which has been suggested to be dangerous for SMP machines. So I am going to assume that I should not be using it and focus on ACPI based power-off routines.

Summary action for me: dig into ACPI a little deeper.

thanks

Bana
26th February 2004, 03:17 AM
Sounds like you have a lead, which is the hardest part. Sorry to tempt you with APM :p I don't know much about power management.

Good luck!

mhelios
26th February 2004, 11:06 AM
You might want to try adding "apm=off" and "acpi=on" (w/o quotes) to your kernel options in /boot/grub/grub.conf

skoona
26th February 2004, 01:36 PM
I added apm=off acpi=on and rebooted.
I noticed different startup message like
ACPI: Interpreter Enabled (previous messages said dis-abled)
...

Now the shutdown -h now, command actually turns-off the power as desired.

Thanks for the tip.

imdeemvp
26th February 2004, 10:25 PM
from the command line just type:

power off

your system will shut down....for some reason under fedora the old red hat commands dont always work....

mhelios
27th February 2004, 02:30 AM
Originally posted by imdeemvp
from the command line just type:

power off

your system will shut down....for some reason under fedora the old red hat commands dont always work....

I presume you typo'd so I'll just correct this command to `poweroff`. Also, what commands that you refer to do not seem to work for you? shutdown, halt, pweroff and reboot all work fine on my end.

imdeemvp
28th February 2004, 12:01 AM
try this one:

shutdown -h now or shutdown -r now

it doesnt work for me at this is a basic command that worked with rh...

halt and reboot and poweroff work fine!