Alan Cox wrote:
And the PCI dump agrees with this - your HPT366 controller is disabled. The following might help but from all the code/docs I have something has disabled that port.
There is a matching upstream report of this (but with the old IDE driver which was corrected to test these bits) so it doesn't appear unique but a problem with a few boxes.
Alan
--- drivers/ata/pata_hpt366.c~ 2007-05-13 00:14:51.971506056 +0100 +++ drivers/ata/pata_hpt366.c 2007-05-13 00:14:51.972505904 +0100 @@ -227,10 +227,10 @@ { 0x54, 1, 0x04, 0x04 } }; struct pci_dev *pdev = to_pci_dev(ap->host->dev);
+#if 0 if (!pci_test_config_bits(pdev, &hpt36x_enable_bits[ap->port_no])) return -ENOENT;
+#endif return ata_std_prereset(ap, deadline); }
No luck with the patch, it failed with "Hunk #1 FAILED at 227".
I ran it on "prepped" source from 2.6.21-1.3149.fc7.src.
Maybe it's a different pata_hpt366.c or maybe I don't know what I'm doing.
-J