HomeFreeBSD

MFC r346491: Polish SCSI sense data validity checks.

Description

MFC r346491: Polish SCSI sense data validity checks.

According to specs and common sense, all sense data reported in descriptor
format should be valid. But practice shows different, some devices return
descriptors with invalid data, resulting in error messages looking worse.

Decouple block/stream commands sense data and information field printing.
Looking on present specs, there are much more cases when those fields are
not related, and incomplete old code was not printing valid sense data and
leaving empty lines for invalid.

Details

Provenance
mavAuthored on
Parents
rS347334: Add wc(1) to native-xtools so that it can be used in qemu-user jails
Branches
Unknown
Tags
Unknown