📄 aiclib.c
字号:
"Recovered data with no error correction applied") },/* DT WRSO */{SST(0x17, 0x01, SS_NOP|SSQ_PRINT_SENSE, "Recovered data with retries") },/* DT WR O */{SST(0x17, 0x02, SS_NOP|SSQ_PRINT_SENSE, "Recovered data with positive head offset") },/* DT WR O */{SST(0x17, 0x03, SS_NOP|SSQ_PRINT_SENSE, "Recovered data with negative head offset") },/* WR O */{SST(0x17, 0x04, SS_NOP|SSQ_PRINT_SENSE, "Recovered data with retries and/or CIRC applied") },/* D WR O */{SST(0x17, 0x05, SS_NOP|SSQ_PRINT_SENSE, "Recovered data using previous sector id") },/* D W O */{SST(0x17, 0x06, SS_NOP|SSQ_PRINT_SENSE, "Recovered data without ECC - data auto-reallocated") },/* D W O */{SST(0x17, 0x07, SS_NOP|SSQ_PRINT_SENSE, "Recovered data without ECC - recommend reassignment")},/* D W O */{SST(0x17, 0x08, SS_NOP|SSQ_PRINT_SENSE, "Recovered data without ECC - recommend rewrite") },/* D W O */{SST(0x17, 0x09, SS_NOP|SSQ_PRINT_SENSE, "Recovered data without ECC - data rewritten") },/* D W O */{SST(0x18, 0x00, SS_NOP|SSQ_PRINT_SENSE, "Recovered data with error correction applied") },/* D WR O */{SST(0x18, 0x01, SS_NOP|SSQ_PRINT_SENSE, "Recovered data with error corr. & retries applied") },/* D WR O */{SST(0x18, 0x02, SS_NOP|SSQ_PRINT_SENSE, "Recovered data - data auto-reallocated") },/* R */{SST(0x18, 0x03, SS_NOP|SSQ_PRINT_SENSE, "Recovered data with CIRC") },/* R */{SST(0x18, 0x04, SS_NOP|SSQ_PRINT_SENSE, "Recovered data with L-EC") },/* D WR O */{SST(0x18, 0x05, SS_NOP|SSQ_PRINT_SENSE, "Recovered data - recommend reassignment") },/* D WR O */{SST(0x18, 0x06, SS_NOP|SSQ_PRINT_SENSE, "Recovered data - recommend rewrite") },/* D W O */{SST(0x18, 0x07, SS_NOP|SSQ_PRINT_SENSE, "Recovered data with ECC - data rewritten") },/* D O */{SST(0x19, 0x00, SS_RDEF, "Defect list error") },/* D O */{SST(0x19, 0x01, SS_RDEF, "Defect list not available") },/* D O */{SST(0x19, 0x02, SS_RDEF, "Defect list error in primary list") },/* D O */{SST(0x19, 0x03, SS_RDEF, "Defect list error in grown list") },/* DTLPWRSOMCAE */{SST(0x1A, 0x00, SS_RDEF, "Parameter list length error") },/* DTLPWRSOMCAE */{SST(0x1B, 0x00, SS_RDEF, "Synchronous data transfer error") },/* D O */{SST(0x1C, 0x00, SS_RDEF, "Defect list not found") },/* D O */{SST(0x1C, 0x01, SS_RDEF, "Primary defect list not found") },/* D O */{SST(0x1C, 0x02, SS_RDEF, "Grown defect list not found") },/* D W O */{SST(0x1D, 0x00, SS_FATAL, "Miscompare during verify operation" )},/* D W O */{SST(0x1E, 0x00, SS_NOP|SSQ_PRINT_SENSE, "Recovered id with ecc correction") },/* D O */{SST(0x1F, 0x00, SS_RDEF, "Partial defect list transfer") },/* DTLPWRSOMCAE */{SST(0x20, 0x00, SS_FATAL|EINVAL, "Invalid command operation code") },/* DT WR OM */{SST(0x21, 0x00, SS_FATAL|EINVAL, "Logical block address out of range" )},/* DT WR OM */{SST(0x21, 0x01, SS_FATAL|EINVAL, "Invalid element address") },/* D */{SST(0x22, 0x00, SS_FATAL|EINVAL, "Illegal function") }, /* Deprecated. Use 20 00, 24 00, or 26 00 instead *//* DTLPWRSOMCAE */{SST(0x24, 0x00, SS_FATAL|EINVAL, "Invalid field in CDB") },/* DTLPWRSOMCAE */{SST(0x25, 0x00, SS_FATAL|ENXIO, "Logical unit not supported") },/* DTLPWRSOMCAE */{SST(0x26, 0x00, SS_FATAL|EINVAL, "Invalid field in parameter list") },/* DTLPWRSOMCAE */{SST(0x26, 0x01, SS_FATAL|EINVAL, "Parameter not supported") },/* DTLPWRSOMCAE */{SST(0x26, 0x02, SS_FATAL|EINVAL, "Parameter value invalid") },/* DTLPWRSOMCAE */{SST(0x26, 0x03, SS_FATAL|EINVAL, "Threshold parameters not supported") },/* DTLPWRSOMCAE */{SST(0x26, 0x04, SS_FATAL|EINVAL, "Invalid release of active persistent reservation") },/* DT W O */{SST(0x27, 0x00, SS_FATAL|EACCES, "Write protected") },/* DT W O */{SST(0x27, 0x01, SS_FATAL|EACCES, "Hardware write protected") },/* DT W O */{SST(0x27, 0x02, SS_FATAL|EACCES, "Logical unit software write protected") },/* T */{SST(0x27, 0x03, SS_FATAL|EACCES, "Associated write protect") },/* T */{SST(0x27, 0x04, SS_FATAL|EACCES, "Persistent write protect") },/* T */{SST(0x27, 0x05, SS_FATAL|EACCES, "Permanent write protect") },/* DTLPWRSOMCAE */{SST(0x28, 0x00, SS_RDEF, "Not ready to ready change, medium may have changed") },/* DTLPWRSOMCAE */{SST(0x28, 0x01, SS_FATAL|ENXIO, "Import or export element accessed") },/* * XXX JGibbs - All of these should use the same errno, but I don't think * ENXIO is the correct choice. Should we borrow from the networking * errnos? ECONNRESET anyone? *//* DTLPWRSOMCAE */{SST(0x29, 0x00, SS_RDEF, "Power on, reset, or bus device reset occurred") },/* DTLPWRSOMCAE */{SST(0x29, 0x01, SS_RDEF, "Power on occurred") },/* DTLPWRSOMCAE */{SST(0x29, 0x02, SS_RDEF, "Scsi bus reset occurred") },/* DTLPWRSOMCAE */{SST(0x29, 0x03, SS_RDEF, "Bus device reset function occurred") },/* DTLPWRSOMCAE */{SST(0x29, 0x04, SS_RDEF, "Device internal reset") },/* DTLPWRSOMCAE */{SST(0x29, 0x05, SS_RDEF, "Transceiver mode changed to single-ended") },/* DTLPWRSOMCAE */{SST(0x29, 0x06, SS_RDEF, "Transceiver mode changed to LVD") },/* DTL WRSOMCAE */{SST(0x2A, 0x00, SS_RDEF, "Parameters changed") },/* DTL WRSOMCAE */{SST(0x2A, 0x01, SS_RDEF, "Mode parameters changed") },/* DTL WRSOMCAE */{SST(0x2A, 0x02, SS_RDEF, "Log parameters changed") },/* DTLPWRSOMCAE */{SST(0x2A, 0x03, SS_RDEF, "Reservations preempted") },/* DTLPWRSO C */{SST(0x2B, 0x00, SS_RDEF, "Copy cannot execute since host cannot disconnect") },/* DTLPWRSOMCAE */{SST(0x2C, 0x00, SS_RDEF, "Command sequence error") },/* S */{SST(0x2C, 0x01, SS_RDEF, "Too many windows specified") },/* S */{SST(0x2C, 0x02, SS_RDEF, "Invalid combination of windows specified") },/* R */{SST(0x2C, 0x03, SS_RDEF, "Current program area is not empty") },/* R */{SST(0x2C, 0x04, SS_RDEF, "Current program area is empty") },/* T */{SST(0x2D, 0x00, SS_RDEF, "Overwrite error on update in place") },/* DTLPWRSOMCAE */{SST(0x2F, 0x00, SS_RDEF, "Commands cleared by another initiator") },/* DT WR OM */{SST(0x30, 0x00, SS_RDEF, "Incompatible medium installed") },/* DT WR O */{SST(0x30, 0x01, SS_RDEF, "Cannot read medium - unknown format") },/* DT WR O */{SST(0x30, 0x02, SS_RDEF, "Cannot read medium - incompatible format") },/* DT */{SST(0x30, 0x03, SS_RDEF, "Cleaning cartridge installed") },/* DT WR O */{SST(0x30, 0x04, SS_RDEF, "Cannot write medium - unknown format") },/* DT WR O */{SST(0x30, 0x05, SS_RDEF, "Cannot write medium - incompatible format") },/* DT W O */{SST(0x30, 0x06, SS_RDEF, "Cannot format medium - incompatible medium") },/* DTL WRSOM AE */{SST(0x30, 0x07, SS_RDEF, "Cleaning failure") },/* R */{SST(0x30, 0x08, SS_RDEF, "Cannot write - application code mismatch") },/* R */{SST(0x30, 0x09, SS_RDEF, "Current session not fixated for append") },/* DT WR O */{SST(0x31, 0x00, SS_RDEF, "Medium format corrupted") },/* D L R O */{SST(0x31, 0x01, SS_RDEF, "Format command failed") },/* D W O */{SST(0x32, 0x00, SS_RDEF, "No defect spare location available") },/* D W O */{SST(0x32, 0x01, SS_RDEF, "Defect list update failure") },/* T */{SST(0x33, 0x00, SS_RDEF, "Tape length error") },/* DTLPWRSOMCAE */{SST(0x34, 0x00, SS_RDEF, "Enclosure failure") },/* DTLPWRSOMCAE */{SST(0x35, 0x00, SS_RDEF, "Enclosure services failure") },/* DTLPWRSOMCAE */{SST(0x35, 0x01, SS_RDEF, "Unsupported enclosure function") },/* DTLPWRSOMCAE */{SST(0x35, 0x02, SS_RDEF, "Enclosure services unavailable") },/* DTLPWRSOMCAE */{SST(0x35, 0x03, SS_RDEF, "Enclosure services transfer failure") },/* DTLPWRSOMCAE */{SST(0x35, 0x04, SS_RDEF, "Enclosure services transfer refused") },/* L */{SST(0x36, 0x00, SS_RDEF, "Ribbon, ink, or toner failure") },/* DTL WRSOMCAE */{SST(0x37, 0x00, SS_RDEF, "Rounded parameter") },/* DTL WRSOMCAE */{SST(0x39, 0x00, SS_RDEF, "Saving parameters not supported") },/* DTL WRSOM */{SST(0x3A, 0x00, SS_NOP, "Medium not present") },/* DT WR OM */{SST(0x3A, 0x01, SS_NOP, "Medium not present - tray closed") },/* DT WR OM */{SST(0x3A, 0x01, SS_NOP, "Medium not present - tray open") },/* DT WR OM */{SST(0x3A, 0x03, SS_NOP, "Medium not present - Loadable") },/* DT WR OM */{SST(0x3A, 0x04, SS_NOP, "Medium not present - medium auxiliary " "memory accessible") },/* DT WR OM */{SST(0x3A, 0xFF, SS_NOP, NULL) },/* Range 0x05->0xFF *//* TL */{SST(0x3B, 0x00, SS_RDEF, "Sequential positioning error") },/* T */{SST(0x3B, 0x01, SS_RDEF, "Tape position error at beginning-of-medium") },/* T */{SST(0x3B, 0x02, SS_RDEF, "Tape position error at end-of-medium") },/* L */{SST(0x3B, 0x03, SS_RDEF, "Tape or electronic vertical forms unit not ready") },/* L */{SST(0x3B, 0x04, SS_RDEF, "Slew failure") },/* L */{SST(0x3B, 0x05, SS_RDEF, "Paper jam") },/* L */{SST(0x3B, 0x06, SS_RDEF, "Failed to sense top-of-form") },/* L */{SST(0x3B, 0x07, SS_RDEF, "Failed to sense bottom-of-form") },/* T */{SST(0x3B, 0x08, SS_RDEF, "Reposition error") },/* S */{SST(0x3B, 0x09, SS_RDEF, "Read past end of medium") },/* S */{SST(0x3B, 0x0A, SS_RDEF, "Read past beginning of medium") },/* S */{SST(0x3B, 0x0B, SS_RDEF, "Position past end of medium") },/* T S */{SST(0x3B, 0x0C, SS_RDEF, "Position past beginning of medium") },/* DT WR OM */{SST(0x3B, 0x0D, SS_FATAL|ENOSPC, "Medium destination element full") },/* DT WR OM */{SST(0x3B, 0x0E, SS_RDEF, "Medium source element empty") },/* R */{SST(0x3B, 0x0F, SS_RDEF, "End of medium reached") },/* DT WR OM */{SST(0x3B, 0x11, SS_RDEF, "Medium magazine not accessible") },/* DT WR OM */{SST(0x3B, 0x12, SS_RDEF, "Medium magazine removed") },/* DT WR OM */{SST(0x3B, 0x13, SS_RDEF, "Medium magazine inserted") },/* DT WR OM */{SST(0x3B, 0x14, SS_RDEF, "Medium magazine locked") },/* DT WR OM */{SST(0x3B, 0x15, SS_RDEF, "Medium magazine unlocked") },/* DTLPWRSOMCAE */{SST(0x3D, 0x00, SS_RDEF, "Invalid bits in identify message") },/* DTLPWRSOMCAE */{SST(0x3E, 0x00, SS_RDEF, "Logical unit has not self-configured yet") },/* DTLPWRSOMCAE */{SST(0x3E, 0x01, SS_RDEF, "Logical unit failure") },/* DTLPWRSOMCAE */{SST(0x3E, 0x02, SS_RDEF, "Timeout on logical unit") },/* DTLPWRSOMCAE */{SST(0x3F, 0x00, SS_RDEF, "Target operating conditions have changed") },/* DTLPWRSOMCAE */{SST(0x3F, 0x01, SS_RDEF, "Microcode has been changed") },/* DTLPWRSOMC */{SST(0x3F, 0x02, SS_RDEF, "Changed operating definition") },/* DTLPWRSOMCAE */{SST(0x3F, 0x03, SS_INQ_REFRESH|SSQ_DECREMENT_COUNT, "Inquiry data has changed") },/* DT WR OMCAE */{SST(0x3F, 0x04, SS_RDEF, "Component device attached") },/* DT WR OMCAE */{SST(0x3F, 0x05, SS_RDEF, "Device identifier changed") },/* DT WR OMCAE */{SST(0x3F, 0x06, SS_RDEF, "Redundancy group created or modified") },/* DT WR OMCAE */{SST(0x3F, 0x07, SS_RDEF, "Redundancy group deleted") },/* DT WR OMCAE */{SST(0x3F, 0x08, SS_RDEF, "Spare created or modified") },/* DT WR OMCAE */{SST(0x3F, 0x09, SS_RDEF, "Spare deleted") },/* DT WR OMCAE */{SST(0x3F, 0x0A, SS_RDEF, "Volume set created or modified") },/* DT WR OMCAE */{SST(0x3F, 0x0B, SS_RDEF, "Volume set deleted") },/* DT WR OMCAE */{SST(0x3F, 0x0C, SS_RDEF, "Volume set deassigned") },/* DT WR OMCAE */{SST(0x3F, 0x0D, SS_RDEF, "Volume set reassigned") },/* DTLPWRSOMCAE */{SST(0x3F, 0x0E, SS_RDEF, "Reported luns data has changed") },/* DTLPWRSOMCAE */{SST(0x3F, 0x0F, SS_RETRY|SSQ_DECREMENT_COUNT | SSQ_DELAY_RANDOM|EBUSY, "Echo buffer overwritten") },/* DT WR OM B*/{SST(0x3F, 0x0F, SS_RDEF, "Medium Loadable") },/* DT WR OM B*/{SST(0x3F, 0x0F, SS_RDEF, "Medium auxiliary memory accessible") },/* D */{SST(0x40, 0x00, SS_RDEF, "Ram failure") }, /* deprecated - use 40 NN instead *//* DTLPWRSOMCAE */{SST(0x40, 0x80, SS_RDEF, "Diagnostic failure: ASCQ = Component ID") },/* DTLPWRSOMCAE */{SST(0x40, 0xFF, SS_RDEF|SSQ_RANGE, NULL) },/* Range 0x80->0xFF *//* D */{SST(0x41, 0x00, SS_RDEF, "Data path failure") }, /* deprecated - use 40 NN instead *//* D */{SST(0x42, 0x00, SS_RDEF, "Power-on or self-test failure") }, /* deprecated - use 40 NN instead *//* DTLPWRSOMCAE */{SST(0x43, 0x00, SS_RDEF, "Message error") },/* DTLPWRSOMCAE */{SST(0x44, 0x00, SS_RDEF, "Internal target failure") },/* DTLPWRSOMCAE */{SST(0x45, 0x00, SS_RDEF, "Select or reselect failure") },/* DTLPWRSOMC */{SST(0x46, 0x00, SS_RDEF, "Unsuccessful soft reset") },/* DTLPWRSOMCAE */{SST(0x47, 0x00, SS_RDEF|SSQ_FALLBACK, "SCSI parity error") },/* DTLPWRSOMCAE */{SST(0x47, 0x01, SS_RDEF|SSQ_FALLBACK, "Data Phase CRC error detected") },/* DTLPWRSOMCAE */{SST(0x47, 0x02, SS_RDEF|SSQ_FALLBACK, "SCSI parity error detected during ST data phase") },/* DTLPWRSOMCAE */{SST(0x47, 0x03, SS_RDEF|SSQ_FALLBACK, "Information Unit iuCRC error") },/* DTLPWRSOMCAE */{SST(0x47, 0x04, SS_RDEF|SSQ_FALLBACK, "Asynchronous information protection error detected") },/* DTLPWRSOMCAE */{SST(0x47, 0x05, SS_RDEF|SSQ_FALLBACK, "Protocol server CRC error") },/* DTLPWRSOMCAE */{SST(0x48, 0x00, SS_RDEF|SSQ_FALLBACK, "Initiator detected error message received") },/* DTLPWRSOMCAE */{SST(0x49, 0x00, SS_RDEF, "Invalid message error") },/* DTLPWRSOMCAE */{SST(0x4A, 0x00, SS_RDEF, "Command phase error") },/* DTLPWRSOMCAE */{SST(0x4B, 0x00, SS_RDEF, "Data phase error") },/* DTLPWRSOMCAE */{SST(0x4C, 0x00, SS_RDEF, "Logical unit failed self-configuration") },/* DTLPWRSOMCAE */{SST(0x4D, 0x00, SS_RDEF, "Tagged overlapped commands: ASCQ = Queue tag ID") },/* DTLPWRSOMCAE */{SST(0x4D, 0xFF, SS_RDEF|SSQ_RANGE, NULL)}, /* Range 0x00->0xFF *//* DTLPWRSOMCAE */{SST(0x4E, 0x00, SS_RDEF, "Overlapped commands attempted") },/* T */{SST(0x50, 0x00, SS_RDEF, "Write append error") },/* T */{SST(0x50, 0x01, SS_RDEF, "Write append position error") },/* T */{SST(0x50, 0x02, SS_RDEF, "Position error related to timing") },/* T O */{SST(0x51, 0x00, SS_RDEF, "Erase failure") },/* T */{SST(0x52, 0x00, SS_RDEF, "Cartridge fault") },/* DTL WRSOM */{SST(0x53, 0x00, SS_RDEF, "Media load or eject failed") },/* T */{SST(0x53, 0x01, SS_RDEF, "Unload tape failure") },/* DT WR OM */{SST(0x53, 0x02, SS_RDEF, "Medium removal prevented") },/* P */{SST(0x54, 0x00, SS_RDEF, "Scsi to host system interface failure") },/* P */{SST(0x55, 0x00, SS_RDEF, "System resource failure") },/* D O */{SST(0x55, 0x01, SS_FATAL|ENOSPC, "System buffer full") },
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -