does AHCI work on intel 915 ICH6 controllers? Is it supposed to?
I'm running 2.6.12-rc5 on a gigabyte GA-8i915G Pro mobo. It has only one drive -a Maxtor SATA.
lspci -vv -s 00:1f.2
00:1f.2 IDE interface: Intel Corp. 82801FB/FW (ICH6/ICH6W) SATA Controller (rev 03) (prog-if 80 [Master])
Subsystem: Giga-byte Technology: Unknown device 2651
Control: I/O+ Mem- BusMaster+ SpecCycle- MemWINV-
VGASnoop- ParErr- Stepping- SERR- FastB2B-
Status: Cap+ 66Mhz+ UDF- FastB2B+ ParErr-
DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
Latency: 0
Interrupt: pin B routed to IRQ 201
Region 0: I/O ports at <unassigned>
Region 1: I/O ports at <unassigned>
Region 2: I/O ports at <unassigned>
Region 3: I/O ports at <unassigned>
Region 4: I/O ports at f000 [size=16]
Capabilities: [70] Power Management version 2
Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA
PME(D0-,D1-,D2-,D3hot+,D3cold-)
Status: D0 PME-Enable- DSel=0 DScale=0 PME-
.config has:
# CONFIG_BLK_DEV_IDE_SATA is not setCONFIG_SCSI_SATA=yCONFIG_SCSI_SATA_AHCI=y
# CONFIG_SCSI_SATA_SVW is not setCONFIG_SCSI_ATA_PIIX=y
the kernel picks ata_piix.
dmesg:
libata version 1.11 loaded.ata_piix version 1.03
ACPI: PCI Interrupt 0000:00:1f.2[B] -> GSI 19 (level, low) -> IRQ 201
ata: 0x170 IDE port busy
PCI: Setting latency timer of device 0000:00:1f.2 to 64
ata1: SATA max UDMA/133 cmd 0x1F0 ctl 0x3F6 bmdma 0xF000 irq 14
ata1: dev 0 cfg 49:2f00 82:7c6b 83:7f09 84:4063 85:7c68 86:3e01 87:4063 88:207f
ata1: dev 0 ATA, max UDMA/133, 586114704 sectors: lba48
ata1: dev 0 configured for UDMA/133
scsi0 : ata_piix
Vendor: ATA Model: Maxtor 6B300S0 Rev: BANC
Type: Direct-Access ANSI SCSI
revision: 05
SCSI device sda: 586114704 512-byte hdwr sectors (300091 MB)
SCSI device sda: drive cache: write back
SCSI device sda: 586114704 512-byte hdwr sectors (300091 MB)
SCSI device sda: drive cache: write back
sda: sda1 sda2 sda3 sda4 < sda5 sda6 >
Attached scsi disk sda at scsi0, channel 0, id 0, lun 0
But, if I set .config with just AHCI, the kernel will not load libata at all. dmesg jsut goes from the Uniform CD-ROM driver revision to usbmon. And I get a kernel panic because sda doesn't exist.
I've seen some posts about needing to turn AHCI on in the BIOS. I didn't see anything, so I asked gigabyte:
From : sean darcy [ [email protected] ]
Sent : 2005/5/8 05:14
Question : How do I turn on AHCI for SATA drives? I see no option in the BIOS. I'd like to use NCQ.
sean
Answer : hello,
By default it's automatically enabled and there are no options to enable it. If your hdd supports it there should be a utility to check whether if it's enabled or not.
Thank you
Any good ideas?
sean
Quoted 16 lines · sean
I'm running 2.6.12-rc5 on a gigabyte GA-8i915G Pro mobo. It has only one drive -a Maxtor SATA.
lspci -vv -s 00:1f.2
00:1f.2 IDE interface: Intel Corp. 82801FB/FW (ICH6/ICH6W) SATA Controller (rev 03) (prog-if 80 [Master])
Subsystem: Giga-byte Technology: Unknown device 2651
Control: I/O+ Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop-
ParErr- Stepping- SERR- FastB2B-
Status: Cap+ 66Mhz+ UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort-
<TAbort- <MAbort- >SERR- <PERR-
Latency: 0
Interrupt: pin B routed to IRQ 201
Region 0: I/O ports at <unassigned>
Region 1: I/O ports at <unassigned>
Region 2: I/O ports at <unassigned>
Region 3: I/O ports at <unassigned>
Region 4: I/O ports at f000 [size=16]
Plain vanilla ICH6 does not support AHCI, but other ICH6 variants such as ICH6-R do. If your chip does support AHCI, then your BIOS is not enabling it.
AHCI support is clearly indicated by Region 5, a memory (MMIO) region:
Quoted 6 lines
Region 0: I/O ports at e880 [size=8]
Region 1: I/O ports at e800 [size=4]
Region 2: I/O ports at e480 [size=8]
Region 3: I/O ports at e400 [size=4]
Region 4: I/O ports at e080 [size=32]
Region 5: Memory at feb3fc00 (32-bit, non-prefetchable) [size=1K]Regards,
Jeff
Jeff Garzik wrote:
[...........]
Quoted 12 lines
Plain vanilla ICH6 does not support AHCI, but other ICH6 variants such as ICH6-R do. If your chip does support AHCI, then your BIOS is not enabling it.
AHCI support is clearly indicated by Region 5, a memory (MMIO) region:
Quoted 6 lines
Region 0: I/O ports at e880 [size=8] Region 1: I/O ports at e800 [size=4] Region 2: I/O ports at e480 [size=8] Region 3: I/O ports at e400 [size=4] Region 4: I/O ports at e080 [size=32] Region 5: Memory at feb3fc00 (32-bit, non-prefetchable) [size=1K]
Quoted 4 lines
Regards,
Jeff
Thanks for the quick response. I've sent another request to gigabyte for a BIOS update. Fat chance.
sean
Quoted 17 lines · sean
Jeff Garzik wrote:
[...........]Quoted 14 lines
Plain vanilla ICH6 does not support AHCI, but other ICH6 variants such as ICH6-R do. If your chip does support AHCI, then your BIOS is not enabling it.
AHCI support is clearly indicated by Region 5, a memory (MMIO) region:
Quoted 7 lines
Region 0: I/O ports at e880 [size=8] Region 1: I/O ports at e800 [size=4] Region 2: I/O ports at e480 [size=8] Region 3: I/O ports at e400 [size=4] Region 4: I/O ports at e080 [size=32] Region 5: Memory at feb3fc00 (32-bit, non-prefetchable)[size=1K]
Quoted 9 lines
Quoted 4 lines
Regards,
Jeff
Thanks for the quick response. I've sent another request to gigabyte for a BIOS update. Fat chance.
sean
Hi Sean,
I also have a 915G based system (AOpen EZ915) and I'm interested to try the AHCI support. So I checked whether AHCI could be used on my 915G box. The PCI device ID for my ICH6 is 0x2651.
=> So, no AHCI support. :(
(Only ICH6-R 0x2652 and ICH6-M 0x2653 have AHCI support. Not plain ICH6.
http://download.intel.com/design/chipsets/specupdt/30147411.pdf )
From your previous post
"00:1f.2 IDE interface: Intel Corp. 82801FB/FW (ICH6/ICH6W) " I guess your box is the same as mine, plain ICH6 without AHCI support. (You can check the PCI device ID by "lspci -n".)
If so, update BIOS won't help since there is no AHCI support on the hardware.
Albert
On 6/12/05, Albert Lee <[email protected]> wrote:
[........]
Quoted 11 lines
Quoted 1 line
Hi Sean,
I also have a 915G based system (AOpen EZ915) and I'm interested to try the AHCI support. So I checked whether AHCI could be used on my 915G box. The PCI device ID for my ICH6 is
0x2651.
=> So, no AHCI support. :(
(Only ICH6-R0x2652and ICH6-M0x2653have AHCI support. Not plain ICH6.
http://download.intel.com/design/chipsets/specupdt/30147411.pdf )
Mine is also 0x2651.
But I must be blind, but I don't see any statement that only -R and -M have AHCI support.
sean
Quoted 13 lines · sean darcy
On 6/12/05, Albert Lee <[email protected]> wrote:
[........]Quoted 11 lines
Quoted 1 line
Hi Sean,
I also have a 915G based system (AOpen EZ915) and I'm interested to try the AHCI support. So I checked whether AHCI could be used on my 915G box. The PCI device ID for my ICH6 is
0x2651.
=> So, no AHCI support. :(
(Only ICH6-R0x2652and ICH6-M0x2653have AHCI support. Not plain ICH6.
http://download.intel.com/design/chipsets/specupdt/30147411.pdf )
Quoted 7 lines
Mine is also
0x2651.But I must be blind, but I don't see any statement that only -R and -M have AHCI support.
sean
In fact, look at 12.1.15 in
http://developer.intel.com/design/chipsets/datashts/30147302.pdf.
Maybe the driver ( BIOS? ) is not setting the SCRAE bit, whatever the hxxx that is!
sean
Quoted 4 lines · sean darcy
Mine is also
0x2651.But I must be blind, but I don't see any statement that only -R and -M have AHCI support.
Here's my statement :)
PCI ID 0x2651 does not have AHCI support in the chip.
No amount of BIOS poking can fix that.
Jeff