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 +
  • « First
  • 8
  • 9
  • 10
  • 11
  • 12
  • 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: -----

#171 User is offline   gertin 

  • Group: Members
  • Posts: 1
  • Joined: 15-October 08

Posted 15 October 2008 - 12:50 PM

I successfully changed to AHCI after installing XP x64 SP1, but now I need to change it back to IDE because of some performance issues (freezing and stuttering) when copying files between two drives (Samsung F1 1TB and WD Raptor 150GB).

I assume I have to force install the IDE driver instead, but I can't figure out which one it is. I'm using a Asus P5Q Deluxe board with Intel ICH10R chipset.


#172 User is offline   jtdoom 

  • Newbie
  • Group: Members
  • Posts: 14
  • Joined: 08-August 06

Posted 18 October 2008 - 02:07 PM

Hi,
You mention 64bits.

It has been quite a while I last ran XP64 and cannot say for sure it uses same registry entries.
(( but, I doubt the procedure described applies to X64 ))

#173 User is offline   puntoMX 

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

Posted 19 October 2008 - 05:34 PM

View Postgertin, on Oct 15 2008, 01:50 PM, said:

I assume I have to force install the IDE driver instead, but I can't figure out which one it is. I'm using a Asus P5Q Deluxe board with Intel ICH10R chipset.
Just set it to IDE in the BIOS and all should be back to where it was (besides some REG entries and files that will not be used but are present on the hard disk ;)).

View Postjtdoom, on Oct 18 2008, 03:07 PM, said:

It has been quite a while I last ran XP64 and cannot say for sure it uses same registry entries.
Itīs the same, but some 32bit drivers would not work 100% on a 64bit system...

#174 User is offline   francisc1701 

  • Newbie
  • Group: Members
  • Posts: 14
  • Joined: 15-September 08

Posted 06 November 2008 - 07:38 AM

Hi.

I have an ICH8M sata controller and I was wondering is this guide applies to that one too. Specifically, those numbers in iaahci.inf -- changing "2821" to "2923" -- are those the right numbers for ICH8M too?

Thanks

#175 User is offline   James_A 

  •  
  • PipPip
  • Group: Members
  • Posts: 152
  • Joined: 23-December 07

Posted 07 November 2008 - 11:39 AM

You'll have to check the INF file, but
2821 = 82801 (ICH8R) SATA AHCI Controller
2923 = 82801IB/IR/IH (ICH9 Family) 4 port SATA AHCI Controller

I think you need to look for:-
2828 = 82801 (ICH8M) 3 port SATA Controller

.

#176 User is offline   francisc1701 

  • Newbie
  • Group: Members
  • Posts: 14
  • Joined: 15-September 08

Posted 07 November 2008 - 02:47 PM

I looked for 2828 in iaahci.inf and got 0 matches.
There is this line
PCI\VEN_8086&DEV_2829&CC_0106.DeviceDesc	= "Intel(R) ICH8M-E/M SATA AHCI Controller"
but as you can see it's 2829.

Here's what I did:
- I followed step 2 of this guide, only I replaced 2821 with 2828
- I followed step 3, only I modified it with data taken from Device Manager:
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\CriticalDeviceDatabase\pci#ven_8086&dev_2923&cc_0106] -- the part after the last backslash became pci#ven_8086&dev_2828&cc_0101
"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" -- this became "0"="PCI\\VEN_8086&DEV_2828&SUBSYS_30D8103C&REV_03\\3&B1BFB68&0&FA"
"Count"=dword:00000001
"NextInstance"=dword:00000001

- I saved the .reg file, added it to the registry and rebooted
- I enabled Sata native mode in my bios and rebooted again
The result was the same STOP error on a BSoD

Can someone please point out what I'm doing wrong?

#177 User is offline   James_A 

  •  
  • PipPip
  • Group: Members
  • Posts: 152
  • Joined: 23-December 07

Posted 08 November 2008 - 04:05 AM

I am not really an expert on this, but I do know you should not change the class (CC_nnnn)

from CC_0106 (= AHCI)
to CC_0101 (= IDE)

I can't advise you on the subsystem values as that is beyond me.

And, yes 2829 (and 282A) are also ICH8 mobile as well as 2828. But they should already be in the .INF

.

#178 User is offline   francisc1701 

  • Newbie
  • Group: Members
  • Posts: 14
  • Joined: 15-September 08

Posted 08 November 2008 - 05:38 AM

