1 |
Mark Knecht <markknecht@×××××.com> [11-01-21 20:16]: |
2 |
> On Fri, Jan 21, 2011 at 10:45 AM, <meino.cramer@×××.de> wrote: |
3 |
> > |
4 |
> > Hi, |
5 |
> > |
6 |
> > I got a little confused about the sense or nonsense of AHCI vs. IDE. |
7 |
> > |
8 |
> > I run a ASUS Crosshair IV Formula, which BIOS has a menu entry to |
9 |
> > configure the SATA ports either for IDE or AHCI or RAID. Forget RAID |
10 |
> > for a momen -- I dont use it (nothing against RAID ! ;) |
11 |
> > |
12 |
> > My box uses a linux 2.6.37 vanilla kernel. |
13 |
> > |
14 |
> > The kernel config has been set to |
15 |
> > |
16 |
> > CONFIG_SATA_AHCI=y |
17 |
> > # CONFIG_SATA_AHCI_PLATFORM is not set |
18 |
> > |
19 |
> > In the dmesg output I found this: |
20 |
> > |
21 |
> > pci 0000:00:11.0: set SATA to AHCI mode |
22 |
> > ahci 0000:00:11.0: AHCI 0001.0200 32 slots 4 ports 3 Gbps 0xf impl SATA mode |
23 |
> > ahci 0000:07:00.0: AHCI 0001.0000 32 slots 2 ports 3 Gbps 0x3 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 |
> Good luck! |
58 |
> |
59 |
> Cheers, |
60 |
> Mark |
61 |
> |
62 |
|
63 |
Hi Mark, |
64 |
|
65 |
thank you for your kind words. There is no need to feel sorry for |
66 |
others. The behaviour of those are definelty neither your fault nor |
67 |
your problem ;) |
68 |
|
69 |
For me I have learned that it doesn't matter, whether the result |
70 |
of an experiment is positive or negative as long as one is prepared |
71 |
to learn from it. If one insisits on doing only so called "non stupid |
72 |
things" one will miss a lot of results sooner or later... ;) ;) |
73 |
|
74 |
I thought (which implies "I dont know for sure"), that the BIOS do |
75 |
enable/disable certain features, the kernels reads that settings and |
76 |
act accordingly -- but definitely this is not true for all settings. |
77 |
|
78 |
Does the contents of a harddisk differ when written with AHCI |
79 |
compared to a disk which is written with IDE? |
80 |
|
81 |
If NO _AND_ only the kernel sets the AHCI- odr IDE-protocol, then |
82 |
the harddisk should be readable in either case. |
83 |
|
84 |
If the BIOS _and_ the kernel settings are defining, how to talk |
85 |
to the disk, then it may happen, that there is only the "sound of silence" |
86 |
between kernel and hardware if before the BIOS set up the SATA-chips |
87 |
differently to what the kernel wants to talk. |
88 |
|
89 |
But again, these are only thougts drifting in the dark. |
90 |
|
91 |
I tried to shed some more light (for getting greater shadows ;) ) |
92 |
by posting my question here... ;) 8) |
93 |
|
94 |
May be I should do some more stupid things??? ;) |
95 |
|
96 |
Thanks again for your help and your words, Mark! |
97 |
Have a nice weekend! |
98 |
Best regards, |
99 |
mcc |