From: Eric Youngdale (eric@tantalus.nrl.navy.mil)
Date: 11/21/92


From: eric@tantalus.nrl.navy.mil (Eric Youngdale)
Subject: New scsi code.
Date: Sat, 21 Nov 1992 20:50:26 GMT


        I have uploaded some patches for fscsi-a06 to tsx-11.mit.edu. They
can be found in the file pub/linux/ALPHA/scsi/fscsi-a06.pl1. Some
of these are simple cleanup things to fix compile warnings, but there is
one substantive change that I would like people to try.

        Previously we were sending an INQUIRY command to each
target/lun combination at boot time, and we were using this to
determine what devices were available. Unfortunately, some devices
seem to respond with the same information to each lun, and the scsi
code was becoming confused.

        What I have done to get around this is to first send a
TEST_UNIT_READY to each target/lun combination. I then look at the
return status, and decide if it looks like there is really a device
there (some error conditions still indicate an actual device present).
If there is, then we send the INQUIRY. This approach solves
the problem in one of the cases where we were having a problem.

        I would like people to try this to make sure that all of their
devices are properly recognized (and each one is only recognized
once).

        There are also a couple of bugfixes to the 7000fasst code included.

-Eric

-- 
Eric Youngdale