James_A, thanks for the tips. I changed 0101 to 0106 but still no joy. Anything else I could try?

#179 User is offline   francisc1701 

  • Newbie
  • Group: Members
  • Posts: 14
  • Joined: 15-September 08

Posted 08 November 2008 - 07:46 AM

Quote

Anything else I could try?
Never mind, it's working now :yes:

Thanks to Linux :D I managed to get it to work.

Turns out it was 2829, Device Manager only reported 2828 because it was emulating an IDE controller. I enabled Sata native mode, booted Kubuntu 8.04 (installed alongside XP) and issued an
lspci -v -nn
command. Here's the relevant part of its output:
00:1f.1 IDE interface [0101]: Intel Corporation 82801HBM/HEM (ICH8M/ICH8M-E) IDE Controller [8086:2850] (rev 03) (prog-if 8a [Master SecP PriP])
		Subsystem: Hewlett-Packard Company Unknown device [103c:30d8]
		Flags: bus master, medium devsel, latency 0, IRQ 16
00:1f.2 SATA controller [0106]: Intel Corporation 82801HBM/HEM (ICH8M/ICH8M-E) SATA AHCI Controller [8086:2829] (rev 03) (prog-if 01 [AHCI 1.0])
		Subsystem: Hewlett-Packard Company Unknown device [103c:30d8]
		Flags: bus master, 66MHz, medium devsel, latency 0, IRQ 220


So I modified that registry file:
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\CriticalDeviceDatabase\pci#ven_8086&dev_2829&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_2829&SUBSYS_30D8103C&REV_03\\3&B1BFB68&0&FA"
"Count"=dword:00000001
"NextInstance"=dword:00000001

I added it to the registry, rebooted, enabled Sata native mode again, and this time XP started without a glitch. The "Found new hardware" popped up. When it asked for the driver for the Ahci controller I pointed it to the folder containing iaahci.inf, etc. It was not necessary to modify iaahci.inf at all.

I hope someone finds this useful.

#180 User is offline   James_A 

  •  
  • PipPip
  • Group: Members
  • Posts: 152
  • Joined: 23-December 07

Posted 08 November 2008 - 11:15 AM

Certainly it's useful to me: I already have Ubuntu 8.04, just never thought to use it to solve a Windows chip ID problem.

That's going in my "on-site" toolbox right now. Thanks for the info.

.

#181 User is offline   TheWalrus 

  • N.W.O.
  • PipPipPipPipPip
  • Group: Members
  • Posts: 751
  • Joined: 11-August 08
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 30 November 2008 - 08:52 AM

How do I roll back to IDE by the way? AHCI is only giving me random BSOD so I want to get back to IDE without reinstalling. Thanks.

#182 User is offline   maggotspawn 

  • Newbie
  • Group: Members
  • Posts: 26
  • Joined: 18-August 08

Posted 30 November 2008 - 09:01 AM

View PostTheWalrus, on Nov 30 2008, 07:52 AM, said:

How do I roll back to IDE by the way? AHCI is only giving me random BSOD so I want to get back to IDE without reinstalling. Thanks.

Just switch to IDE in the BIOS, Windows will then use Microsoft drivers for IDE mode.

#183 User is offline   TheWalrus 

  • N.W.O.
  • PipPipPipPipPip
  • Group: Members
  • Posts: 751
  • Joined: 11-August 08
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 30 November 2008 - 09:03 AM

doesn't work, I get BSOD

#184 User is offline   cdob 

  • Friend of MSFN
  • PipPipPipPipPip
  • Group: Members
  • Posts: 727
  • Joined: 29-September 05

Posted 30 November 2008 - 01:17 PM

View PostTheWalrus, on Nov 30 2008, 09:52 AM, said:

How do I roll back to IDE by the way?

http://support.micro....com/kb/314082/
Import mergeide.reg and extract files Atapi.sys, Intelide.sys, Pciide.sys, and Pciidex.sys.

#185 User is offline   puntoMX 

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

Posted 04 December 2008 - 12:57 PM

View PostTheWalrus, on Nov 30 2008, 09:03 AM, said:

doesn't work, I get BSOD
Normaly that should work. Try the Microsoft way like cdob says.

#186 User is offline   xewax 

  • Group: Members
  • Posts: 2
  • Joined: 09-December 08

Posted 09 December 2008 - 09:26 AM

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



32-bit floppy... link is not working and you talk about exe file. what exe file? can u add here another link? i try to solve this problem but stopped here. Link broken (notfound) and about exe file. I need help with 1. and 1.1

