Content deleted Content added
No edit summary |
Citation bot (talk | contribs) Alter: template type. | Use this bot. Report bugs. | Suggested by Abductive | #UCB_webform 24/3850 |
||
(39 intermediate revisions by 32 users not shown) | |||
Line 1:
{{Short description|Computer standard for SATA host controllers}}
{{redirect-distinguish|AHCI|Arts and Humanities Citation Index}}
The '''Advanced Host Controller Interface''' ('''AHCI''') is a technical standard defined by [[Intel]] that specifies the operation of [[Serial ATA]] (SATA) [[host controller]]s in a non-implementation-specific manner.▼
{{Infobox technology standard
| title = AHCI
| long_name = Advanced Host Controller Interface
| native_name = <!-- Name in local language. If more than one, separate using {{plain list}} -->
| native_name_lang = <!-- ISO 639-2 code e.g. "fr" for French. If more than one, use {{lang}} inside native_name items instead -->
| image =
| caption =
| status =
| year_started = <!-- {{Start date|YYYY|MM|DD|df=y}} -->
| first_published = <!-- {{Start date|YYYY|MM|DD|df=y}} -->
| version = 1.3.1
| version_date = {{Start date|2011|11|11}}
| preview =
| preview_date =
| organization = [[Intel]]
| committee =
| editors =
| authors =
| base_standards =
| related_standards =
| abbreviation =
| domain =
| license =
| website = {{URL|https://www.intel.com/content/www/us/en/io/serial-ata/ahci.html}}
}}
▲The '''Advanced Host Controller Interface''' ('''AHCI''') is a technical standard defined by [[Intel]] that specifies the
The specification describes a system memory structure for computer hardware vendors to exchange data between host system [[computer memory|memory]] and attached [[computer storage device|storage devices]]. AHCI gives software developers and hardware designers a standard method for detecting, configuring, and programming SATA/AHCI adapters. AHCI is separate from the SATA 3 Gbit/s standard, although it exposes SATA's advanced capabilities (such as [[hot swapping]] and [[Native Command Queuing|native command queuing]]) such that host systems can utilize them. For modern [[Solid-state drive|solid state drives]], the interface has been superseded by [[NVM Express|NVMe]].<ref>{{Cite web|title=NVMe vs. SATA: Which SSD Technology Is Faster?|url=https://www.howtogeek.com/657972/nvme-vs.-sata-which-ssd-technology-is-faster/|access-date=2020-10-10|website=www.howtogeek.com}}</ref>
== Operating
Many SATA controllers offer selectable modes of operation: legacy [[AT Attachment|Parallel ATA]] emulation (more commonly called IDE Mode), standard AHCI mode (also known as Native Mode), or vendor-specific [[RAID]] (which generally enables AHCI in order to take advantage of its capabilities). Intel recommends choosing RAID mode on their [[motherboard]]s (which also enables AHCI) rather than AHCI/SATA mode for maximum flexibility.<ref name="intel">{{cite web |url=http://www.intel.com/support/chipsets/imsm/sb/CS-015988.htm |title=Intel Matrix Storage Technology - Changing and/or choosing Serial ATA Modes |publisher=Intel |
When a SATA controller is configured to operate in
== Operating
AHCI is supported out of the box on [[Windows Vista]] and later, [[Linux]]-based operating systems (since version 2.6.19 of the [[Linux kernel|kernel]]), [[OpenBSD]] (since version 4.1), [[NetBSD]] (since version 4.0), [[FreeBSD]] (since version 8.0),<ref>{{Cite web|url=https://www.freebsd.org/cgi/man.cgi?ahci(4)|title = Ahci(4)}}</ref> [[macOS]], [[GNU Mach]], [[ArcaOS]],<ref>{{cite web|url=https://www.arcanoae.com/wp-content/uploads/wiki/ArcaOS-changes.txt|title=ArcaOS Changelog|access-date=2020-08-24}}</ref> [[eComStation]] (since version 2.1), and [[Solaris 10]] (since version 8/07).<ref>{{cite web|url=http://docs.sun.com/app/docs/doc/817-0547/gevhg
=== System
Some operating systems, notably [[Windows Vista]], [[Windows 7]], [[Windows 8]], [[Windows 8.1]] and [[Windows 10]], do not configure themselves to load the AHCI driver upon boot if the SATA controller was not in AHCI mode at the time the operating system was installed. Although this is an easily rectifiable condition, it remains an ongoing issue with the AHCI standard.
The most prevalent symptom for an operating system (or systems) that are installed in IDE mode (in some BIOS firmware implementations otherwise called 'Combined IDE mode'), is that the system drive typically fails to boot, with an ensuing error message, if the SATA controller (in BIOS) is inadvertently switched to AHCI mode after OS installation. In Microsoft Windows the symptom is a boot loop which begins with a Blue Screen error, if not rectified
Technically speaking, this is an implementation bug with AHCI that can be avoided, but it has not been fixed yet. As an interim resolution, Intel recommends changing the drive controller to AHCI or RAID before installing an operating system.<ref name="intel"/> (It may also be necessary to load chipset-specific AHCI or RAID drivers at installation time, for example from a USB flash drive).
On Windows Vista and Windows 7, this can be fixed by configuring the <code>msahci</code> device driver to start at boot time (rather than on-demand). Setting non-AHCI mode (i.e. IDE or Combined mode) in the [[BIOS]] will allow the user to boot into Windows, and thereby the required [[Windows registry|registry]] change can be performed. Consequently, the user
In Windows 8, Windows 8.1 and [[Windows Server 2012]], the
In Windows 10, after changing the controller to AHCI mode, if the OS is allowed to reboot a couple of times after the start of the boot loop, which starts with an INACCESSIBLE_BOOT_DEVICE BSOD, Windows presents recovery options. Out of the Advanced options, if Startup Repair option is selected, Windows attempts to fix the issue and the PC begins to function normally.
A similar problem can occur on Linux systems if the AHCI driver is compiled as a [[kernel module]] rather than built into the [[kernel image]], as it may not be included in the [[initrd]] (initial RAM disk) created when the controller is configured to run in Legacy Mode. The solution is either to build a new initrd containing the AHCI module, or to build the AHCI driver into the kernel image.<ref>{{cite web|url=http://www.novell.com/support/kb/doc.php?id=3744228 |title=Support | How to enable AHCI support after install |publisher=Novell.com |accessdate=2014-05-11}}</ref>▼
▲A similar problem can occur on Linux systems if the AHCI driver is compiled as a [[kernel module]] rather than built into the [[kernel image]], as it may not be included in the [[initrd]] (initial RAM disk) created when the controller is configured to run in Legacy Mode. The solution is either to build a new initrd containing the AHCI module, or to build the AHCI driver into the kernel image.<ref>{{cite web|url=http://www.novell.com/support/kb/doc.php?id=3744228 |title=Support | How to enable AHCI support after install |publisher=Novell.com |
== Power management ==
Line 37 ⟶ 65:
* [[Enhanced Host Controller Interface]] (EHCI)
* [[Extensible Host Controller Interface]] (XHCI)
* [[Wireless Host Controller Interface]] (WHCI)
* [[Host controller interface (USB, Firewire)]]
|