From: Tejun Heo <htejun@gmail.com>
To: Denys Dmytriyenko <denis@denix.org>
Cc: Mark Lord <liml@rtr.ca>, Gabor FUNK <FUNK.Gabor@hunetkft.hu>,
linux-ide@vger.kernel.org, Jim Paris <jim@jtan.com>
Subject: Re: sata_sil24 stability and performance
Date: Fri, 21 Mar 2008 09:18:19 +0900 [thread overview]
Message-ID: <47E2FECB.3080602@gmail.com> (raw)
In-Reply-To: <20080320223736.GA19940@denix.org>
Hello,
Denys Dmytriyenko wrote:
> Thanks for the info. As Gabor suggested, I watched UDMA_CRC_Error_Count and it
> slowly grows only on this particular drive. And here is another recent
> exception for the same drive, which is somewhat strange looking:
>
> Mar 19 22:24:29 [kernel] ata3.00: exception Emask 0x40 SAct 0x3f SErr 0x0 action 0x6 frozen
> Mar 19 22:24:29 [kernel] ata3.00: irq_stat 0x00060002, PRB not on qword boundary
Oh... That means the data structure fed to the controller by the driver
is misaligned which AFAIK can NOT happen. All PRBs are allocated during
controller initialization and they're properly aligned. It could be
that the drive is telling weird things to the controller and got it
confused.
> Mar 19 22:24:31 [kernel] ata3: exception Emask 0x2 SAct 0x0 SErr 0x0 action 0x2
> Mar 19 22:24:31 [kernel] ata3: irq_stat 0x00060002, protocol mismatch
This is controller complaining that what the drive is saying is gibberish.
> Any ieas what this might be? I'll definitely try to replace the cable and see
> what happens.
What happens if you connect the drive to different port on the
controller? Do errors follow the drive?
> BTW, issuing "smartctl -a" on a drive in standby, throws this exception:
>
> Mar 20 18:16:53 [kernel] ata10.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x2 frozen
> Mar 20 18:16:53 [kernel] ata10.00: cmd b0/da:00:00:4f:c2/00:00:00:00:00/00 tag 0 cdb 0x0 data 0
> Mar 20 18:16:53 [kernel] res 40/00:01:00:00:00/00:00:00:00:00/00 Emask 0x4 (timeout)
> Mar 20 18:16:53 [kernel] ata10: soft resetting port
> Mar 20 18:16:54 [kernel] ata10: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
> Mar 20 18:16:54 [kernel] ata10.00: configured for UDMA/100
> Mar 20 18:16:54 [kernel] ata10: EH complete
> Mar 20 18:16:54 [kernel] sd 9:0:0:0: [sdj] 976773168 512-byte hardware sectors (500108 MB)
> Mar 20 18:16:54 [kernel] sd 9:0:0:0: [sdj] Write Protect is off
> Mar 20 18:16:54 [kernel] sd 9:0:0:0: [sdj] Mode Sense: 00 3a 00 00
> Mar 20 18:16:54 [kernel] sd 9:0:0:0: [sdj] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
Which kernel version and how did you put the drive into sleep?
--
tejun
next prev parent reply other threads:[~2008-03-21 0:18 UTC|newest]
Thread overview: 30+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-02-19 2:09 sata_sil24 stability and performance Denys Dmytriyenko
2008-02-19 4:36 ` Jim Paris
2008-02-19 6:39 ` Denys Dmytriyenko
2008-02-19 15:32 ` Mark Lord
2008-03-02 6:14 ` Denys Dmytriyenko
2008-03-02 9:39 ` Gabor FUNK
2008-03-04 0:02 ` Tejun Heo
2008-03-04 0:22 ` Denys Dmytriyenko
2008-03-04 3:28 ` Tejun Heo
2008-03-04 6:29 ` Denys Dmytriyenko
2008-03-05 8:11 ` Tejun Heo
2008-03-06 4:14 ` Denys Dmytriyenko
2008-03-06 4:25 ` Tejun Heo
2008-03-06 6:55 ` Denys Dmytriyenko
2008-03-06 7:08 ` Tejun Heo
2008-03-15 21:43 ` Denys Dmytriyenko
2008-03-17 3:09 ` Mark Lord
2008-03-18 0:15 ` Denys Dmytriyenko
2008-03-18 4:09 ` Tejun Heo
2008-03-18 4:53 ` Denys Dmytriyenko
2008-03-18 6:40 ` Tejun Heo
2008-03-20 22:37 ` Denys Dmytriyenko
2008-03-21 0:18 ` Tejun Heo [this message]
2008-04-14 1:19 ` Denys Dmytriyenko
2008-04-14 2:49 ` Tejun Heo
2008-04-14 10:55 ` Gabor FUNK
2008-03-18 9:14 ` Gabor FUNK
2008-03-18 13:06 ` Gabor FUNK
2008-03-18 20:05 ` Mark Lord
2008-03-18 20:06 ` 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=47E2FECB.3080602@gmail.com \
--to=htejun@gmail.com \
--cc=FUNK.Gabor@hunetkft.hu \
--cc=denis@denix.org \
--cc=jim@jtan.com \
--cc=liml@rtr.ca \
--cc=linux-ide@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;
as well as URLs for NNTP newsgroup(s).