From: "Bruno Prémont" <bonbons@linux-vserver.org>
To: Tejun Heo <htejun@gmail.com>
Cc: Linux IDE <linux-ide@vger.kernel.org>,
Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>,
Jeff Garzik <jeff@garzik.org>,
Linux Kernel <linux-kernel@vger.kernel.org>,
Linux SCSI <linux-scsi@vger.kernel.org>
Subject: Re: [PATCH 1/2] ide: Stop disks on reboot for laptop which cuts power
Date: Mon, 20 Apr 2009 10:28:26 +0200 [thread overview]
Message-ID: <20090420102826.5184f3fe@pluto.restena.lu> (raw)
In-Reply-To: <49EC299D.5020102@gmail.com>
On Mon, 20 Apr 2009 16:51:57 Tejun Heo <htejun@gmail.com> wrote:
> Bruno Prémont wrote:
> > My laptop (Acer Travelmate 660) always cuts the power when rebooting
> > which causes the disk to emergency-park it's head.
> >
> > Add a dmi check to stop disk as for shutdown on this laptop.
>
> Hmm... yeah, I also noticed this behavior on several machines I have
> here. Most were beta BIOSen.
>
> Maybe it's worth to shutdown drives on reboot on all machines?
>
> Thanks.
I will check how my other machines behave but I don't remember such a
power-down behavior.
Except for a spin-down - spin-up cycle a generalization should not
cause troubles though. (I vaguely remember seeing different reboot
modes in kernel code - as in colder or hotter reboots - these might
also change BIOS behavior where the different modes are implemented
and thus cause disk stopping to be needed)
Possibly it depends very much how the power is connected, e.g. desktop
boxes with ATX power-supply probably never tell the power-supply to cut
the power but laptop may behave differently with regard to their
built-in DC-DC converters (disks connected to mainboard versus disks
directly connected to power supply).
What I was also wondering whether the list of machines to which
to apply the quirk should be moved to a common location so it exists
only once for ide and scsi/ata instead of once on each side.
Having the list exactly once avoids the risk for content to drift
between ide and scsi/ata.
Bruno
--
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
next prev parent reply other threads:[~2009-04-20 8:28 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-04-18 10:44 [PATCH 0/2] Stop disks on reboot for laptop which cuts power Bruno Prémont
2009-04-18 10:45 ` [PATCH 1/2] ide: " Bruno Prémont
2009-04-20 7:51 ` Tejun Heo
2009-04-20 8:28 ` Bruno Prémont [this message]
2009-04-20 8:35 ` Tejun Heo
2009-04-22 18:28 ` Bartlomiej Zolnierkiewicz
2009-04-18 10:47 ` [PATCH 2/2] sd: " Bruno Prémont
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=20090420102826.5184f3fe@pluto.restena.lu \
--to=bonbons@linux-vserver.org \
--cc=bzolnier@gmail.com \
--cc=htejun@gmail.com \
--cc=jeff@garzik.org \
--cc=linux-ide@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-scsi@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).