linux-ide.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* libata AHCI support for Intel ICH6RW
@ 2004-09-03  4:09 Ravi Pratap M
  2004-09-03  4:21 ` Ravi Pratap M
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: Ravi Pratap M @ 2004-09-03  4:09 UTC (permalink / raw)
  To: linux-ide

Hi guys,

My Dell Dimension 8400 machine has the latest Intel ICH6RW controller
and I am running kernel 2.6.8.1. I was under the impression that
libata's ata_piix driver now supports AHCI mode but when I set the BIOS
to that setting, the kernel doesn't see anything.


Has the AHCI driver not fully been integrated into mainline libata ? I
downloaded the latest prepatch kernel but I still don't see any AHCI
driver (I found an ahci.c that you posted to linux-kernel sometime in
April 2004 but that is missing from the main linux kernel source tree
that I have downloaded here).


I would like to help with testing / further development of this driver
but I was unsure of what was going on. 


I made sure that my kernel (Fedora Core 2) had the drivers compiled in
(as modules, IIRC) - is there something I am doing wrong ?


Ravi.


-- 
Ravi Pratap M <ravi at ximian dot com>
Selective perfectionist, incorrigible programmer
http://primates.ximian.com/~ravi



^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: libata AHCI support for Intel ICH6RW
  2004-09-03  4:09 libata AHCI support for Intel ICH6RW Ravi Pratap M
@ 2004-09-03  4:21 ` Ravi Pratap M
  2004-09-03 10:51 ` libata AHCI support for Intel ICH6RW and ICH6R Brett Russ
  2004-09-03 11:48 ` libata AHCI support for Intel ICH6RW Jeff Garzik
  2 siblings, 0 replies; 7+ messages in thread
From: Ravi Pratap M @ 2004-09-03  4:21 UTC (permalink / raw)
  To: linux-ide

