* HPT374 RAID bus controller SATA, only UDMA 33
@ 2005-12-15 1:33 Lukas Postupa
2005-12-15 12:31 ` Alan Cox
0 siblings, 1 reply; 3+ messages in thread
From: Lukas Postupa @ 2005-12-15 1:33 UTC (permalink / raw)
To: linux-kernel
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain; charset="us-ascii", Size: 1638 bytes --]
Hi,
my SAMSUNG 250GB drive connected to HPT374 RAID bus controller (SATA) is
only working at UDMA 33.
I am using
HPT36X/37X chipset support (*).
And here is what dmesg says:
ide5: BM-DMA at 0xc008-0xc00f, BIOS settings: hdk:DMA, hdl:pio
hdk: SAMSUNG SP2504C, ATA DISK drive
hdk: max request size: 1024KiB
hdk: 488397168 sectors (250059 MB) w/8192KiB Cache, CHS=30401/255/63,
UDMA(33)
hdk: cache flushes supported
hdk:
lspci:
02:05.0 RAID bus controller: Triones Technologies, Inc. HPT374 (rev 07)
Subsystem: Triones Technologies, Inc.: Unknown device 0001
Flags: bus master, 66Mhz, medium devsel, latency 120, IRQ 17
I/O ports at 9c00 [size=8]
I/O ports at a000 [size=4]
I/O ports at a400 [size=8]
I/O ports at a800 [size=4]
I/O ports at ac00 [size=256]
Expansion ROM at e0020000 [disabled] [size=128K]
Capabilities: [60] Power Management version 2
02:05.1 RAID bus controller: Triones Technologies, Inc. HPT374 (rev 07)
Subsystem: Triones Technologies, Inc.: Unknown device 0001
Flags: bus master, 66Mhz, medium devsel, latency 120, IRQ 17
I/O ports at b000 [size=8]
I/O ports at b400 [size=4]
I/O ports at b800 [size=8]
I/O ports at bc00 [size=4]
I/O ports at c000 [size=256]
Capabilities: [60] Power Management version 2
Trying to set UDMA 3-5 directly doesn't work:
dmesg:
hdk: Speed warnings UDMA 3/4/5 is not functional.
hdparm -t /dev/hdk
/dev/hdk:
Timing buffered disk reads: 42 MB in 3.06 seconds = 13.74 MB/sec
Does anyone have a solution to fix this bottleneck?
regards,
Lukas
--
10 GB Mailbox, 100 FreeSMS/Monat http://www.gmx.net/de/go/topmail
+++ GMX - die erste Adresse für Mail, Message, More +++
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: HPT374 RAID bus controller SATA, only UDMA 33
2005-12-15 1:33 HPT374 RAID bus controller SATA, only UDMA 33 Lukas Postupa
@ 2005-12-15 12:31 ` Alan Cox
2006-01-07 18:57 ` Lukas Postupa
0 siblings, 1 reply; 3+ messages in thread
From: Alan Cox @ 2005-12-15 12:31 UTC (permalink / raw)
To: Lukas Postupa; +Cc: linux-kernel
On Iau, 2005-12-15 at 02:33 +0100, Lukas Postupa wrote:
> Hi,
>
> my SAMSUNG 250GB drive connected to HPT374 RAID bus controller (SATA) is
> only working at UDMA 33.
The HPT37x driver in the old IDE code assumes cable detection support.
If someone uses a SATA bridge that gets this wrong then you don't get
over 33Mhz.
> Does anyone have a solution to fix this bottleneck?
Force ata66 support on. See Documentation/ide.txt
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: HPT374 RAID bus controller SATA, only UDMA 33
2005-12-15 12:31 ` Alan Cox
@ 2006-01-07 18:57 ` Lukas Postupa
0 siblings, 0 replies; 3+ messages in thread
From: Lukas Postupa @ 2006-01-07 18:57 UTC (permalink / raw)
To: Alan Cox; +Cc: linux-kernel
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain; charset="us-ascii", Size: 1020 bytes --]
On Thu, 15 Dec 2005 12:31:55 +0000, Alan Cox wrote:
> > my SAMSUNG 250GB drive connected to HPT374 RAID bus > > controller
(SATA) is only working at UDMA 33.
>
>
> Force ata66 support on. See Documentation/ide.txt
>
I tried to force ata66 but this doesn't work.
Drive still remains at UDMA 33.
But setting CONFIG_IDEDMA_PCI_AUTO to [ n ] (kernel 2.6.14.4) skips UDMA 33
detection and leads to this output:
hdk: 488397168 sectors (250059 MB) w/8192KiB Cache, CHS=30401/255/63 /*
before: ,UDMA(33) */
Then after booting:
$hdparm -d 1 /dev/hdk
/dev/hdk:
setting using_dma to 1 (on)
using_dma = 1 (on)
$hdparm -t /dev/hdk
/dev/hdk:
Timing buffered disk reads: 162 MB in 3.02 seconds = 53.71 MB/sec
now this looks much better :)
By the way: Is there a trick setting DMA without CONFIG_IDEDMA_PCI_AUTO = [
y ] at boot time independent from init scripts?
regards,
Lukas
--
DSL-Aktion wegen großer Nachfrage bis 28.2.2006 verlängert:
GMX DSL-Flatrate 1 Jahr kostenlos* http://www.gmx.net/de/go/dsl
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2006-01-07 18:57 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-12-15 1:33 HPT374 RAID bus controller SATA, only UDMA 33 Lukas Postupa
2005-12-15 12:31 ` Alan Cox
2006-01-07 18:57 ` Lukas Postupa
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®