From: bugzilla-daemon@bugzilla.kernel.org
To: linux-ide@vger.kernel.org
Subject: [Bug 102741] pata_hpt37x driver refuses to operate with Adaptec 1200A at UDMA/100
Date: Wed, 12 Aug 2015 18:41:02 +0000 [thread overview]
Message-ID: <bug-102741-11633-fOQXV9YrCg@https.bugzilla.kernel.org/> (raw)
In-Reply-To: <bug-102741-11633@https.bugzilla.kernel.org/>
https://bugzilla.kernel.org/show_bug.cgi?id=102741
--- Comment #1 from Sergei Shtylyov <sshtylyov@ru.mvista.com> ---
(In reply to Andreas E from comment #0)
> The card is properly initialized using the pata_hpt370x kernel driver.
pata_hpt37x, you mean. I've already fixed the subject.
> However, it will always show as UDMA/66 which simply cannot be. Of course,
> I've even tried brand-new cables with it, but I think it has nothing to so
> with that.
Sure.
> The drive connected to it is a Samsung SpinPoint T133 (HD 400 LD), which
> *definitly* can do UDMA/100.
> The hardware is capable of doing so, too:
> # lspci -knn |grep HPT
> 01:09.0 Mass storage controller [0180]: HighPoint Technologies, Inc.
> HPT366/368/370/370A/372/372N [1103:0004] (rev 03)
> Subsystem: HighPoint Technologies, Inc. HPT370 UDMA100 [1103:0005]
Yes, it's the original HPT370 chip.
> Now let's take a look at the dmesg from kernel:
> [ 1.992359] pata_hpt37x: HPT370 using 33MHz bus clock
> [ 2.015478] scsi host10: pata_hpt37x
> [ 2.023431] scsi host11: pata_hpt37x
>
> [ 2.023610] ata11: PATA max UDMA/66 cmd 0x8c00 ctl 0x9000 bmdma 0x9c00
> irq 19
> [ 2.023614] ata12: PATA max UDMA/66 cmd 0x9400 ctl 0x9800 bmdma 0x9c08
> irq 19
>
> ('ata12' is the Samsung drive; 'ata11' is currently empty.)
> This can't be correct.
> Why only at such low speed, i. e. UDMA/66?
The HPT370 speed was artificiallly limited to UDMA/66, mimicking what I did for
drivers/ide/hpt366.c. And in case of the IDE driver, the reason was two--fold:
1) UDMA/100 is not properly reachable with 33 MHz PCI clock;
2) UDMA/66 showed much better figures than UDMA/100 on HPT370 I was testing on.
There were good reasons not to use DPLL clock, which is 48 MHz on HPT370[A].
--
You are receiving this mail because:
You are watching the assignee of the bug.
next prev parent reply other threads:[~2015-08-12 18:41 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-08-12 17:11 [Bug 102741] New: pata_hpt370x driver doesn't want to operate with Adaptec 1200A at UDMA/100 bugzilla-daemon
2015-08-12 17:30 ` [Bug 102741] pata_hpt370x driver refuses " bugzilla-daemon
2015-08-12 17:56 ` [Bug 102741] pata_hpt37x " bugzilla-daemon
2015-08-12 18:41 ` bugzilla-daemon [this message]
2015-08-12 19:38 ` bugzilla-daemon
2015-08-12 20:48 ` bugzilla-daemon
2015-08-12 21:41 ` bugzilla-daemon
2015-08-14 10:48 ` bugzilla-daemon
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=bug-102741-11633-fOQXV9YrCg@https.bugzilla.kernel.org/ \
--to=bugzilla-daemon@bugzilla.kernel.org \
--cc=linux-ide@vger.kernel.org \
/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;
as well as URLs for NNTP newsgroup(s).