MSFN Forum: Enable Intel AHCI under XP; Case Closed, read second last post - MSFN Forum

Jump to content


Unattended CD/DVD Guide Homepage · MSFN Forum Rules

If you have questions about customizing Windows XP that are nLite-specific, please post them in the nLite forum, not here. If you have questions regarding the unattended installation of Windows XP, please post them in the Unattended Windows 2000/XP/2003 section.
  • 13 Pages +
  • 1
  • 2
  • 3
  • Last »
  • You cannot start a new topic
  • This topic is locked

Enable Intel AHCI under XP; Case Closed, read second last post How To! Rate Topic: -----

#1 User is offline   puntoMX 

  • n00b of Masters and Vice Versa
  • Group: Super Moderator
  • Posts: 4,727
  • Joined: 28-June 04
  • OS:Windows 7 x64
  • Country: Country Flag

  Posted 18 December 2007 - 06:07 PM

PLEASE NOTE
This topic is outdated, read the last post please, thank you.


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:
PCI\VEN_8086&DEV_2923&CC_0106.DeviceDesc	= "Intel(R) 82801HR/HH/HO SATA AHCI Controller"
To:
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:
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:
	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:
	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:
  • 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: 15 September 2010 - 10:40 AM
Reason for edit: see: 18 DEC 2008



#2 User is offline   nmX.Memnoch 

  • MSFN Master
  • Group: Patrons
  • Posts: 2,086
  • Joined: 15-September 04
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 19 December 2007 - 12:01 PM

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.

#3 User is offline   puntoMX 

  • n00b of Masters and Vice Versa
  • Group: Super Moderator
  • Posts: 4,727
  • Joined: 28-June 04
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 19 December 2007 - 03:26 PM

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:

Posted Image Posted Image
On the left side we see AHCI disabled and on the right side AHCI enabled.


#4 User is offline   nmX.Memnoch 

  • MSFN Master
  • Group: Patrons
  • Posts: 2,086
  • Joined: 15-September 04
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 19 December 2007 - 09:44 PM

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: 19 December 2007 - 09:45 PM


#5 User is offline   puntoMX 

  • n00b of Masters and Vice Versa
  • Group: Super Moderator
  • Posts: 4,727
  • Joined: 28-June 04
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 20 December 2007 - 12:03 PM

Posted Image
AHCI Disabled

Posted Image
AHCI Enabled

Posted Image
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.

#6 User is offline   Metalloy 

  • Group: Members
  • Posts: 1
  • Joined: 04-August 04

Posted 22 December 2007 - 03:20 PM

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 !!!

#7 User is offline   puntoMX 

  • n00b of Masters and Vice Versa
  • Group: Super Moderator
  • Posts: 4,727
  • Joined: 28-June 04
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 23 December 2007 - 12:14 AM

Must have something to do with BTS driverpacks... but I never used it...

#8 User is offline   reno7 

  • Newbie
  • Group: Members
  • Posts: 16
  • Joined: 16-May 06

Posted 23 December 2007 - 04:07 AM

-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

#9 User is offline   puntoMX 

  • n00b of Masters and Vice Versa
  • Group: Super Moderator
  • Posts: 4,727
  • Joined: 28-June 04
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 23 December 2007 - 12:22 PM

View PostpuntoMX, on Dec 18 2007, 06:07 PM, said:

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:
PCIVEN_8086&DEV_2923&CC_0106.DeviceDesc	= "Intel(R) 82801HR/HH/HO SATA AHCI Controller"
To:
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?

View PostpuntoMX, on Dec 18 2007, 06:07 PM, said:

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:
	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...

#10 User is online   nitroshift 

  • Beware of programmers with screwdrivers!
  • Group: Super Moderator
  • Posts: 2,870
  • Joined: 29-November 05
  • OS:Windows 7 x86
  • Country: Country Flag

Posted 23 December 2007 - 01:13 PM

Punto, nice work!!! Does it work for Vista too? :unsure:

#11 User is offline   puntoMX 

  • n00b of Masters and Vice Versa
  • Group: Super Moderator
  • Posts: 4,727
  • Joined: 28-June 04
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 23 December 2007 - 02:04 PM

Thank you.

Vista will work directly with AHCI out of the box ;).

#12 User is online   nitroshift 

  • Beware of programmers with screwdrivers!
  • Group: Super Moderator
  • Posts: 2,870
  • Joined: 29-November 05
  • OS:Windows 7 x86
  • Country: Country Flag

Posted 24 December 2007 - 12:39 AM

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.

#13 User is offline   puntoMX 

  • n00b of Masters and Vice Versa
  • Group: Super Moderator
  • Posts: 4,727
  • Joined: 28-June 04
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 24 December 2007 - 02:34 AM

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 ;).

Scratch that, read on...

#14 User is offline   Zxian 

  • Scroll up - see the Google bar?
  • Group: Super Moderator
  • Posts: 5,066
  • Joined: 30-September 04
  • OS:none specified
  • Country: Country Flag

Posted 24 December 2007 - 12:12 PM

View PostpuntoMX, on Dec 24 2007, 12:34 AM, said:

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.

#15 User is offline   puntoMX 

  • n00b of Masters and Vice Versa
  • Group: Super Moderator
  • Posts: 4,727
  • Joined: 28-June 04
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 24 December 2007 - 01:15 PM

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.

#16 User is offline   Zxian 

  • Scroll up - see the Google bar?
  • Group: Super Moderator
  • Posts: 5,066
  • Joined: 30-September 04
  • OS:none specified
  • Country: Country Flag

Posted 24 December 2007 - 11:19 PM

The second test would likely be a better test of NCQ, since there are multiple requests going on during bootup.

#17 User is offline   eisbaer 

  • Group: Members
  • Posts: 2
  • Joined: 25-December 07

Posted 25 December 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.

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

#18 User is offline   puntoMX 

  • n00b of Masters and Vice Versa
  • Group: Super Moderator
  • Posts: 4,727
  • Joined: 28-June 04
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 27 December 2007 - 02:16 PM

View Posteisbaer, on Dec 25 2007, 03:05 PM, said:

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 ;). Let’s work it out together...

#19 User is offline   eisbaer 

  • Group: Members
  • Posts: 2
  • Joined: 25-December 07

Posted 30 December 2007 - 12: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.

#20 User is offline   osku 

  • Group: Members
  • Posts: 1
  • Joined: 31-December 07

Posted 31 December 2007 - 09:52 AM

View Posteisbaer, on Dec 30 2007, 08:24 PM, said:

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).

Share this topic:


  • 13 Pages +
  • 1
  • 2
  • 3
  • Last »
  • You cannot start a new topic
  • This topic is locked

2 User(s) are reading this topic
0 members, 2 guests, 0 anonymous users



All trademarks mentioned on this page are the property of their respective owners
Copyright © 2001 - 2013 msfn.org
Privacy Policy