linux-ide.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Robert Hancock <hancockrwd@gmail.com>
To: Chris Webb <chris.webb@elastichosts.com>
Cc: linux-ide@vger.kernel.org
Subject: Re: IO_PAGE_FAULT from SATA card during boot
Date: Sat, 29 Jan 2011 10:41:35 -0600	[thread overview]
Message-ID: <4D44433F.1040607@gmail.com> (raw)
In-Reply-To: <20110129112456.GA13204@arachsys.com>

On 01/29/2011 05:24 AM, Chris Webb wrote:
> I have several Supermicro H8DGT-HF motherboards (BIOS version 1.1) with Star
> Tech PEXSAT32 PCI Express SATA cards attached, and am seeing an
> IO_PAGE_FAULT during boot corresponding to this card:
>
>    IO_PAGE_FAULT device=03:00.1 domain=0x0000 address=0x00000000000403c0 flags=0x0050]

What's that device 03:00.1? The AHCI controller itself seems to be 
03:00.0. Can you post the lspci -v output? Though it could be that maybe 
the IOMMU can't tell functions on the same device apart, not sure.

Given that the onboard AHCI controller is working but this one is not, 
it could be that the controller is doing some unexpected read request 
somewhere..

>
> The card later times out when the kernel tries to access the drives:
>
>    ata6.00: qc timeout (cmd 0xec)
>    ata12.00: qc timeout (cmd 0xa1)
>    ata12.00: failed to IDENTIFY (I/O error, err_mask=0x4)
>    ata12: SATA link up 1.5 Gbps (SStatus 113 SControl 300)
>    ata6.00: failed to IDENTIFY (I/O error, err_mask=0x4)
>    ata6: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
>    ata12.00: qc timeout (cmd 0xa1)
>    ata12.00: failed to IDENTIFY (I/O error, err_mask=0x4)
>    ata12: limiting SATA link speed to 1.5 Gbps
>    ata12: SATA link up 1.5 Gbps (SStatus 113 SControl 310)
>    ata6.00: qc timeout (cmd 0xec)
>    ata6.00: failed to IDENTIFY (I/O error, err_mask=0x4)
>    ata6: limiting SATA link speed to 1.5 Gbps
>    ata6: SATA link up 3.0 Gbps (SStatus 123 SControl 310)
>    ata12.00: qc timeout (cmd 0xa1)
>    ata12.00: failed to IDENTIFY (I/O error, err_mask=0x4)
>    ata12: SATA link up 1.5 Gbps (SStatus 113 SControl 310)
>    ata6.00: qc timeout (cmd 0xec)
>    ata6.00: failed to IDENTIFY (I/O error, err_mask=0x4)
>    ata6: SATA link up 3.0 Gbps (SStatus 123 SControl 310)
>
> I first saw this with a 2.6.32.25 kernel, but get identical behaviour with
> the latest 2.6.37. The kernel config I'm using with 2.6.37 is here:
>
>    http://cdw.me.uk/tmp/sata-fault.config
>
> with a full dmesg and dmidecode output here:
>
>    http://cdw.me.uk/tmp/sata-fault.dmesg
>    http://cdw.me.uk/tmp/sata-fault.dmi
>
> Because I initially believed this might be a problem with the ACPI table on the
> IOMMU driver, as similar issues have come up with other boards (and very
> similar symptoms) recently, I've added amd_iommu_dump to the kernel command
> line, so there's dump info in that dmesg. However, Joerg Roedel, the IOMMU
> driver maintainer, tells me that the IOMMU ACPI table is fine in this case and
> the problem is a different one:
>
> Joerg Roedel<Joerg.Roedel@amd.com>  writes:
>
>> The flags indicate that the device tried to read an address which is
>> only mapped writable for the device.
>> It is at least no BIOS issue, both devices (3:00.0 and 3:00.1) are
>> listed in the ACPI table as indicated by these messages:
>>
>>          AMD-Vi:   DEV_SELECT                     devid: 03:00.0 flags: 00
>>          AMD-Vi:   DEV_SELECT                     devid: 03:00.1 flags: 00
>>
>> This looks like a bug in the driver for your SATA add-on card. It
>> probably requests a DMA buffer with the wrong direction parameter.
>
> I think both the onboard cards (which work) and the PCI Express card (which
> doesn't) use the ahci driver in this case. Any advice would be very gratefully
> received!
>
> Best wishes,
>
> Chris.
> --
> To unsubscribe from this list: send the line "unsubscribe linux-ide" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
>


  reply	other threads:[~2011-01-29 16:41 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-01-29 11:24 IO_PAGE_FAULT from SATA card during boot Chris Webb
2011-01-29 16:41 ` Robert Hancock [this message]
2011-01-30  1:54   ` Chris Webb
2011-01-30 15:37     ` Robert Hancock
2011-02-02 13:56       ` Chris Webb
2011-02-03  0:49         ` Robert Hancock
2011-02-03  8:56           ` Chris Webb
2011-02-07 17:48             ` Chris Webb
2011-02-08  2:04               ` Robert Hancock
2011-02-08 10:41                 ` Roedel, Joerg
2011-02-08 11:00                   ` Chris Webb
2011-02-08 14:43                     ` Robert Hancock
2011-02-08 14:48                       ` Chris Webb
2011-02-17  9:40                         ` Chris Webb
2011-02-18  0:22                           ` Robert Hancock
2011-02-21  9:39                             ` Roedel, Joerg

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=4D44433F.1040607@gmail.com \
    --to=hancockrwd@gmail.com \
    --cc=chris.webb@elastichosts.com \
    --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).