IPB

Google Frontpage Forums Unattended CD/DVD Guide

> Unattended CD/DVD Guide Homepage · MSFN Forum Rules

We try our best to keep this forum clean of illegal content. If you see any illegal activity use the "report" button you find in every post to report the specific post to the moderators.

If you have questions about customizing Windows XP that are nLite-specific, please post them in the nLite forum, not here.

12 Pages V   1 2 3 > »   
Reply to this topicStart new topic
> How to enable AHCI on Intel ICH9 under XP, How To!
puntoMX
post Dec 18 2007, 06:07 PM
Post #1


MSFN Junkie
Group Icon

Group: Super Moderator
Posts: 3896
Joined: 28-June 04
From: Mexico
Member No.: 23618
OS: none
Country Flag


PLEASE NOTE
This post has been replaced by an entry in the compiled sticky FAQ HERE.


How to enable AHCI on Intel ICH9 under XP

After some research by MSFN staff, we have a working solution to enable ACHI on the ICH9 with appropriate SATA/NCQ drive(s).

For more information about AHCI, we refer to Wikipedia.org:
QUOTE
The Advanced Host Controller Interface (AHCI) is a hardware mechanism that allows software to communicate with Serial ATA (SATA) devices such as host bus adapters which are designed to offer features not offered by Parallel ATA (PATA) controllers besides higher speeds, such as hot-plugging and native command queuing. The specification details a system memory structure for computer hardware vendors in order to transfer data between system memory and the device.


List of needed files and driver packs:
32-bit Floppy Configuration Utility for Intel® Matrix Storage Manager
64-bit Floppy Configuration Utility for Intel® Matrix Storage Manager


Index:
1. Unpacking drivers
2. Preparing the drivers
3. Creating Windows registry file
4. BIOS Settings
5. Installing the drivers in Windows
6. Final installation check
7. Editors thoughts



1. Unpacking drivers

Unpack the Floppy Configuration Utility for Intel® Matrix Storage Manager and extract the file (.ZIP) with WinRAR or similar program.


2. Preparing the drivers

Copy the file IASTOR.SYS to the Windows SYSTEM32/DRIVERS directory. Open the IAAHCI.INF with Notepad from the directory where you unpacked the drivers. Use CRTL-R and you should get a “replace” window. In the first input window you type “2821” and the second “2923”, so you will replace all “2821” text to “2923”, and click “Replace All”. Save IAAHCI.INF over the original file.

Replace the line:
CODE
PCI\VEN_8086&DEV_2923&CC_0106.DeviceDesc    = "Intel(R) 82801HR/HH/HO SATA AHCI Controller"
To:
CODE
PCI\VEN_8086&DEV_2923&CC_0106.DeviceDesc    = "Intel(R) ICH9 SATA AHCI Controller"

Save the file under the same name, e.g. IAAHCI.INF and exit Notepad.


3. Creating Windows registry file

Now we create a registry file with Notepad and the following contence:
CODE
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\CriticalDeviceDatabase\pci#ven_8086&dev_2923&cc_0106]
"Service"="iaStor"
"ClassGUID"="{4D36E96A-E325-11CE-BFC1-08002BE10318}"

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\iaStor]
"Type"=dword:00000001
"Start"=dword:00000000
"Group"="SCSI miniport"
"ErrorControl"=dword:00000001
"ImagePath"="system32\\drivers\\iaStor.sys"
"tag"=dword:00000019
"DisplayName"="Intel AHCI Controller"

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\iaStor\Parameters]
"queuePriorityEnable"=dword:00000000

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\iaStor\Enum]
"0"="PCI\\VEN_8086&DEV_2923&SUBSYS_B0051458&REV_02\\3&13c0b0c5&0&FA"
"Count"=dword:00000001
"NextInstance"=dword:00000001

Save it as AHCI_ICH9.REG and run it after closing Notepad.


4. BIOS Settings

Restart the computer and enter the BIOS (Mostly entered by pressing DEL). Make the settings:
CODE
    SATA RAID/AHCI Mode          [AHCI]
    SATA Port0-3 Native Mode     [Enabled]

Restart again to boot into Windows XP.

