David Bourgeois wrote:
Hi,
I have much trouble to get sata working with an Intel 82801I (ICH9 Family)
interface from a Compaq dc5800. The minimal CD 2008.0 uses the ata driver
and not sata so harddisks are registered as /dev/hda. After installation, my
custom kernel does the same and I had to disable ata completely (CONFIG_IDE)
before the sata driver was loaded correctly. (followed thread:
http://bugs.gentoo.org/show_bug.cgi?id=184825)
Now the sata driver loads correctly (it seems) but my hardisk is extremely
slow:
/dev/sda:
Timing cached reads: 3746 MB in 2.00 seconds = 1874.11 MB/sec
Timing buffered disk reads: 6 MB in 3.20 seconds = 1.88 MB/sec
while when CONFIG_IDE is set, I have the following performace with the ata
driver:
/dev/hda:
Timing cached reads: 7550 MB in 2.00 seconds = 3779.94 MB/sec
Timing buffered disk reads: 14 MB in 3.46 seconds = 4.05 MB/sec
Any idea on what I can try to do next? Some more info on my setting below.
It seems you have set up the SATA controller to do (sub-optimal)
IDE/PATA emulation rather than native AHCI. Try enabling "AHCI" in the
BIOS (search for it in the SATA/IDE settings) and enable "<*> AHCI SATA
support" in the kernel.
Note that if you do that and you have Windows installed on the same
machine, you'll need to reinstall Windows since it won't boot anymore if
you change to AHCI.