blob: 805d4c13d070c5a269d5e14132274eed360c3d10 [file] [log] [blame]
Greg Kroah-Hartmanb2441312017-11-01 15:07:57 +01001/* SPDX-License-Identifier: GPL-2.0 */
Rasmus Villemoes9d99a2e2016-03-22 20:32:04 +01002/*
3 * The canonical list of T10 Additional Sense Codes is available at:
Damien Le Moal46c9d602020-09-10 16:48:42 +09004 * http://www.t10.org/lists/asc-num.txt [most recent: 20200817]
Rasmus Villemoes9d99a2e2016-03-22 20:32:04 +01005 */
6
7SENSE_CODE(0x0000, "No additional sense information")
8SENSE_CODE(0x0001, "Filemark detected")
9SENSE_CODE(0x0002, "End-of-partition/medium detected")
10SENSE_CODE(0x0003, "Setmark detected")
11SENSE_CODE(0x0004, "Beginning-of-partition/medium detected")
12SENSE_CODE(0x0005, "End-of-data detected")
13SENSE_CODE(0x0006, "I/O process terminated")
14SENSE_CODE(0x0007, "Programmable early warning detected")
15SENSE_CODE(0x0011, "Audio play operation in progress")
16SENSE_CODE(0x0012, "Audio play operation paused")
17SENSE_CODE(0x0013, "Audio play operation successfully completed")
18SENSE_CODE(0x0014, "Audio play operation stopped due to error")
19SENSE_CODE(0x0015, "No current audio status to return")
20SENSE_CODE(0x0016, "Operation in progress")
21SENSE_CODE(0x0017, "Cleaning requested")
22SENSE_CODE(0x0018, "Erase operation in progress")
23SENSE_CODE(0x0019, "Locate operation in progress")
24SENSE_CODE(0x001A, "Rewind operation in progress")
25SENSE_CODE(0x001B, "Set capacity operation in progress")
26SENSE_CODE(0x001C, "Verify operation in progress")
27SENSE_CODE(0x001D, "ATA pass through information available")
28SENSE_CODE(0x001E, "Conflicting SA creation request")
29SENSE_CODE(0x001F, "Logical unit transitioning to another power condition")
30SENSE_CODE(0x0020, "Extended copy information available")
31SENSE_CODE(0x0021, "Atomic command aborted due to ACA")
Damien Le Moal46c9d602020-09-10 16:48:42 +090032SENSE_CODE(0x0022, "Deferred microcode is pending")
Rasmus Villemoes9d99a2e2016-03-22 20:32:04 +010033
34SENSE_CODE(0x0100, "No index/sector signal")
35
36SENSE_CODE(0x0200, "No seek complete")
37
38SENSE_CODE(0x0300, "Peripheral device write fault")
39SENSE_CODE(0x0301, "No write current")
40SENSE_CODE(0x0302, "Excessive write errors")
41
42SENSE_CODE(0x0400, "Logical unit not ready, cause not reportable")
43SENSE_CODE(0x0401, "Logical unit is in process of becoming ready")
44SENSE_CODE(0x0402, "Logical unit not ready, initializing command required")
45SENSE_CODE(0x0403, "Logical unit not ready, manual intervention required")
46SENSE_CODE(0x0404, "Logical unit not ready, format in progress")
47SENSE_CODE(0x0405, "Logical unit not ready, rebuild in progress")
48SENSE_CODE(0x0406, "Logical unit not ready, recalculation in progress")
49SENSE_CODE(0x0407, "Logical unit not ready, operation in progress")
50SENSE_CODE(0x0408, "Logical unit not ready, long write in progress")
51SENSE_CODE(0x0409, "Logical unit not ready, self-test in progress")
52SENSE_CODE(0x040A, "Logical unit not accessible, asymmetric access state transition")
53SENSE_CODE(0x040B, "Logical unit not accessible, target port in standby state")
54SENSE_CODE(0x040C, "Logical unit not accessible, target port in unavailable state")
55SENSE_CODE(0x040D, "Logical unit not ready, structure check required")
56SENSE_CODE(0x040E, "Logical unit not ready, security session in progress")
57SENSE_CODE(0x0410, "Logical unit not ready, auxiliary memory not accessible")
58SENSE_CODE(0x0411, "Logical unit not ready, notify (enable spinup) required")
59SENSE_CODE(0x0412, "Logical unit not ready, offline")
60SENSE_CODE(0x0413, "Logical unit not ready, SA creation in progress")
61SENSE_CODE(0x0414, "Logical unit not ready, space allocation in progress")
62SENSE_CODE(0x0415, "Logical unit not ready, robotics disabled")
63SENSE_CODE(0x0416, "Logical unit not ready, configuration required")
64SENSE_CODE(0x0417, "Logical unit not ready, calibration required")
65SENSE_CODE(0x0418, "Logical unit not ready, a door is open")
66SENSE_CODE(0x0419, "Logical unit not ready, operating in sequential mode")
67SENSE_CODE(0x041A, "Logical unit not ready, start stop unit command in progress")
68SENSE_CODE(0x041B, "Logical unit not ready, sanitize in progress")
69SENSE_CODE(0x041C, "Logical unit not ready, additional power use not yet granted")
70SENSE_CODE(0x041D, "Logical unit not ready, configuration in progress")
71SENSE_CODE(0x041E, "Logical unit not ready, microcode activation required")
72SENSE_CODE(0x041F, "Logical unit not ready, microcode download required")
73SENSE_CODE(0x0420, "Logical unit not ready, logical unit reset required")
74SENSE_CODE(0x0421, "Logical unit not ready, hard reset required")
75SENSE_CODE(0x0422, "Logical unit not ready, power cycle required")
Damien Le Moal46c9d602020-09-10 16:48:42 +090076SENSE_CODE(0x0423, "Logical unit not ready, affiliation required")
77SENSE_CODE(0x0424, "Depopulation in progress")
78SENSE_CODE(0x0425, "Depopulation restoration in progress")
Rasmus Villemoes9d99a2e2016-03-22 20:32:04 +010079
80SENSE_CODE(0x0500, "Logical unit does not respond to selection")
81
82SENSE_CODE(0x0600, "No reference position found")
83
84SENSE_CODE(0x0700, "Multiple peripheral devices selected")
85
86SENSE_CODE(0x0800, "Logical unit communication failure")
87SENSE_CODE(0x0801, "Logical unit communication time-out")
88SENSE_CODE(0x0802, "Logical unit communication parity error")
89SENSE_CODE(0x0803, "Logical unit communication CRC error (Ultra-DMA/32)")
90SENSE_CODE(0x0804, "Unreachable copy target")
91
92SENSE_CODE(0x0900, "Track following error")
93SENSE_CODE(0x0901, "Tracking servo failure")
94SENSE_CODE(0x0902, "Focus servo failure")
95SENSE_CODE(0x0903, "Spindle servo failure")
96SENSE_CODE(0x0904, "Head select fault")
97SENSE_CODE(0x0905, "Vibration induced tracking error")
98
99SENSE_CODE(0x0A00, "Error log overflow")
100
101SENSE_CODE(0x0B00, "Warning")
102SENSE_CODE(0x0B01, "Warning - specified temperature exceeded")
103SENSE_CODE(0x0B02, "Warning - enclosure degraded")
104SENSE_CODE(0x0B03, "Warning - background self-test failed")
105SENSE_CODE(0x0B04, "Warning - background pre-scan detected medium error")
106SENSE_CODE(0x0B05, "Warning - background medium scan detected medium error")
107SENSE_CODE(0x0B06, "Warning - non-volatile cache now volatile")
108SENSE_CODE(0x0B07, "Warning - degraded power to non-volatile cache")
109SENSE_CODE(0x0B08, "Warning - power loss expected")
110SENSE_CODE(0x0B09, "Warning - device statistics notification active")
Damien Le Moal46c9d602020-09-10 16:48:42 +0900111SENSE_CODE(0x0B0A, "Warning - high critical temperature limit exceeded")
112SENSE_CODE(0x0B0B, "Warning - low critical temperature limit exceeded")
113SENSE_CODE(0x0B0C, "Warning - high operating temperature limit exceeded")
114SENSE_CODE(0x0B0D, "Warning - low operating temperature limit exceeded")
115SENSE_CODE(0x0B0E, "Warning - high critical humidity limit exceeded")
116SENSE_CODE(0x0B0F, "Warning - low critical humidity limit exceeded")
117SENSE_CODE(0x0B10, "Warning - high operating humidity limit exceeded")
118SENSE_CODE(0x0B11, "Warning - low operating humidity limit exceeded")
119SENSE_CODE(0x0B12, "Warning - microcode security at risk")
120SENSE_CODE(0x0B13, "Warning - microcode digital signature validation failure")
121SENSE_CODE(0x0B14, "Warning - physical element status change")
Rasmus Villemoes9d99a2e2016-03-22 20:32:04 +0100122
123SENSE_CODE(0x0C00, "Write error")
124SENSE_CODE(0x0C01, "Write error - recovered with auto reallocation")
125SENSE_CODE(0x0C02, "Write error - auto reallocation failed")
126SENSE_CODE(0x0C03, "Write error - recommend reassignment")
127SENSE_CODE(0x0C04, "Compression check miscompare error")
128SENSE_CODE(0x0C05, "Data expansion occurred during compression")
129SENSE_CODE(0x0C06, "Block not compressible")
130SENSE_CODE(0x0C07, "Write error - recovery needed")
131SENSE_CODE(0x0C08, "Write error - recovery failed")
132SENSE_CODE(0x0C09, "Write error - loss of streaming")
133SENSE_CODE(0x0C0A, "Write error - padding blocks added")
134SENSE_CODE(0x0C0B, "Auxiliary memory write error")
135SENSE_CODE(0x0C0C, "Write error - unexpected unsolicited data")
136SENSE_CODE(0x0C0D, "Write error - not enough unsolicited data")
137SENSE_CODE(0x0C0E, "Multiple write errors")
138SENSE_CODE(0x0C0F, "Defects in error window")
139SENSE_CODE(0x0C10, "Incomplete multiple atomic write operations")
Damien Le Moal46c9d602020-09-10 16:48:42 +0900140SENSE_CODE(0x0C11, "Write error - recovery scan needed")
141SENSE_CODE(0x0C12, "Write error - insufficient zone resources")
Rasmus Villemoes9d99a2e2016-03-22 20:32:04 +0100142
143SENSE_CODE(0x0D00, "Error detected by third party temporary initiator")
144SENSE_CODE(0x0D01, "Third party device failure")
145SENSE_CODE(0x0D02, "Copy target device not reachable")
146SENSE_CODE(0x0D03, "Incorrect copy target device type")
147SENSE_CODE(0x0D04, "Copy target device data underrun")
148SENSE_CODE(0x0D05, "Copy target device data overrun")
149
150SENSE_CODE(0x0E00, "Invalid information unit")
151SENSE_CODE(0x0E01, "Information unit too short")
152SENSE_CODE(0x0E02, "Information unit too long")
153SENSE_CODE(0x0E03, "Invalid field in command information unit")
154
155SENSE_CODE(0x1000, "Id CRC or ECC error")
156SENSE_CODE(0x1001, "Logical block guard check failed")
157SENSE_CODE(0x1002, "Logical block application tag check failed")
158SENSE_CODE(0x1003, "Logical block reference tag check failed")
159SENSE_CODE(0x1004, "Logical block protection error on recover buffered data")
160SENSE_CODE(0x1005, "Logical block protection method error")
161
162SENSE_CODE(0x1100, "Unrecovered read error")
163SENSE_CODE(0x1101, "Read retries exhausted")
164SENSE_CODE(0x1102, "Error too long to correct")
165SENSE_CODE(0x1103, "Multiple read errors")
166SENSE_CODE(0x1104, "Unrecovered read error - auto reallocate failed")
167SENSE_CODE(0x1105, "L-EC uncorrectable error")
168SENSE_CODE(0x1106, "CIRC unrecovered error")
169SENSE_CODE(0x1107, "Data re-synchronization error")
170SENSE_CODE(0x1108, "Incomplete block read")
171SENSE_CODE(0x1109, "No gap found")
172SENSE_CODE(0x110A, "Miscorrected error")
173SENSE_CODE(0x110B, "Unrecovered read error - recommend reassignment")
174SENSE_CODE(0x110C, "Unrecovered read error - recommend rewrite the data")
175SENSE_CODE(0x110D, "De-compression CRC error")
176SENSE_CODE(0x110E, "Cannot decompress using declared algorithm")
177SENSE_CODE(0x110F, "Error reading UPC/EAN number")
178SENSE_CODE(0x1110, "Error reading ISRC number")
179SENSE_CODE(0x1111, "Read error - loss of streaming")
180SENSE_CODE(0x1112, "Auxiliary memory read error")
181SENSE_CODE(0x1113, "Read error - failed retransmission request")
182SENSE_CODE(0x1114, "Read error - lba marked bad by application client")
183SENSE_CODE(0x1115, "Write after sanitize required")
184
185SENSE_CODE(0x1200, "Address mark not found for id field")
186
187SENSE_CODE(0x1300, "Address mark not found for data field")
188
189SENSE_CODE(0x1400, "Recorded entity not found")
190SENSE_CODE(0x1401, "Record not found")
191SENSE_CODE(0x1402, "Filemark or setmark not found")
192SENSE_CODE(0x1403, "End-of-data not found")
193SENSE_CODE(0x1404, "Block sequence error")
194SENSE_CODE(0x1405, "Record not found - recommend reassignment")
195SENSE_CODE(0x1406, "Record not found - data auto-reallocated")
196SENSE_CODE(0x1407, "Locate operation failure")
197
198SENSE_CODE(0x1500, "Random positioning error")
199SENSE_CODE(0x1501, "Mechanical positioning error")
200SENSE_CODE(0x1502, "Positioning error detected by read of medium")
201
202SENSE_CODE(0x1600, "Data synchronization mark error")
203SENSE_CODE(0x1601, "Data sync error - data rewritten")
204SENSE_CODE(0x1602, "Data sync error - recommend rewrite")
205SENSE_CODE(0x1603, "Data sync error - data auto-reallocated")
206SENSE_CODE(0x1604, "Data sync error - recommend reassignment")
207
208SENSE_CODE(0x1700, "Recovered data with no error correction applied")
209SENSE_CODE(0x1701, "Recovered data with retries")
210SENSE_CODE(0x1702, "Recovered data with positive head offset")
211SENSE_CODE(0x1703, "Recovered data with negative head offset")
212SENSE_CODE(0x1704, "Recovered data with retries and/or circ applied")
213SENSE_CODE(0x1705, "Recovered data using previous sector id")
214SENSE_CODE(0x1706, "Recovered data without ECC - data auto-reallocated")
215SENSE_CODE(0x1707, "Recovered data without ECC - recommend reassignment")
216SENSE_CODE(0x1708, "Recovered data without ECC - recommend rewrite")
217SENSE_CODE(0x1709, "Recovered data without ECC - data rewritten")
218
219SENSE_CODE(0x1800, "Recovered data with error correction applied")
220SENSE_CODE(0x1801, "Recovered data with error corr. & retries applied")
221SENSE_CODE(0x1802, "Recovered data - data auto-reallocated")
222SENSE_CODE(0x1803, "Recovered data with CIRC")
223SENSE_CODE(0x1804, "Recovered data with L-EC")
224SENSE_CODE(0x1805, "Recovered data - recommend reassignment")
225SENSE_CODE(0x1806, "Recovered data - recommend rewrite")
226SENSE_CODE(0x1807, "Recovered data with ECC - data rewritten")
227SENSE_CODE(0x1808, "Recovered data with linking")
228
229SENSE_CODE(0x1900, "Defect list error")
230SENSE_CODE(0x1901, "Defect list not available")
231SENSE_CODE(0x1902, "Defect list error in primary list")
232SENSE_CODE(0x1903, "Defect list error in grown list")
233
234SENSE_CODE(0x1A00, "Parameter list length error")
235
236SENSE_CODE(0x1B00, "Synchronous data transfer error")
237
238SENSE_CODE(0x1C00, "Defect list not found")
239SENSE_CODE(0x1C01, "Primary defect list not found")
240SENSE_CODE(0x1C02, "Grown defect list not found")
241
242SENSE_CODE(0x1D00, "Miscompare during verify operation")
243SENSE_CODE(0x1D01, "Miscompare verify of unmapped LBA")
244
245SENSE_CODE(0x1E00, "Recovered id with ECC correction")
246
247SENSE_CODE(0x1F00, "Partial defect list transfer")
248
249SENSE_CODE(0x2000, "Invalid command operation code")
250SENSE_CODE(0x2001, "Access denied - initiator pending-enrolled")
251SENSE_CODE(0x2002, "Access denied - no access rights")
252SENSE_CODE(0x2003, "Access denied - invalid mgmt id key")
253SENSE_CODE(0x2004, "Illegal command while in write capable state")
254SENSE_CODE(0x2005, "Obsolete")
255SENSE_CODE(0x2006, "Illegal command while in explicit address mode")
256SENSE_CODE(0x2007, "Illegal command while in implicit address mode")
257SENSE_CODE(0x2008, "Access denied - enrollment conflict")
258SENSE_CODE(0x2009, "Access denied - invalid LU identifier")
259SENSE_CODE(0x200A, "Access denied - invalid proxy token")
260SENSE_CODE(0x200B, "Access denied - ACL LUN conflict")
261SENSE_CODE(0x200C, "Illegal command when not in append-only mode")
Damien Le Moal46c9d602020-09-10 16:48:42 +0900262SENSE_CODE(0x200D, "Not an administrative logical unit")
263SENSE_CODE(0x200E, "Not a subsidiary logical unit")
264SENSE_CODE(0x200F, "Not a conglomerate logical unit")
Rasmus Villemoes9d99a2e2016-03-22 20:32:04 +0100265
266SENSE_CODE(0x2100, "Logical block address out of range")
267SENSE_CODE(0x2101, "Invalid element address")
268SENSE_CODE(0x2102, "Invalid address for write")
269SENSE_CODE(0x2103, "Invalid write crossing layer jump")
270SENSE_CODE(0x2104, "Unaligned write command")
271SENSE_CODE(0x2105, "Write boundary violation")
272SENSE_CODE(0x2106, "Attempt to read invalid data")
273SENSE_CODE(0x2107, "Read boundary violation")
Damien Le Moal46c9d602020-09-10 16:48:42 +0900274SENSE_CODE(0x2108, "Misaligned write command")
275SENSE_CODE(0x2109, "Attempt to access gap zone")
Rasmus Villemoes9d99a2e2016-03-22 20:32:04 +0100276
277SENSE_CODE(0x2200, "Illegal function (use 20 00, 24 00, or 26 00)")
278
279SENSE_CODE(0x2300, "Invalid token operation, cause not reportable")
280SENSE_CODE(0x2301, "Invalid token operation, unsupported token type")
281SENSE_CODE(0x2302, "Invalid token operation, remote token usage not supported")
282SENSE_CODE(0x2303, "Invalid token operation, remote rod token creation not supported")
283SENSE_CODE(0x2304, "Invalid token operation, token unknown")
284SENSE_CODE(0x2305, "Invalid token operation, token corrupt")
285SENSE_CODE(0x2306, "Invalid token operation, token revoked")
286SENSE_CODE(0x2307, "Invalid token operation, token expired")
287SENSE_CODE(0x2308, "Invalid token operation, token cancelled")
288SENSE_CODE(0x2309, "Invalid token operation, token deleted")
289SENSE_CODE(0x230A, "Invalid token operation, invalid token length")
290
291SENSE_CODE(0x2400, "Invalid field in cdb")
292SENSE_CODE(0x2401, "CDB decryption error")
293SENSE_CODE(0x2402, "Obsolete")
294SENSE_CODE(0x2403, "Obsolete")
295SENSE_CODE(0x2404, "Security audit value frozen")
296SENSE_CODE(0x2405, "Security working key frozen")
297SENSE_CODE(0x2406, "Nonce not unique")
298SENSE_CODE(0x2407, "Nonce timestamp out of range")
299SENSE_CODE(0x2408, "Invalid XCDB")
Damien Le Moal46c9d602020-09-10 16:48:42 +0900300SENSE_CODE(0x2409, "Invalid fast format")
Rasmus Villemoes9d99a2e2016-03-22 20:32:04 +0100301
302SENSE_CODE(0x2500, "Logical unit not supported")
303
304SENSE_CODE(0x2600, "Invalid field in parameter list")
305SENSE_CODE(0x2601, "Parameter not supported")
306SENSE_CODE(0x2602, "Parameter value invalid")
307SENSE_CODE(0x2603, "Threshold parameters not supported")
308SENSE_CODE(0x2604, "Invalid release of persistent reservation")
309SENSE_CODE(0x2605, "Data decryption error")
310SENSE_CODE(0x2606, "Too many target descriptors")
311SENSE_CODE(0x2607, "Unsupported target descriptor type code")
312SENSE_CODE(0x2608, "Too many segment descriptors")
313SENSE_CODE(0x2609, "Unsupported segment descriptor type code")
314SENSE_CODE(0x260A, "Unexpected inexact segment")
315SENSE_CODE(0x260B, "Inline data length exceeded")
316SENSE_CODE(0x260C, "Invalid operation for copy source or destination")
317SENSE_CODE(0x260D, "Copy segment granularity violation")
318SENSE_CODE(0x260E, "Invalid parameter while port is enabled")
319SENSE_CODE(0x260F, "Invalid data-out buffer integrity check value")
320SENSE_CODE(0x2610, "Data decryption key fail limit reached")
321SENSE_CODE(0x2611, "Incomplete key-associated data set")
322SENSE_CODE(0x2612, "Vendor specific key reference not found")
Damien Le Moal46c9d602020-09-10 16:48:42 +0900323SENSE_CODE(0x2613, "Application tag mode page is invalid")
324SENSE_CODE(0x2614, "Tape stream mirroring prevented")
325SENSE_CODE(0x2615, "Copy source or copy destination not authorized")
326SENSE_CODE(0x2616, "Fast copy not possible")
Rasmus Villemoes9d99a2e2016-03-22 20:32:04 +0100327
328SENSE_CODE(0x2700, "Write protected")
329SENSE_CODE(0x2701, "Hardware write protected")
330SENSE_CODE(0x2702, "Logical unit software write protected")
331SENSE_CODE(0x2703, "Associated write protect")
332SENSE_CODE(0x2704, "Persistent write protect")
333SENSE_CODE(0x2705, "Permanent write protect")
334SENSE_CODE(0x2706, "Conditional write protect")
335SENSE_CODE(0x2707, "Space allocation failed write protect")
336SENSE_CODE(0x2708, "Zone is read only")
337
338SENSE_CODE(0x2800, "Not ready to ready change, medium may have changed")
339SENSE_CODE(0x2801, "Import or export element accessed")
340SENSE_CODE(0x2802, "Format-layer may have changed")
341SENSE_CODE(0x2803, "Import/export element accessed, medium changed")
342
343SENSE_CODE(0x2900, "Power on, reset, or bus device reset occurred")
344SENSE_CODE(0x2901, "Power on occurred")
345SENSE_CODE(0x2902, "Scsi bus reset occurred")
346SENSE_CODE(0x2903, "Bus device reset function occurred")
347SENSE_CODE(0x2904, "Device internal reset")
348SENSE_CODE(0x2905, "Transceiver mode changed to single-ended")
349SENSE_CODE(0x2906, "Transceiver mode changed to lvd")
350SENSE_CODE(0x2907, "I_T nexus loss occurred")
351
352SENSE_CODE(0x2A00, "Parameters changed")
353SENSE_CODE(0x2A01, "Mode parameters changed")
354SENSE_CODE(0x2A02, "Log parameters changed")
355SENSE_CODE(0x2A03, "Reservations preempted")
356SENSE_CODE(0x2A04, "Reservations released")
357SENSE_CODE(0x2A05, "Registrations preempted")
358SENSE_CODE(0x2A06, "Asymmetric access state changed")
359SENSE_CODE(0x2A07, "Implicit asymmetric access state transition failed")
360SENSE_CODE(0x2A08, "Priority changed")
361SENSE_CODE(0x2A09, "Capacity data has changed")
362SENSE_CODE(0x2A0A, "Error history I_T nexus cleared")
363SENSE_CODE(0x2A0B, "Error history snapshot released")
364SENSE_CODE(0x2A0C, "Error recovery attributes have changed")
365SENSE_CODE(0x2A0D, "Data encryption capabilities changed")
366SENSE_CODE(0x2A10, "Timestamp changed")
367SENSE_CODE(0x2A11, "Data encryption parameters changed by another i_t nexus")
368SENSE_CODE(0x2A12, "Data encryption parameters changed by vendor specific event")
369SENSE_CODE(0x2A13, "Data encryption key instance counter has changed")
370SENSE_CODE(0x2A14, "SA creation capabilities data has changed")
371SENSE_CODE(0x2A15, "Medium removal prevention preempted")
Damien Le Moal46c9d602020-09-10 16:48:42 +0900372SENSE_CODE(0x2A16, "Zone reset write pointer recommended")
Rasmus Villemoes9d99a2e2016-03-22 20:32:04 +0100373
374SENSE_CODE(0x2B00, "Copy cannot execute since host cannot disconnect")
375
376SENSE_CODE(0x2C00, "Command sequence error")
377SENSE_CODE(0x2C01, "Too many windows specified")
378SENSE_CODE(0x2C02, "Invalid combination of windows specified")
379SENSE_CODE(0x2C03, "Current program area is not empty")
380SENSE_CODE(0x2C04, "Current program area is empty")
381SENSE_CODE(0x2C05, "Illegal power condition request")
382SENSE_CODE(0x2C06, "Persistent prevent conflict")
383SENSE_CODE(0x2C07, "Previous busy status")
384SENSE_CODE(0x2C08, "Previous task set full status")
385SENSE_CODE(0x2C09, "Previous reservation conflict status")
386SENSE_CODE(0x2C0A, "Partition or collection contains user objects")
387SENSE_CODE(0x2C0B, "Not reserved")
388SENSE_CODE(0x2C0C, "Orwrite generation does not match")
389SENSE_CODE(0x2C0D, "Reset write pointer not allowed")
390SENSE_CODE(0x2C0E, "Zone is offline")
Damien Le Moal46c9d602020-09-10 16:48:42 +0900391SENSE_CODE(0x2C0F, "Stream not open")
392SENSE_CODE(0x2C10, "Unwritten data in zone")
393SENSE_CODE(0x2C11, "Descriptor format sense data required")
394SENSE_CODE(0x2C12, "Zone is inactive")
395SENSE_CODE(0x2C13, "Well known logical unit access required")
Rasmus Villemoes9d99a2e2016-03-22 20:32:04 +0100396
397SENSE_CODE(0x2D00, "Overwrite error on update in place")
398
399SENSE_CODE(0x2E00, "Insufficient time for operation")
400SENSE_CODE(0x2E01, "Command timeout before processing")
401SENSE_CODE(0x2E02, "Command timeout during processing")
402SENSE_CODE(0x2E03, "Command timeout during processing due to error recovery")
403
404SENSE_CODE(0x2F00, "Commands cleared by another initiator")
405SENSE_CODE(0x2F01, "Commands cleared by power loss notification")
406SENSE_CODE(0x2F02, "Commands cleared by device server")
407SENSE_CODE(0x2F03, "Some commands cleared by queuing layer event")
408
409SENSE_CODE(0x3000, "Incompatible medium installed")
410SENSE_CODE(0x3001, "Cannot read medium - unknown format")
411SENSE_CODE(0x3002, "Cannot read medium - incompatible format")
412SENSE_CODE(0x3003, "Cleaning cartridge installed")
413SENSE_CODE(0x3004, "Cannot write medium - unknown format")
414SENSE_CODE(0x3005, "Cannot write medium - incompatible format")
415SENSE_CODE(0x3006, "Cannot format medium - incompatible medium")
416SENSE_CODE(0x3007, "Cleaning failure")
417SENSE_CODE(0x3008, "Cannot write - application code mismatch")
418SENSE_CODE(0x3009, "Current session not fixated for append")
419SENSE_CODE(0x300A, "Cleaning request rejected")
420SENSE_CODE(0x300C, "WORM medium - overwrite attempted")
421SENSE_CODE(0x300D, "WORM medium - integrity check")
422SENSE_CODE(0x3010, "Medium not formatted")
423SENSE_CODE(0x3011, "Incompatible volume type")
424SENSE_CODE(0x3012, "Incompatible volume qualifier")
425SENSE_CODE(0x3013, "Cleaning volume expired")
426
427SENSE_CODE(0x3100, "Medium format corrupted")
428SENSE_CODE(0x3101, "Format command failed")
429SENSE_CODE(0x3102, "Zoned formatting failed due to spare linking")
430SENSE_CODE(0x3103, "Sanitize command failed")
Damien Le Moal46c9d602020-09-10 16:48:42 +0900431SENSE_CODE(0x3104, "Depopulation failed")
432SENSE_CODE(0x3105, "Depopulation restoration failed")
Rasmus Villemoes9d99a2e2016-03-22 20:32:04 +0100433
434SENSE_CODE(0x3200, "No defect spare location available")
435SENSE_CODE(0x3201, "Defect list update failure")
436
437SENSE_CODE(0x3300, "Tape length error")
438
439SENSE_CODE(0x3400, "Enclosure failure")
440
441SENSE_CODE(0x3500, "Enclosure services failure")
442SENSE_CODE(0x3501, "Unsupported enclosure function")
443SENSE_CODE(0x3502, "Enclosure services unavailable")
444SENSE_CODE(0x3503, "Enclosure services transfer failure")
445SENSE_CODE(0x3504, "Enclosure services transfer refused")
446SENSE_CODE(0x3505, "Enclosure services checksum error")
447
448SENSE_CODE(0x3600, "Ribbon, ink, or toner failure")
449
450SENSE_CODE(0x3700, "Rounded parameter")
451
452SENSE_CODE(0x3800, "Event status notification")
453SENSE_CODE(0x3802, "Esn - power management class event")
454SENSE_CODE(0x3804, "Esn - media class event")
455SENSE_CODE(0x3806, "Esn - device busy class event")
456SENSE_CODE(0x3807, "Thin Provisioning soft threshold reached")
Damien Le Moal46c9d602020-09-10 16:48:42 +0900457SENSE_CODE(0x3808, "Depopulation interrupted")
Rasmus Villemoes9d99a2e2016-03-22 20:32:04 +0100458
459SENSE_CODE(0x3900, "Saving parameters not supported")
460
461SENSE_CODE(0x3A00, "Medium not present")
462SENSE_CODE(0x3A01, "Medium not present - tray closed")
463SENSE_CODE(0x3A02, "Medium not present - tray open")
464SENSE_CODE(0x3A03, "Medium not present - loadable")
465SENSE_CODE(0x3A04, "Medium not present - medium auxiliary memory accessible")
466
467SENSE_CODE(0x3B00, "Sequential positioning error")
468SENSE_CODE(0x3B01, "Tape position error at beginning-of-medium")
469SENSE_CODE(0x3B02, "Tape position error at end-of-medium")
470SENSE_CODE(0x3B03, "Tape or electronic vertical forms unit not ready")
471SENSE_CODE(0x3B04, "Slew failure")
472SENSE_CODE(0x3B05, "Paper jam")
473SENSE_CODE(0x3B06, "Failed to sense top-of-form")
474SENSE_CODE(0x3B07, "Failed to sense bottom-of-form")
475SENSE_CODE(0x3B08, "Reposition error")
476SENSE_CODE(0x3B09, "Read past end of medium")
477SENSE_CODE(0x3B0A, "Read past beginning of medium")
478SENSE_CODE(0x3B0B, "Position past end of medium")
479SENSE_CODE(0x3B0C, "Position past beginning of medium")
480SENSE_CODE(0x3B0D, "Medium destination element full")
481SENSE_CODE(0x3B0E, "Medium source element empty")
482SENSE_CODE(0x3B0F, "End of medium reached")
483SENSE_CODE(0x3B11, "Medium magazine not accessible")
484SENSE_CODE(0x3B12, "Medium magazine removed")
485SENSE_CODE(0x3B13, "Medium magazine inserted")
486SENSE_CODE(0x3B14, "Medium magazine locked")
487SENSE_CODE(0x3B15, "Medium magazine unlocked")
488SENSE_CODE(0x3B16, "Mechanical positioning or changer error")
489SENSE_CODE(0x3B17, "Read past end of user object")
490SENSE_CODE(0x3B18, "Element disabled")
491SENSE_CODE(0x3B19, "Element enabled")
492SENSE_CODE(0x3B1A, "Data transfer device removed")
493SENSE_CODE(0x3B1B, "Data transfer device inserted")
494SENSE_CODE(0x3B1C, "Too many logical objects on partition to support operation")
Damien Le Moal46c9d602020-09-10 16:48:42 +0900495SENSE_CODE(0x3B20, "Element static information changed")
Rasmus Villemoes9d99a2e2016-03-22 20:32:04 +0100496
497SENSE_CODE(0x3D00, "Invalid bits in identify message")
498
499SENSE_CODE(0x3E00, "Logical unit has not self-configured yet")
500SENSE_CODE(0x3E01, "Logical unit failure")
501SENSE_CODE(0x3E02, "Timeout on logical unit")
502SENSE_CODE(0x3E03, "Logical unit failed self-test")
503SENSE_CODE(0x3E04, "Logical unit unable to update self-test log")
504
505SENSE_CODE(0x3F00, "Target operating conditions have changed")
506SENSE_CODE(0x3F01, "Microcode has been changed")
507SENSE_CODE(0x3F02, "Changed operating definition")
508SENSE_CODE(0x3F03, "Inquiry data has changed")
509SENSE_CODE(0x3F04, "Component device attached")
510SENSE_CODE(0x3F05, "Device identifier changed")
511SENSE_CODE(0x3F06, "Redundancy group created or modified")
512SENSE_CODE(0x3F07, "Redundancy group deleted")
513SENSE_CODE(0x3F08, "Spare created or modified")
514SENSE_CODE(0x3F09, "Spare deleted")
515SENSE_CODE(0x3F0A, "Volume set created or modified")
516SENSE_CODE(0x3F0B, "Volume set deleted")
517SENSE_CODE(0x3F0C, "Volume set deassigned")
518SENSE_CODE(0x3F0D, "Volume set reassigned")
519SENSE_CODE(0x3F0E, "Reported luns data has changed")
520SENSE_CODE(0x3F0F, "Echo buffer overwritten")
521SENSE_CODE(0x3F10, "Medium loadable")
522SENSE_CODE(0x3F11, "Medium auxiliary memory accessible")
523SENSE_CODE(0x3F12, "iSCSI IP address added")
524SENSE_CODE(0x3F13, "iSCSI IP address removed")
525SENSE_CODE(0x3F14, "iSCSI IP address changed")
526SENSE_CODE(0x3F15, "Inspect referrals sense descriptors")
527SENSE_CODE(0x3F16, "Microcode has been changed without reset")
Damien Le Moal46c9d602020-09-10 16:48:42 +0900528SENSE_CODE(0x3F17, "Zone transition to full")
529SENSE_CODE(0x3F18, "Bind completed")
530SENSE_CODE(0x3F19, "Bind redirected")
531SENSE_CODE(0x3F1A, "Subsidiary binding changed")
532
Rasmus Villemoes9d99a2e2016-03-22 20:32:04 +0100533/*
534 * SENSE_CODE(0x40NN, "Ram failure")
535 * SENSE_CODE(0x40NN, "Diagnostic failure on component nn")
536 * SENSE_CODE(0x41NN, "Data path failure")
537 * SENSE_CODE(0x42NN, "Power-on or self-test failure")
538 */
539SENSE_CODE(0x4300, "Message error")
540
541SENSE_CODE(0x4400, "Internal target failure")
542SENSE_CODE(0x4401, "Persistent reservation information lost")
543SENSE_CODE(0x4471, "ATA device failed set features")
544
545SENSE_CODE(0x4500, "Select or reselect failure")
546
547SENSE_CODE(0x4600, "Unsuccessful soft reset")
548
549SENSE_CODE(0x4700, "Scsi parity error")
550SENSE_CODE(0x4701, "Data phase CRC error detected")
551SENSE_CODE(0x4702, "Scsi parity error detected during st data phase")
552SENSE_CODE(0x4703, "Information unit iuCRC error detected")
553SENSE_CODE(0x4704, "Asynchronous information protection error detected")
554SENSE_CODE(0x4705, "Protocol service CRC error")
555SENSE_CODE(0x4706, "Phy test function in progress")
556SENSE_CODE(0x477f, "Some commands cleared by iSCSI Protocol event")
557
558SENSE_CODE(0x4800, "Initiator detected error message received")
559
560SENSE_CODE(0x4900, "Invalid message error")
561
562SENSE_CODE(0x4A00, "Command phase error")
563
564SENSE_CODE(0x4B00, "Data phase error")
565SENSE_CODE(0x4B01, "Invalid target port transfer tag received")
566SENSE_CODE(0x4B02, "Too much write data")
567SENSE_CODE(0x4B03, "Ack/nak timeout")
568SENSE_CODE(0x4B04, "Nak received")
569SENSE_CODE(0x4B05, "Data offset error")
570SENSE_CODE(0x4B06, "Initiator response timeout")
571SENSE_CODE(0x4B07, "Connection lost")
572SENSE_CODE(0x4B08, "Data-in buffer overflow - data buffer size")
573SENSE_CODE(0x4B09, "Data-in buffer overflow - data buffer descriptor area")
574SENSE_CODE(0x4B0A, "Data-in buffer error")
575SENSE_CODE(0x4B0B, "Data-out buffer overflow - data buffer size")
576SENSE_CODE(0x4B0C, "Data-out buffer overflow - data buffer descriptor area")
577SENSE_CODE(0x4B0D, "Data-out buffer error")
578SENSE_CODE(0x4B0E, "PCIe fabric error")
579SENSE_CODE(0x4B0F, "PCIe completion timeout")
580SENSE_CODE(0x4B10, "PCIe completer abort")
581SENSE_CODE(0x4B11, "PCIe poisoned tlp received")
582SENSE_CODE(0x4B12, "PCIe eCRC check failed")
583SENSE_CODE(0x4B13, "PCIe unsupported request")
584SENSE_CODE(0x4B14, "PCIe acs violation")
585SENSE_CODE(0x4B15, "PCIe tlp prefix blocked")
586
587SENSE_CODE(0x4C00, "Logical unit failed self-configuration")
588/*
589 * SENSE_CODE(0x4DNN, "Tagged overlapped commands (nn = queue tag)")
590 */
591SENSE_CODE(0x4E00, "Overlapped commands attempted")
592
593SENSE_CODE(0x5000, "Write append error")
594SENSE_CODE(0x5001, "Write append position error")
595SENSE_CODE(0x5002, "Position error related to timing")
596
597SENSE_CODE(0x5100, "Erase failure")
598SENSE_CODE(0x5101, "Erase failure - incomplete erase operation detected")
599
600SENSE_CODE(0x5200, "Cartridge fault")
601
602SENSE_CODE(0x5300, "Media load or eject failed")
603SENSE_CODE(0x5301, "Unload tape failure")
604SENSE_CODE(0x5302, "Medium removal prevented")
605SENSE_CODE(0x5303, "Medium removal prevented by data transfer element")
606SENSE_CODE(0x5304, "Medium thread or unthread failure")
607SENSE_CODE(0x5305, "Volume identifier invalid")
608SENSE_CODE(0x5306, "Volume identifier missing")
609SENSE_CODE(0x5307, "Duplicate volume identifier")
610SENSE_CODE(0x5308, "Element status unknown")
611SENSE_CODE(0x5309, "Data transfer device error - load failed")
612SENSE_CODE(0x530a, "Data transfer device error - unload failed")
613SENSE_CODE(0x530b, "Data transfer device error - unload missing")
614SENSE_CODE(0x530c, "Data transfer device error - eject failed")
615SENSE_CODE(0x530d, "Data transfer device error - library communication failed")
616
617SENSE_CODE(0x5400, "Scsi to host system interface failure")
618
619SENSE_CODE(0x5500, "System resource failure")
620SENSE_CODE(0x5501, "System buffer full")
621SENSE_CODE(0x5502, "Insufficient reservation resources")
622SENSE_CODE(0x5503, "Insufficient resources")
623SENSE_CODE(0x5504, "Insufficient registration resources")
624SENSE_CODE(0x5505, "Insufficient access control resources")
625SENSE_CODE(0x5506, "Auxiliary memory out of space")
626SENSE_CODE(0x5507, "Quota error")
627SENSE_CODE(0x5508, "Maximum number of supplemental decryption keys exceeded")
628SENSE_CODE(0x5509, "Medium auxiliary memory not accessible")
629SENSE_CODE(0x550A, "Data currently unavailable")
630SENSE_CODE(0x550B, "Insufficient power for operation")
631SENSE_CODE(0x550C, "Insufficient resources to create rod")
632SENSE_CODE(0x550D, "Insufficient resources to create rod token")
633SENSE_CODE(0x550E, "Insufficient zone resources")
Damien Le Moal46c9d602020-09-10 16:48:42 +0900634SENSE_CODE(0x550F, "Insufficient zone resources to complete write")
635SENSE_CODE(0x5510, "Maximum number of streams open")
636SENSE_CODE(0x5511, "Insufficient resources to bind")
Rasmus Villemoes9d99a2e2016-03-22 20:32:04 +0100637
638SENSE_CODE(0x5700, "Unable to recover table-of-contents")
639
640SENSE_CODE(0x5800, "Generation does not exist")
641
642SENSE_CODE(0x5900, "Updated block read")
643
644SENSE_CODE(0x5A00, "Operator request or state change input")
645SENSE_CODE(0x5A01, "Operator medium removal request")
646SENSE_CODE(0x5A02, "Operator selected write protect")
647SENSE_CODE(0x5A03, "Operator selected write permit")
648
649SENSE_CODE(0x5B00, "Log exception")
650SENSE_CODE(0x5B01, "Threshold condition met")
651SENSE_CODE(0x5B02, "Log counter at maximum")
652SENSE_CODE(0x5B03, "Log list codes exhausted")
653
654SENSE_CODE(0x5C00, "Rpl status change")
655SENSE_CODE(0x5C01, "Spindles synchronized")
656SENSE_CODE(0x5C02, "Spindles not synchronized")
657
658SENSE_CODE(0x5D00, "Failure prediction threshold exceeded")
659SENSE_CODE(0x5D01, "Media failure prediction threshold exceeded")
660SENSE_CODE(0x5D02, "Logical unit failure prediction threshold exceeded")
661SENSE_CODE(0x5D03, "Spare area exhaustion prediction threshold exceeded")
662SENSE_CODE(0x5D10, "Hardware impending failure general hard drive failure")
663SENSE_CODE(0x5D11, "Hardware impending failure drive error rate too high")
664SENSE_CODE(0x5D12, "Hardware impending failure data error rate too high")
665SENSE_CODE(0x5D13, "Hardware impending failure seek error rate too high")
666SENSE_CODE(0x5D14, "Hardware impending failure too many block reassigns")
667SENSE_CODE(0x5D15, "Hardware impending failure access times too high")
668SENSE_CODE(0x5D16, "Hardware impending failure start unit times too high")
669SENSE_CODE(0x5D17, "Hardware impending failure channel parametrics")
670SENSE_CODE(0x5D18, "Hardware impending failure controller detected")
671SENSE_CODE(0x5D19, "Hardware impending failure throughput performance")
672SENSE_CODE(0x5D1A, "Hardware impending failure seek time performance")
673SENSE_CODE(0x5D1B, "Hardware impending failure spin-up retry count")
674SENSE_CODE(0x5D1C, "Hardware impending failure drive calibration retry count")
675SENSE_CODE(0x5D20, "Controller impending failure general hard drive failure")
676SENSE_CODE(0x5D21, "Controller impending failure drive error rate too high")
677SENSE_CODE(0x5D22, "Controller impending failure data error rate too high")
678SENSE_CODE(0x5D23, "Controller impending failure seek error rate too high")
679SENSE_CODE(0x5D24, "Controller impending failure too many block reassigns")
680SENSE_CODE(0x5D25, "Controller impending failure access times too high")
681SENSE_CODE(0x5D26, "Controller impending failure start unit times too high")
682SENSE_CODE(0x5D27, "Controller impending failure channel parametrics")
683SENSE_CODE(0x5D28, "Controller impending failure controller detected")
684SENSE_CODE(0x5D29, "Controller impending failure throughput performance")
685SENSE_CODE(0x5D2A, "Controller impending failure seek time performance")
686SENSE_CODE(0x5D2B, "Controller impending failure spin-up retry count")
687SENSE_CODE(0x5D2C, "Controller impending failure drive calibration retry count")
688SENSE_CODE(0x5D30, "Data channel impending failure general hard drive failure")
689SENSE_CODE(0x5D31, "Data channel impending failure drive error rate too high")
690SENSE_CODE(0x5D32, "Data channel impending failure data error rate too high")
691SENSE_CODE(0x5D33, "Data channel impending failure seek error rate too high")
692SENSE_CODE(0x5D34, "Data channel impending failure too many block reassigns")
693SENSE_CODE(0x5D35, "Data channel impending failure access times too high")
694SENSE_CODE(0x5D36, "Data channel impending failure start unit times too high")
695SENSE_CODE(0x5D37, "Data channel impending failure channel parametrics")
696SENSE_CODE(0x5D38, "Data channel impending failure controller detected")
697SENSE_CODE(0x5D39, "Data channel impending failure throughput performance")
698SENSE_CODE(0x5D3A, "Data channel impending failure seek time performance")
699SENSE_CODE(0x5D3B, "Data channel impending failure spin-up retry count")
700SENSE_CODE(0x5D3C, "Data channel impending failure drive calibration retry count")
701SENSE_CODE(0x5D40, "Servo impending failure general hard drive failure")
702SENSE_CODE(0x5D41, "Servo impending failure drive error rate too high")
703SENSE_CODE(0x5D42, "Servo impending failure data error rate too high")
704SENSE_CODE(0x5D43, "Servo impending failure seek error rate too high")
705SENSE_CODE(0x5D44, "Servo impending failure too many block reassigns")
706SENSE_CODE(0x5D45, "Servo impending failure access times too high")
707SENSE_CODE(0x5D46, "Servo impending failure start unit times too high")
708SENSE_CODE(0x5D47, "Servo impending failure channel parametrics")
709SENSE_CODE(0x5D48, "Servo impending failure controller detected")
710SENSE_CODE(0x5D49, "Servo impending failure throughput performance")
711SENSE_CODE(0x5D4A, "Servo impending failure seek time performance")
712SENSE_CODE(0x5D4B, "Servo impending failure spin-up retry count")
713SENSE_CODE(0x5D4C, "Servo impending failure drive calibration retry count")
714SENSE_CODE(0x5D50, "Spindle impending failure general hard drive failure")
715SENSE_CODE(0x5D51, "Spindle impending failure drive error rate too high")
716SENSE_CODE(0x5D52, "Spindle impending failure data error rate too high")
717SENSE_CODE(0x5D53, "Spindle impending failure seek error rate too high")
718SENSE_CODE(0x5D54, "Spindle impending failure too many block reassigns")
719SENSE_CODE(0x5D55, "Spindle impending failure access times too high")
720SENSE_CODE(0x5D56, "Spindle impending failure start unit times too high")
721SENSE_CODE(0x5D57, "Spindle impending failure channel parametrics")
722SENSE_CODE(0x5D58, "Spindle impending failure controller detected")
723SENSE_CODE(0x5D59, "Spindle impending failure throughput performance")
724SENSE_CODE(0x5D5A, "Spindle impending failure seek time performance")
725SENSE_CODE(0x5D5B, "Spindle impending failure spin-up retry count")
726SENSE_CODE(0x5D5C, "Spindle impending failure drive calibration retry count")
727SENSE_CODE(0x5D60, "Firmware impending failure general hard drive failure")
728SENSE_CODE(0x5D61, "Firmware impending failure drive error rate too high")
729SENSE_CODE(0x5D62, "Firmware impending failure data error rate too high")
730SENSE_CODE(0x5D63, "Firmware impending failure seek error rate too high")
731SENSE_CODE(0x5D64, "Firmware impending failure too many block reassigns")
732SENSE_CODE(0x5D65, "Firmware impending failure access times too high")
733SENSE_CODE(0x5D66, "Firmware impending failure start unit times too high")
734SENSE_CODE(0x5D67, "Firmware impending failure channel parametrics")
735SENSE_CODE(0x5D68, "Firmware impending failure controller detected")
736SENSE_CODE(0x5D69, "Firmware impending failure throughput performance")
737SENSE_CODE(0x5D6A, "Firmware impending failure seek time performance")
738SENSE_CODE(0x5D6B, "Firmware impending failure spin-up retry count")
739SENSE_CODE(0x5D6C, "Firmware impending failure drive calibration retry count")
Damien Le Moal46c9d602020-09-10 16:48:42 +0900740SENSE_CODE(0x5D73, "Media impending failure endurance limit met")
Rasmus Villemoes9d99a2e2016-03-22 20:32:04 +0100741SENSE_CODE(0x5DFF, "Failure prediction threshold exceeded (false)")
742
743SENSE_CODE(0x5E00, "Low power condition on")
744SENSE_CODE(0x5E01, "Idle condition activated by timer")
745SENSE_CODE(0x5E02, "Standby condition activated by timer")
746SENSE_CODE(0x5E03, "Idle condition activated by command")
747SENSE_CODE(0x5E04, "Standby condition activated by command")
748SENSE_CODE(0x5E05, "Idle_b condition activated by timer")
749SENSE_CODE(0x5E06, "Idle_b condition activated by command")
750SENSE_CODE(0x5E07, "Idle_c condition activated by timer")
751SENSE_CODE(0x5E08, "Idle_c condition activated by command")
752SENSE_CODE(0x5E09, "Standby_y condition activated by timer")
753SENSE_CODE(0x5E0A, "Standby_y condition activated by command")
754SENSE_CODE(0x5E41, "Power state change to active")
755SENSE_CODE(0x5E42, "Power state change to idle")
756SENSE_CODE(0x5E43, "Power state change to standby")
757SENSE_CODE(0x5E45, "Power state change to sleep")
758SENSE_CODE(0x5E47, "Power state change to device control")
759
760SENSE_CODE(0x6000, "Lamp failure")
761
762SENSE_CODE(0x6100, "Video acquisition error")
763SENSE_CODE(0x6101, "Unable to acquire video")
764SENSE_CODE(0x6102, "Out of focus")
765
766SENSE_CODE(0x6200, "Scan head positioning error")
767
768SENSE_CODE(0x6300, "End of user area encountered on this track")
769SENSE_CODE(0x6301, "Packet does not fit in available space")
770
771SENSE_CODE(0x6400, "Illegal mode for this track")
772SENSE_CODE(0x6401, "Invalid packet size")
773
774SENSE_CODE(0x6500, "Voltage fault")
775
776SENSE_CODE(0x6600, "Automatic document feeder cover up")
777SENSE_CODE(0x6601, "Automatic document feeder lift up")
778SENSE_CODE(0x6602, "Document jam in automatic document feeder")
779SENSE_CODE(0x6603, "Document miss feed automatic in document feeder")
780
781SENSE_CODE(0x6700, "Configuration failure")
782SENSE_CODE(0x6701, "Configuration of incapable logical units failed")
783SENSE_CODE(0x6702, "Add logical unit failed")
784SENSE_CODE(0x6703, "Modification of logical unit failed")
785SENSE_CODE(0x6704, "Exchange of logical unit failed")
786SENSE_CODE(0x6705, "Remove of logical unit failed")
787SENSE_CODE(0x6706, "Attachment of logical unit failed")
788SENSE_CODE(0x6707, "Creation of logical unit failed")
789SENSE_CODE(0x6708, "Assign failure occurred")
790SENSE_CODE(0x6709, "Multiply assigned logical unit")
791SENSE_CODE(0x670A, "Set target port groups command failed")
792SENSE_CODE(0x670B, "ATA device feature not enabled")
Damien Le Moal46c9d602020-09-10 16:48:42 +0900793SENSE_CODE(0x670C, "Command rejected")
794SENSE_CODE(0x670D, "Explicit bind not allowed")
Rasmus Villemoes9d99a2e2016-03-22 20:32:04 +0100795
796SENSE_CODE(0x6800, "Logical unit not configured")
797SENSE_CODE(0x6801, "Subsidiary logical unit not configured")
798
799SENSE_CODE(0x6900, "Data loss on logical unit")
800SENSE_CODE(0x6901, "Multiple logical unit failures")
801SENSE_CODE(0x6902, "Parity/data mismatch")
802
803SENSE_CODE(0x6A00, "Informational, refer to log")
804
805SENSE_CODE(0x6B00, "State change has occurred")
806SENSE_CODE(0x6B01, "Redundancy level got better")
807SENSE_CODE(0x6B02, "Redundancy level got worse")
808
809SENSE_CODE(0x6C00, "Rebuild failure occurred")
810
811SENSE_CODE(0x6D00, "Recalculate failure occurred")
812
813SENSE_CODE(0x6E00, "Command to logical unit failed")
814
815SENSE_CODE(0x6F00, "Copy protection key exchange failure - authentication failure")
816SENSE_CODE(0x6F01, "Copy protection key exchange failure - key not present")
817SENSE_CODE(0x6F02, "Copy protection key exchange failure - key not established")
818SENSE_CODE(0x6F03, "Read of scrambled sector without authentication")
819SENSE_CODE(0x6F04, "Media region code is mismatched to logical unit region")
820SENSE_CODE(0x6F05, "Drive region must be permanent/region reset count error")
821SENSE_CODE(0x6F06, "Insufficient block count for binding nonce recording")
822SENSE_CODE(0x6F07, "Conflict in binding nonce recording")
Damien Le Moal46c9d602020-09-10 16:48:42 +0900823SENSE_CODE(0x6F08, "Insufficient permission")
824SENSE_CODE(0x6F09, "Invalid drive-host pairing server")
825SENSE_CODE(0x6F0A, "Drive-host pairing suspended")
826
Rasmus Villemoes9d99a2e2016-03-22 20:32:04 +0100827/*
828 * SENSE_CODE(0x70NN, "Decompression exception short algorithm id of nn")
829 */
830SENSE_CODE(0x7100, "Decompression exception long algorithm id")
831
832SENSE_CODE(0x7200, "Session fixation error")
833SENSE_CODE(0x7201, "Session fixation error writing lead-in")
834SENSE_CODE(0x7202, "Session fixation error writing lead-out")
835SENSE_CODE(0x7203, "Session fixation error - incomplete track in session")
836SENSE_CODE(0x7204, "Empty or partially written reserved track")
837SENSE_CODE(0x7205, "No more track reservations allowed")
838SENSE_CODE(0x7206, "RMZ extension is not allowed")
839SENSE_CODE(0x7207, "No more test zone extensions are allowed")
840
841SENSE_CODE(0x7300, "Cd control error")
842SENSE_CODE(0x7301, "Power calibration area almost full")
843SENSE_CODE(0x7302, "Power calibration area is full")
844SENSE_CODE(0x7303, "Power calibration area error")
845SENSE_CODE(0x7304, "Program memory area update failure")
846SENSE_CODE(0x7305, "Program memory area is full")
847SENSE_CODE(0x7306, "RMA/PMA is almost full")
848SENSE_CODE(0x7310, "Current power calibration area almost full")
849SENSE_CODE(0x7311, "Current power calibration area is full")
850SENSE_CODE(0x7317, "RDZ is full")
851
852SENSE_CODE(0x7400, "Security error")
853SENSE_CODE(0x7401, "Unable to decrypt data")
854SENSE_CODE(0x7402, "Unencrypted data encountered while decrypting")
855SENSE_CODE(0x7403, "Incorrect data encryption key")
856SENSE_CODE(0x7404, "Cryptographic integrity validation failed")
857SENSE_CODE(0x7405, "Error decrypting data")
858SENSE_CODE(0x7406, "Unknown signature verification key")
859SENSE_CODE(0x7407, "Encryption parameters not useable")
860SENSE_CODE(0x7408, "Digital signature validation failure")
861SENSE_CODE(0x7409, "Encryption mode mismatch on read")
862SENSE_CODE(0x740A, "Encrypted block not raw read enabled")
863SENSE_CODE(0x740B, "Incorrect Encryption parameters")
864SENSE_CODE(0x740C, "Unable to decrypt parameter list")
865SENSE_CODE(0x740D, "Encryption algorithm disabled")
866SENSE_CODE(0x7410, "SA creation parameter value invalid")
867SENSE_CODE(0x7411, "SA creation parameter value rejected")
868SENSE_CODE(0x7412, "Invalid SA usage")
869SENSE_CODE(0x7421, "Data Encryption configuration prevented")
870SENSE_CODE(0x7430, "SA creation parameter not supported")
871SENSE_CODE(0x7440, "Authentication failed")
872SENSE_CODE(0x7461, "External data encryption key manager access error")
873SENSE_CODE(0x7462, "External data encryption key manager error")
874SENSE_CODE(0x7463, "External data encryption key not found")
875SENSE_CODE(0x7464, "External data encryption request not authorized")
876SENSE_CODE(0x746E, "External data encryption control timeout")
877SENSE_CODE(0x746F, "External data encryption control error")
878SENSE_CODE(0x7471, "Logical unit access not authorized")
879SENSE_CODE(0x7479, "Security conflict in translated device")