For ASUS P5K motherboards (IF present in BIOS, please report if not present.):
Restart the computer and enter the BIOS (Mostly entered by pressing DEL). Make the settings:
CODE
    SATA Configuration          [Enhanced]
       Configure SATA as        [AHCI]

Restart again to boot into Windows XP.


5. Installing the drivers in Windows

If you did steps one to four right, you will not get that “known” BSOD again before you hit the desktop! Windows will show new devices found like all your optical drives and hard disks until you hit to “PCI-Device”. Select “Install manual” and point to the folder where you saved the IAAHCI.INF file and select the IAAHCI.INF file as this is the driver that needs to be installed. Follow the instruction on the screen and restart your computer again.


6. Final installation check

When Windows has started, go to the control panel to check your system properties. In the hardware configuration list there should be now:
IDE ATA/ATAPI controllers -> Intel® ICH9 SATA AHCI Controller.

Beware: You can’t install the Intel Matrix Storage Manager, as the ICH9 doesn’t have RAID. On the net people talk about a modified version that should install, but it’s useless when you don’t have RAID.


We hope you enjoy your new ACHI enabled ICR9 Bridge in XP!



7. Editors thoughts

It must be a marketing question from Intel and Microsoft. There is nothing else I can think of why neither Intel nor Microsoft made new drivers for XP. The only thing I can think of is that Intel wants to sell more ICR9R bridges and Microsoft wants to push its Windows Vista. Like always both companies won’t make any comments!...

Regards,
puntoMX

Ps. if there is any good info I should add, please post it newwink.gif...

Changes:
  • 23 DEC 2007, Edited point 4; ASUS BIOS settings.
  • 04 JAN 2008, Edited point 6; Fact, unable to install the Intel Matrix Storage Manager.
  • 07 FEB 2008, Edited point 1 and 2; Clearer explication about the IAAHCI.INF file, and option when a floppy drive is used.
  • 19 MAY 2008, Edited point 3; ControlSet001 changed on second line of registry file to CurrentControlSet, thanks to skipg for correcting me.
  • 10 AUG 2008, Post contents added to sticky FAQ, this post is now un-stickied and retired
  • 10 DEC 2008, Changed the Intel driver links, now for 32 and 64 bit and the latest version, thanks to an3k for the links.
  • 18 DEC 2008, Intel drivers are now packed as a .ZIP file, removed the outdated un-packing procedure, thanks to tre_ge.


This post has been edited by puntoMX: Dec 18 2008, 02:47 PM
Reason for edit: see: 18 DEC 2008
Go to the top of the page
 
+Quote Post
nmX.Memnoch
post Dec 19 2007, 12:01 PM
Post #2


MSFN Master
********

Group: Members
Posts: 2062
Joined: 15-September 04
From: San Antonio, TX
Member No.: 31126
Country Flag


And how sure are we that this actually enables AHCI support rather than just making Device Manager say it has the AHCI driver? Remember, according to Intel, the non-RAID ICH9 does not support AHCI.
Go to the top of the page
 
+Quote Post
puntoMX
post Dec 19 2007, 03:26 PM
Post #3


MSFN Junkie
Group Icon

Group: Super Moderator
Posts: 3896
Joined: 28-June 04
From: Mexico
Member No.: 23618
OS: none
Country Flag


Well, after reading lots of information, mostly from forums, and testing it on a Gigabyte GA-P35-DS3L with ICH9, I got it flawless to work.

Before only the AHCI option in combination with an ICH9 could be used for Vista, this is clearly written in the users Manuel of more motherboard makers. I have tested in under Vista and the installation works well with AHCI enabled. Normally XP would give the BSOD before showing the welcome screen.

The description above just let’s XP work with the driver AFTER windows XP has been installed. Note that this is not only a way for the ICR9 Bridge, it also can be done for the ICR 7 and 8.

And it works, believe me. Before the hardware would show other controllers:


On the left side we see AHCI disabled and on the right side AHCI enabled.
Go to the top of the page
 
+Quote Post
nmX.Memnoch
post Dec 19 2007, 09:44 PM
Post #4


MSFN Master
********

