Re: SATA ICH6M problems on Sharp M4000

Sergey Vlasov
2005-12-05T17:22:47Z

[-- Attachment #1: Type: text/plain, Size: 1738 bytes --]

On Fri, 02 Dec 2005 22:33:57 +0300 Sergei Organov wrote:

> Sorry, but provided ata_piix has ignored the optical drive, couldn't
> corresponding I/O resource be left free so that subsequently loaded,
> say, generic-ide module is able to get over and support the drive?
>
> BTW, loading the modules in reverse order helped on 2.6.13 kernel (that
> I'm currently using) as generic-ide didn't recognize the hard-drive at
> all allowing ata_piix to get over it later. With 2.6.14 kernel
> generic-ide does recognize both hard-drive and optical drive thus
> preventing ata_piix from managing the hard-drive :(

See http://lkml.org/lkml/2005/10/18/167 and the reply to it :-\

If you want to build IDE as modules and still have support for
combined mode, you will need the patch below:

-------------------------------------------------------------------------

ide/libata: fix SCSI_SATA_INTEL_COMBINED setting with modular IDE

SCSI_SATA_INTEL_COMBINED should be set in any case when both IDE and
libata drivers are present in the configuration, even if both of them
are modular. Checking for IDE=y breaks existing configurations with
modular IDE drivers, because without SCSI_SATA_INTEL_COMBINED there is
no way to use libata drivers for SATA and IDE drivers for PATA.

Signed-off-by: Sergey Vlasov <vsu@altlinux.ru>

--- linux-2.6.14/drivers/scsi/Kconfig.alt-intel-combined 2005-10-28 04:02:08 +0400
+++ linux-2.6.14/drivers/scsi/Kconfig 2005-11-30 17:39:22 +0300
@@ -555,7 +555,7 @@ config SCSI_SATA_VITESSE

config SCSI_SATA_INTEL_COMBINED
bool
- depends on IDE=y && !BLK_DEV_IDE_SATA && (SCSI_SATA_AHCI || SCSI_ATA_PIIX)
+ depends on IDE && !BLK_DEV_IDE_SATA && (SCSI_SATA_AHCI || SCSI_ATA_PIIX)
default y

config SCSI_BUSLOGIC

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]