public inbox for linux-scsi@vger.kernel.org
 help / color / mirror / Atom feed
From: James Bottomley <James.Bottomley@HansenPartnership.com>
To: "Moore, Eric" <Eric.Moore@lsi.com>
Cc: Matthew Wilcox <matthew@wil.cx>,
	"linux-scsi@vger.kernel.org" <linux-scsi@vger.kernel.org>,
	"Prakash, Sathya" <Sathya.Prakash@lsi.com>
Subject: RE: Sample implementation of a scheme to handle missing interrupts
Date: Mon, 28 Jul 2008 15:45:01 -0500	[thread overview]
Message-ID: <1217277901.3503.143.camel@localhost.localdomain> (raw)
In-Reply-To: <660360F4F2570145BD872F298951B17A3AC7E178@cosmail03.lsi.com>

On Mon, 2008-07-28 at 13:01 -0600, Moore, Eric wrote:
> On Sunday, July 27, 2008 11:56 PM, Matthew Wilcox wrote:
> 
> > There has been some discussion recently (both on the mailing
> > list and at
> > OLS) of MSI and it reminded me of a perennial problem that I have with
> > sym2.  When interrupts don't work, I often get the bug
> > reports, because
> > the user seems sym2 spewing error messages right before the panic when
> > it fails to mount their root filesystem.
> >
> 
> In my case, the MSI problem will manifest itself well before we bind
> with the scsi midlayer.    Meaning when there is a MSI problem, we
> can't even bring up the card.  Hence adding code in a eh_timed_out
> callback handler would be meaningless in solving our problem. What I
> need to do is find a problematic card, so I can verify some things.

Actually, you don't need this.  I verified the behaviour of the MSI
problem simply by commenting out the request_irq.  It looks like there's
no simple way to simulate MSI misrouting, but perhaps I should look at
that, since it would be useful.

>    My beliefs are that all the doorbell request at driver load time
> work becuase we are polling with interrupts masked.

This is the actual bug report:

http://bugzilla.kernel.org/show_bug.cgi?id=11045

>   The first command sent with interrupts enabled would be
> SendPortEnable.  If we have a timeout after calling
> mpt_handshake_req_reply_wait, we resend the port enable with MSI
> turned off, right?

James



  reply	other threads:[~2008-07-28 20:45 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-07-28  5:56 Sample implementation of a scheme to handle missing interrupts Matthew Wilcox
2008-07-28  9:50 ` Zhao Forrest
2008-07-28 11:58   ` Matthew Wilcox
2008-07-28 19:01 ` Moore, Eric
2008-07-28 20:45   ` James Bottomley [this message]
2008-07-29 23:38     ` Moore, Eric
2008-08-03 17:59       ` James Bottomley

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=1217277901.3503.143.camel@localhost.localdomain \
    --to=james.bottomley@hansenpartnership.com \
    --cc=Eric.Moore@lsi.com \
    --cc=Sathya.Prakash@lsi.com \
    --cc=linux-scsi@vger.kernel.org \
    --cc=matthew@wil.cx \
    /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