Robert Cicconetti, thank you for reporting this and helping make Ubuntu better. 
Please execute the following command, as it will automatically gather debugging 
information, in a terminal:
apport-collect 1089768
When reporting bugs in the future please use apport by using 'ubuntu-bug' and 
the name of the package affected. You can learn more about this functionality 
at https://wiki.ubuntu.com/ReportingBugs.

As well, could you please test the latest upstream kernel available 
(v3.7-raring) following https://wiki.ubuntu.com/KernelMainlineBuilds ? It will 
allow additional upstream developers to examine the issue. Please do not test 
the kernel in the mainline kernels archive directory daily folder, but the one 
all the way at the bottom. Once you've tested the upstream kernel, please 
comment on which kernel version specifically you tested. If this bug is fixed 
in the mainline kernel, please add the following tags:
kernel-fixed-upstream
kernel-fixed-upstream-VERSION-NUMBER

where VERSION-NUMBER is the version number of the kernel you tested. For 
example:
kernel-fixed-upstream-v3.7

This can be done by clicking on the yellow circle with a black pencil icon next 
to the word Tags located at the bottom of the bug description. As well, please 
remove the tag:
needs-upstream-testing

If the mainline kernel does not fix this bug, please add the following tags:
kernel-bug-exists-upstream
kernel-bug-exists-upstream-VERSION-NUMBER

As well, please remove the tag:
needs-upstream-testing

If you are unable to test the mainline kernel, please comment as to why 
specifically you were unable to test it and add the following tags:
kernel-unable-to-test-upstream
kernel-unable-to-test-upstream-VERSION-NUMBER

Once testing of the upstream kernel is complete, please mark this bug's
Status as Confirmed. Please let us know your results. Thank you for your
understanding.

Helpful bug reporting tips:
https://help.ubuntu.com/community/ReportingBugs

** Changed in: linux (Ubuntu)
   Importance: Undecided => Medium

** Changed in: linux (Ubuntu)
       Status: Confirmed => Incomplete

** Tags removed: iommu kernel-bug marvell sata
** Tags added: needs-kernel-logs needs-upstream-testing

** Description changed:

  This bug is to confirm that the Marvell 88SE9128 chipset bug presents
  under AMD's IOMMU implementation as well as Intel's VT-D. I've tested
  this with a Syba SD-PEX40035 and a Highpoint Rocket 620 (both use the
  same Marvell chipset) PCIe card, under both the stock Quantal kernel and
- the 3.7.0rc8 kernel from the mainline kernel PPA. Both cards work fine
- as long as I disable the IOMMU in the bios. It sounds like the preferred
- solution is PCI quirk, and some of the infrastructure is in place, but
- it hasn't been implemented yet. Symptoms consist of a much longer boot
- process, and failure to identify any devices attached to the Marvell
- controllers.
+ the 3.7.0rc8 kernel from the mainline kernel PPA. It sounds like the
+ preferred solution is PCI quirk, and some of the infrastructure is in
+ place, but it hasn't been implemented yet. Symptoms consist of a much
+ longer boot process, and failure to identify any devices attached to the
+ Marvell controllers.
+ 
+ WORKAROUND: Works fine as long as I disable the IOMMU in the BIOS.
  
  My system consists of an AMD A10-5800K in a Gigabyte GA-F2A85X-D3H
  motherboard, 5x Seagate 1.5 TB drives in software Raid5, 4x Seagate 3 TB
  drives in a native ZFS raidz (not yet used), a Sata BD-ROM, and a 500 GB
  sata drive (not yet used).
  
  https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1005226
  http://lists.linuxfoundation.org/pipermail/iommu/2012-September/004551.html
  https://bugzilla.kernel.org/show_bug.cgi?id=42679
  https://bugzilla.redhat.com/show_bug.cgi?id=757166
  
  pci 02:00.1 is the IDE endpoint, but there are no PATA devices in the
  system, which matches the behavior of the other chips (emitting DMA
  operations from the wrong PCI endpoint, which the IOMMU rejects.)
  
  ##########################################################
  02:00.1 IDE interface: Marvell Technology Group Ltd. 88SE9128 IDE Controller 
