linux-ide.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Alfonso Gazo <agazo@users.berlios.de>
To: linux-ide@vger.kernel.org
Subject: Issuing IDE standby command to shutdown disk before poweroff or reboot
Date: Mon, 08 Nov 2004 17:57:44 +0100	[thread overview]
Message-ID: <418FA588.5050205@users.berlios.de> (raw)

Hi all,

 From some time ago, I've noticed that when rebooting or powering off my 
laptop, its HDD emits an audible sound like a "clonk". It's the same 
sound when powering off incorrectly (i.e., after a hang or something 
like that). I'm using 2.6.8.1 on athlon xp.

My worries come when I read the specs of the hdd vendor (it's an Hitachi 
80GN family drive):

"The product supports a minimum of 300,000 normal load/unloads. The 
drive supports a minimum of 20,000 emergency unloads."

The spec states that the emergency unload is caused when the power is 
cut off for the HDD without previously issuing any of the following IDE 
commands: (hard reset, standby, standby immediate, sleep), and it causes 
mechanical stress to heads. I'm not sure if the Linux kernel currently 
is ussing any of this commands, but I guess no, as I said before.

I think that this issue is solved when halting, as it is possible to use 
the -h parameter in "halt" command, but this is not possible when 
rebooting or suspending (with Software Suspend 2 patch). I'm not sure if 
the drive is doing emergency unloads when shutting down properly the 
kernel, and even knowing that 20.000 unloads is a good number of 
unloads, maybe it could be better for the drive to unload the proper way.

Any idea, confirmation, etc. about this?

Regards,

  --
  Alfonso

                 reply	other threads:[~2004-11-08 16:58 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=418FA588.5050205@users.berlios.de \
    --to=agazo@users.berlios.de \
    --cc=linux-ide@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).