Group: Members
Posts: 2062
Joined: 15-September 04
From: San Antonio, TX
Member No.: 31126
Country Flag


I guess my point is that I can edit the .inf and make Device Manager say anything I want it to. Just because Device Manager says "AHCI" has anyone actually verified that features like NCQ and hot plugging work?

This post has been edited by nmX.Memnoch: Dec 19 2007, 09:45 PM
Go to the top of the page
 
+Quote Post
puntoMX
post Dec 20 2007, 12:03 PM
Post #5


MSFN Junkie
Group Icon

Group: Super Moderator
Posts: 3896
Joined: 28-June 04
From: Mexico
Member No.: 23618
OS: none
Country Flag



AHCI Disabled


AHCI Enabled


AHCI Enabled but Native disabled


When AHCI is enabled you have the Advanced Power Management feature enabled on the drive. NCQ is enabled on the drive in all modes, so if you have a tool that can give me NCQ test results I would be pleased to have it.
Go to the top of the page
 
+Quote Post
Metalloy
post Dec 22 2007, 03:20 PM
Post #6





Group: Members
Posts: 1
Joined: 4-August 04
Member No.: 26216



Note to the Editor and Microsoft and Intel :

I am stuck (still) in this very specific problem, and you know what drives me really crazy ? It's that the Ultimate-Bootable-XP CD recognizes the AHCI drives very naturally !!!
Go to the top of the page
 
+Quote Post
puntoMX
post Dec 23 2007, 12:14 AM
Post #7


MSFN Junkie
Group Icon

Group: Super Moderator
Posts: 3896
Joined: 28-June 04
From: Mexico
Member No.: 23618
OS: none
Country Flag


Must have something to do with BTS driverpacks... but I never used it...
Go to the top of the page
 
+Quote Post
reno7
post Dec 23 2007, 04:07 AM
Post #8


Newbie


Group: Members
Posts: 16
Joined: 16-May 06
From: France
Member No.: 96457
OS: 98SE
Country Flag


-BJR- Hello ,

when I open IASTOR.SYS / IAAHCI.INF files, it speaks of ich9R and not of ICH9, needs it to create the line?
My Motherboard is ASUS P5K.

Thanks
Go to the top of the page
 
+Quote Post
puntoMX
post Dec 23 2007, 12:22 PM
Post #9


MSFN Junkie
Group Icon

Group: Super Moderator
Posts: 3896
Joined: 28-June 04
From: Mexico
Member No.: 23618
OS: none
Country Flag


QUOTE (puntoMX @ Dec 18 2007, 06:07 PM) *
2. Preparing the drivers

Copy the file IASTOR.SYS to the Windows SYSTEM32/DRIVERS directory. Open the IAAHCI.INF with Notepad. Use CRTL-R and you should get a “replace” window. In the first input window you type “2821” and the second “2923”, so you will replace all “2821” text to “2923”, and click “Replace All”.

Replace the line:
CODE
PCIVEN_8086&DEV_2923&CC_0106.DeviceDesc    = "Intel(R) 82801HR/HH/HO SATA AHCI Controller"
To:
CODE
PCIVEN_8086&DEV_2923&CC_0106.DeviceDesc    = "Intel(R) ICH9 SATA AHCI Controller"

Save the file under the same name, e.g. IAAHCI.INF and exit Notepad.

As you can see, there are 2 steps; what part is not working/clear for you?

QUOTE (puntoMX @ Dec 18 2007, 06:07 PM) *
4. BIOS Settings

... ...
For ASUS P5K motherboards (IF present in BIOS, please report if not present.):
Restart the computer and enter the BIOS (Mostly entered by pressing DEL). Make the settings:
CODE
    SATA Configuration          [Enhanced]
       Configure SATA as        [AHCI]

Restart again to boot into Windows XP.

Before you continue it would be wise to check IF these settings are possible in your BIOS revision. Some BIOS revisions do not have these options...
Go to the top of the page
 
+Quote Post
nitropuppy
post Dec 23 2007, 01:13 PM
Post #10


Beware of programmers with screwdrivers!
Group Icon

