2006-05-04 12:57:59

by Yogesh Pahilwan

[permalink] [raw]
Subject: Generic SATA driver which works with Marvell SATA

Hi Folks,

Is there any generic SATA driver available which should work with Marvell
SATA disks?

Where can I download this driver?

Thanks,
Yogesh




2006-05-04 13:08:25

by Erik Mouw

[permalink] [raw]
Subject: Re: Generic SATA driver which works with Marvell SATA

On Thu, May 04, 2006 at 06:29:04PM +0530, Yogesh Pahilwan wrote:
> Is there any generic SATA driver available which should work with Marvell
> SATA disks?

If the disk behaves like a standard SATA disk the sd driver should work
just fine (like with any other SATA disk).

> Where can I download this driver?

It comes free with your kernel source.


Erik

--
+-- Erik Mouw -- http://www.harddisk-recovery.com -- +31 70 370 12 90 --
| Lab address: Delftechpark 26, 2628 XH, Delft, The Netherlands

2006-05-04 13:55:46

by Joel Jaeggli

[permalink] [raw]
Subject: Re: Generic SATA driver which works with Marvell SATA

Yogesh Pahilwan wrote:
> Hi Folks,
>
> Is there any generic SATA driver available which should work with Marvell
> SATA disks?

marvell sata controllers or sata disks with marvell sata-pata bridges?

There is an mv_sata driver for marvell controllers.

The disks shouldn't present a problem.

> Where can I download this driver?
>
> Thanks,
> Yogesh
>
>
>
> -
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to [email protected]
> More majordomo info at http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at http://www.tux.org/lkml/


--
-------------------------------------------------
Joel Jaeggli ([email protected])
GPG Key Fingerprint:
5C6E 0104 BAF0 40B0 5BD3 C38B F000 35AB B67F 56B2

2006-05-04 14:42:10

by Yogesh Pahilwan

[permalink] [raw]
Subject: RE: Generic SATA driver which works with Marvell SATA

Hi Erik,

Even I tried loading sd_mod scsi disk driver; I am not able to see any SATA
disks.

When I cat /proc/scsi/scsi it shows:

Attached devices:

I believe there must be some low level driver for the SATA devices (eg:
mv_sata for Marvel SATA) which allows sd_mod to expose them as a scsi
devices?

I need a generic SATA driver to be used as replace of (eg: mv_sata) driver.

Please suggest.

Yogesh



-----Original Message-----
From: Erik Mouw [mailto:[email protected]] On Behalf Of Erik Mouw
Sent: Thursday, May 04, 2006 6:38 PM
To: Yogesh Pahilwan
Cc: [email protected]
Subject: Re: Generic SATA driver which works with Marvell SATA

On Thu, May 04, 2006 at 06:29:04PM +0530, Yogesh Pahilwan wrote:
> Is there any generic SATA driver available which should work with Marvell
> SATA disks?

If the disk behaves like a standard SATA disk the sd driver should work
just fine (like with any other SATA disk).

> Where can I download this driver?

It comes free with your kernel source.


Erik

--
+-- Erik Mouw -- http://www.harddisk-recovery.com -- +31 70 370 12 90 --
| Lab address: Delftechpark 26, 2628 XH, Delft, The Netherlands

2006-05-04 14:55:20

by Erik Mouw

[permalink] [raw]
Subject: Re: Generic SATA driver which works with Marvell SATA

A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?

A: No.
Q: Should I leave quotations after my reply?

On Thu, May 04, 2006 at 07:33:45PM +0530, Yogesh Pahilwan wrote:
> Even I tried loading sd_mod scsi disk driver; I am not able to see any SATA
> disks.
>
> When I cat /proc/scsi/scsi it shows:
>
> Attached devices:
>
> I believe there must be some low level driver for the SATA devices (eg:
> mv_sata for Marvel SATA) which allows sd_mod to expose them as a scsi
> devices?


Yes. Oh, you meant a Marvell SATA controller? That's quite different
from a SATA disk. Just use sata_mv.

> I need a generic SATA driver to be used as replace of (eg: mv_sata) driver.

There is no such thing. The only driver that comes close is the AHCI
driver, but that needs AHCI compatible hardware. In your case: use
sata_mv, it should work fine. If not, see below.

> Please suggest.

1) Upgrade to the latest kernel (2.6.16.13 or 2.6.17-git9)
2) Try to recreate your problem
3) If it persists, read REPORTING-BUGS in your kernel tree and send in
a bug report to the appropriate mailing list (linux-ide will do).


Erik

--
+-- Erik Mouw -- http://www.harddisk-recovery.com -- +31 70 370 12 90 --
| Lab address: Delftechpark 26, 2628 XH, Delft, The Netherlands

2006-05-04 15:20:27

by Alan

[permalink] [raw]
Subject: RE: Generic SATA driver which works with Marvell SATA

On Iau, 2006-05-04 at 19:33 +0530, Yogesh Pahilwan wrote:
> I believe there must be some low level driver for the SATA devices (eg:
> mv_sata for Marvel SATA) which allows sd_mod to expose them as a scsi
> devices?

sata_mv drives the marvell chipsets, you want 2.6.16/17-rc for this.
There is no such thing as a "generic" SATA driver as all SATA chipsets
have their own interfaces, unlike PATA where there was a basic standard.

A standard is emerging (called AHCI) and in time it may be that all SATA
uses the same driver just as we have few USB drivers.