* SATA speed. Should be 150 or 133?
@ 2005-06-23 23:47 Krzysztof Oledzki
2005-06-24 3:08 ` Mark Lord
0 siblings, 1 reply; 5+ messages in thread
From: Krzysztof Oledzki @ 2005-06-23 23:47 UTC (permalink / raw)
To: Jeff Garzik; +Cc: linux-kernel, linux-ide
[-- Attachment #1: Type: TEXT/PLAIN, Size: 2612 bytes --]
Hello,
Is it normal that each time kernel reports UDMA/133 instead of UDMA/150
for sata? I noticed this on both ICH5 and ICH6 (AHCI).
* 2.6.12 with ICH5:
libata version 1.11 loaded.
ata_piix version 1.03
ACPI: PCI Interrupt 0000:00:1f.2[A] -> GSI 18 (level, low) -> IRQ 193
PCI: Setting latency timer of device 0000:00:1f.2 to 64
ata1: SATA max UDMA/133 cmd 0xCCB8 ctl 0xCCB2 bmdma 0xCC80 irq 193
ata2: SATA max UDMA/133 cmd 0xCCA0 ctl 0xCC9A bmdma 0xCC88 irq 193
ata1: dev 0 cfg 49:2f00 82:7c6b 83:7b09 84:4003 85:7c69 86:3801 87:4003 88:207f
ata1: dev 0 ATA, max UDMA/133, 156250000 sectors:
ata1: dev 0 configured for UDMA/133
scsi0 : ata_piix
ata2: dev 0 cfg 49:2f00 82:7c6b 83:7b09 84:4003 85:7c69 86:3801 87:4003 88:207f
ata2: dev 0 ATA, max UDMA/133, 156250000 sectors:
ata2: dev 0 configured for UDMA/133
scsi1 : ata_piix
Vendor: ATA Model: Maxtor 6Y080M0 Rev: YAR5
Type: Direct-Access ANSI SCSI revision: 05
Vendor: ATA Model: Maxtor 6Y080M0 Rev: YAR5
Type: Direct-Access ANSI SCSI revision: 05
* 2.6.12 with ICH6:
libata version 1.11 loaded.
ahci version 1.00
ACPI: PCI Interrupt 0000:00:1f.2[B] -> GSI 19 (level, low) -> IRQ 217
PCI: Setting latency timer of device 0000:00:1f.2 to 64
ahci(0000:00:1f.2) AHCI 0001.0000 32 slots 4 ports 1.5 Gbps 0xf impl SATA mode
ahci(0000:00:1f.2) flags: 64bit ncq pm led slum part
ata1: SATA max UDMA/133 cmd 0xE0802100 ctl 0x0 bmdma 0x0 irq 217
ata2: SATA max UDMA/133 cmd 0xE0802180 ctl 0x0 bmdma 0x0 irq 217
ata3: SATA max UDMA/133 cmd 0xE0802200 ctl 0x0 bmdma 0x0 irq 217
ata4: SATA max UDMA/133 cmd 0xE0802280 ctl 0x0 bmdma 0x0 irq 217
ata1: dev 0 cfg 49:2f00 82:346b 83:7d01 84:4003 85:3469 86:3c01 87:4003 88:007f
ata1: dev 0 ATA, max UDMA/133, 156301488 sectors: lba48
ata1: dev 0 configured for UDMA/133
scsi0 : ahci
ata2: dev 0 cfg 49:2f00 82:346b 83:7d01 84:4003 85:3469 86:3c01 87:4003 88:007f
ata2: dev 0 ATA, max UDMA/133, 156301488 sectors: lba48
ata2: dev 0 configured for UDMA/133
scsi1 : ahci
ata3: no device found (phy stat 00000000)
scsi2 : ahci
ata4: no device found (phy stat 00000000)
scsi3 : ahci
Vendor: ATA Model: ST380817AS Rev: 3.42
Type: Direct-Access ANSI SCSI revision: 05
Vendor: ATA Model: ST380817AS Rev: 3.42
Type: Direct-Access ANSI SCSI revision: 05
Best regards,
Krzysztof Olędzki
PS: Thank you for updating the libata-dev/passthru repository and creating
the 2.6.12-git4-passthru1 patch. :)
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: SATA speed. Should be 150 or 133?
2005-06-23 23:47 SATA speed. Should be 150 or 133? Krzysztof Oledzki
@ 2005-06-24 3:08 ` Mark Lord
2005-06-24 9:33 ` Krzysztof Oledzki
0 siblings, 1 reply; 5+ messages in thread
From: Mark Lord @ 2005-06-24 3:08 UTC (permalink / raw)
To: Krzysztof Oledzki; +Cc: Jeff Garzik, linux-kernel, linux-ide
True SATA drives ignore the "transfer speed",
as it really is meaningless and does not apply.
But most (all?) first-gen SATA drives are really
PATA drives with a SATA bridge built-in.
Some of those drives require that Linux set the
DMA transfer speed for them to work reliably.
Last I looked, the highest valid PATA transfer
speed was still "UDMA/133". 150 just plain
doesn't exist for PATA (and the whole concept
doesn't exist for SATA, so ..)
Cheers
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: SATA speed. Should be 150 or 133?
2005-06-24 3:08 ` Mark Lord
@ 2005-06-24 9:33 ` Krzysztof Oledzki
2005-06-24 15:35 ` Mark Lord
0 siblings, 1 reply; 5+ messages in thread
From: Krzysztof Oledzki @ 2005-06-24 9:33 UTC (permalink / raw)
To: Mark Lord; +Cc: Jeff Garzik, linux-kernel, linux-ide
[-- Attachment #1: Type: TEXT/PLAIN, Size: 732 bytes --]
On Thu, 23 Jun 2005, Mark Lord wrote:
> True SATA drives ignore the "transfer speed",
> as it really is meaningless and does not apply.
So, am I the the only person confused by this message? ;)
There is "SATA max UDMA/133" not "PATA max UDMA/133".
> But most (all?) first-gen SATA drives are really
> PATA drives with a SATA bridge built-in.
> Some of those drives require that Linux set the
> DMA transfer speed for them to work reliably.
Oh, so how to check true (current) speed?
> Last I looked, the highest valid PATA transfer
> speed was still "UDMA/133". 150 just plain
> doesn't exist for PATA (and the whole concept
> doesn't exist for SATA, so ..)
OK :)
Best regards,
Krzysztof Olędzki
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: SATA speed. Should be 150 or 133?
2005-06-24 9:33 ` Krzysztof Oledzki
@ 2005-06-24 15:35 ` Mark Lord
2005-06-24 18:35 ` Krzysztof Oledzki
0 siblings, 1 reply; 5+ messages in thread
From: Mark Lord @ 2005-06-24 15:35 UTC (permalink / raw)
To: Krzysztof Oledzki; +Cc: Mark Lord, Jeff Garzik, linux-kernel, linux-ide
>> True SATA drives ignore the "transfer speed",
>> as it really is meaningless and does not apply.
>
> So, am I the the only person confused by this message? ;)
> There is "SATA max UDMA/133" not "PATA max UDMA/133".
No, it really is as confusing as it sounds!
The drive is SATA, but the transfer speed gunk only
applies to the internal "PATA" portion of the drive,
which communicates to the built-in SATA bridge chip
of the same drive, which in turn presents a pure SATA
interface to the host computer.
> Oh, so how to check true (current) speed?
Same as always: hdparm -I /dev/sd?
(requires the libata-dev "passthru" patch
recently reposted here by Jeff Garzik).
cheers
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: SATA speed. Should be 150 or 133?
2005-06-24 15:35 ` Mark Lord
@ 2005-06-24 18:35 ` Krzysztof Oledzki
0 siblings, 0 replies; 5+ messages in thread
From: Krzysztof Oledzki @ 2005-06-24 18:35 UTC (permalink / raw)
To: Mark Lord; +Cc: Jeff Garzik, linux-kernel, linux-ide
[-- Attachment #1: Type: TEXT/PLAIN, Size: 427 bytes --]
On Fri, 24 Jun 2005, Mark Lord wrote:
<CUT>
>> Oh, so how to check true (current) speed?
> Same as always: hdparm -I /dev/sd?
> (requires the libata-dev "passthru" patch
> recently reposted here by Jeff Garzik).
Got it :)
# hdparm -I /dev/sda
/dev/sda:
(...)
DMA: mdma0 mdma1 mdma2 udma0 udma1 udma2 udma3 udma4 udma5 *udma6
(...)
This one? udma6?
Best regards,
Krzysztof Olędzki
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2005-06-24 18:39 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-06-23 23:47 SATA speed. Should be 150 or 133? Krzysztof Oledzki
2005-06-24 3:08 ` Mark Lord
2005-06-24 9:33 ` Krzysztof Oledzki
2005-06-24 15:35 ` Mark Lord
2005-06-24 18:35 ` Krzysztof Oledzki
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox