linux-ide.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Torsten Kaiser <just.for.lkml@googlemail.com>
To: Tejun Heo <tj@kernel.org>
Cc: linux-kernel@vger.kernel.org, Jeff Garzik <jgarzik@pobox.com>,
	linux-ide@vger.kernel.org, Robert Hancock <hancockrwd@gmail.com>
Subject: Re: MSI broken in libata?
Date: Mon, 11 Jan 2010 07:44:51 +0100	[thread overview]
Message-ID: <64bb37e1001102244mbb77e9bg2257aec34d653dc3@mail.gmail.com> (raw)
In-Reply-To: <4B4A7BC7.6060106@kernel.org>

On Mon, Jan 11, 2010 at 2:15 AM, Tejun Heo <tj@kernel.org> wrote:
> On 01/10/2010 01:33 PM, Torsten Kaiser wrote:
>> I did try the patch from Robert Hancock in
>> http://lkml.org/lkml/2010/1/6/417 ,but without success.
>>
>> if you need any more information, or have something for me to try,
>> please just ask. I did look at the code and the documentation about
>> enabling MSI, but did not see anything (obvious) wrong, so I don't
>> know what to try next.
>
> Can you please try the attached patch?

Yes, but as expected it does not change the result.

After applying the patch and doing a test write, I got the following
error messages:
[   89.950055] ata2.00: exception Emask 0x0 SAct 0x1 SErr 0x0 action 0x6 frozen
[   89.960910] ata2.00: failed command: WRITE FPDMA QUEUED
[   89.969853] ata2.00: cmd 61/00:00:fd:27:3e/04:00:01:00:00/40 tag 0
ncq 524288 out
[   89.969855]          res 40/00:00:00:00:00/00:00:00:00:00/00 Emask
0x4 (timeout)
[   89.992210] ata2.00: status: { DRDY }
[   89.999569] ata2: hard resetting link
[   92.190069] ata2: SATA link up 3.0 Gbps (SStatus 123 SControl 0)
[   97.190041] ata2.00: qc timeout (cmd 0xec)
[   97.197898] ata2.00: failed to IDENTIFY (I/O error, err_mask=0x5)
[   97.207622] ata2.00: revalidation failed (errno=-5)
[   97.216094] ata2: hard resetting link
[   99.410049] ata2: SATA link up 3.0 Gbps (SStatus 123 SControl 0)
[  109.410027] ata2.00: qc timeout (cmd 0xec)
[  109.417694] ata2.00: failed to IDENTIFY (I/O error, err_mask=0x5)
[  109.427351] ata2.00: revalidation failed (errno=-5)
[  109.435733] ata2: limiting SATA link speed to 1.5 Gbps
[  109.444384] ata2: hard resetting link
[  111.640049] ata2: SATA link up 1.5 Gbps (SStatus 113 SControl 10)
[  141.640029] ata2.00: qc timeout (cmd 0xec)
[  141.647650] ata2.00: failed to IDENTIFY (I/O error, err_mask=0x5)
[  141.657255] ata2.00: revalidation failed (errno=-5)
[  141.665577] ata2.00: disabled
[  141.671956] ata2.00: device reported invalid CHS sector 0
[  141.680792] ata2: hard resetting link
[  143.880049] ata2: SATA link up 1.5 Gbps (SStatus 113 SControl 10)
[  143.880065] ata2: EH complete
[  143.880096] sd 1:0:0:0: [sdb] Unhandled error code
[  143.880099] sd 1:0:0:0: [sdb] Result: hostbyte=DID_BAD_TARGET
driverbyte=DRIVER_OK
[  143.880106] sd 1:0:0:0: [sdb] CDB: Write(10): 2a 00 01 3e 27 fd 00 04 00 00
[  143.880121] end_request: I/O error, dev sdb, sector 20850685

The last error gets repeated for different sectors, then the xfs
filesystem shuts itself down.

Torsten

      parent reply	other threads:[~2010-01-11  6:44 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-12-25  9:22 MSI broken in libata? Torsten Kaiser
2010-01-09  9:11 ` Tejun Heo
2010-01-10  4:33   ` Torsten Kaiser
2010-01-11  1:15     ` Tejun Heo
2010-01-11  1:39       ` Robert Hancock
2010-01-11  2:17         ` Tejun Heo
2010-01-16 21:58         ` Torsten Kaiser
2010-01-17 19:22           ` Robert Hancock
2010-01-17 21:11             ` Torsten Kaiser
2010-01-18 20:51               ` Torsten Kaiser
2010-01-19  2:03                 ` Robert Hancock
2010-01-19  7:00                   ` Torsten Kaiser
2010-01-19 20:20                   ` Torsten Kaiser
2010-01-20  3:00                     ` Robert Hancock
2010-01-20  6:48                       ` Torsten Kaiser
2010-01-22  0:53                         ` Robert Hancock
2010-01-11  6:44       ` Torsten Kaiser [this message]

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=64bb37e1001102244mbb77e9bg2257aec34d653dc3@mail.gmail.com \
    --to=just.for.lkml@googlemail.com \
    --cc=hancockrwd@gmail.com \
    --cc=jgarzik@pobox.com \
    --cc=linux-ide@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=tj@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).