(rev 11) (prog-if 8f [Master SecP SecO PriP PriO])
-         Subsystem: Marvell Technology Group Ltd. 88SE9128 IDE Controller
-         Flags: bus master, fast devsel, latency 0, IRQ 18
-         I/O ports at d040 [size=8]
-         I/O ports at d030 [size=4]
-         I/O ports at d020 [size=8]
-         I/O ports at d010 [size=4]
-         I/O ports at d000 [size=16]
-         Memory at fea20000 (32-bit, non-prefetchable) [size=16]
-         Expansion ROM at fea00000 [disabled] [size=64K]
-         Capabilities: [40] Power Management version 3
-         Capabilities: [50] MSI: Enable- Count=1/1 Maskable- 64bit-
-         Capabilities: [70] Express Legacy Endpoint, MSI 00
-         Capabilities: [100] Advanced Error Reporting
-         Kernel driver in use: pata_marvell
-         Kernel modules: pata_marvell
- 
+         Subsystem: Marvell Technology Group Ltd. 88SE9128 IDE Controller
+         Flags: bus master, fast devsel, latency 0, IRQ 18
+         I/O ports at d040 [size=8]
+         I/O ports at d030 [size=4]
+         I/O ports at d020 [size=8]
+         I/O ports at d010 [size=4]
+         I/O ports at d000 [size=16]
+         Memory at fea20000 (32-bit, non-prefetchable) [size=16]
+         Expansion ROM at fea00000 [disabled] [size=64K]
+         Capabilities: [40] Power Management version 3
+         Capabilities: [50] MSI: Enable- Count=1/1 Maskable- 64bit-
+         Capabilities: [70] Express Legacy Endpoint, MSI 00
+         Capabilities: [100] Advanced Error Reporting
+         Kernel driver in use: pata_marvell
+         Kernel modules: pata_marvell
  
  ##########################################################
  [    1.225703] AMD-Vi: Event logged [IO_PAGE_FAULT device=02:00.1 
domain=0x001d address=0x00000000001003c0 flags=0x0000]
  <snip>
  [    6.207818] ata16.00: qc timeout (cmd 0xa1)
  [    6.215674] ata9.00: qc timeout (cmd 0xa1)
  [    6.215681] ata9.00: failed to IDENTIFY (I/O error, err_mask=0x4)
  [    6.223640] ata24.00: qc timeout (cmd 0xa1)
  [    6.231606] ata17.00: qc timeout (cmd 0xec)
  [    6.231627] ata24.00: failed to IDENTIFY (I/O error, err_mask=0x4)
  [    6.239574] ata17.00: failed to IDENTIFY (I/O error, err_mask=0x4)
  [    6.343207] ata18.00: qc timeout (cmd 0xec)
  [    6.351204] ata18.00: failed to IDENTIFY (I/O error, err_mask=0x4)
  [    6.534578] ata9: SATA link up 1.5 Gbps (SStatus 113 SControl 300)
  [    6.558489] ata24: SATA link up 1.5 Gbps (SStatus 113 SControl 300)
  [    6.709935] ata16.00: failed to IDENTIFY (I/O error, err_mask=0x4)
  [    7.531002] ata16: SATA link up 1.5 Gbps (SStatus 113 SControl 300)
  [   11.588451] ata17: link is slow to respond, please be patient (ready=0)
  [   11.700054] ata18: link is slow to respond, please be patient (ready=0)
  [   16.219859] ata17: COMRESET failed (errno=-16)
  [   16.331454] ata18: COMRESET failed (errno=-16)
  [   16.498853] ata9.00: qc timeout (cmd 0xa1)
  [   16.498865] ata9.00: failed to IDENTIFY (I/O error, err_mask=0x4)
  [   16.498870] ata9: limiting SATA link speed to 1.5 Gbps
  [   16.522792] ata24.00: qc timeout (cmd 0xa1)
  [   16.522804] ata24.00: failed to IDENTIFY (I/O error, err_mask=0x4)
  [   16.522807] ata24: limiting SATA link speed to 1.5 Gbps
  [   16.817725] ata9: SATA link up 1.5 Gbps (SStatus 113 SControl 310)
  [   16.849613] ata24: SATA link up 1.5 Gbps (SStatus 113 SControl 310)
  [   17.495260] ata16.00: qc timeout (cmd 0xa1)
  [   17.997499] ata16.00: failed to IDENTIFY (I/O error, err_mask=0x4)
  [   17.997504] ata16: limiting SATA link speed to 1.5 Gbps
  [   18.818556] ata16: SATA link up 1.5 Gbps (SStatus 113 SControl 310)
  [   21.568700] ata17: link is slow to respond, please be patient (ready=0)
  [   21.680300] ata18: link is slow to respond, please be patient (ready=0)
  [   26.200104] ata17: COMRESET failed (errno=-16)
  [   26.311693] ata18: COMRESET failed (errno=-16)
  [   31.548931] ata17: link is slow to respond, please be patient (ready=0)
  [   31.660534] ata18: link is slow to respond, please be patient (ready=0)
  [   46.710611] ata9.00: qc timeout (cmd 0xa1)
  [   46.710618] ata9.00: failed to IDENTIFY (I/O error, err_mask=0x4)
  [   46.742498] ata24.00: qc timeout (cmd 0xa1)
  [   46.750464] ata24.00: failed to IDENTIFY (I/O error, err_mask=0x4)
  [   47.029478] ata9: SATA link up 1.5 Gbps (SStatus 113 SControl 310)
  [   47.077301] ata24: SATA link up 1.5 Gbps (SStatus 113 SControl 310)
  [   48.711438] ata16.00: qc timeout (cmd 0xa1)
  [   49.213639] ata16.00: failed to IDENTIFY (I/O error, err_mask=0x4)
  [   50.034704] ata16: SATA link up 1.5 Gbps (SStatus 113 SControl 310)
  [   61.122962] ata17: COMRESET failed (errno=-16)
  [   61.122971] ata17: limiting SATA link speed to 1.5 Gbps
  [   61.234560] ata18: COMRESET failed (errno=-16)
  [   61.234569] ata18: limiting SATA link speed to 3.0 Gbps
  [   66.137000] ata17: COMRESET failed (errno=-16)
  [   66.137009] ata17: reset failed, giving up
  [   66.248595] ata18: COMRESET failed (errno=-16)
  [   66.248603] ata18: reset failed, giving up
  <snip>
  
  -R C

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1089768

Title:
  Marvell Sata controller and AMD-Vi problems

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1089768/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to