On Sat, May 27 2000, Gérard Roudier wrote:
> > > I tossed the TEST_UNIT_READY
> > > part out and INQUIRY alone works fine (one disk, 2 CDs and a tape on
> > > a BusLogic clone - all found as per usual).
> >
> > Looks good to me. Although I can't possibly see what harm a TEST_UNIT_READY
> > command could do...
>
> TEST UNIT READY seems not appropriate for the discovery of devices. It
> also may return CHECK CONDITION when INQUIRY will succeed (and preserve a
> UNIT ATTENTION CONDITION if any).
>
> On the other hand, it may be risky to try a TUR on an not existing LUN,
> given that SCSI devices usually expect INQUIRY. Broken SCSI device
> firmwares may arm on a TUR to a non existing LUN but not harm on an
> INQUIRY.
Thanks for shedding some light on this, it makes a lot more sense
to me now. Anyway, the TUR has been removed so all should be well.
-- * Jens Axboe <axboe@suse.de> * Linux CD/DVD-ROM, SuSE Labs * http://kernel.dk- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/
This archive was generated by hypermail 2b29 : Wed May 31 2000 - 21:00:18 EST