All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Pádraig Brady" <P@draigBrady.com>
To: Alan Stern <stern@rowland.harvard.edu>
Cc: linux-pm@lists.linux-foundation.org
Subject: Re: [RFC] Disable disk spinup during system resume
Date: Thu, 21 Jul 2011 17:18:11 +0100	[thread overview]
Message-ID: <4E285143.1000902@draigBrady.com> (raw)
In-Reply-To: <Pine.LNX.4.44L0.1107211045480.3132-100000@iolanthe.rowland.org>

On 21/07/11 15:49, Alan Stern wrote:
> On Thu, 21 Jul 2011, Pádraig Brady wrote:
> 
>> Hi,
>>
>> I have a secondary sata disk (sda)  in my system that
>> I would like not to spinup on resume.


>> I tried this to no avail:
>>
>>   echo 0 > /sys/block/sda/device/scsi_disk/*/manage_start_stop


> Try adding a dump_stack() line to 
> drivers/scsi/sd.c:sd_start_stop_device() and see what shows up in the 
> kernel log.

Tried that, and nothing is calling it for sda
(There were calls for sdb of course).
So it seems like something lower level :(
I'll keep digging.

cheers,
Pádraig.
_______________________________________________
linux-pm mailing list
linux-pm@lists.linux-foundation.org
https://lists.linux-foundation.org/mailman/listinfo/linux-pm

  reply	other threads:[~2011-07-21 16:18 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-07-20 23:42 [RFC] Disable disk spinup during system resume Pádraig Brady
2011-07-21 14:49 ` Alan Stern
2011-07-21 16:18   ` Pádraig Brady [this message]
2011-07-21 16:49     ` Alan Stern
2011-07-22  9:04       ` Pádraig Brady
2011-07-22 14:05         ` [linux-pm] " Alan Stern
2011-07-22 15:50           ` Pádraig Brady
2011-07-22 17:38             ` Douglas Gilbert
2011-07-22 17:38             ` [linux-pm] " Douglas Gilbert
2011-07-22 18:03               ` Pádraig Brady
2011-07-22 18:03               ` Pádraig Brady
2011-07-22 15:50           ` Pádraig Brady
2011-07-22 14:05         ` Alan Stern

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=4E285143.1000902@draigBrady.com \
    --to=p@draigbrady.com \
    --cc=linux-pm@lists.linux-foundation.org \
    --cc=stern@rowland.harvard.edu \
    /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.