Date: Mon, 4 Aug 2003 16:38:07 -0400 From: Don Bowman <don@sandvine.com> To: "'Justin T. Gibbs'" <gibbs@scsiguy.com>, Don Bowman <don@sandvine.com>, "'freebsd-scsi@freebsd.org'" <freebsd-scsi@freebsd.org>, "'aic7xxx@freebsd.org'" <aic7xxx@freebsd.org> Subject: RE: AIC7902 SCSI aborted command Message-ID: <FE045D4D9F7AED4CBFF1B3B813C8533702742116@mail.sandvine.com>
next in thread | raw e-mail | index | archive | help
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,
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?FE045D4D9F7AED4CBFF1B3B813C8533702742116>