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