From: "Petr Vandrovec" <VANDROVE@vc.cvut.cz>
To: "peter k." <spam-goes-to-dev-null@gmx.net>
Cc: linux-kernel@vger.kernel.org, adrianb@ntsp.nec.co.jp
Subject: Re: patch to put IDE drives in sleep-mode after an halt
Date: Thu, 24 May 2001 15:16:44 MET-1 [thread overview]
Message-ID: <3D34A656448@vcnet.vc.cvut.cz> (raw)
On 24 May 01 at 14:59, peter k. wrote:
> > auto-parking), and since all drives are voice coil drives, then they
> > should auto-park. But i've had problems with some hard drives that were
> > spinned down (when Win____ was shutdown).. if i reset the PC (instead
> > of turning it off), the hard drives wouldn't come back on so i'd have to
> > do a full shutdown of the machine.
>
> well, my new 40gb ones are auto-parking i think but all the other ones from
> last year aren't
> and older hardware (although 1 year isnt even old for a hd) should be
> supported by the kernel, right?
> plus, its really not difficult to implement spinning down the hds before
> halt anyway and then the kernel
> leaves the system as clean as it was before booting ;) !!
I'm using (at the end of /etc/init.d/halt):
cat /sbin/halt > /dev/null
cat /bin/sleep > /dev/null
hdparm -Y /dev/hdd
hdparm -Y /dev/hdc
hdparm -Y /dev/hdb
hdparm -Y /dev/hda
/bin/sleep 2
/sbin/halt -d -f -i -p
It works fine for me for years... I had to put sleep 2 here, as otherwise
CDROM drive does not park its head correctly (as hdparm /dev/hdc causes
ide-cd/cdrom to load - and this causes CDROM to spin up :-( )
So I do not see any reason for doing HDD park by kernel...
Best regards,
Petr Vandrovec
vandrove@vc.cvut.cz
P.S.: AFAIK all IDE disks autopark. At least my 41MB KALOK from 1990
did. Or at least tried...
next reply other threads:[~2001-05-24 13:18 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-05-24 15:16 Petr Vandrovec [this message]
2001-05-24 17:38 ` patch to put IDE drives in sleep-mode after an halt idalton
-- strict thread matches above, loose matches on Subject: below --
2001-05-24 12:29 peter k.
2001-05-24 12:46 ` Adrian V. Bono
2001-05-24 12:59 ` peter k.
2001-05-24 13:18 ` Erik Mouw
2001-05-24 11:03 Rodrigo Ventura
2001-05-24 11:11 ` Russell King
2001-05-24 13:20 ` Erik Mouw
2001-05-24 13:52 ` Rodrigo Ventura
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=3D34A656448@vcnet.vc.cvut.cz \
--to=vandrove@vc.cvut.cz \
--cc=adrianb@ntsp.nec.co.jp \
--cc=linux-kernel@vger.kernel.org \
--cc=spam-goes-to-dev-null@gmx.net \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.