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: Mon, 03 Oct 2005 12:15:44 -0400 [thread overview]
Message-ID: <1128356144.4606.11.camel@mulgrave> (raw)
In-Reply-To: <20051003134210.GA10641@dspnet.fr.eu.org>
On Mon, 2005-10-03 at 15:42 +0200, Olivier Galibert wrote:
> Well, retriggering the DV blows:
>
> Oct 3 15:39:03 m82 kernel: target1:0:0: Beginning Domain Validation
> Oct 3 15:39:03 m82 kernel: target1:0:0: asynchronous.
> Oct 3 15:39:03 m82 kernel: scsi1: Returning to Idle Loop
> Oct 3 15:39:13 m82 kernel: scsi1:0:0:0: Attempting to queue an ABORT message:CDB: 0x12 0x0 0x0 0x0 0x62 0x0
> Oct 3 15:39:13 m82 kernel: scsi1: At time of recovery, card was not paused
> Oct 3 15:39:13 m82 kernel: >>>>>>>>>>>>>>>>>> Dump Card State Begins <<<<<<<<<<<<<<<<<
> Oct 3 15:39:13 m82 kernel: scsi1: Dumping Card State at program address 0x26 Mode 0x22
> Oct 3 15:39:13 m82 kernel: Card was paused
Oh, that's not pretty. It means that the sequencer (or possibly the
bus) was wedged as it exited domain validation and it won't even recover
if we drop down to fully async.
What type of array is this, by the way? I don't recognise the vendor.
But anyway, let's proceed on the theory that the array is having a hard
time. What I need you to do is lower the speed of the array target in
the aic bios. Unfortunately, the driver won't honour that setting at
the moment: I'll see if I can work up the code that will do it. The
attached patch will perform this artificially (for every device on every
aic79xx).
James
diff --git a/drivers/scsi/aic7xxx/aic79xx_osm.c b/drivers/scsi/aic7xxx/aic79xx_osm.c
--- a/drivers/scsi/aic7xxx/aic79xx_osm.c
+++ b/drivers/scsi/aic7xxx/aic79xx_osm.c
@@ -499,11 +499,13 @@ ahd_linux_target_alloc(struct scsi_targe
ahd_compile_devinfo(&devinfo, ahd->our_id, starget->id,
CAM_LUN_WILDCARD, channel,
ROLE_INITIATOR);
- spi_min_period(starget) = AHD_SYNCRATE_MAX; /* We can do U320 */
+ //spi_min_period(starget) = AHD_SYNCRATE_MAX; /* We can do U320 */
+ spi_min_period(starget) = AHD_SYNCRATE_DT;
if ((ahd->bugs & AHD_PACED_NEGTABLE_BUG) != 0)
spi_max_offset(starget) = MAX_OFFSET_PACED_BUG;
else
spi_max_offset(starget) = MAX_OFFSET_PACED;
+ spi_max_offset(starget) = 63;
spi_max_width(starget) = ahd->features & AHD_WIDE;
ahd_set_syncrate(ahd, &devinfo, 0, 0, 0,
next prev parent reply other threads:[~2005-10-03 20:30 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
2005-10-03 13:42 ` Olivier Galibert
2005-10-03 16:15 ` James Bottomley [this message]
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=1128356144.4606.11.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