This post has been edited by xewax: 09 December 2008 - 10:26 AM


#187 User is offline   an3k 

  • Junior
  • Group: Supreme Sponsor
  • Posts: 93
  • Joined: 15-June 08
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 09 December 2008 - 06:44 PM

Yes, the link is down for real but its intel fail ;)

Below links to the latest version of the tool:

32-bit Floppy Configuration Utility for IntelŪ Matrix Storage Manager
64-bit Floppy Configuration Utility for IntelŪ Matrix Storage Manager

This post has been edited by an3k: 09 December 2008 - 06:55 PM


#188 User is offline   xewax 

  • Group: Members
  • Posts: 2
  • Joined: 09-December 08

Posted 10 December 2008 - 05:27 AM

Quote

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:
<font size="1">PCI\VEN_8086&DEV_2923&CC_0106.DeviceDesc	= "Intel(R) 82801HR/HH/HO SATA AHCI Controller"</font>
To:
<font size="1">PCI\VEN_8086&DEV_2923&CC_0106.DeviceDesc	= "Intel(R) ICH9 SATA AHCI Controller"</font>

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

I did this step. I attached my iaahci.inf here

Quote

3. Creating Windows registry file

Now we create a registry file with Notepad and the following contence:
CODEWindows 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.

I did this file too and launched it.

And enabled AHCI in bios
But i still get that blue screen.
Can you help me to fix it?

Attached File(s)


This post has been edited by xewax: 10 December 2008 - 05:29 AM


#189 User is offline   an3k 

  • Junior
  • Group: Supreme Sponsor
  • Posts: 93
  • Joined: 15-June 08
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 10 December 2008 - 11:34 PM

I can't really help, have a X48 board which comes with a ICH9R (RAID+AHCI support by default). I use the same driver package for my unattended setup and everything works fine - but i have a divverent northbridge which supports ahci by default.

Try the following:
1) download the 32-bit Floppy Configuration Utility for IntelŪ Matrix Storage Manager, open the zip file and extract it to c:\tempdrv
2) open your device manager and open the properties for your controller. on the details tab you can get the VEN- and DEV-IDs we need. Your VEN-ID should be VEN_8086.
3) open iaAHCI.inf with notepad, press Ctrl+H, enter in the first field "DEV_2821" and in the second your own DEV-ID (e.g. DEV_3445), then click on "Replace all". Press Ctrl+S and then Alt+F4.
4) install the new driver using the device manager (update/install driver)

If this does not help, begin from scratch again but at step 3) enter "DEV_2922" instead of "DEV_2821" into the first field.

If this does not help too, try if the driver is working for your device:
1) do the steps above except 4) but now with "DEV_2821" again ;)
2) open TXTSETUP.OEM with notepad, press Ctrl+H, enter in the first field "DEV_2821" and in the second your own DEV-ID (e.g. DEV_3445), then click on "Replace all". Press Ctrl+S and then Alt+F4.
3) copy the files iaStor.sys, iaAHCI.inf, iaahci.cat, TXTSETUP.OEM to a floppy.
4) boot from a windows setup cd, press F6 at the beginning and insert the floppy. continue the setup until you are asked to select a partition on which you want to install windows. at this point you can eject your setup cd and reboot your pc (reboot-switch is advised instead of ctrl+alt+del).

if you have sucessfully arrived the "select partition" thingy, you can reboot your pc, the driver is working then. If not, try steps above but now with "DEV_2922".

DEV_2821 is Intel ICH8R/DH/DO
DEV_2922 is Intel ICH9R/DH/DO
what is DEV_2923 ??

attached i've the latest modified drivers (replaced DEV_2821 with DEV_2923).

Attached File(s)


This post has been edited by an3k: 11 December 2008 - 12:08 AM


#190 User is offline   puntoMX 

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

Posted 11 December 2008 - 08:02 PM

View Postan3k, on Dec 10 2008, 11:34 PM, said:

DEV_2821 is Intel ICH8R/DH/DO
DEV_2922 is Intel ICH9R/DH/DO
what is DEV_2923 ??
ICR9 with 4 ports, non-RAID.

By the way, thank you for the updated links, itīs added to the first post with credits to you ;).

Share this topic:


  • 13 Pages +
  • « First
  • 8
  • 9
  • 10
  • 11
  • 12
  • Last »
  • You cannot start a new topic
  • This topic is locked

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



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