List of SCSI message codes explained

This is a list of SCSI message codes.

A SCSI message code is a computer term which defines how SCSI devices send interface management information. The message code comprises one or more bytes.

List of message formats

The first byte of the message determines the format:

ValueMessage format
00hOne-byte message (COMMAND COMPLETE)
01hExtended messages
02h-1FhOne-byte messages
20h-2FhTwo-byte messages
30h-7FhReserved
80h-FFhOne-byte message (IDENTIFY)

List of message codes

ValueMessage nameFormat
00hCOMMAND COMPLETE
01hEXTENDED MESSAGE01nnyy... - nn is the length, yy is the extended message code
02hSAVE DATA POINTER
03hRESTORE POINTERS
04hDISCONNECT
05hINITIATOR DETECTED ERROR
06hABORT
07hMESSAGE REJECT
08hNO OPERATION
09hMESSAGE PARITY ERROR
0AhLINKED COMMAND COMPLETE
0BhLINKED COMMAND COMPLETE (WITH FLAG)
0ChBUS DEVICE RESET
0DhABORT TAG
0EhCLEAR QUEUE
0FhINITIATE RECOVERY
10hRELEASE RECOVERY
11hTERMINATE I/O PROCESS
12h-1FhReserved
20hSIMPLE QUEUE TAG20nn - where nn is the queue tag
21hHEAD OF QUEUE TAG21nn - where nn is the queue tag
22hORDERED QUEUE TAG22nn - where nn is the queue tag
23hIGNORE WIDE RESIDUE230i - where i is the number of bytes to ignore (can be 1, 2 or 3)
24h-2FhReserved for two-byte messages
30h-7FhReserved
80h-FFhIDENTIFY

List of extended message codes

ValueLengthMessage nameFormat
00h05hMODIFY DATA POINTER010500aaaa - where aaaa is added to the current data pointer
01h03hSYNCHRONOUS DATA TRANSFER REQUEST010301pprr - where pp is the period and rr is the REQ/ACK offset
02hnnReserved - was formerly used for the EXTENDED IDENTIFY message in SCSI-101nn02...
03h02hWIDE DATA TRANSFER REQUEST010203ee - where ee is the transfer width exponent
04h-7FhReserved
80h-FFhVendor-specific

References