From: Tejun Heo <htejun@gmail.com>
To: Ryan Power <rpower@sysreset.com>
Cc: jgarzik@pobox.com, linux-ide@vger.kernel.org,
Mark Lord <mlord@pobox.com>
Subject: Re: Spinup command fails on WD3200JS
Date: Fri, 13 Jul 2007 18:21:43 +0900 [thread overview]
Message-ID: <46974427.5090801@gmail.com> (raw)
In-Reply-To: <6.2.0.14.2.20070713000748.031a2660@linux.sysreset.com>
Mark?
Ryan Power wrote:
> Hi.
> I've run into a problem with the lastest kernel (2.6.22.1) and a drive
> set to spinup on set_features.
>
> hdparm reports:
> /dev/sdf:
>
> ATA device, with non-removable media
> powers-up in standby; SET FEATURES subcmd spins-up.
> Model Number: WDC WD3200JS-57PDB0
> Serial Number: X
> Firmware Revision: 21.00M21
> ...
> Commands/features:
> Enabled Supported:
> * Power-Up In Standby feature set
> * SET_FEATURES required to spinup after power up
> ...
>
> I get the following messages when booting:
> Jul 12 23:47:22 sysreset kernel: ata6: SATA link up 1.5 Gbps (SStatus
> 113 SControl 300)
> Jul 12 23:47:22 sysreset kernel: ata6.00: ATA-7: WDC WD3200JS-57PDB0,
> 21.00M21, max UDMA/133
> Jul 12 23:47:22 sysreset kernel: ata6.00: 625142448 sectors, multi 0:
> LBA48 NCQ (depth 1)
> Jul 12 23:47:22 sysreset kernel: ata6.00: failed to IDENTIFY (SPINUP
> failed, err_mask=0x1)
> Jul 12 23:47:22 sysreset kernel: ata6.00: revalidation failed (errno=-5)
> Jul 12 23:47:22 sysreset kernel: ata6: failed to recover some devices,
> retrying in 5 secs
> Jul 12 23:47:22 sysreset kernel: ata6: SATA link up 1.5 Gbps (SStatus
> 113 SControl 300)
> Jul 12 23:47:22 sysreset kernel: ata6.00: failed to IDENTIFY (SPINUP
> failed, err_mask=0x1)
> Jul 12 23:47:22 sysreset kernel: ata6.00: revalidation failed (errno=-5)
> Jul 12 23:47:22 sysreset kernel: ata6.00: limiting speed to UDMA/133:PIO3
> Jul 12 23:47:22 sysreset kernel: ata6: failed to recover some devices,
> retrying in 5 secs
> Jul 12 23:47:22 sysreset kernel: ata6: SATA link up 1.5 Gbps (SStatus
> 113 SControl 300)
> Jul 12 23:47:22 sysreset kernel: ata6.00: failed to IDENTIFY (SPINUP
> failed, err_mask=0x1)
> Jul 12 23:47:22 sysreset kernel: ata6.00: revalidation failed (errno=-5)
> Jul 12 23:47:22 sysreset kernel: ata6.00: disabled
>
> The interesting thing is that after displaying that, the drive has in
> fact spun up. I'm not sure why it's getting an error returned, but
> chaning the err_mask line to read "if (err_mask && err_mask != 0x01)"
> corrects the problem and the drive spins up and ID's normally:
> ata6: SATA link up 1.5 Gbps (SStatus 113 SControl 300)
> ata6.00: ATA-7: WDC WD3200JS-57PDB0, 21.00M21, max UDMA/133
> ata6.00: 625142448 sectors, multi 0: LBA48 NCQ (depth 1)
> ata6.00: configured for UDMA/133
>
> If you'd like me to do any more testing or need more information from me
> please let me know.
> Thank you.
--
tejun
next prev parent reply other threads:[~2007-07-13 9:21 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 [this message]
2007-07-13 12:53 ` Mark Lord
2007-07-14 0:55 ` Ryan Power
2007-07-14 1:35 ` Mark Lord
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=46974427.5090801@gmail.com \
--to=htejun@gmail.com \
--cc=jgarzik@pobox.com \
--cc=linux-ide@vger.kernel.org \
--cc=mlord@pobox.com \
--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).