On Fri, 2004-09-03 at 00:09, Ravi Pratap M wrote:
> and I am running kernel 2.6.8.1. I was under the impression that
> libata's ata_piix driver now supports AHCI mode but when I set the BIOS
> to that setting, the kernel doesn't see anything.

	I would like to add that the combined mode works just fine. 

	(Apologies if this is the wrong mailing list for such questions.)


	Ravi


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: libata AHCI support for Intel ICH6RW and ICH6R
  2004-09-03  4:09 libata AHCI support for Intel ICH6RW Ravi Pratap M
  2004-09-03  4:21 ` Ravi Pratap M
@ 2004-09-03 10:51 ` Brett Russ
  2004-09-03 11:48 ` libata AHCI support for Intel ICH6RW Jeff Garzik
  2 siblings, 0 replies; 7+ messages in thread
From: Brett Russ @ 2004-09-03 10:51 UTC (permalink / raw)
  To: linux-ide

Ravi Pratap M wrote:
> My Dell Dimension 8400 machine has the latest Intel ICH6RW controller
> and I am running kernel 2.6.8.1. I was under the impression that
> libata's ata_piix driver now supports AHCI mode but when I set the BIOS
> to that setting, the kernel doesn't see anything.

I was going to send mail about this today :-)  Unfortunately not a mail 
about a solution but rather the same problem, likely because our 
controllers are just about identical.

Here are the details from my end:

kernel:

libata-2.6 bk pull from yesterday (20040902) (rev 2.6.9-rc1)

dmesg:

libata version 1.02 loaded.
ata_piix version 1.02
ACPI: PCI interrupt 0000:00:1f.2[B] -> GSI 19 (level, low) -> IRQ 19
ata: 0x1f0 IDE port busy
PCI: Setting latency timer of device 0000:00:1f.2 to 64
ata1: SATA max UDMA/133 cmd 0x170 ctl 0x376 bmdma 0xE088 irq 15
ATA: abnormal status 0x7F on port 0x177
ata1: disabling port
scsi0 : ata_piix

lspci -vv -xxx -d8086:2652:

0000:00:1f.2 Class 0106: Intel Corp. I/O Controller Hub SATA cc=raid 
(rev 03) (p
rog-if 01)
         Subsystem: Intel Corp.: Unknown device 344a
         Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- 
ParErr- Step
ping- SERR- FastB2B-
         Status: Cap+ 66Mhz+ UDF- FastB2B+ ParErr- DEVSEL=medium 
 >TAbort- <TAbort
- <MAbort- >SERR- <PERR-
         Latency: 0
         Interrupt: pin B routed to IRQ 19
         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=16]
         Region 5: Memory at feb3fc00 (32-bit, non-prefetchable) [size=1K]
         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-
00: 86 80 52 26 07 00 b0 02 03 01 06 01 00 00 00 00
10: 81 e8 00 00 01 e8 00 00 81 e4 00 00 01 e4 00 00
20: 81 e0 00 00 00 fc b3 fe 00 00 00 00 86 80 4a 34
30: 00 00 00 00 70 00 00 00 00 00 00 00 0b 02 00 00
40: 77 e3 77 e3 bb 00 00 00 0f 00 11 11 00 00 00 00
50: 00 00 00 00 f0 f0 00 00 00 00 00 00 00 00 00 00
60: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
70: 01 00 02 40 00 00 00 00 00 00 00 00 00 00 00 00
80: 05 70 00 00 00 00 00 00 00 00 00 00 00 00 00 00
90: 80 00 ff 00 82 01 80 00 00 00 00 00 00 00 00 00
a0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
b0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
c0: 00 00 00 00 0f 00 00 00 00 00 00 00 00 00 00 00
d0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
e0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
f0: 00 00 00 00 00 00 00 00 80 0f 03 00 00 00 00 00



This is with the BIOS in Enhanced-AHCI mode.  This kernel sees all (4) 
drives when running in Enhanced-non-AHCI mode.  I haven't tried 
compatibility mode with it.

I can also help debug and test,
BR

PS...I'm still wondering what magic is needed to turn on write cache on 
a SATA drive hooked up under libata in enhanced non-AHCI mode...see my 
previous post on this list.


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: libata AHCI support for Intel ICH6RW
  2004-09-03  4:09 libata AHCI support for Intel ICH6RW Ravi Pratap M
  2004-09-03  4:21 ` Ravi Pratap M
  2004-09-03 10:51 ` libata AHCI support for Intel ICH6RW and ICH6R Brett Russ
@ 2004-09-03 11:48 ` Jeff Garzik
  2004-09-03 12:03   ` Brett Russ
  2004-09-04 14:51   ` Ravi Pratap M
  2 siblings, 2 replies; 7+ messages in thread
From: Jeff Garzik @ 2004-09-03 11:48 UTC (permalink / raw)
  To: Ravi Pratap M; +Cc: linux-ide, russb

Ravi Pratap M wrote:
> Hi guys,
> 
> My Dell Dimension 8400 machine has the latest Intel ICH6RW controller
> and I am running kernel 2.6.8.1. I was under the impression that
> libata's ata_piix driver now supports AHCI mode but when I set the BIOS
> to that setting, the kernel doesn't see anything.
> 
> 
> Has the AHCI driver not fully been integrated into mainline libata ? I
> downloaded the latest prepatch kernel but I still don't see any AHCI
> driver (I found an ahci.c that you posted to linux-kernel sometime in
> April 2004 but that is missing from the main linux kernel source tree
> that I have downloaded here).


Nothing new to add beyond that of
http://linux.yyz.us/sata/sata-status.html

AHCI _should_ be going in any day now (well, after Labor Day vacation), 
so it will appear RSN.

	Jeff



^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: libata AHCI support for Intel ICH6RW
  2004-09-03 11:48 ` libata AHCI support for Intel ICH6RW Jeff Garzik
@ 2004-09-03 12:03   ` Brett Russ
  2004-09-03 12:10     ` Jeff Garzik
  2004-09-04 14:51   ` Ravi Pratap M
  1 sibling, 1 reply; 7+ messages in thread
From: Brett Russ @ 2004-09-03 12:03 UTC (permalink / raw)
  To: linux-ide

Jeff Garzik wrote:
> Nothing new to add beyond that of
> http://linux.yyz.us/sata/sata-status.html
> 
> AHCI _should_ be going in any day now (well, after Labor Day vacation), 
> so it will appear RSN.

