linux-ide.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Andrew Morton <akpm@osdl.org>
To: Dave Dillow <dave@thedillows.org>
Cc: linux-ide@vger.kernel.org, linux-kernel@vger.kernel.org,
	Jeff Garzik <jgarzik@pobox.com>
Subject: Re: Adaptec 1420SA issues with MSI
Date: Mon, 9 Jan 2006 22:13:23 -0800	[thread overview]
Message-ID: <20060109221323.65f6987d.akpm@osdl.org> (raw)
In-Reply-To: <1136667984.2799.0.camel@obelisk.thedillows.org>

Dave Dillow <dave@thedillows.org> wrote:
>
> [ Doh! Forgot to cc LKML since it may be more of an MSI issue. ]
> 
>  I'm having some issues with sata_mv and my 1420SA card on an ASUS
>  CUV4X-D motherboard (2x PIII 1GHz, Via VT82C693A/694x Apollo PRO133x).
> 
>  If I build 2.6.15 with CONFIG_MSI=y, I get mv_eng_timeout() calls in the
>  log, and cannot talk to the disks. No interrupts are reported for libata
>  in /proc/interrupts. I've also tried pci=routeirq on the command line,
>  to no avail.
> 
>  If I build with CONFIG_MSI=n, then all seems to be well.
> 
>  I'd like to help find a fix, since Fedora uses CONFIG_MSI=y on their
>  kernels, and I eventually want to return this box to a non-custom
>  kernel. To that end, here's lspci and dmesg output. If you need any more
>  info, or have something for me to try, then please let me know.
> 
>  Thanks!
> 
>  lspci -vvv on CONFIG_MSI=y, pci=routeirq:
>  00:0a.0 RAID bus controller: Adaptec Serial ATA II RAID 1420SA (rev 01)
>          Subsystem: Adaptec Serial ATA II RAID 1420SA
>          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: 32, Cache Line Size 08
>          Interrupt: pin A routed to IRQ 209
>          Region 0: Memory at ed000000 (64-bit, non-prefetchable) [size=1M]
>          Region 2: I/O ports at a000 [size=256]
>          Capabilities: [40] 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: [50] Message Signalled Interrupts: 64bit+ Queue=0/0 Enable+
>                  Address: 00000000fee03000  Data: 40d1

Andi says "It's more likely a hardware bug that needs to be handled by the
driver maintainer.  sata_mv has an pci_enable_msi().  Hardware that reports
MSI capability but breaks when it's actually used is not unheard of."

-sata_mv 0000:00:0a.0: 32 slots 4 ports unknown mode IRQ via MSI
-ata1: SATA max UDMA/133 cmd 0x0 ctl 0xE0A22120 bmdma 0x0 irq 177
-ata2: SATA max UDMA/133 cmd 0x0 ctl 0xE0A24120 bmdma 0x0 irq 177
-ata3: SATA max UDMA/133 cmd 0x0 ctl 0xE0A26120 bmdma 0x0 irq 177
-ata4: SATA max UDMA/133 cmd 0x0 ctl 0xE0A28120 bmdma 0x0 irq 177
+sata_mv 0000:00:0a.0: 32 slots 4 ports unknown mode IRQ via INTx
+ata1: SATA max UDMA/133 cmd 0x0 ctl 0xE0A22120 bmdma 0x0 irq 18
+ata2: SATA max UDMA/133 cmd 0x0 ctl 0xE0A24120 bmdma 0x0 irq 18
+ata3: SATA max UDMA/133 cmd 0x0 ctl 0xE0A26120 bmdma 0x0 irq 18
+ata4: SATA max UDMA/133 cmd 0x0 ctl 0xE0A28120 bmdma 0x0 irq 18

It seems strange that pci_enable_msi() succeeded if the device is not
MSI-capable?


  reply	other threads:[~2006-01-10  6:13 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-01-07 21:06 Adaptec 1420SA issues with MSI Dave Dillow
2006-01-10  6:13 ` Andrew Morton [this message]
2006-01-10  6:31   ` Jeff Garzik
2006-01-17 19:39   ` Jeff Garzik
  -- strict thread matches above, loose matches on Subject: below --
2006-01-07  4:53 Dave Dillow

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=20060109221323.65f6987d.akpm@osdl.org \
    --to=akpm@osdl.org \
    --cc=dave@thedillows.org \
    --cc=jgarzik@pobox.com \
    --cc=linux-ide@vger.kernel.org \
    --cc=linux-kernel@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).