[9272] in linux-scsi channel archive

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

Re: Problem w/ recent scsi_scan changes

daemon@ATHENA.MIT.EDU (Steve Ralston)
Mon Jul 31 07:09:26 2000

From:	sralston@ra.ks.lsil.com (Steve Ralston)
Message-Id: <200007311107.GAA28432@ra.ks.lsil.com>
To:	langa2@kph.uni-mainz.de (Michael Lang A2)
Date:	Mon, 31 Jul 100 06:07:43 -0500 (CDT)
Cc:	linux-scsi@vger.rutgers.edu (linux-scsi)
In-Reply-To: <Pine.LNX.4.10.10007311236030.11473-100000@gosodrom.kph.uni-mainz.de> from "Michael Lang A2" at Jul 31, 0 12:46:40 pm
Content-Type: text

On Monday, July 31, 2000, Michael Lang wrote:
> The reason for why this has been changed was, that some SCSI-devices,
> mainly those with changeable media, like tapedrives, CD-ROMs or Syquest
> drives won't get recognized. The TEST_UNIT_READY may fail on such devices,
> if no medium is inserted. The INQUIRY command should always work on
> physically present drives, no matter if a medium is present or not and it
> therefore offers the safest way to detect some SCSI-device.

Ok, I can understand the reasoning behind the change then.
 
> Maybe, one could think of some TEST_UNIT_READY to be done on unchangeable
> media, before the INQUIRY test is done. This could be some point of
> discussion.

Hmmm...  One has to perform INQUIRY *before* you know whether or not
the media is changeable or not, no?

Instead of the original TUR then INQUIRY, maybe INQUIRY followed by
TUR would be workable.  If TUR returns "Logical Unit Not Supported"
or somesuch, then nix the scsi device.

Thanks,
-SteveR

-
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