[7743] in linux-scsi channel archive

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

Re: SCSI queueing status.

daemon@ATHENA.MIT.EDU (Tim Waugh)
Thu Dec 23 09:17:42 1999

Date:   Thu, 23 Dec 1999 12:48:09 +0000 (GMT)
From: Tim Waugh <twaugh@redhat.com>
To: Eric Youngdale <eric@andante.org>
Cc: linux-scsi@vger.rutgers.edu, Peter Rival <frival@zk3.dec.com>,
	Christoph Rohland <hans-christoph.rohland@sap.com>,
	frankeh@us.ibm.com
In-Reply-To: <003c01bf4cdd$f9407e20$7f66420c@zydeco>
Message-ID: <Pine.LNX.4.10.9912231244020.1242-100000@twaugh.surrey.redhat.com>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII

On Thu, 23 Dec 1999, Eric Youngdale wrote:

>  2) Some people were reporting problems scanning the bus with ppa and
> imm host adapters.  The problem here was that I was incrementing the
> host usage count too soon, and thus hosts that could only queue a
> single command would deadlock attempting to scan the bus. I think I
> have fixed this - it was a relic of the old way of doing things (and a
> maintainence problem as well) to bump the usage count in two separate
> functions.  I moved this over so that it is all done in the same place
> now.  There is a danger that I missed something here, and thus there
> is a slight possibility that usage counts will get out of synch and
> the system will wedge.

Eric, I'm still having trouble with ppa after this patch.  It gets further
now -- the ppa module initialises now -- but I don't end up with a SCSI
device.  Here's the syslog from 2.3.35+your patch:

ppa: Version 2.03 (for Linux 2.2.x)
ppa: Found device at ID 6, Attempting to use EPP 32 bit
ppa: Found device at ID 6, Attempting to use PS/2
ppa: Communication established with ID 6 using PS/2
scsi0 : Iomega VPI0 (ppa) interface
scsi : 1 host.
  Vendor: IOMEGA    Model: ZIP 100           Rev: D.09
  Type:   Direct-Access                      ANSI SCSI revision: 02

And here's the syslog from 2.2.14pre16:

ppa: Version 2.03 (for Linux 2.2.x)
ppa: Found device at ID 6, Attempting to use EPP 32 bit
ppa: Found device at ID 6, Attempting to use PS/2
ppa: Communication established with ID 6 using PS/2
scsi0 : Iomega VPI0 (ppa) interface
scsi : 1 host.
  Vendor: IOMEGA    Model: ZIP 100           Rev: D.09
  Type:   Direct-Access                      ANSI SCSI revision: 02
Detected scsi removable disk sda at scsi0, channel 0, id 6, lun 0
SCSI device sda: hdwr sector= 512 bytes. Sectors= 196608 [96 MB] [0.1 GB]
sda: Write Protect is off
 sda: sda4

Is this the 'wedge' that you mentioned?

Tim.
*/


-
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