On Sun, 7 Oct 2007, Dean S. Messing wrote:


Justin Piszcz wrote:
On Fri, 5 Oct 2007, Dean S. Messing wrote:

Brendan Conoboy wrote:
<snip>
Is the onboard SATA controller real SATA or just an ATA-SATA
converter?  If the latter, you're going to have trouble getting faster
performance than any one disk can give you at a time.  The output of
'lspci' should tell you if the onboard SATA controller is on its own
bus or sharing space with some other device.  Pasting the output here
would be useful.
<snip>

N00bee question:

How does one tell if a machine's disk controller is an ATA-SATA
converter?

The output of `lspci|fgrep -i sata' is:

00:1f.2 SATA controller: Intel Corporation 631xESB/632xESB SATA AHCI Controller\
(rev 09)

suggests a real SATA. These references to ATA in "dmesg", however,
make me wonder.

ata1: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
ata1.00: ATA-7: WDC WD1600JS-75NCB3, 10.02E04, max UDMA/133
ata1.00: 312500000 sectors, multi 0: LBA48 NCQ (depth 31/32)
ata1.00: configured for UDMA/133
ata2: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
ata2.00: ATA-7: ST3160812AS, 3.ADJ, max UDMA/133
ata2.00: 312500000 sectors, multi 0: LBA48 NCQ (depth 31/32)
ata2.00: configured for UDMA/133
ata3: SATA link up 1.5 Gbps (SStatus 113 SControl 300)
ata3.00: ATA-7: ST3500630NS, 3.AEK, max UDMA/133
ata3.00: 976773168 sectors, multi 0: LBA48 NCQ (depth 31/32)
ata3.00: configured for UDMA/133


Dean
-
To unsubscribe from this list: send the line "unsubscribe linux-raid" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html


His drives are either really old and do not support NCQ or he is not using
AHCI in the BIOS.

Sorry, Justin, if I wasn't clear.  I was asking the N00bee question
about _my_own_ machine.  The output of lspci (on my machine) seems to
indicate I have a "real" STAT controller on the Motherboard, but the
contents of "dmesg", with the references to ATA-7 and UDMA/133, made
me wonder if I had just an ATA-SATA converter.  Hence my question: how
does one tell definitively if one has a real SATA controller on the Mother
Board?


The output looks like a real (AHCI-capable) SATA controller and your drives are using NCQ/AHCI.

Output from one of my machines:
[ 23.621462] ata1: SATA max UDMA/133 cmd 0xf8812100 ctl 0x00000000 bmdma 0x00000000 irq 219
[   24.078390] ata1: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
[   24.549806] ata2: SATA link up 1.5 Gbps (SStatus 113 SControl 300)

As far as why it shows UDMA/133 in the kernel output I am sure there is a reason :)

I know in the older SATA drives there was a bridge chip that was used to convert the drive from IDE<->SATA maybe it is from those legacy days, not sure.

With the newer NCQ/'native' SATA drives, the bridge chip should no longer exist.

Justin.
-
To unsubscribe from this list: send the line "unsubscribe linux-raid" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to