linux-ide.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Bryan Boatright <yahoo-groups@omega71.com>
To: linux-ide@vger.kernel.org
Subject: AHCI NCQ on ESB2 (8086:2681)
Date: Sun, 31 Dec 2006 06:55:40 -0600	[thread overview]
Message-ID: <4597B34C.1090606@omega71.com> (raw)


I hope this is an appropriate place to ask this question.  Googling for 
answers turned up nothing.

I am using kernel 2.6.19.1 and am trying to get NCQ support working.  My 
Intel chipset (ESB2, see details below) should support NCQ, but it is 
not returning the NCQ capabilities bit in the HBA Capabilities 
register.  Here's the relevant dmesg output:


<5>SCSI subsystem initialized
<7>libata version 2.00 loaded.
<7>ahci 0000:00:1f.2: version 2.0
<7>IOAPIC[0]: Set PCI routing entry (2-19 -> 0x71 -> IRQ 19 Mode:1 Active:1)
<6>ACPI: PCI Interrupt 0000:00:1f.2[B] -> GSI 19 (level, low) -> IRQ 19
<7>PCI: Setting latency timer of device 0000:00:1f.2 to 64
<6>ahci 0000:00:1f.2: AHCI 0001.0100 32 slots 6 ports ? Gbps 0x3f impl 
SATA mode cap: 0x8a021f05
<6>ahci 0000:00:1f.2: flags: 64bit stag led pmp
<6>ata1: SATA max UDMA/133 cmd 0xFFFFC2000001ED00 ctl 0x0 bmdma 0x0 irq 19
<6>ata2: SATA max UDMA/133 cmd 0xFFFFC2000001ED80 ctl 0x0 bmdma 0x0 irq 19
<6>ata3: SATA max UDMA/133 cmd 0xFFFFC2000001EE00 ctl 0x0 bmdma 0x0 irq 19
<6>ata4: SATA max UDMA/133 cmd 0xFFFFC2000001EE80 ctl 0x0 bmdma 0x0 irq 19
<6>ata5: SATA max UDMA/133 cmd 0xFFFFC2000001EF00 ctl 0x0 bmdma 0x0 irq 19
<6>ata6: SATA max UDMA/133 cmd 0xFFFFC2000001EF80 ctl 0x0 bmdma 0x0 irq 19
<6>scsi0 : ahci
<6>ata1: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
<6>ata1.00: ATA-7, max UDMA/133, 625142448 sectors: LBA48 NCQ (depth 0/32)
<6>ata1.00: ata1: dev 0 multi count 16
<6>ata1.00: configured for UDMA/133
<6>scsi1 : ahci
<6>ata2: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
<6>ata2.00: ATA-7, max UDMA/133, 625142448 sectors: LBA48 NCQ (depth 0/32)
<6>ata2.00: ata2: dev 0 multi count 16
<6>ata2.00: configured for UDMA/133

Note the "flags" line does not include "ncq" but the "AHCI" line clearly 
reports 32 slots (I added the "cap: 0x8a021f05" to the pintk to see the 
entire contents of the register).  Also note that the register is 
returning a value of 0 in the Interface Speed Support field, which also 
seems to be wrong (and that's why the ? appears).

I cannot locate a detailed spec for programming the ESB2, but is it 
possible that this is a case of the BIOS telling the ESB2 not to report 
this capability?  The mobo vendor (Supermicro) has been unhelpful.

Any thoughts on what to look at next?  Does anyone have NCQ support 
working on a platform with an ESB2?

Here's the lspci stuff:

00:1f.2 Class 0106: 8086:2681 (rev 09) (prog-if 01)
        Subsystem: 15d9:8180

00:1f.2 SATA controller: Intel Corporation Enterprise Southbridge SATA 
AHCI (rev 09) (prog-if 01 [AHCI 1.0])
        Subsystem: Super Micro Computer Inc Unknown device 8180
        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 19
        Region 0: I/O ports at 2000 [size=8]
        Region 1: I/O ports at 18d4 [size=4]
        Region 2: I/O ports at 18d8 [size=8]
        Region 3: I/O ports at 18d0 [size=4]
        Region 4: I/O ports at 18e0 [size=32]
        Region 5: Memory at dd500c00 (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-
        Capabilities: [a8] #12 [0010]



Thanks,
Bryan

             reply	other threads:[~2006-12-31 12:55 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-12-31 12:55 Bryan Boatright [this message]
2006-12-31 19:14 ` AHCI NCQ on ESB2 (8086:2681) Dave Maurer
2007-01-01  3:20 ` Tejun Heo
2007-01-01 14:32   ` AHCI NCQ on ESB2 (8086:2681) (RESOLVED) Bryan Boatright
2007-01-01 14:35   ` AHCI NCQ on ESB2 (8086:2681) Bryan Boatright

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4597B34C.1090606@omega71.com \
    --to=yahoo-groups@omega71.com \
    --cc=linux-ide@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).