Heath's Blog

There is no end, it is just the beginning! - A Game Developer's Notes

Enable AHCI mode after installing Windows xp

用Snow Leopard需要开启AHCI,希望在不重装原来XP的提前下让两个系统并存,在网上找到一篇很完美的解决方案,做了一些修改以适应自己的TPower I45。有同样需求的同学可以参考一下:
 

AHCI (Advanced Host Controller Interface) is present on newer Intel chipsets such as P965 (ICH8), P35 (ICH9), and P45(ICH10). AHCI mode is enabled in the BIOS and 3 settings are commonly available: IDE, AHCI, and RAID. The last two (AHCI and RAID) require a driver floppy and the F6 method when installing Windows XP otherwise the hard disks won't be detected.

AHCI mode brings 3 main advantages:

  1. Supports NCQ (Native Command Queuing) allowing SATA drives to accept more than one command at a time and dynamically reorder the commands for maximum efficiency.
  2. Supports hot plugging of devices
  3. Supports staggered spin ups of multiple hard drives at boot time


However, in the real world the performance difference isn't huge.

The problem is that if you installed Windows in IDE mode (ie you didn't use F6 and supply a driver disk), then simply changing the BIOS setting to AHCI mode and rebooting will cause Windows to fail and will require a repair install. Most people have been advising to reinstall Windows if you want AHCI enabled.

I managed to enable AHCI on Windows XP Professional for a BIOSTAR TPower I45 (ICH10R) without needing to reinstall. This should work on any P45 ICH10 based board:

1. Go to BIOSTAR official site or Intel's download centre and download the latest version of the Intel Matrix Storage Manager for your OS:

      http://www.biostar-usa.com/app/en-us/t-power/driver.php?S_ID=365

      http://downloadcenter.intel.com/

Keep this file as you'll need it again in step 4.

 

2. Run the installer with the -a switch to extract the files. This will NOT install the software, just extract the files. Follow the prompts as if you were installing the software:

iata.exe -a

The above should extract the files to \Program Files\Intel\Intel Matrix Storage Manager. There are two folders, \Drivers and \Drivers64 for 32-bit and 64-bit OS's, respectively.

Copy the file IaStor.sys from the Drivers folder to C:\Windows\System32\drivers\

 

3. copy the following registry file to your desktop (copy and paste into notepad) and save as ahci.reg

Windows Registry Editor Version 5.00
 
[HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Control\CriticalDeviceDatabase\pci#ven_8086&dev_3A22&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_3A22&SUBSYS_B0051458&REV_02\\3&13c0b0c5&0&FA"
"Count"=dword:00000001
"NextInstance"=dword:00000001

NOTE: Replace the red number with your device id!!!

4. Double check you've copied the IaStor.sys file as part of step 2. Now do the following:

  • Run the ahci.reg file to add the entries into the registry
  • Reboot the computer and enter the BIOS - DO NOT allow it to start Windows yet.
  • Change the setting for the on board Intel controller to AHCI, save and exit BIOS
  • Boot into Windows

When Windows loads it will detect a new hard disk - cancel the wizard for installing the new hardware and run the Intel driver installer you downloaded in step 1.

Reboot the system again and you're good to go.

 

原文连接:

http://forums.pcper.com/showthread.php?t=444831

 

posted on 2010-05-14 21:26 Heath 阅读(2705) 评论(0)  编辑 收藏 引用 所属分类: Studying


只有注册用户登录后才能发表评论。
网站导航: 博客园   IT新闻   BlogJava   知识库   博问   管理