Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Thu, 6 Mar 2003 12:31:27 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Thu, 6 Mar 2003 12:31:27 -0500 Received: from modemcable092.130-200-24.mtl.mc.videotron.ca ([24.200.130.92]:5729 "EHLO montezuma.mastecende.com") by vger.kernel.org with ESMTP id ; Thu, 6 Mar 2003 12:31:24 -0500 Date: Thu, 6 Mar 2003 12:39:39 -0500 (EST) From: Zwane Mwaikambo X-X-Sender: zwane@montezuma.mastecende.com To: James Bottomley cc: Mike Anderson , "" , "" , "" , SCSI Mailing List Subject: Re: 2.5.63/64 do not boot: loop in scsi_error In-Reply-To: <1046971303.1998.23.camel@mulgrave> Message-ID: References: <20030306064921.GA1425@beaverton.ibm.com> <20030306083054.GB1503@beaverton.ibm.com> <20030306085506.GB2222@beaverton.ibm.com> <20030306091824.GA2577@beaverton.ibm.com> <1046968304.1746.20.camel@mulgrave> <1046971303.1998.23.camel@mulgrave> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1123 Lines: 32 On Thu, 6 Mar 2003, James Bottomley wrote: > Actually, all three if's need nots in front: > > diff -Nru a/drivers/scsi/scsi_error.c b/drivers/scsi/scsi_error.c > --- a/drivers/scsi/scsi_error.c Thu Mar 6 11:21:22 2003 > +++ b/drivers/scsi/scsi_error.c Thu Mar 6 11:21: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); > } Ok patched 2.5.63 is back to booting as 2.5.62, would you like any more information? Thanks, Zwane -- function.linuxpower.ca - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/