APM dangerous for Hard Drives?

Hi everybody,

i have two western digital 250GB Hard Drives and activated the "device apm" option in the kernel config. (7.2-PRERELEASE)

After a shutdown the disk make a very loud "klack" sound before power off the system. When i make a power off shutdown from a WinXP OS the sound does not appear that loud.

Is it possible that the APM Feature damage the hardware? Why is it not activated in the kernel by default? (i do also not have a /usr/sbin/apm binary in the 7.1 Distibution)

Thanks.
 
Hi donald1000,

My hardrive make this noise too, i don't use apm.

I asked an engineer if it was serious, he replied me that not a real problem when nothing writes to the disk.

I think freebsd should first turn off hard drive before shutting down the computer.

Nicolas.
 
Hi nikobordx,

thank you very much for your answer. Good to know that my drive is not the only one which sounds like that :)

I don't know anything about programming of the APM system, but Windows first shutdown the hard drive, and 1-2 seconds later it powers off the whole system. Linux and BSD does it not that way. (at least in my case) They turn of the whole system immediately. But when i think about it, this should not be dangerous for the hardware, because when you use a system that does not have APM support (as you said), you switch off the system exactly like that, isn't it?
 
Hi Donald1000,

Yes this is the same for apm and acpi.
But if you use apm than acpi, your computer seem to be old ;)

I tried NetBSD, and when i shutdown the computer, it off hard drive, then the computer.

I'm not sure, but i think we need to implement a new fonction called before "acpi_wake_prep_walk(ACPI_STATE_S5)" in acpi.c to switch off hard drive, then entering state 5.

But i'm not a developper ! :(

Nicolas.
 
Hi !
Hmmm, ok, i have a current AMD64 system. So ACPI should exist. But without "device apm" in the Kernel config i have no power off after shutdown. With the APM option it works with an "init 0" or "halt -p"

So how can i make a power off (halt) with ACPI and without APM? Or do i misunderstand somthing now?
 
Hi Donald1000,

I had this problem with my old computer (February 2007), when hardware are connected, it does not halt computer, when all devices are disconnected, it works !

Can you try (without apm) to halt computer with all devices disconnected (mouse, printer, etc...) ?

What say "acpiconf -s 5" ?

Nicolas.
 
Code:
sysctl -a | grep hw.acpi.supported_sleep_state
says:
Code:
hw.acpi.supported_sleep_state: S1 S3 S4 S5

I am on prerelease:
FreeBSD 7.2-PRERELEASE

Thanks for the links. I will give it a try with the patch.
 
You can try a livefs of FreeBSD 8-Current.

Download here:
Code:
http://pub.allbsd.org/FreeBSD-snapshots/i386/8.0-HEAD-20090427-JPSNAP/cdrom/8.0-HEAD-20090427-JPSNAP-i386-livefs.iso

Nicolas.
 
Sorry, for your architecture you need this version:
Code:
http://pub.allbsd.org/FreeBSD-snapshots/amd64/8.0-HEAD-20090428-JPSNAP/cdrom/8.0-HEAD-20090428-JPSNAP-amd64-livefs.iso

Nicolas.
 
Back
Top