Re: SuSE hwinfo/yast2 still confusing SYM53C8XX, killing tape backups

Steffen Winterfeldt
2004-11-22T13:07:16Z

On Mon, 22 Nov 2004, Douglas Gilbert wrote:

> Steffen,
> I recently noticed that VPD page 0x80 (unit serial number)
> can be tricky to decode accurately. The reason is that many
> "SCSI" devices ignore the EVPD bit and return a
> standard INQUIRY response. Previously I simply checked
> that byte 1 (origin 0) of the response of a valid VPD
> page was its code, in this case: 0x80 .
>
> The problem is that byte 1 of a standard INQUIRY response for
> a device with removable media is also 0x80 . So now I also
> retrieve the "supported VPD pages" page (0x0) and make
> sure it is well formed and indicates that VPD page 0x80 is
> supported.
>
> In VPD pages 0x0 and 0x80 byte 2 of the reponse should be 0x0.
> Byte 2 in a standard INQUIRY response is only zero when the device
> claims no compliance with any SCSI standard. So that is
> another possible sanity check.

Thanks for the hint, Doug, I'll give it a try.

Steffen