From owner-freebsd-scsi@FreeBSD.ORG Mon Aug 4 13:38:09 2003 Return-Path: Delivered-To: freebsd-scsi@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9100A37B401; Mon, 4 Aug 2003 13:38:09 -0700 (PDT) Received: from mail.sandvine.com (sandvine.com [199.243.201.138]) by mx1.FreeBSD.org (Postfix) with ESMTP id B08A743F75; Mon, 4 Aug 2003 13:38:08 -0700 (PDT) (envelope-from don@sandvine.com) Received: by mail.sandvine.com with Internet Mail Service (5.5.2653.19) id <305LHJJR>; Mon, 4 Aug 2003 16:38:08 -0400 Message-ID: From: Don Bowman To: "'Justin T. Gibbs'" , Don Bowman , "'freebsd-scsi@freebsd.org'" , "'aic7xxx@freebsd.org'" Date: Mon, 4 Aug 2003 16:38:07 -0400 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="iso-8859-1" Subject: RE: AIC7902 SCSI aborted command X-BeenThere: freebsd-scsi@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: SCSI subsystem List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 04 Aug 2003 20:38:09 -0000 From: Justin T. Gibbs [mailto:gibbs@scsiguy.com] > Sent: August 4, 2003 16:18 > To: Don Bowman; 'freebsd-scsi@freebsd.org'; 'aic7xxx@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,