public inbox for linux-scsi@vger.kernel.org
 help / color / mirror / Atom feed
From: "Justin T. Gibbs" <gibbs@scsiguy.com>
To: Duncan Gibb <duncangibb@uk.dmgworldmedia.com>
Cc: "Cress, Andrew R" <andrew.r.cress@intel.com>,
	Rohit Gupta <rohit@davsys.com>,
	linux-scsi@vger.kernel.org
Subject: RE: aic79xx U320 + e1000 Intel hangs on Idual Xeon 7505
Date: Thu, 10 Apr 2003 10:55:06 -0600	[thread overview]
Message-ID: <530360000.1049993706@aslan.btc.adaptec.com> (raw)
In-Reply-To: <1049925671.16881.104.camel@astrognat>

> On Wed, 2003-04-09 at 21:27, Justin T. Gibbs wrote:
> 
> JG> The latest driver is 1.3.6:
> 
> I superimposed your 2.4-20030328 driver over my kernel tree and
> rebuilt.  It still locked up :-(

Do you have the nmi_watchdog enabled?  What bus speed are you running
for the aic7902 and the gig-E card?  Are the on the same physical PCI/PCI-X
bus?

> I tried lowering global tag depth to 4 (which I presume is a low number,
> but I don't really know what I'm doing).  And it still locks up.
> Moreover, according to /proc/scsi/aic79xx/[01], the driver has
> negotiated "Max Tagged Openings 0" with all the devices on this bus.

That seems really wierd - like you disabled disconnection.

> I noticed /proc/scsi/aic79xx/1 correctly refers to the controller as
> Channel B, but all the device info says Channel A.  Hope this doesn't
> mean it's getting scsi0 and scsi1 mixed up at a lower level.

Yes, that is a bit confusing.  The two channels are actually two independent,
single channel, controllers.  The user doesn't know that, and expects the
names to match those silk-screened on the card.  I'll review the code to
see if I can make it less confusing (perhaps just omit the channel identifier).

> My other theory is that all the devices on this bus are removable in one
> form or another, and hence are being polled for media changes.  The
> actions which cause the bus/driver to lock up are things which need a
> long period (several seconds) of data transfer - scanning in colour,
> writing a CD.  Could the disconnect logic be getting screwed up
> somewhere?  How could I test that?

A good start would be to send me privately (no need to spam the list) the
output of "cat /proc/scsi/aic79xx/*" and "cat /proc/scsi/scsi" as well
as a dmesg from the system.  From the last trace you sent, it did look
like we timed out while a command without the disconnection privledge was
out on the bus, but its not clear why yet.  If you compile the driver
with debugging enabled and a debug mask of 8, I can also see the content
of the serial eeprom to see if the settings are strange.

--
Justin


  reply	other threads:[~2003-04-10 16:44 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-04-09 19:26 aic79xx U320 + e1000 Intel hangs on Idual Xeon 7505 Cress, Andrew R
2003-04-09 20:23 ` Duncan Gibb
2003-04-09 20:27   ` Justin T. Gibbs
2003-04-09 22:01     ` Duncan Gibb
2003-04-10 16:55       ` Justin T. Gibbs [this message]
2003-04-10 21:00         ` Duncan Gibb
  -- strict thread matches above, loose matches on Subject: below --
2003-04-09 15:47 Duncan Gibb

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=530360000.1049993706@aslan.btc.adaptec.com \
    --to=gibbs@scsiguy.com \
    --cc=andrew.r.cress@intel.com \
    --cc=duncangibb@uk.dmgworldmedia.com \
    --cc=linux-scsi@vger.kernel.org \
    --cc=rohit@davsys.com \
    /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