Gentoo Archives: gentoo-user

From: "John H. Moe" <johnmoe@××××××××××××.au>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Re: kernel build - back in the soup.
Date: Wed, 04 Nov 2009 22:50:23
Message-Id: 4AF20529.6020705@optusnet.com.au
In Reply to: [gentoo-user] Re: kernel build - back in the soup. by Harry Putnam
1 Harry Putnam wrote:
2 > "John H. Moe" <johnmoe@××××××××××××.au> writes:
3 >
4 >
5 >> I stopped using that option in my systems, as there is now a AHCI SATA
6 >> option to use instead. It appears CONFIG_ATA_SFF (which CONFIG_ATA_PIIX
7 >> requires) is deprecated. From the help on it:
8 >>
9 >
10 > Do you notice some kind of difference from switching?
11 >
12 >
13 >
14 Well, my understanding is that SATA controllers can operate in one of
15 two modes: AHCI (or native) mode, which allows for the full capabilities
16 (read: SPEED) of the SATA interface, and an IDE-compatible mode, for
17 things like Windows XP (which I use at work) that doesn't, by default,
18 understand SATA. If you try to load WinXP on to a PC with SATA, you
19 either have to switch the SATA controller to IDE-mode, which allows
20 WinXP to see it as a normal IDE hard drive, or load a SATA driver at
21 install time (from a floppy! One of the few things I still need 3.5"
22 floppies for).
23
24 Translating this to Linux (at home), I chose the AHCI option when it
25 showed up in one kernel upgrade, and when I saw in the help for ATA_SFF
26 that it's the "legacy IDE interface", I figured I didn't need it, so I
27 left it out.
28
29 So if I understand this correctly, you should use the AHCI option if
30 your SATA controller is in "AHCI" or "Native" mode, and the ATA_SFF
31 option if you're in "IDE" or "Compatible" mode.
32
33 Hope this helps (and makes sense)
34
35 John Moe