[9364] in linux-scsi channel archive

home help back first fref pref prev next nref lref last post

Re: Adaptec dies after powerloss of a drive

daemon@ATHENA.MIT.EDU (Martin Peschke)
Fri Aug 11 11:47:13 2000

Date:	Fri, 11 Aug 2000 17:16:00 +0200 (MET DST)
From:	Martin Peschke <peschke@fh-brandenburg.de>
To:	Eddie Williams <Eddie.Williams@SteelEye.com>
cc:	linux-scsi@vger.rutgers.edu
In-Reply-To: <200008111358.JAA05653@aslan.sc.steeleye.com>
Message-ID: <Pine.GSO.4.10.10008111659170.8523-100000@zeus.fh-brandenburg.de>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII



On Fri, 11 Aug 2000, Eddie Williams wrote:

> > On Fri, 11 Aug 2000, Eddie Williams wrote:
> > 
> > > Were there IO's going on to the disk when the power was dropped?  Who is 
> > > driving term power?
> > 
> > Regardless. The kernel keeps dying even after the power and the failed
> > drive are back on and up in my aha2940 case.
> 
> There are two ways to solve the problem:  1) is to avoid the problem in the 
> first place and 2) to fix error handling so that the system recovers.

a proposal concerning 2):
The mid-layers allows HBA drivers to report unexpected bus resets by means
of scsi_report_bus_reset(). This should avoid reset wars. But I do not
understand why it is up to a particular HBA driver to make the system
stable in multiple initiator environments. There is no reason for
implementing this behavior in a specific driver but not in another one,
isn't it? It should not depend on the HBA driver. You can imagine any
combination of HBAs from different vendors driven by different drivers on
a single parallel bus, or whatever.
The mentioned behavior should depend on whether we have an environment
with several initiators or not. (Is it possible to detect this by means of
INQUIRY?) A more defensive error handling should be applied in such
environments. A compromise: let the user decide, i.e. during kernel
configuration by means of a SCSI midlayer option forcing defensive error
recovery.

Regards
Martin Peschke


-
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to majordomo@vger.rutgers.edu

home help back first fref pref prev next nref lref last post