public inbox for linux-scsi@vger.kernel.org
 help / color / mirror / Atom feed
From: Mike Anderson <andmike@us.ibm.com>
To: Rob Radez <rob@osinvestor.com>, linux-scsi@vger.kernel.org
Subject: Re: [rob@osinvestor.com: Re: SCSI broken]
Date: Wed, 5 Mar 2003 10:56:48 -0800	[thread overview]
Message-ID: <20030305185648.GF1090@beaverton.ibm.com> (raw)
In-Reply-To: <20030305180346.GB1090@beaverton.ibm.com>

Rob,
	The patch below fixed a error handler problem on my system when
	I switch to using the old aic7xxx. Could you try it and let me
	know if it fixes your problem.

I had my list empty checks reversed if aborting and bus device reset
failed. The condition that causes the error handler to run is config
related and I cannot recreate your config with my equipment.

Mike Anderson [andmike@us.ibm.com] wrote:
> Rob,
> 	Would it possible for you to build with CONFIG_SCSI_LOGGING=y
> 	and boot with scsi_logging=1. Then send the output to me.  The
> 	output is quite noisy and if you do not have a serial connected
> 	the last messages maybe all that is needed. This would help
> 	narrow down the section in the diff.
> 
-andmike
--
Michael Anderson
andmike@us.ibm.com


=====
name:		00_scsi_error_ready_devs-1.diff
version:	2003-03-05.10:39:28-0800
against:	2.5.63

 scsi_error.c |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

=====
===== drivers/scsi/scsi_error.c 1.38 vs edited =====
--- 1.38/drivers/scsi/scsi_error.c	Sat Feb 22 08:17:01 2003
+++ edited/drivers/scsi/scsi_error.c	Wed Mar  5 10:14:22 2003
@@ -1490,9 +1490,9 @@
 			       struct list_head *work_q,
 			       struct list_head *done_q)
 {
-	if (scsi_eh_bus_device_reset(shost, work_q, done_q))
-		if (scsi_eh_bus_reset(shost, work_q, done_q))
-			if (scsi_eh_host_reset(work_q, done_q))
+	if (!scsi_eh_bus_device_reset(shost, work_q, done_q))
+		if (!scsi_eh_bus_reset(shost, work_q, done_q))
+			if (!scsi_eh_host_reset(work_q, done_q))
 				scsi_eh_offline_sdevs(work_q, done_q);
 }
 


      reply	other threads:[~2003-03-05 18:56 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-03-05 14:43 [rob@osinvestor.com: Re: SCSI broken] Rob Radez
2003-03-05 18:03 ` Mike Anderson
2003-03-05 18:56   ` Mike Anderson [this message]

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=20030305185648.GF1090@beaverton.ibm.com \
    --to=andmike@us.ibm.com \
    --cc=linux-scsi@vger.kernel.org \
    --cc=rob@osinvestor.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