Subject: Re: More verbose SCSI errors...
To: None <mjacob@feral.com>
From: maximum entropy <entropy@zippy.bernstein.com>
List: current-users
Date: 08/19/1997 01:08:22
>From: Matthew Jacob <mjacob@feral.com>
>
>I've been running around a while with a modified scsi_base.c &&
>st.c that decodes in a more readable human fashion SCSI sense
> [...]
>Aug 18 13:06:00 frobzit /netbsd: st0(ncr1:5:0): illegal request, data = 00 00 00 00 24 00 00 00 00 00 81 03 80 01 30 31 30 30 00 00 00 00 00 00 00 00 00 00 00 1a 00 10 00 1c 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 24 2f 7d f8 00 00 00 00 38 2f 7d f8 3c 30
>Hmm. Oops. Forgot SCSIVERBOSE. Not incredibly useful. How about:
>Aug 18 13:24:02 frobzit /netbsd: st0(ncr1:5:0): Check Condition on opcode 1a
>Aug 18 13:24:02 frobzit /netbsd: SENSE KEY: Illegal Request
>Aug 18 13:24:02 frobzit /netbsd: ASC/ASCQ: Illegal Field in CDB
>instead? It's not *that* much more informative than the other, except
>[...]
>Is there any desire to see this integrated?
I'd really like to see this integrated, as I have some cranky old SCSI
devices and this sort of information could be *very* useful for
debugging problems.
My only comment is that I'd like to see the decoded information *in
addition to* the raw data, not instead of the raw data.
Cheers,
entropy
--
entropy -- it's not just a good idea, it's the second law.
This message may refer to a product containing software developed by
Christopher G. Demetriou for the NetBSD Project.