Subject: Re: ASC/ASCQ numbers?
To: None <cjones@honors.montana.edu, current-users@NetBSD.ORG>
From: Matthew Jacob <mjacob@feral.com>
List: current-users
Date: 06/10/1998 14:06:08
>I recently had some weird problems with my exabyte tape, and I called
>their tech support about it.  The guy I talked to seemed to believe that
>the SCSI error message should include ASC/ASCQ numbers, but the one I have
>on my console (and in syslog) is:
>
>Jun 10 00:15:31 clydesdale /netbsd: st0(aic0:2:0):  Check Condition on opcode 0x0
>Jun 10 00:15:31 clydesdale /netbsd:     SENSE KEY:  Hardware Error
>Jun 10 00:15:31 clydesdale /netbsd:  COMMAND INFO:  1 (0x1)
>Jun 10 00:15:31 clydesdale /netbsd:      ASC/ASCQ:  Mechanical Positioning Error
>Jun 10 00:15:31 clydesdale /netbsd: 
>
>All it says is, "Mechanical Positioning Error."  Is there a way to get the
>ASC/ASCQ numbers?  (What *are* the ASC/ASCQ numbers, anyway?)
>
>Chris
>

"ASC" == Additional Sense Code
"ASCQ" == Additional Sense Code Qualifier

The numbers this is translated from can be found in the SCSI-2
spec, as well as scsi_verbose.c:


	{ 0x15, 0x01, "Mechanical Positioning Error" },

This is the first I've ever heard of someone wanting the
number rather than the SCSI-2 approved english text.