Gentoo Archives: gentoo-user

From: Volker Armin Hemmann <volkerarmin@××××××××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] AHCI/IDE-question
Date: Fri, 21 Jan 2011 19:18:20
Message-Id: 4d39db9a.9505df0a.50d3.ffffbf47@mx.google.com
In Reply to: Re: [gentoo-user] AHCI/IDE-question by Mark Knecht
1 On Friday 21 January 2011 11:08:39 Mark Knecht wrote:
2 > On Fri, Jan 21, 2011 at 10:45 AM, <meino.cramer@×××.de> wrote:
3 > > Hi,
4 > >
5 > > I got a little confused about the sense or nonsense of AHCI vs. IDE.
6 > >
7 > > I run a ASUS Crosshair IV Formula, which BIOS has a menu entry to
8 > > configure the SATA ports either for IDE or AHCI or RAID. Forget RAID
9 > > for a momen -- I dont use it (nothing against RAID ! ;)
10 > >
11 > > My box uses a linux 2.6.37 vanilla kernel.
12 > >
13 > > The kernel config has been set to
14 > >
15 > > CONFIG_SATA_AHCI=y
16 > > # CONFIG_SATA_AHCI_PLATFORM is not set
17 > >
18 > > In the dmesg output I found this:
19 > >
20 > > pci 0000:00:11.0: set SATA to AHCI mode
21 > > ahci 0000:00:11.0: AHCI 0001.0200 32 slots 4 ports 3 Gbps 0xf impl
22 > > SATA mode ahci 0000:07:00.0: AHCI 0001.0000 32 slots 2 ports 3 Gbps 0x3
23 > > impl SATA mode
24 > >
25 > > despite the fact that AHCI is disabled in the BIOS settings (using
26 > > IDE).
27 > >
28 > > I did an experiment an disabled AHCI in the kernel (to make the kernel
29 > > settings consistent with the BIOS.)
30 > >
31 > > Result: The kernel did not find the root partition.
32 > >
33 > > In the meanwhile I do not understand all this never more.
34 > >
35 > > Why does the kernel boots only, if the BIOS says "IDE!" and linux
36 > > insists on "AHCI!"...and waht ist the result?
37 > >
38 > > Best regards,
39 > > mcc
40 >
41 > Hi meino,
42 > It's disappointing that Volker insists on sending these pissy
43 > little responses which don't advance the conversation. Sorry for that.
44 >
45 > Not sure I can lend any weight to the argument but it's my belief
46 > that your installation of Gentoo Linux isn't using BIOS to access the
47 > disk at all. Once the system boots and loads the kernel, then the
48 > kernel loads drivers (or uses what you built into the kernel) and
49 > takes over control of the hardware using the AHCI drivers. If the
50 > kernel doesn't use BIOS disk calls (INT13?) then it doesn't care what
51 > the BIOS thinks because the BIOS is not longer involved. It just talks
52 > directly to the hardware.
53 >
54 > I'm happy to be corrected (by Volker I'm sure) but that's my guess
55 > as to what you're seeing.
56
57 you are confusing bios calls and bios programming chips as.... also - is there
58 any good reason to use IDE mode? Any? At all?

Replies

Subject Author
Re: [gentoo-user] AHCI/IDE-question Mark Knecht <markknecht@×××××.com>