All of lore.kernel.org
 help / color / mirror / Atom feed
* IO_PAGE_FAULT from SATA card during boot
@ 2011-01-29 11:24 Chris Webb
  2011-01-29 16:41 ` Robert Hancock
  0 siblings, 1 reply; 16+ messages in thread
From: Chris Webb @ 2011-01-29 11:24 UTC (permalink / raw)
  To: linux-ide

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]

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.

^ permalink raw reply	[flat|nested] 16+ messages in thread

end of thread, other threads:[~2011-02-21  9:39 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-01-29 11:24 IO_PAGE_FAULT from SATA card during boot Chris Webb
2011-01-29 16:41 ` Robert Hancock
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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.