From: Mark Lord <liml@rtr.ca>
To: Ryan Power <rpower@sysreset.com>
Cc: jgarzik@pobox.com, linux-ide@vger.kernel.org,
Tejun Heo <htejun@gmail.com>
Subject: Re: Spinup command fails on WD3200JS
Date: Fri, 13 Jul 2007 21:35:49 -0400 [thread overview]
Message-ID: <46982875.60503@rtr.ca> (raw)
In-Reply-To: <6.2.0.14.2.20070713184231.02db2d20@linux.sysreset.com>
Ryan Power wrote:
> Here's the section with the modifications you requested:
..
> The same section with "if (err_mask && id[2] != 0x738c)" in place of the
> previous modification:
> [ 2.216000] scsi0 : sata_sil
> [ 2.216000] scsi1 : sata_sil
> [ 2.216000] ata1: SATA max UDMA/100 cmd 0xf880c080 ctl 0xf880c08a
> bmdma 0xf880c000 irq 16
> [ 2.216000] ata2: SATA max UDMA/100 cmd 0xf880c0c0 ctl 0xf880c0ca
> bmdma 0xf880c008 irq 16
> [ 2.684000] ata1: SATA link up 1.5 Gbps (SStatus 113 SControl 310)
> [ 2.692000] ata1.00: ATA-7: Maxtor 6L320S0, BACE1G20, max UDMA/133
> [ 2.692000] ata1.00: 625142448 sectors, multi 16: LBA48 NCQ (depth 0/32)
> [ 2.708000] ata1.00: configured for UDMA/100
> [ 3.176000] ata2: SATA link up 1.5 Gbps (SStatus 113 SControl 310)
> [ 10.944000] id[2]=0x37c8
Okay, above we can see the drive requires a spin-up command,
which now gets issued, and then we loop to retry the IDENTIFY.
> [ 10.964000] ata2.00: ATA-7: WDC WD3200JS-57PDB0, 21.00M21, max UDMA/133
> [ 10.964000] ata2.00: 625142448 sectors, multi 0: LBA48 NCQ (depth 0/1)
> [ 10.972000] id[2]=0x738c
> [ 10.972000] ata2.00: configured for UDMA/100
There we can see that, after the spin-up command, the IDENTIFY succeeds,
and the new signature value of 0x728c indicates that full IDENTIFY data
is now present. So we can just continue at that point.
Good!
Now.. time to get your name in lights and all that!
Would you like to package up that new if-stmt (below)
as a nice and proper kernel patch? Just follow the advice
in the SubmittingPatches file, or model things after other
patches you've seen here, and post the result with a
proper Signed-Off-By line, and I'll ack it.
if (err_mask && id[2] != 0x738c)
Or leave it to me, and I'll steal your fame and fortune! :)
Cheers
Thanks Ryan!
next prev parent reply other threads:[~2007-07-14 1:35 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-07-13 6:14 Spinup command fails on WD3200JS Ryan Power
2007-07-13 9:21 ` Tejun Heo
2007-07-13 12:53 ` Mark Lord
2007-07-14 0:55 ` Ryan Power
2007-07-14 1:35 ` Mark Lord [this message]
2007-07-16 3:28 ` [PATCH 2.6.22.1] libata: Adjust libata to ignore errors after spinup Ryan Power
2007-07-16 23:07 ` Mark Lord
2007-07-16 23:15 ` Mark Lord
2007-07-16 23:19 ` Mark Lord
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=46982875.60503@rtr.ca \
--to=liml@rtr.ca \
--cc=htejun@gmail.com \
--cc=jgarzik@pobox.com \
--cc=linux-ide@vger.kernel.org \
--cc=rpower@sysreset.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).