From: infernix <infernix@infernix.net>
To: linux-ide@vger.kernel.org
Subject: Re: PATA port not detected when using AHCI on Intel 82801GB/GR/GH
Date: Sat, 13 Feb 2010 00:30:58 +0100 [thread overview]
Message-ID: <4B75E4B2.3070105@infernix.net> (raw)
In-Reply-To: <20100123133831.7f24ae95@lxorguk.ukuu.org.uk>
Hi again,
It's been a while because I got a bad set of hard disks to start testing
with, but I'm all set now that I've got new ones. Both the PATA port
with the IDE DOM as well as all the SATA ports are recognised and
working now.
PATA_LEGACY Depends on: ATA [=y] && ATA_SFF [=y] && ISA [=n] &&
EXPERIMENTAL [=y] │
To make it work, PATA_LEGACY needs to have the ISA dependancy removed
(at least on x86_64). Not sure if that's been committed by anyone yet.
So, it boots up fine, but doesn't use DMA (it's ata7+8):
[ 1.399227] ata1: SATA max UDMA/133 abar m1024@0xffa3fc00 port
0xffa3fd00 irq 26
[ 1.406607] ata2: SATA max UDMA/133 abar m1024@0xffa3fc00 port
0xffa3fd80 irq 26
[ 1.413981] ata3: SATA max UDMA/133 abar m1024@0xffa3fc00 port
0xffa3fe00 irq 26
[ 1.421355] ata4: SATA max UDMA/133 abar m1024@0xffa3fc00 port
0xffa3fe80 irq 26
[ 1.442719] ata5: SATA max UDMA/100 host m128@0xff8ffc00 port
0xff8f8000 irq 18
[ 1.450014] ata6: SATA max UDMA/100 host m128@0xff8ffc00 port
0xff8fa000 irq 18
[ 1.460718] ata7: PATA max PIO4 cmd 0x1f0 ctl 0x3f6 irq 14
[ 1.628360] ata7.00: CFA: TRANSCEND, 20071207, max UDMA/66
[ 1.633832] ata7.00: 7831152 sectors, multi 0: LBA
[ 1.638708] ata7.00: configured for PIO
[ 5.671978] ata8: PATA max PIO4 cmd 0x170 ctl 0x376 irq 15
Here's the PATA port performance with the BIOS set to Compatible (ATA_PIIX):
Timing cached reads: 1750 MB in 2.00 seconds = 875.19 MB/sec
Timing buffered disk reads: 80 MB in 3.01 seconds = 26.58 MB/sec
And here's with Enhanced (AHCI + PATA_LEGACY):
Timing cached reads: 770 MB in 2.00 seconds = 385.04 MB/sec
Timing buffered disk reads: 6 MB in 3.29 seconds = 1.82 MB/sec
On 23/01/10 14:38, Alan Cox wrote:
>> That would make me think it's actually wired to the ICH. Maybe also to
>> the LPC bus but I'm not knowledgeable enough to know if thats even possible.
>
> I'm not sure what occurs if you set up the address decode on the ICH for
> the port and then hide it. Seems a strange thing to do but it might be
> the case, and if so we can probably add a Linux quirk based on the DMI
> data to unhide it.
How can I try this? And would it yield any performance benefits? It's
pretty slow now, and although usable in a NAS setup, it would be nice to
try and get more out of it. As far as I can tell, the hardware can do
it, judging by the hdparm performance when it's set to compatible mode.
Or is there no more performance to be gained in this mode?
Full dmesg, dmidecode and lspci can be found at
http://dx.infernix.net/ss4200/
Thanks!
next prev parent reply other threads:[~2010-02-12 23:30 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-01-22 3:37 PATA port not detected when using AHCI on Intel 82801GB/GR/GH infernix
2010-01-22 5:01 ` Robert Hancock
2010-01-22 12:57 ` infernix
2010-01-23 1:23 ` Robert Hancock
2010-01-23 2:29 ` infernix
2010-01-23 7:18 ` Robert Hancock
2010-01-23 13:14 ` infernix
2010-01-23 10:14 ` Alan Cox
2010-01-23 13:08 ` infernix
2010-01-23 13:38 ` Alan Cox
2010-01-23 14:13 ` infernix
2010-01-23 14:30 ` infernix
2010-02-12 23:30 ` infernix [this message]
2010-02-13 0:04 ` Alan Cox
2010-02-13 0:21 ` infernix
2010-01-22 5:31 ` Jeff Garzik
-- strict thread matches above, loose matches on Subject: below --
2010-02-05 2:17 Joe Ceklosky
2010-02-06 1:43 ` Robert Hancock
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=4B75E4B2.3070105@infernix.net \
--to=infernix@infernix.net \
--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).