From: David Miller Subject: Re: ESP SCSI and QLGC,ISP SCSI drivers not finding attached devices Date: Fri, 20 Jul 2007 15:35:18 -0700 (PDT) Message-ID: <20070720.153518.59469498.davem@davemloft.net> References: <1184941136.3455.8.camel@localhost.localdomain> Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: Sender: sparclinux-owner@vger.kernel.org To: mark@mtfhpc.demon.co.uk Cc: James.Bottomley@SteelEye.com, sparclinux@vger.kernel.org, linux-scsi@vger.kernel.org List-Id: linux-scsi@vger.kernel.org I think these reports all point to a problem with the sparc32 kernel far outside of the drivers in question. We have no reports like this on sparc64. My running theory is that things like msleep() are returning immediately on sparc32, or at least too fast, instead of delaying the minimum necessary amount. This will screw up the scsi reset settle delay, and the devices will return scsi command status's that the SCSI bus probe will consider not good enough to recognize the device. This is exactly what tracing from Tom Callaway has shown in the past. So this is a sparc32 kernel bug of some sort, most likely, not a driver bug.