From: Andrew Henry <adhenry@bredband.net>
To: linux-kernel@vger.kernel.org, linux-ide@vger.kernel.org
Subject: Re: 2.6.25: sata_sil freezes, hard resets port.
Date: Fri, 30 May 2008 10:26:03 +0200 [thread overview]
Message-ID: <483FBA1B.3020505@bredband.net> (raw)
>>ATA drives are supposed to wake up from standby on command issue and
>>from sleep on reset. Does the drive spin up while sata_sil is trying
>>to reset the port? Also, please post the result of 'hdparm -I
>>/dev/sdX' where sdX is the offending drive.
>>--
>>tejun
Here is the output from hdparm -I /dev/sdb. The output is the same for both drives.
I just want to re-state that it's not just when drives spindown. Happens on hotplug or cold boot also.
As for what happens when I try to access the drives when they have spun down:
- drives are asleep
- i run fdisk -l
- drive on port 1 spins up and LED for that port lights up
- it waits 60s then the LED *should* turn off, but many times, at this point the port will hang: LED is always on
- LED on port 2 lights up, drive spins up, after 60s fdisk reports full output for drives and returns to prompt
- port 1 is still hung. I remove cable and plug it in again, no effect
- fdisk -l makes port 2 LED flash briefly and reports one of the eSATA drives connected. port 1 LED does not flash
- unplug port 1 cable and disconnect power to drive; power drive and connect cable: drive is redetected and fdisk reports 2 drives
it is not always the same port that hangs, it seems random.
/dev/sdb:
ATA device, with non-removable media
Model Number: WD My Book
Serial Number: WD-WCASU0206873
Firmware Revision: 01.01B01
Standards:
Used: ATA/ATAPI-6 T13 1410D revision 1
Supported: 6 5 4
Configuration:
Logical max current
cylinders 16383 16383
heads 16 16
sectors/track 63 63
--
CHS current addressable sectors: 16514064
LBA user addressable sectors: 268435455
LBA48 user addressable sectors: 976773168
device size with M = 1024*1024: 476940 MBytes
device size with M = 1000*1000: 500107 MBytes (500 GB)
Capabilities:
LBA, IORDY(cannot be disabled)
Queue depth: 1
Standby timer values: spec'd by Vendor, with device specific minimum
R/W multiple sector transfer: Max = 1 Current = 0
DMA: mdma0 mdma1 mdma2 udma0 udma1 udma2 udma3 udma4 *udma5 udma6
Cycle time: min=120ns recommended=120ns
PIO: pio0 pio1 pio2 pio3 pio4
Cycle time: no flow control=120ns IORDY flow control=120ns
Commands/features:
Enabled Supported:
* SMART feature set
* Power Management feature set
* Write cache
* 48-bit Address feature set
* Mandatory FLUSH_CACHE
* FLUSH_CACHE_EXT
* SMART self-test
* SATA-I signaling speed (1.5Gb/s)
* SATA-II signaling speed (3.0Gb/s)
* Native Command Queueing (NCQ)
--andrew
next reply other threads:[~2008-05-30 8:26 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-05-30 8:26 Andrew Henry [this message]
-- strict thread matches above, loose matches on Subject: below --
2008-05-29 15:01 2.6.25: sata_sil freezes, hard resets port Henry, Andrew
2008-05-30 5:15 ` Tejun Heo
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=483FBA1B.3020505@bredband.net \
--to=adhenry@bredband.net \
--cc=linux-ide@vger.kernel.org \
--cc=linux-kernel@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