Skip to contentSkip to conversation

PIIX libata ?

DISCUSSION Dominic ES. Ijichi 2 participants 2 messages Apr 19, 2006 libata

lore
Share & tools
lore
#0 lore raw
Quoted 10 lines · ----- Randy.Dunlap
Quoted 3 lines · On Tue, 18 Apr 2006 13:59:05 +0000 (UTC) Frido Ferdinand wrote:

Hi,

How can i see that PIIX is either from libata or the usual IDE

drivers. I have

Quoted 1 line

both enabled in the kernel but not sure which takes presedence, will

the drives

Quoted 1 line

show up as /dev/sda ? disks used are non-sata/normal ide disks.

Quoted 8 lines

If both are built into the kernel (=y and not modules), legacy IDE drivers take precedence since ide/ is ahead of scsi/ in drivers/Makefile (libata drivers are in scsi/).

I have no idea about precedence if you are using initrd or initramfs.

And if legacy ide and scsi are both modules, you won't boot... (without using initrd or initramfs).

if I have both ahci and ata_piix modules in initrd (as is the case in most distros), is there any way of passing a parameter to the kernel to tell it which one i want? ahci seems to take preference on my ICH6M but the ata_piix module works better.

dom

Quoted 8 lines

---
~Randy
-
To unsubscribe from this list: send the line "unsubscribe linux-ide" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

#1 lore raw
Quoted 16 lines · On Wed, 19 Apr 2006 10:48:26 +0100 (BST) Dominic ES. Ijichi wrote:
Quoted 14 lines · ----- Randy.Dunlap
Quoted 3 lines · On Tue, 18 Apr 2006 13:59:05 +0000 (UTC) Frido Ferdinand wrote:

Hi,

How can i see that PIIX is either from libata or the usual IDE

drivers. I have

Quoted 1 line

both enabled in the kernel but not sure which takes presedence, will

the drives

Quoted 1 line

show up as /dev/sda ? disks used are non-sata/normal ide disks.

If both are built into the kernel (=y and not modules), legacy IDE drivers take precedence since ide/ is ahead of scsi/ in drivers/Makefile (libata drivers are in scsi/).

Quoted 6 lines
Quoted 4 lines

I have no idea about precedence if you are using initrd or initramfs.

And if legacy ide and scsi are both modules, you won't boot... (without using initrd or initramfs).

if I have both ahci and ata_piix modules in initrd (as is the case in most distros), is there any way of passing a parameter to the kernel to tell it which one i want? ahci seems to take preference on my ICH6M but the ata_piix module works better.

combined_mode ? from Documentation/kernel-parameters.txt:

combined_mode= [HW] control which driver uses IDE ports in combined
mode: legacy IDE driver, libata, or both (in the libata case, libata.atapi_enabled=1 may be useful as well). Note that using the ide or libata options may affect your device naming (e.g. by changing hdc to sdb).
Format: combined (default), ide, or libata

---
~Randy