public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* Generic SATA driver which works with Marvell SATA
@ 2006-05-04 12:59 Yogesh Pahilwan
  2006-05-04 13:08 ` Erik Mouw
  2006-05-04 13:55 ` Joel Jaeggli
  0 siblings, 2 replies; 6+ messages in thread
From: Yogesh Pahilwan @ 2006-05-04 12:59 UTC (permalink / raw)
  To: linux-kernel

Hi Folks,

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

Where can I download this driver?

Thanks,
Yogesh




^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Generic SATA driver which works with Marvell SATA
  2006-05-04 12:59 Generic SATA driver which works with Marvell SATA Yogesh Pahilwan
@ 2006-05-04 13:08 ` Erik Mouw
  2006-05-04 14:03   ` Yogesh Pahilwan
  2006-05-04 13:55 ` Joel Jaeggli
  1 sibling, 1 reply; 6+ messages in thread
From: Erik Mouw @ 2006-05-04 13:08 UTC (permalink / raw)
  To: Yogesh Pahilwan; +Cc: linux-kernel

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 -- www.harddisk-recovery.com -- +31 70 370 12 90 --
| Lab address: Delftechpark 26, 2628 XH, Delft, The Netherlands

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Generic SATA driver which works with Marvell SATA
  2006-05-04 12:59 Generic SATA driver which works with Marvell SATA Yogesh Pahilwan
  2006-05-04 13:08 ` Erik Mouw
@ 2006-05-04 13:55 ` Joel Jaeggli
  1 sibling, 0 replies; 6+ messages in thread
From: Joel Jaeggli @ 2006-05-04 13:55 UTC (permalink / raw)
  To: Yogesh Pahilwan; +Cc: linux-kernel

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 majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at  http://www.tux.org/lkml/


-- 
-------------------------------------------------
Joel Jaeggli (joelja@uoregon.edu)
GPG Key Fingerprint:
5C6E 0104 BAF0 40B0 5BD3 C38B F000 35AB B67F 56B2

^ permalink raw reply	[flat|nested] 6+ messages in thread

* RE: Generic SATA driver which works with Marvell SATA
  2006-05-04 13:08 ` Erik Mouw
@ 2006-05-04 14:03   ` Yogesh Pahilwan
  2006-05-04 14:55     ` Erik Mouw
  2006-05-04 15:31     ` Alan Cox
  0 siblings, 2 replies; 6+ messages in thread
From: Yogesh Pahilwan @ 2006-05-04 14:03 UTC (permalink / raw)
  To: 'Erik Mouw'; +Cc: linux-kernel

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:erik@zurix.bitwizard.nl] On Behalf Of Erik Mouw
Sent: Thursday, May 04, 2006 6:38 PM
To: Yogesh Pahilwan
Cc: linux-kernel@vger.kernel.org
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 -- www.harddisk-recovery.com -- +31 70 370 12 90 --
| Lab address: Delftechpark 26, 2628 XH, Delft, The Netherlands


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Generic SATA driver which works with Marvell SATA
  2006-05-04 14:03   ` Yogesh Pahilwan
@ 2006-05-04 14:55     ` Erik Mouw
  2006-05-04 15:31     ` Alan Cox
  1 sibling, 0 replies; 6+ messages in thread
From: Erik Mouw @ 2006-05-04 14:55 UTC (permalink / raw)
  To: Yogesh Pahilwan; +Cc: linux-kernel

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 -- www.harddisk-recovery.com -- +31 70 370 12 90 --
| Lab address: Delftechpark 26, 2628 XH, Delft, The Netherlands

^ permalink raw reply	[flat|nested] 6+ messages in thread

* RE: Generic SATA driver which works with Marvell SATA
  2006-05-04 14:03   ` Yogesh Pahilwan
  2006-05-04 14:55     ` Erik Mouw
@ 2006-05-04 15:31     ` Alan Cox
  1 sibling, 0 replies; 6+ messages in thread
From: Alan Cox @ 2006-05-04 15:31 UTC (permalink / raw)
  To: Yogesh Pahilwan; +Cc: 'Erik Mouw', linux-kernel

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.


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2006-05-04 15:20 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-05-04 12:59 Generic SATA driver which works with Marvell SATA Yogesh Pahilwan
2006-05-04 13:08 ` Erik Mouw
2006-05-04 14:03   ` Yogesh Pahilwan
2006-05-04 14:55     ` Erik Mouw
2006-05-04 15:31     ` Alan Cox
2006-05-04 13:55 ` Joel Jaeggli

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox