On 22/01/10 06:01, Robert Hancock wrote:
If the board has PATA ports driven off the chipset, then in AHCI mode
you should get two devices showing up, one AHCI controller for the SATA
ports and one IDE controller for the PATA ports which ata_piix should
drive. Is that not happening on this board?
This is indeed the problem. In AHCI mode, the PATA port is undetected.
ata_piix does not handle it at all.
On 22/01/10 06:31, Jeff Garzik wrote:
> What PCI device is the PATA port? Does the pata_marvell driver enable it?
In compatible mode it's /dev/disk/by-path/pci-0000:00:1f.2-scsi-0:0:0:0
because i configured the bios to use PATA+SATA. This is the ICH7
controller (according to lspci).
In Enhanced AHCI mode it does not show up at all on lspci. Poking around
in /sys shows that ide-gd is responsible for discovering hda; without
CONFIG_IDE, it's not found at all.
The pata_marvell driver is unrelated, it only serves the two external
eSATA ports, nothing else. You can even see that it's situated close to
the eSATA ports whereas the Intel ICH7 SATA and PATA ports are on the
complete opposite side of the board:
http://ss4200.pbworks.com/f/IMG_2187.jpg
Full mobo image here: http://ss4200.pbworks.com/f/CIMG0326.jpg
> Can you provide full lspci?
Sure, compatible mode:
http://dx.infernix.net/ss4200/lspci-vv.compatible_mode
Enhanced ahci mode:
http://dx.infernix.net/ss4200/lspci-vv.enhanced_ahci_mode
And just for completion sake, here's what I have enabled in the normal
2.6.33-rc3 build:
CONFIG_ATA=y
CONFIG_ATA_VERBOSE_ERROR=y
CONFIG_ATA_ACPI=y
CONFIG_SATA_PMP=y
CONFIG_SATA_AHCI=y
CONFIG_SATA_SIL24=y
CONFIG_ATA_SFF=y
CONFIG_ATA_PIIX=y
CONFIG_SATA_SIL=y
CONFIG_PATA_ACPI=y
CONFIG_ATA_GENERIC=y
CONFIG_PATA_MPIIX=y
CONFIG_PATA_OLDPIIX=y
CONFIG_PATA_SCH=y
# CONFIG_IDE is not set
The build with the IDE driver also has:
CONFIG_IDE=y
CONFIG_IDE_XFER_MODE=y
CONFIG_IDE_GD=y
CONFIG_IDE_GD_ATA=y
CONFIG_BLK_DEV_IDEACPI=y
CONFIG_IDE_PROC_FS=y
CONFIG_IDE_GENERIC=y
CONFIG_BLK_DEV_IDEDMA_SFF=y
CONFIG_BLK_DEV_IDEPCI=y
CONFIG_IDEPCI_PCIBUS_ORDER=y
CONFIG_BLK_DEV_IDEDMA_PCI=y
CONFIG_BLK_DEV_IDEDMA=y
--
To unsubscribe from this list: send the line "unsubscribe linux-ide" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html