From: Robert Hancock <hancockrwd@gmail.com>
To: Richard Mawson <richard@crow.mawsonit.co.uk>
Cc: Tim Small <tim@seoss.co.uk>, Tejun Heo <htejun@gmail.com>,
	linux-ide@vger.kernel.org
Subject: Re: SATA driver sata_sil24
Date: Thu, 29 Apr 2010 08:43:46 -0600	[thread overview]
Message-ID: <x2y51f3faa71004290743pd2c82f96pe4e7df330cc58b45@mail.gmail.com> (raw)
In-Reply-To: <20100429091436.GO5360@crow.mawsonit.co.uk>
On Thu, Apr 29, 2010 at 3:14 AM, Richard Mawson
<richard@crow.mawsonit.co.uk> wrote:
> Tim,
>
> On Mon, Apr 26, 2010 at 12:59:05PM +0100, Tim Small wrote:
>> If you want to try to debug this further - you could turn on PCI parity
>> error detection (either using EDAC module, or via userspace with
>> lspci/setpci)?
>>
>> # modprobe  edac_core
>> # echo 1 > /sys/module/edac_core/parameters/check_pci_errors
>>
>> If you're after a different solution for that machine, you can buy Sii
>> 3124 based cards (PCI-X to 4x SATA) for about the same price as that
>> adaptor....
>>
>> http://www.siliconimage.com/products/product.aspx?pid=27
>
> Thanks for your suggestions.
>
> I'm not too familiar with debugging pci errors, but I'm willing to try things
> out if there are suggestions as to what to look for.
>
> Having moves this to another system, still using the pci-pcie bridge, there
> are problems too -- it just takes longer to show up. The system locks up when
> copying large quantities of data to the disks.
>
> The symptom is the following code in the interrupt handler being called many
> many times:
>
>        if (status == 0xffffffff) {
>                printk(KERN_ERR DRV_NAME ": IRQ status == 0xffffffff, "
>                       "PCI fault or device removal?\n");
>
> Does this indicate a hardware error? Is there a safe way to reset the device
> in this state to avoid the repeated calls to the interrupt handler that I
> suspect is the cause of the machine being unresponsive?
>
> I'm looking into pci debugging techniques, but any pointers would be welcome.
Register reads returning all 1s would indicate that there are likely
PCI aborts happening - could be either the bridge or the chip itself
has stopped responding.
next prev parent reply	other threads:[~2010-04-30 22:12 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20100422083226.GA6018@crow.mawsonit.co.uk>
     [not found] ` <4BD0203C.7010903@gmail.com>
2010-04-22 12:17   ` SATA driver sata_sil24 Richard Mawson
2010-04-22 13:33     ` Tejun Heo
2010-04-22 22:33       ` Richard Mawson
2010-04-23  3:23         ` Robert Hancock
2010-04-23 14:06           ` Richard Mawson
2010-04-23 20:34           ` Richard Mawson
2010-04-24  0:34             ` Robert Hancock
2010-04-24  4:16               ` Stan Hoeppner
2010-04-24  5:10               ` Richard Mawson
2010-04-26 11:59                 ` Tim Small
     [not found]                   ` <20100429091436.GO5360@crow.mawsonit.co.uk>
2010-04-29 14:43                     ` Robert Hancock [this message]
2010-04-25 16:21               ` Richard Mawson
     [not found]                 ` <4BD50012.1030103@hardwarefreak.com>
2010-04-26  8:17                   ` Richard Mawson
     [not found]                     ` <4BD567CE.9070905@hardwarefreak.com>
2010-04-26 11:25                       ` Richard Mawson
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=x2y51f3faa71004290743pd2c82f96pe4e7df330cc58b45@mail.gmail.com \
    --to=hancockrwd@gmail.com \
    --cc=htejun@gmail.com \
    --cc=linux-ide@vger.kernel.org \
    --cc=richard@crow.mawsonit.co.uk \
    --cc=tim@seoss.co.uk \
    /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).