AIC7902 SCSI aborted command
Don Bowman
don at sandvine.com
Mon Aug 4 13:38:09 PDT 2003
From: Justin T. Gibbs [mailto:gibbs at scsiguy.com]
> Sent: August 4, 2003 16:18
> To: Don Bowman; 'freebsd-scsi at freebsd.org'; 'aic7xxx at freebsd.org'
> Subject: RE: AIC7902 SCSI aborted command
>
>
> > How can one determine this is a CRC error? Is the reserved ASC/ASCQ
> > something that would be in e.g. the seagate manual as a vendor
> > specific thing?
>
> The output ASC/ASCQ pair are no longer reserved. They correspond to:
>
> INFORMATION UNIT iuCRC ERROR DETECTED
>
> This string just hasn't made it into FreeBSD's ASC/ASCQ table yet.
>
> You can find the latest ASC/ASCQ information at www.t10.org.
Below is a simple patch if anyone is interested which adds
this missing information.
$ cvs diff -U3 scsi_all.c
Index: scsi_all.c
===================================================================
RCS file: /usr/cvs/src/sys/cam/scsi/scsi_all.c,v
retrieving revision 1.14.2.9
diff -U3 -r1.14.2.9 scsi_all.c
--- scsi_all.c 21 Oct 2002 05:38:11 -0000 1.14.2.9
+++ scsi_all.c 4 Aug 2003 20:29:21 -0000
@@ -1231,6 +1231,18 @@
"Unsuccessful soft reset") },
/* DTLPWRSOMCAE */{SST(0x47, 0x00, SS_DEF,
"SCSI parity error") },
+/* DTLPWRSOMCAE */{SST(0x47, 0x01, SS_DEF,
+ "SCSI Data phase CRC error detected") },
+/* DTLPWRSOMCAE */{SST(0x47, 0x02, SS_DEF,
+ "SCSI parity error detected during ST data phase")
},
+/* DTLPWRSOMCAE */{SST(0x47, 0x03, SS_DEF,
+ "SCSI information unit iuCRC error detected") },
+/* DTLPWRSOMCAE */{SST(0x47, 0x04, SS_DEF,
+ "SCSI asynchronous information protection error
detected") },
+/* DTLPWRSOMCAE */{SST(0x47, 0x05, SS_DEF,
+ "SCSI protocol service crc error") },
+/* DTLPWRSOMCAE */{SST(0x47, 0x7f, SS_DEF,
+ "Some commands cleared by ISCSI protocol event") },
/* DTLPWRSOMCAE */{SST(0x48, 0x00, SS_DEF,
"Initiator detected error message received") },
/* DTLPWRSOMCAE */{SST(0x49, 0x00, SS_DEF,
@@ -1239,6 +1251,18 @@
"Command phase error") },
/* DTLPWRSOMCAE */{SST(0x4B, 0x00, SS_DEF,
"Data phase error") },
+/* DT PWR OM AE */{SST(0x4B, 0x01, SS_DEF,
+ "SCSI invalid target port transfer tag received") },
+/* DT PWR OM AE */{SST(0x4B, 0x02, SS_DEF,
+ "SCSI too much write data") },
+/* DT PWR OM AE */{SST(0x4B, 0x03, SS_DEF,
+ "SCSI ACK/NAK timeout") },
+/* DT PWR OM AE */{SST(0x4B, 0x04, SS_DEF,
+ "SCSI nak received") },
+/* DT PWR OM AE */{SST(0x4B, 0x05, SS_DEF,
+ "SCSI data offset error") },
+/* DT PWR OM AE */{SST(0x4B, 0x06, SS_DEF,
+ "SCSI initiator response timeout") },
/* DTLPWRSOMCAE */{SST(0x4C, 0x00, SS_DEF,
"Logical unit failed self-configuration") },
/* DTLPWRSOMCAE */{SST(0x4D, 0x00, SS_DEF,
More information about the freebsd-scsi
mailing list