From: Stefan Richter <stefanr@s5r6.in-berlin.de>
To: dougg@torque.net
Cc: Mi <mi.lists@alma.ch>,
linux1394-devel@lists.sourceforge.net,
linux-scsi@vger.kernel.org
Subject: Re: Maxtor drive doesn't wake from sleep
Date: Wed, 29 Mar 2006 21:20:24 +0200 [thread overview]
Message-ID: <442ADDF8.30209@s5r6.in-berlin.de> (raw)
In-Reply-To: <442AD047.5050002@torque.net>
Douglas Gilbert wrote:
>>Mi wrote at linux1394-devel:
>>>I have 3 external firewire Maxtor One Touch III drives, which appear
>>>to go into a "sleep" state after between one and two hours, and cannot
>>>be accessed after that.
...
>>>I later found scsi-spin which is also able to wake up the drive:
>>> scsi-spin -u /dev/sdd
...
>>>Note that there is absolutely nothing in the logs when the drive goes
>>>to sleep. Only errors when I try to access them:
>>> kernel: Device sdd not ready.
>>> kernel: end_request: I/O error, dev sdd, sector 0
...
> I believe the sd driver should issue a START STOP UNIT
> (start) command when confronted with a "... initializing
> command required" error [sk,asc,ascq: 2,4,2]. It also
> needs to tell the block layer to go away and amuse itself
> while it polls the device until it is ready.
>
> When I suggested this some time ago, the response was that
> whatever app was responsible for stopping the device bore
> the responsibility for spinning it up again (i.e. "not our
> problem").
>
> The power condition state machine of ATA and SCSI differ
> see: http://www.torque.net/sg/power.html
> For devices that use SAT as a guide (and Maxtor seems to be)
> the reported problem is going to become more signficant:
> a) external device decides to spin itself down after
> a period of inactivity
> b) user later accesses mounted file system and sd driver
> receives a "2,4,2" error
Thanks a lot for the pointer. This may indeed become more relevant now,
including SBP-2 enclosures because vendors have mixed IEEE 1394 and
(e)SATA product families now.
Mi, I would be glad to help and implement what Douglas described.
However there is still so much on my sbp2 todo-list that I'm not yet
considering to go hack other drivers.
--
Stefan Richter
-=====-=-==- --== ===-=
http://arcgraph.de/sr/
prev parent reply other threads:[~2006-03-29 19:21 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <442AB4A8.8070307@alma.ch>
2006-03-29 17:31 ` Maxtor drive doesn't wake from sleep Stefan Richter
2006-03-29 18:21 ` Douglas Gilbert
2006-03-29 19:20 ` Stefan Richter [this message]
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=442ADDF8.30209@s5r6.in-berlin.de \
--to=stefanr@s5r6.in-berlin.de \
--cc=dougg@torque.net \
--cc=linux-scsi@vger.kernel.org \
--cc=linux1394-devel@lists.sourceforge.net \
--cc=mi.lists@alma.ch \
/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