Jeff,

Where you say:
"Preliminary driver with full AHCI support now exists, and is being 
integrated into libata mainline."

I assumed you meant that it exists in your libata-2.6 kernel and was 
going to be integrated into Linus' soon.  If this is true, my report 
deals with your kernel not mainline as in Ravi's case.

If I don't have the kernel with full AHCI support, can I get and test 
it?  If I do have it, it seems like a bug in either BIOS, ata_piix, or 
libata, no?

Thanks
BR


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: libata AHCI support for Intel ICH6RW
  2004-09-03 12:03   ` Brett Russ
@ 2004-09-03 12:10     ` Jeff Garzik
  0 siblings, 0 replies; 7+ messages in thread
From: Jeff Garzik @ 2004-09-03 12:10 UTC (permalink / raw)
  To: Brett Russ; +Cc: linux-ide

Brett Russ wrote:
> Jeff Garzik wrote:
> 
>> Nothing new to add beyond that of
>> http://linux.yyz.us/sata/sata-status.html
>>
>> AHCI _should_ be going in any day now (well, after Labor Day 
>> vacation), so it will appear RSN.
> 
> 
> Jeff,
> 
> Where you say:
> "Preliminary driver with full AHCI support now exists, and is being 
> integrated into libata mainline."
> 
> I assumed you meant that it exists in your libata-2.6 kernel and was 
> going to be integrated into Linus' soon.  If this is true, my report 
> deals with your kernel not mainline as in Ravi's case.

"being integrated into libata mainline" means that it has not yet been 
integrated into the libata-2.6 queue.


> If I don't have the kernel with full AHCI support, can I get and test 
> it?  If I do have it, it seems like a bug in either BIOS, ata_piix, or 
> libata, no?

In a few days.  There isn't a public, working version of the AHCI driver 
yet.

	Jeff



^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: libata AHCI support for Intel ICH6RW
  2004-09-03 11:48 ` libata AHCI support for Intel ICH6RW Jeff Garzik
  2004-09-03 12:03   ` Brett Russ
@ 2004-09-04 14:51   ` Ravi Pratap M
  1 sibling, 0 replies; 7+ messages in thread
From: Ravi Pratap M @ 2004-09-04 14:51 UTC (permalink / raw)
  To: Jeff Garzik; +Cc: linux-ide, russb

On Fri, 2004-09-03 at 07:48, Jeff Garzik wrote:
> Ravi Pratap M wrote:
> > Hi guys,
> > 
> > My Dell Dimension 8400 machine has the latest Intel ICH6RW controller
> > and I am running kernel 2.6.8.1. I was under the impression that
> > libata's ata_piix driver now supports AHCI mode but when I set the BIOS
> > to that setting, the kernel doesn't see anything.
> > 
> > 
> > Has the AHCI driver not fully been integrated into mainline libata ? I
> > downloaded the latest prepatch kernel but I still don't see any AHCI
> > driver (I found an ahci.c that you posted to linux-kernel sometime in
> > April 2004 but that is missing from the main linux kernel source tree
> > that I have downloaded here).
> 
> 
> Nothing new to add beyond that of
> http://linux.yyz.us/sata/sata-status.html

	Ah, okay - guess I misunderstood the bit about "being integrated into
mainline ATA"

> AHCI _should_ be going in any day now (well, after Labor Day vacation), 
> so it will appear RSN.

	Thanks for the update. I shall wait :-)



	Ravi.


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2004-09-04 14:55 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-09-03  4:09 libata AHCI support for Intel ICH6RW Ravi Pratap M
2004-09-03  4:21 ` Ravi Pratap M
2004-09-03 10:51 ` libata AHCI support for Intel ICH6RW and ICH6R Brett Russ
2004-09-03 11:48 ` libata AHCI support for Intel ICH6RW Jeff Garzik
2004-09-03 12:03   ` Brett Russ
2004-09-03 12:10     ` Jeff Garzik
2004-09-04 14:51   ` Ravi Pratap M

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).