Group: Moderator
Posts: 2476
Joined: 29-November 05
From: fffff80001e79450
Member No.: 81039
OS: Windows 7 x64
Country Flag


Punto, nice work!!! Does it work for Vista too? unsure.gif
Go to the top of the page
 
+Quote Post
puntoMX
post Dec 23 2007, 02:04 PM
Post #11


MSFN Junkie
Group Icon

Group: Super Moderator
Posts: 3896
Joined: 28-June 04
From: Mexico
Member No.: 23618
OS: none
Country Flag


Thank you.

Vista will work directly with AHCI out of the box newwink.gif.
Go to the top of the page
 
+Quote Post
nitropuppy
post Dec 24 2007, 12:39 AM
Post #12


Beware of programmers with screwdrivers!
Group Icon

Group: Moderator
Posts: 2476
Joined: 29-November 05
From: fffff80001e79450
Member No.: 81039
OS: Windows 7 x64
Country Flag


That's interesting, Punto... I had Vista installed on my previous rig (HDD set up as IDE) and when I upgraded the pc I didn't want to format and reinstall Vista so I set up the new BIOS to see the SATA HDD as an IDE device. Then I thought I might take advantage of the AHCI features and changed it in BIOS. Boot the machine ---> BSOD. Reverting to IDE gets rid of the BSOD. Any idea how I can enable AHCI without reinstalling? All the specs are in my signature and I am using Vista Ultimate x86. Thanks for any / all input.
Go to the top of the page
 
+Quote Post
puntoMX
post Dec 24 2007, 02:34 AM
Post #13


MSFN Junkie
Group Icon

Group: Super Moderator
Posts: 3896
Joined: 28-June 04
From: Mexico
Member No.: 23618
OS: none
Country Flag


I didn’t test it on Vista, but it should work (almost) the same way.

Step 3 could be a problem, but you could check if the keys are in the same place with Vista...

EDIT: on the other hand, it’s not giving you much performance as you can see in the benchmarks I posted above newwink.gif.

Scratch that, read on...
Go to the top of the page
 
+Quote Post
Zxian
post Dec 24 2007, 12:12 PM
Post #14


Scroll up - see the Google bar?
Group Icon

Group: Super Moderator
Posts: 5045
Joined: 30-September 04
From: Vancouver, Canada
Member No.: 32464
OS: Windows 7 x64
Country Flag


QUOTE (puntoMX @ Dec 24 2007, 12:34 AM) *
EDIT: on the other hand, it’s not giving you much performance as you can see in the benchmarks I posted above newwink.gif.


Those artificial benchmarks don't really give the whole story of performance. I don't think that the advantages of features like NCQ are properly represented in HD Tune. As memnoch pointed out earlier, I think that all you've succeeded in doing is loading the ACHI driver under XP, but not actually enabling the ACHI features.
Go to the top of the page
 
+Quote Post
puntoMX
post Dec 24 2007, 01:15 PM
Post #15


MSFN Junkie
Group Icon

Group: Super Moderator
Posts: 3896
Joined: 28-June 04
From: Mexico
Member No.: 23618
OS: none
Country Flag


Then you tell me how to test NCQ?

BIOS has been installed and drivers are loaded indeed, benchmarks show a smoother image and Advanced Power Management feature IS enabled.

It would be nice if some one who has an ICH9R with the same drive and run the same benchmark (HD Tune default) under XP to see what shows up...

EDIT: My PC:
- Without AHCI enabled takes 24.6 sec. to get to the desktop of Windows XP 1) 2)
- With AHCI enabled takes 19.2 sec. to get to the desktop of Windows XP 1) 2)

1) From start of use harddisk. 2) Average has been taken from 2x 10 startups.
Go to the top of the page
 
+Quote Post
Zxian
post Dec 24 2007, 11:19 PM
Post #16


Scroll up - see the Google bar?
Group Icon

Group: Super Moderator
Posts: 5045
Joined: 30-September 04
From: Vancouver, Canada
Member No.: 32464
OS: Windows 7 x64
Country Flag


The second test would likely be a better test of NCQ, since there are multiple requests going on during bootup.
Go to the top of the page
 
