linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: James Bottomley <James.Bottomley@SteelEye.com>
To: Olivier Galibert <galibert@pobox.com>
Cc: SCSI Mailing List <linux-scsi@vger.kernel.org>,
	"Hack inc." <linux-kernel@vger.kernel.org>
Subject: Re: Infinite interrupt loop, INTSTAT = 0
Date: Sat, 01 Oct 2005 09:03:54 -0500	[thread overview]
Message-ID: <1128175434.4921.9.camel@mulgrave> (raw)
In-Reply-To: <20050928183324.GA51793@dspnet.fr.eu.org>

On Wed, 2005-09-28 at 20:33 +0200, Olivier Galibert wrote:
> Ok, for git HEAD 95001ee9256df846e374f116c92ca8e0beec1527.  The system
> has the nice idea not to crash at the end, so I can fish everything
> out of /var/log/messages (kernel messages only):

Well ... at least that's slightly better behaviour ...

I'm afraid the initial analysis is that this is a bug in the adaptec
sequencer (again) which no-one has the docs to fix.  Guessing about the
cause, I'd say it's most likely some type of data overrun, so it might
be possible to change the operating parameters of the system so it no
longer trips ...

> Sep 28 20:21:16 m82 kernel: scsi0 : Adaptec AIC79XX PCI-X SCSI HBA DRIVER, Rev 1.3.11
> Sep 28 20:21:16 m82 kernel:         <Adaptec AIC7902 Ultra320 SCSI adapter>
> Sep 28 20:21:16 m82 kernel:         aic7902: Ultra320 Wide Channel A, SCSI Id=7, PCI-X 101-133Mhz, 512 SCBs
> Sep 28 20:21:16 m82 kernel: 
> Sep 28 20:21:16 m82 kernel:   Vendor: SEAGATE   Model: ST373207LC        Rev: 0003
> Sep 28 20:21:16 m82 kernel:   Type:   Direct-Access                      ANSI SCSI revision: 03
> Sep 28 20:21:17 m82 kernel:  target0:0:0: asynchronous.
> Sep 28 20:21:17 m82 kernel: scsi0:A:0:0: Tagged Queuing enabled.  Depth 4
> Sep 28 20:21:17 m82 kernel:  target0:0:0: Beginning Domain Validation
> Sep 28 20:21:17 m82 kernel:  target0:0:0: wide asynchronous.
> Sep 28 20:21:17 m82 kernel:  target0:0:0: FAST-160 WIDE SCSI 320.0 MB/s DT IU QAS RDSTRM RTI WRFLOW PCOMP (6.25 ns, offset 63)
> Sep 28 20:21:17 m82 kernel:  target0:0:0: Ending Domain Validation
> Sep 28 20:21:17 m82 kernel:   Vendor: SUPER     Model: GEM318            Rev: 0   
> Sep 28 20:21:17 m82 kernel:   Type:   Processor                          ANSI SCSI revision: 02
> Sep 28 20:21:17 m82 kernel:  target0:0:6: asynchronous.
> Sep 28 20:21:17 m82 kernel:  target0:0:6: Beginning Domain Validation
> Sep 28 20:21:17 m82 kernel:  target0:0:6: Ending Domain Validation
> Sep 28 20:21:17 m82 kernel: ACPI: PCI Interrupt 0000:02:02.1[B] -> GSI 33 (level, low) -> IRQ 209
> Sep 28 20:21:17 m82 kernel: scsi1 : Adaptec AIC79XX PCI-X SCSI HBA DRIVER, Rev 1.3.11
> Sep 28 20:21:17 m82 kernel:         <Adaptec AIC7902 Ultra320 SCSI adapter>
> Sep 28 20:21:17 m82 kernel:         aic7902: Ultra320 Wide Channel B, SCSI Id=7, PCI-X 101-133Mhz, 512 SCBs
> Sep 28 20:21:17 m82 kernel: 
> Sep 28 20:21:17 m82 kernel:   Vendor: VP-1252-  Model: FB951223-VOL#00   Rev: R001
> Sep 28 20:21:17 m82 kernel:   Type:   Direct-Access                      ANSI SCSI revision: 03
> Sep 28 20:21:17 m82 kernel:  target1:0:0: asynchronous.
> Sep 28 20:21:17 m82 kernel: scsi1:A:0:0: Tagged Queuing enabled.  Depth 4
> Sep 28 20:21:17 m82 kernel:  target1:0:0: Beginning Domain Validation
> Sep 28 20:21:17 m82 kernel:  target1:0:0: wide asynchronous.
> Sep 28 20:21:17 m82 kernel:  target1:0:0: FAST-160 WIDE SCSI 320.0 MB/s DT IU QAS RTI WRFLOW PCOMP (6.25 ns, offset 127)

The first thing to try here is to bring the offset down to 63 like all
the other devices.  You can do this by

echo 63 > /sys/class/spi_transport/target1\:0\:0/max_offset
echo 1 > /sys/class/spi_transport/target1\:0\:0/revalidate

Which should retrigger the above domain validation but this time come
back with an offset of 63.

*before* getting to the mount on /dev/sdb1.

If that doesn't fix it, the next steps will be to begin lowering the
transmission parameters.

James



  reply	other threads:[~2005-10-01 14:04 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-09-28 13:45 Infinite interrupt loop, INTSTAT = 0 Olivier Galibert
2005-09-28 15:05 ` James Bottomley
2005-09-28 16:07   ` Olivier Galibert
2005-09-28 16:24     ` James Bottomley
2005-09-28 16:42       ` Olivier Galibert
2005-09-28 17:10       ` Olivier Galibert
2005-09-28 17:13         ` Randy.Dunlap
2005-09-28 17:24         ` Arjan van de Ven
2005-09-28 17:51         ` James Bottomley
2005-09-28 18:33           ` Olivier Galibert
2005-10-01 14:03             ` James Bottomley [this message]
2005-10-03 13:42               ` Olivier Galibert
2005-10-03 16:15                 ` James Bottomley
2005-10-04  8:45                   ` Olivier Galibert
2005-10-04 13:23                     ` James Bottomley
2005-10-04 14:55                       ` Olivier Galibert

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=1128175434.4921.9.camel@mulgrave \
    --to=james.bottomley@steeleye.com \
    --cc=galibert@pobox.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-scsi@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).