2003-06-06 20:29:03

by Jurgen Kramer

[permalink] [raw]
Subject: Using SATA in PATA compatible mode?

Hi,

I've read somewhere that the SATA controllers are backward compatible
with PATA controllers. Does this mean that a SATA controller can be used
with standard PATA drivers (especially the Intel ICH5)?

I have got an shiny new motherboard with SATA and a ditto SATA harddrive
just sitting unrecognized by a 2.4.20 kernel. The PATA part of my Asus
P4C800 D with my DVD-ROM on it is recognized nicely, the SATA part
however doesn't show. Is there a way around this (like with IDEx=)? I'd
really like to have linux on my new box...


Cheers,

Jurgen


2003-06-07 00:50:21

by Alan

[permalink] [raw]
Subject: Re: Using SATA in PATA compatible mode?

On Gwe, 2003-06-06 at 21:46, Jurgen Kramer wrote:
> I've read somewhere that the SATA controllers are backward compatible
> with PATA controllers. Does this mean that a SATA controller can be used
> with standard PATA drivers (especially the Intel ICH5)?

I'm not totally sure about the status of the SATA on the Intel right
now. I was under the impression it was very similar to the PATA.

For some of the others its a bit variable:
HPT some people report work some dont
Promise 20376 - Promise have a GPL driver but there are integration
things to resolve (mostly our end not theirs)
SI 3112 - Now works well with almost all drives.
3Ware SATA raid - works

2003-06-07 10:19:12

by Mark Watts

[permalink] [raw]
Subject: Re: Using SATA in PATA compatible mode?


> For some of the others its a bit variable:
> HPT some people report work some dont
> Promise 20376 - Promise have a GPL driver but there are integration
> things to resolve (mostly our end not theirs)

Are there any estimated timelines for this, cos I'd love to be able to use the
onboard controler I have for some extra drives instead of buying a new
controler...

Ta,

Mark.

2003-06-07 11:48:33

by Adriaan Peeters

[permalink] [raw]
Subject: Re: Using SATA in PATA compatible mode?

On Sat, 2003-06-07 at 03:00, Alan Cox wrote:

> Promise 20376 - Promise have a GPL driver but there are integration
> things to resolve (mostly our end not theirs)

Oh, this would be very good news. As there was no GPL'ed driver for this
chipset, I bought one with a SiI3112 chipset.
Where can this driver be found ? As when I mailed promise about a week
ago, they stated:

> The source code for the SATA chips will not be released, due to
competitive
> reasons. We support the linux distributions of Suse and Redhat mainly.
>
> A partial open source code will become available in due time, but we do not
> expect that this year.

I hope they changed course :)

It would be nice to have a reference to the drivers in the lkml
archives.

--
Adriaan Peeters <[email protected]>

Subject: Re: Using SATA in PATA compatible mode?


On 7 Jun 2003, Alan Cox wrote:

> On Gwe, 2003-06-06 at 21:46, Jurgen Kramer wrote:
> > I've read somewhere that the SATA controllers are backward compatible
> > with PATA controllers. Does this mean that a SATA controller can be used
> > with standard PATA drivers (especially the Intel ICH5)?
>
> I'm not totally sure about the status of the SATA on the Intel right
> now. I was under the impression it was very similar to the PATA.
>
> For some of the others its a bit variable:
> HPT some people report work some dont
> Promise 20376 - Promise have a GPL driver but there are integration

GPL driver from Promise?!!?

> things to resolve (mostly our end not theirs)
> SI 3112 - Now works well with almost all drives.
> 3Ware SATA raid - works

2003-06-07 19:18:41

by Alan

[permalink] [raw]
Subject: Re: Using SATA in PATA compatible mode?

On Sad, 2003-06-07 at 13:01, Adriaan Peeters wrote:
> > The source code for the SATA chips will not be released, due to
> competitive
> > reasons. We support the linux distributions of Suse and Redhat mainly.
> >
> > A partial open source code will become available in due time, but we do not
> > expect that this year.
>
> I hope they changed course :)

They've released GPL code for the base stuff but not their raid layout
things. It claims to be a scsi driver because the 20376 has command
queueing and other goodies that our PATA thinking IDE layer can't handle.

(Btw Bart whats the status on switching to taskfile for 2.5.x now ?)

2003-06-08 00:28:13

by Jurgen Kramer

[permalink] [raw]
Subject: Re: Using SATA in PATA compatible mode?

Ok, I have overcome the install problem by buying an extra plain PATA
drive...(:-( // :-) ) with the latest RH (2.4.29-18.9smp up version lock
ups (???) ) and 2.4.21-rc7-ac1 the SATA part get recognized:

Uniform Multi-Platform E-IDE driver Revision: 7.00beta3-.2.4
ide: Assuming 33MHz system bus speed for PIO modes; override with
idebus=xx
ICH5: IDE controller at PCI slot 00:1f.1
PCI: Enabling device 00:1f.1 (0005 -> 0007)
ICH5: chipset revision 2
ICH5: not 100% native mode: will probe irqs later
ide0: BM-DMA at 0xfc00-0xfc07, BIOS settings: hda:DMA, hdb:pio
ide1: BM-DMA at 0xfc08-0xfc0f, BIOS settings: hdc:DMA, hdd:pio
ICH5-SATA: IDE controller at PCI slot 00:1f.2
ICH5-SATA: chipset revision 2
ICH5-SATA: 100% native mode on irq 18
ide2: BM-DMA at 0xef60-0xef67, BIOS settings: hde:DMA, hdf:pio
ide3: BM-DMA at 0xef68-0xef6f, BIOS settings: hdg:pio, hdh:pio
hda: WDC WD1200JB-00EVA0, ATA DISK drive
blk: queue c0457500, I/O limit 4095Mb (mask 0xffffffff)
hdc: Pioneer DVD-ROM ATAPIModel DVD-106S 012, ATAPI CD/DVD-ROM drive
hde: ST3120026AS, ATA DISK drive
blk: queue c0457e08, I/O limit 4095Mb (mask 0xffffffff)
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
ide1 at 0x170-0x177,0x376 on irq 15
ide2 at 0xefe0-0xefe7,0xefae on irq 18
hda: attached ide-disk driver.
hda: host protected area => 1
hda: 234441648 sectors (120034 MB) w/8192KiB Cache, CHS=14593/255/63,
UDMA(100)
hde: attached ide-disk driver.
hde: host protected area => 1
hde: 234441648 sectors (120034 MB) w/8192KiB Cache, CHS=14593/255/63,
UDMA(33)
ide-floppy driver 0.99.newide
Partition check:
hda: hda1 hda2 hda3
hde: unknown partition table

But unfortunately I can't still really use the SATA drive but that's
probably due to some other problems (ACPI or SMP). Battling on...

Cheers,

Jurgen