+Quote Post
eisbaer
post Dec 25 2007, 03:05 PM
Post #17





Group: Members
Posts: 2
Joined: 25-December 07
Member No.: 168167
OS: XP Pro x86
Country Flag


Well that didn't work for me. After setting SATA at AHCI in the bios, windows xp pro doesn't start up anymore. It asks if I want to boot in safemode what doesn't work either. Xp only boots with SATA set to IDE. Not sure where the problems lies.

Asus p5k
Samsung S203D drive (sata)
WD HDD (IDE and bootdevice)
Samsung spinpoint (sata) send for repair so not installed at the moment
2GB
Windows XP Pro
Go to the top of the page
 
+Quote Post
puntoMX
post Dec 27 2007, 02:16 PM
Post #18


MSFN Junkie
Group Icon

Group: Super Moderator
Posts: 3896
Joined: 28-June 04
From: Mexico
Member No.: 23618
OS: none
Country Flag


QUOTE (eisbaer @ Dec 25 2007, 03:05 PM) *
Well that didn't work for me. After setting SATA at AHCI in the bios, windows xp pro doesn't start up anymore. It asks if I want to boot in safemode what doesn't work either. Xp only boots with SATA set to IDE. Not sure where the problems lies.
I PMed you a few days ago, still no response newwink.gif. Let’s work it out together...
Go to the top of the page
 
+Quote Post
eisbaer
post Dec 30 2007, 12:24 PM
Post #19





Group: Members
Posts: 2
Joined: 25-December 07
Member No.: 168167
OS: XP Pro x86
Country Flag


Thanks for you offer to help. I got it installed in the mean time though, via.

1.Download floppy version of intel matrix.
2.Extract the drivers to a floppy then to a map on your disc.
3.Update the IDE/SATA driver to Intel 82801GR/GH SATA AHCI from the extracted floppy.
4.Reboot and enter BIOS and set the IDE to AHCI.Save and exit.Now windows will boot and find a new hardware and will reboot again.
5.Install Intel Matrix Storage Manager latest (CD version) and reboot.

I'll have to wait for my sata hdd returing from rma to do some benchmarking.
Go to the top of the page
 
+Quote Post
osku
post Dec 31 2007, 09:52 AM
Post #20





Group: Members
Posts: 1
Joined: 31-December 07
Member No.: 169079
OS: none
Country Flag


QUOTE (eisbaer @ Dec 30 2007, 08:24 PM) *
Thanks for you offer to help. I got it installed in the mean time though, via.

1.Download floppy version of intel matrix.
2.Extract the drivers to a floppy then to a map on your disc.
3.Update the IDE/SATA driver to Intel 82801GR/GH SATA AHCI from the extracted floppy.
4.Reboot and enter BIOS and set the IDE to AHCI.Save and exit.Now windows will boot and find a new hardware and will reboot again.
5.Install Intel Matrix Storage Manager latest (CD version) and reboot.

I'll have to wait for my sata hdd returing from rma to do some benchmarking.


The OP forgot to inform when he thinks the drivers should be installed etc..., but I did also about the same as you did, I had earlier a few days ago allready created the floppy and just modified it with Notepad. Installed the modified driver, then the .reg file and rebooted and changed the ACHI setting. Boots ok, but I am unable to install the Intel Matrix Storage Manager as it says "This computer does not meet the minumum requirements for installing this software". How did you fix that? Trying to install a 7.8.0.1012 over XP Pro SP3 (English). One curiosity was that the driver I installed before restarting had to be intalled again since it was gone after restart. I am now wondering should I have had Intel drivers installed before the whole procedure (just installed this system today).
Go to the top of the page
 
+Quote Post

Google Frontpage Forums Unattended CD/DVD Guide

12 Pages V   1 2 3 > » 
Reply to this topicStart new topic
3 User(s) are reading this topic (3 Guests and 0 Anonymous Users)
0 Members:

 




Lo-Fi Version Time is now: 7th November 2009 - 04:47 PM
All trademarks mentioned on this page are the property of their respective owners
MSFN is not affiliated with Microsoft
Copyright © 2001-2009 msfn.org
Privacy Policy