From: Sergei Shtylyov <sshtylyov@ru.mvista.com>
To: Jonathan McDowell <noodles@earth.li>
Cc: linux-kernel@vger.kernel.org
Subject: Re: Status of HPT372A driver?
Date: Mon, 17 Jul 2006 21:22:34 +0400 [thread overview]
Message-ID: <44BBC75A.2000800@ru.mvista.com> (raw)
In-Reply-To: <20060717142705.GS1485@earth.li>
Hail.
Jonathan McDowell wrote:
> I recently acquired a HighPoint RocketRaid 1520 SATA controller (I know,
> I know, bad choice but I just need something to tide me over until I can
> upgrade to a motherboard with AHCI love). This presents as a HPT372A:
> 00:09.0 RAID bus controller: Triones Technologies, Inc. HPT372A/372N (rev 01)
> 00:09.0 0104: 1103:0005 (rev 01)
Sigh, I had no chance to test the driver on this chip myself... And I also
haven't tried the driver on SATA drives at all... :-/
> The 2.6.17 hpt366.c driver is at version 0.36. I also found your patches
> to l-k earlier this year, but I'm not sure whether I got them all as I
> had some rejects; I ended up with a version 1.00 driver as at:
Some patch was recast, maybe this was the reason...
> http://the.earth.li/~noodles/hpt366.c
I'm surprised that this has even compiled! It has check_in_drive_lists()
defined twice...
> Is there somewhere I can get your latest work without having to try to
> pick the right patches from the l-k archives?
You may find the summary patch in the -mm tree I guess if you hit the V
link against the -mm patch at the top of www.kernel.org page, like this one:
http://www.kernel.org/diff/diffview.cgi?file=%2Fpub%2Flinux%2Fkernel%2Fpeople%2Fakpm%2Fpatches%2F2.6%2F2.6.18-rc1%2F2.6.18-rc1-mm2%2F2.6.18-rc1-mm2.bz2;z=647
> Also I'm getting fairly appalling speeds; I don't know if this is thie
> card or not, but I have a SATA II capable drive (I know the controller
> is only SATA I) attached that's getting detected as:
> hde: 488397168 sectors (250059 MB) w/16384KiB Cache, CHS=30401/255/63, UDMA(33)
Hm, looks like the drive is wrongly reported as blacklisted or the cable
being somehow misdetected... Ah, this was SATA drive, you say?
> I'd expect UDMA(133) or similar instead? hdparm -Tt gives:
I also would, at least UDMA(100)... :-)
> /dev/sda:
> Timing cached reads: 984 MB in 2.00 seconds = 491.58 MB/sec
> Timing buffered disk reads: 90 MB in 3.00 seconds = 30.00 MB/sec
>
> /dev/hda:
> Timing cached reads: 940 MB in 2.00 seconds = 469.89 MB/sec
> Timing buffered disk reads: 172 MB in 3.04 seconds = 56.66 MB/sec
>
> /dev/hde:
> Timing cached reads: 1012 MB in 2.01 seconds = 504.48 MB/sec
> Timing buffered disk reads: 44 MB in 3.05 seconds = 14.43 MB/sec
> (sda is an old 36GB SCSI disk on an Adaptec 2940, hda is a Maxtor on the
> internal VIA PATA controller. I'd expected hde to at least outperform
> sda.)
Output of hdparm -iI /dev/hde would also be helpful.
> Relevent dmesg output is:
> HPT372A: IDE controller at PCI slot 0000:00:09.0
> ACPI: PCI Interrupt Link [LNKB] enabled at IRQ 11
> PCI: setting IRQ 11 as level-triggered ACPI: PCI Interrupt 0000:00:09.0[A] -> Link [LNKB] - > GSI 11 (level, low) -> IRQ 11
> HPT372A: chipset revision 1
> HPT372A: DPLL base: 66 MHz, f_CNT: 99, assuming 33 MHz PCI
> HPT372A: using 66 MHz DPLL clock
> HPT372A: 100%% native mode on irq 11
> ide2: BM-DMA at 0xb000-0xb007, BIOS settings: hde:DMA, hdf:pio
> ide3: BM-DMA at 0xb008-0xb00f, BIOS settings: hdg:pio, hdh:pio
> Probing IDE interface ide2...
> hde: WDC WD2500KS-00MJB0, ATA DISK drive
> ide2 at 0xa000-0xa007,0xa402 on irq 11
Well, this looks sane...
WBR, Sergei
next prev parent reply other threads:[~2006-07-17 17:23 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-07-17 14:27 Status of HPT372A driver? Jonathan McDowell
2006-07-17 17:22 ` Sergei Shtylyov [this message]
2006-07-17 18:26 ` Jonathan McDowell
2006-07-17 19:06 ` Sergei Shtylyov
2006-07-18 12:02 ` Jonathan McDowell
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=44BBC75A.2000800@ru.mvista.com \
--to=sshtylyov@ru.mvista.com \
--cc=linux-kernel@vger.kernel.org \
--cc=noodles@earth.li \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox