All of lore.kernel.org
 help / color / mirror / Atom feed
From: Tejun Heo <htejun@gmail.com>
To: Dark Sylinc <dark_sylinc@yahoo.com.ar>
Cc: linux-ide@vger.kernel.org, hmh@debian.org
Subject: Re: SATA Shutdown issue confuses (sda)
Date: Thu, 29 Nov 2007 11:23:50 +0900	[thread overview]
Message-ID: <474E22B6.2020304@gmail.com> (raw)
In-Reply-To: <21360.16619.qm@web56311.mail.re3.yahoo.com>

Dark Sylinc wrote:
> So you're saying:
> 1) Don't spin down to avoid the problem

Yes.

> 2) Flush cache solves the problem

No.

> I'm seeing:
> 1) The hdd is not spun down by shutdown and the
> problem persists
> 2) By spinning down /dev/sdX in shutdown(8) the
> problem disappears. Flush cache doesn't seem to
> influence the emergency shutdown problem.
> 
> That's why I'm confused.
> May be I've missed something in the code.

If I and you are looking at the same patch, you're misreading the
patch.  From the patch description...

 I'm attaching a patch that fixes it. It basically follows
 http://linux-ata.org/shutdown.html and *SKIPS* the drive shutdown when
 the respective /sys/block/sdX/device/scsi_disk:*/manage_start_stop
 exists (leaving it for the kernel to do).

>> So, the patch isn't in the package yet?
> 
> I checked yesterday both Debian's unstable and
> testing, and the patch wasn't there.

Eeeeekk....

-- 
tejun

  reply	other threads:[~2007-11-29  2:23 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-11-27 20:08 SATA Shutdown issue confuses (sda) Dark Sylinc
2007-11-28  3:07 ` Tejun Heo
2007-11-28 20:02   ` Dark Sylinc
2007-11-29  1:04     ` Tejun Heo
2007-11-29  2:17       ` Dark Sylinc
2007-11-29  2:23         ` Tejun Heo [this message]
2007-11-29  3:49           ` Dark Sylinc

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=474E22B6.2020304@gmail.com \
    --to=htejun@gmail.com \
    --cc=dark_sylinc@yahoo.com.ar \
    --cc=hmh@debian.org \
    --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 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.