Patch for HPT366 (Re: fc7t4 - problems with ATA66 module)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sat, May 12, 2007 at 03:58:17PM -0700, Joshua Andrews wrote:
> After installing kernel 2.6.21-1.3149.fc7 the controller still does not 
> work.
> The error message has changed.
> 
> ACPI: PCI Interrupt 0000:00:13.0[A] -> GSI 18 (level, low) -> IRQ 19
> ata3: PATA max UDMA/66 cmd 0x0001b400 ctl 0x0001b802 bmdma 0x0001bc00 irq 19
> scsi2 : pata_hpt366
> ata3: port disabled. ignoring.
> piix4_smbus 0000:00:07.3: Found 0000:00:07.3 device
> ACPI: PCI Interrupt 0000:00:13.1[B] -> GSI 18 (level, low) -> IRQ 19
> ata4: PATA max UDMA/66 cmd 0x0001c000 ctl 0x0001c402 bmdma 0x0001c800 irq 19
> scsi3 : pata_hpt366
> ata4: port disabled. ignoring.

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);
 }
 

-- 
fedora-test-list mailing list
fedora-test-list@xxxxxxxxxx
To unsubscribe: 
https://www.redhat.com/mailman/listinfo/fedora-test-list

[Index of Archives]     [Fedora Desktop]     [Fedora SELinux]     [Photo Sharing]     [Yosemite Forum]     [KDE Users]

  Powered by Linux