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