Is there any secret to getting meaningful error results from the SCSI generic
interface? 

I'm using a READ_ELEMENT_STATUS command to scan the contents of a tape library
and an autoloader. This is working fine with an Exabyte 220 tape library (and
an Exabyte EX-17 tape robotic device, for that matter), but not with a Seagate
DDS-4 6-tape autoloader. But neither the status byte in the sg_header struct
nor the return value of the read() or write() are non-zero after the command
fails... the only reason I know the command has failed is because the read
buffer is unchanged and doesn't hold any valid element status data. 

Any clues as to what I'm doing wrong? Or is this a known problem (not getting
valid sense data or error returns) with the SCSI generic device? :-(. 

-- 
Eric Lee Green                         [EMAIL PROTECTED]
Software Engineer                      Visit our Web page:
Enhanced Software Technologies, Inc.   http://www.estinc.com/
(602) 470-1115 voice                   (602) 470-1116 fax

-
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to [EMAIL PROTECTED]

Reply via email to