Welcome to the Windows XP forum. If you have an error or a question make sure that you provide enough information to your fellow members in order to get a good answer, without information we cant answer you.
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.
![]() ![]() |
Dec 18 2007, 06:07 PM
Post
#1
|
|
|
MSFN Junkie Group: Super Moderator Posts: 3520 Joined: 28-June 04 From: Mexico Member No.: 23618 OS: Vista Ultimate x64
|
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: MagicISO (Only needed when you don’t want or can not use a floppy disk.) 32-bit Floppy Configuration Utility for Intel® Matrix Storage Manager Index: 1. Unpacking drivers 1.1 Extracting .IMA file with Magic ISO 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 Step 1 and 1.1 can be skipped if you want to use a floppy disk. You can edit and copy the files directly from the floppy disk. Unpack the 32-bit Floppy Configuration Utility for Intel® Matrix Storage Manager and extract the file (.EXE) with WinRAR or similar program. You now get an .EXE file that need to be extracted again to the F32.IMA file. 1.1 Extracting .IMA file with Magic ISO Install MagicISO or other program that can recognize the .IMA file extension. Open the F32.IMA file with the appropriate program and extract the files to the same folder as the F32.IMA file. If you use MagicISO the select the whole list on the right upper window, en click on it with the right mouse button (for right-handed people) and extract them in the folder where you stored the F32.IMA file. 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 Changes:
This post has been edited by Mr Snrub: Aug 10 2008, 12:53 AM
Reason for edit: see: 10 AUG 2008
|
|
|
|
Dec 19 2007, 12:01 PM
Post
#2
|
|
|
MSFN Master ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Members Posts: 2078 Joined: 15-September 04 From: San Antonio, TX Member No.: 31126
|
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.
|
|
|
|
Dec 19 2007, 03:26 PM
Post
#3
|
|
|
MSFN Junkie Group: Super Moderator Posts: 3520 Joined: 28-June 04 From: Mexico Member No.: 23618 OS: Vista Ultimate x64
|
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. |
|
|
|
Dec 19 2007, 09:44 PM
Post
#4
|
|
|
MSFN Master ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Members Posts: 2078 Joined: 15-September 04 From: San Antonio, TX Member No.: 31126
|
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 |
|
|
|
Dec 20 2007, 12:03 PM
Post
#5
|
|
|
MSFN Junkie Group: Super Moderator Posts: 3520 Joined: 28-June 04 From: Mexico Member No.: 23618 OS: Vista Ultimate x64
|
![]() 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. |
|
|
|
Dec 22 2007, 03:20 PM
Post
#6
|
|
|
Group: Members Posts: 3 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 !!! |
|
|
|
Dec 23 2007, 12:14 AM
Post
#7
|
|
|
MSFN Junkie Group: Super Moderator Posts: 3520 Joined: 28-June 04 From: Mexico Member No.: 23618 OS: Vista Ultimate x64
|
Must have something to do with BTS driverpacks... but I never used it...
|
|
|
|
Dec 23 2007, 04:07 AM
Post
#8
|
|
|
Newbie Group: Members Posts: 21 Joined: 16-May 06 From: France Member No.: 96457 OS: 98SE
|
-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 |
|
|
|
Dec 23 2007, 12:22 PM
Post
#9
|
|
|
MSFN Junkie Group: Super Moderator Posts: 3520 Joined: 28-June 04 From: Mexico Member No.: 23618 OS: Vista Ultimate x64
|
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? 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... |
|
|
|
Dec 23 2007, 01:13 PM
Post
#10
|
|
|
Senior Technician ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Members Posts: 2204 Joined: 29-November 05 From: devnull Member No.: 81039 OS: Vista Ultimate x64
|
Punto, nice work!!! Does it work for Vista too?
|
|
|
|
Dec 23 2007, 02:04 PM
Post
#11
|
|
|
MSFN Junkie Group: Super Moderator Posts: 3520 Joined: 28-June 04 From: Mexico Member No.: 23618 OS: Vista Ultimate x64
|
Thank you.
Vista will work directly with AHCI out of the box |
|
|
|
Dec 24 2007, 12:39 AM
Post
#12
|
|
|
Senior Technician ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Members Posts: 2204 Joined: 29-November 05 From: devnull Member No.: 81039 OS: Vista Ultimate x64
|
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.
|
|
|
|
Dec 24 2007, 02:34 AM
Post
#13
|
|
|
MSFN Junkie Group: Super Moderator Posts: 3520 Joined: 28-June 04 From: Mexico Member No.: 23618 OS: Vista Ultimate x64
|
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... Scratch that, read on... |
|
|
|
Dec 24 2007, 12:12 PM
Post
#14
|
|
|
Scroll up - see the Google bar? Group: Super Moderator Posts: 5175 Joined: 30-September 04 From: Vancouver, Canada Member No.: 32464 OS: XP Pro x86
|
EDIT: on the other hand, it’s not giving you much performance as you can see in the benchmarks I posted above 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. |
|
|
|
Dec 24 2007, 01:15 PM
Post
#15
|
|
|
MSFN Junkie Group: Super Moderator Posts: 3520 Joined: 28-June 04 From: Mexico Member No.: 23618 OS: Vista Ultimate x64
|
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. |
|
|
|
Dec 24 2007, 11:19 PM
Post
#16
|
|
|
Scroll up - see the Google bar? Group: Super Moderator Posts: 5175 Joined: 30-September 04 From: Vancouver, Canada Member No.: 32464 OS: XP Pro x86
|