From: Jim Paris <jim@jtan.com>
To: Tejun Heo <htejun@gmail.com>
Cc: mail@philipp-wagner.com, linux-ide@vger.kernel.org,
jeff@garzik.org, justin@jmicron.com
Subject: Re: [PATCH] libata: lengthen interval between SRST set and clear
Date: Thu, 28 Sep 2006 04:34:30 -0400 [thread overview]
Message-ID: <20060928083430.GA18596@jim.sh> (raw)
In-Reply-To: <20060928080442.GJ25800@htj.dyndns.org>
Tejun Heo wrote:
> Jim, can you please test the following patch? It only adds
> ATA_FLAG_HRST_TO_RESUME.
Yes, just ATA_FLAG_HRST_TO_RESUME also works fine:
Unplug:
[ 220.354520] ata3: exception Emask 0x10 SAct 0x0 SErr 0x1810000 action 0x2 frozen
[ 220.354591] ata3: hard resetting port
[ 221.075828] ata3: SATA link down (SStatus 0 SControl 300)
[ 221.075833] ata3: failed to recover some devices, retrying in 5 secs
[ 226.080467] ata3: hard resetting port
[ 226.804116] ata3: SATA link down (SStatus 0 SControl 300)
[ 226.804121] ata3: failed to recover some devices, retrying in 5 secs
[ 231.805716] ata3: hard resetting port
[ 232.529366] ata3: SATA link down (SStatus 0 SControl 300)
[ 232.529373] ata3.00: disabled
[ 233.033123] ata3: EH pending after completion, repeating EH (cnt=4)
[ 233.033133] ata3: EH complete
[ 233.033141] ata3.00: detaching (SCSI 2:0:0:0)
Replug:
[ 247.048727] ata3: exception Emask 0x10 SAct 0x0 SErr 0x150000 action 0x2 frozen
[ 247.048798] ata3: hard resetting port
[ 253.867127] ata3: SATA link up 1.5 Gbps (SStatus 113 SControl 300)
[ 253.867930] ata3.00: ATA-7, max UDMA/133, 625142448 sectors: LBA48 NCQ (depth 0/32)
[ 253.868982] ata3.00: configured for UDMA/133
[ 253.868986] ata3: EH pending after completion, repeating EH (cnt=4)
[ 253.868994] ata3: EH complete
[ 253.869342] Vendor: ATA Model: ST3320620AS Rev: 3.AA
[ 253.869351] Type: Direct-Access ANSI SCSI revision: 05
[ 253.869507] SCSI device sdc: 625142448 512-byte hdwr sectors (320073 MB)
[ 253.869737] sdc: Write Protect is off
[ 253.869740] sdc: Mode Sense: 00 3a 00 00
[ 253.869931] SCSI device sdc: drive cache: write back
[ 253.870082] SCSI device sdc: 625142448 512-byte hdwr sectors (320073 MB)
[ 253.870189] sdc: Write Protect is off
[ 253.870192] sdc: Mode Sense: 00 3a 00 00
[ 253.870372] SCSI device sdc: drive cache: write back
[ 253.870378] sdc: sdc1
[ 253.887285] sd 2:0:0:0: Attached scsi disk sdc
Thanks,
-jim
next prev parent reply other threads:[~2006-09-28 8:35 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-09-27 8:20 sata_nv hotplug in 2.6.18 Jim Paris
2006-09-28 5:14 ` [PATCH] libata: lengthen interval between SRST set and clear Tejun Heo
2006-09-28 6:23 ` Jim Paris
2006-09-28 8:04 ` Tejun Heo
2006-09-28 8:34 ` Jim Paris [this message]
2006-09-28 8:49 ` [PATCH] sata_nv: SRST sometimes fails after hotplug, use HRST_TO_RESUME Tejun Heo
2006-11-01 5:14 ` Jeff Garzik
-- strict thread matches above, loose matches on Subject: below --
2006-09-28 8:52 [PATCH] libata: lengthen interval between SRST set and clear justin
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=20060928083430.GA18596@jim.sh \
--to=jim@jtan.com \
--cc=htejun@gmail.com \
--cc=jeff@garzik.org \
--cc=justin@jmicron.com \
--cc=linux-ide@vger.kernel.org \
--cc=mail@philipp-wagner.com \
/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).