linux-ide.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: infernix <infernix@infernix.net>
To: linux-ide@vger.kernel.org
Subject: Re: PATA port not detected when using AHCI on Intel 82801GB/GR/GH
Date: Fri, 22 Jan 2010 13:57:49 +0100	[thread overview]
Message-ID: <4B59A0CD.4000801@infernix.net> (raw)
In-Reply-To: <4B593128.1040104@gmail.com>

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



  reply	other threads:[~2010-01-22 12:57 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-01-22  3:37 PATA port not detected when using AHCI on Intel 82801GB/GR/GH infernix
2010-01-22  5:01 ` Robert Hancock
2010-01-22 12:57   ` infernix [this message]
2010-01-23  1:23     ` Robert Hancock
2010-01-23  2:29       ` infernix
2010-01-23  7:18         ` Robert Hancock
2010-01-23 13:14           ` infernix
2010-01-23 10:14         ` Alan Cox
2010-01-23 13:08           ` infernix
2010-01-23 13:38             ` Alan Cox
2010-01-23 14:13               ` infernix
2010-01-23 14:30                 ` infernix
2010-02-12 23:30               ` infernix
2010-02-13  0:04                 ` Alan Cox
2010-02-13  0:21                   ` infernix
2010-01-22  5:31 ` Jeff Garzik
  -- strict thread matches above, loose matches on Subject: below --
2010-02-05  2:17 Joe Ceklosky
2010-02-06  1:43 ` Robert Hancock

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4B59A0CD.4000801@infernix.net \
    --to=infernix@infernix.net \
    --cc=linux-ide@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).