Re: sata_mv 0000:03:06.0: PCI ERROR; PCI IRQ cause=0x30000040

Mark Lord
2009-10-09T03:08:19Z

Bernie Innocenti wrote:
>
> I want to try reducing the frequency of the PCI-X bus, but the BIOS does
> not seem to provide a setting for it. Is there another way?
..

Nothing that's easy.

Here.. apply this patch, and post the output after you reboot with it.

--- 2.6.31/drivers/ata/sata_mv.c.orig 2009-08-21 22:16:05.000000000 -0400
+++ linux/drivers/ata/sata_mv.c 2009-10-08 23:05:37.392203506 -0400
@@ -3738,6 +3738,12 @@
hp_flags |= MV_HP_ERRATA_60X1B2;
break;
case 0x9:
+ {
+ struct mv_host_priv *hpriv = host->private_data;
+ void __iomem *mmio = hpriv->base;
+ printk(KERN_INFO "sata_mv: pcix_mode=%d\n", mv_in_pcix_mode(host));
+ printk(KERN_INFO "sata_mv: MV_PCI_COMMAND=%08x\n", readl(mmio + MV_PCI_COMMAND);
+ }
hp_flags |= MV_HP_ERRATA_60X1C0;
break;