scsicodes 18 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487
  1. # hget http://www.t10.org/lists/asc-num.htm |
  2. # grep '^[0-9]' |tr -d ' ' |tr A-Z a-z |
  3. # sed 's/(..)\/(..) .............. (.*)/\1\2 \3/' > scsicodes
  4. # (and then put this header back)
  5. 0000 no additional sense information
  6. 0001 filemark detected
  7. 0002 end-of-partition/medium detected
  8. 0003 setmark detected
  9. 0004 beginning-of-partition/medium detected
  10. 0005 end-of-data detected
  11. 0006 i/o process terminated
  12. 0011 audio play operation in progress
  13. 0012 audio play operation paused
  14. 0013 audio play operation successfully completed
  15. 0014 audio play operation stopped due to error
  16. 0015 no current audio status to return
  17. 0016 operation in progress
  18. 0017 cleaning requested
  19. 0100 no index/sector signal
  20. 0200 no seek complete
  21. 0300 peripheral device write fault
  22. 0301 no write current
  23. 0302 excessive write errors
  24. 0400 logical unit not ready, cause not reportable
  25. 0401 logical unit is in process of becoming ready
  26. 0402 logical unit not ready, initializing cmd. required
  27. 0403 logical unit not ready, manual intervention required
  28. 0404 logical unit not ready, format in progress
  29. 0405 logical unit not ready, rebuild in progress
  30. 0406 logical unit not ready, recalculation in progress
  31. 0407 logical unit not ready, operation in progress
  32. 0408 logical unit not ready, long write in progress
  33. 0409 logical unit not ready, self-test in progress
  34. 0410 auxiliary memory code 2 (99-148) [proposed]
  35. 0500 logical unit does not respond to selection
  36. 0600 no reference position found
  37. 0700 multiple peripheral devices selected
  38. 0800 logical unit communication failure
  39. 0801 logical unit communication time-out
  40. 0802 logical unit communication parity error
  41. 0803 logical unit communication crc error (ultra-dma/32)
  42. 0804 unreachable copy target
  43. 0900 track following error
  44. 0901 tracking servo failure
  45. 0902 focus servo failure
  46. 0903 spindle servo failure
  47. 0904 head select fault
  48. 0a00 error log overflow
  49. 0b00 warning
  50. 0b01 warning - specified temperature exceeded
  51. 0b02 warning - enclosure degraded
  52. 0c00 write error
  53. 0c01 write error - recovered with auto reallocation
  54. 0c02 write error - auto reallocation failed
  55. 0c03 write error - recommend reassignment
  56. 0c04 compression check miscompare error
  57. 0c05 data expansion occurred during compression
  58. 0c06 block not compressible
  59. 0c07 write error - recovery needed
  60. 0c08 write error - recovery failed
  61. 0c09 write error - loss of streaming
  62. 0c0a write error - padding blocks added
  63. 0c0b auxiliary memory code 4 (99-148) [proposed]
  64. 0d/00
  65. 0e/00
  66. 0f/00
  67. 1000 id crc or ecc error
  68. 1100 unrecovered read error
  69. 1101 read retries exhausted
  70. 1102 error too long to correct
  71. 1103 multiple read errors
  72. 1104 unrecovered read error - auto reallocate failed
  73. 1105 l-ec uncorrectable error
  74. 1106 circ unrecovered error
  75. 1107 data re-synchronization error
  76. 1108 incomplete block read
  77. 1109 no gap found
  78. 110a miscorrected error
  79. 110b unrecovered read error - recommend reassignment
  80. 110c unrecovered read error - recommend rewrite the data
  81. 110d de-compression crc error
  82. 110e cannot decompress using declared algorithm
  83. 110f error reading upc/ean number
  84. 1110 error reading isrc number
  85. 1111 read error - loss of streaming
  86. 1112 auxiliary memory code 3 (99-148) [proposed]
  87. 1200 address mark not found for id field
  88. 1300 address mark not found for data field
  89. 1400 recorded entity not found
  90. 1401 record not found
  91. 1402 filemark or setmark not found
  92. 1403 end-of-data not found
  93. 1404 block sequence error
  94. 1405 record not found - recommend reassignment
  95. 1406 record not found - data auto-reallocated
  96. 1500 random positioning error
  97. 1501 mechanical positioning error
  98. 1502 positioning error detected by read of medium
  99. 1600 data synchronization mark error
  100. 1601 data sync error - data rewritten
  101. 1602 data sync error - recommend rewrite
  102. 1603 data sync error - data auto-reallocated
  103. 1604 data sync error - recommend reassignment
  104. 1700 recovered data with no error correction applied
  105. 1701 recovered data with retries
  106. 1702 recovered data with positive head offset
  107. 1703 recovered data with negative head offset
  108. 1704 recovered data with retries and/or circ applied
  109. 1705 recovered data using previous sector id
  110. 1706 recovered data without ecc - data auto-reallocated
  111. 1707 recovered data without ecc - recommend reassignment
  112. 1708 recovered data without ecc - recommend rewrite
  113. 1709 recovered data without ecc - data rewritten
  114. 1800 recovered data with error correction applied
  115. 1801 recovered data with error corr. & retries applied
  116. 1802 recovered data - data auto-reallocated
  117. 1803 recovered data with circ
  118. 1804 recovered data with l-ec
  119. 1805 recovered data - recommend reassignment
  120. 1806 recovered data - recommend rewrite
  121. 1807 recovered data with ecc - data rewritten
  122. 1900 defect list error
  123. 1901 defect list not available
  124. 1902 defect list error in primary list
  125. 1903 defect list error in grown list
  126. 1a00 parameter list length error
  127. 1b00 synchronous data transfer error
  128. 1c00 defect list not found
  129. 1c01 primary defect list not found
  130. 1c02 grown defect list not found
  131. 1d00 miscompare during verify operation
  132. 1e00 recovered id with ecc correction
  133. 1f00 partial defect list transfer
  134. 2000 invalid command operation code
  135. 2001 access controls code 1 (99-314) [proposed]
  136. 2002 access controls code 2 (99-314) [proposed]
  137. 2003 access controls code 3 (99-314) [proposed]
  138. 2100 logical block address out of range
  139. 2101 invalid element address
  140. 2200 illegal function (use 20 00, 24 00, or 26 00)
  141. 23/00
  142. 2400 invalid field in cdb
  143. 2401 cdb decryption error
  144. 2500 logical unit not supported
  145. 2600 invalid field in parameter list
  146. 2601 parameter not supported
  147. 2602 parameter value invalid
  148. 2603 threshold parameters not supported
  149. 2604 invalid release of persistent reservation
  150. 2605 data decryption error
  151. 2606 too many target descriptors
  152. 2607 unsupported target descriptor type code
  153. 2608 too many segment descriptors
  154. 2609 unsupported segment descriptor type code
  155. 260a unexpected inexact segment
  156. 260b inline data length exceeded
  157. 260c invalid operation for copy source or destination
  158. 260d copy segment granularity violation
  159. 2700 write protected
  160. 2701 hardware write protected
  161. 2702 logical unit software write protected
  162. 2703 associated write protect
  163. 2704 persistent write protect
  164. 2705 permanent write protect
  165. 2800 not ready to ready change, medium may have changed
  166. 2801 import or export element accessed
  167. 2900 power on, reset, or bus device reset occurred
  168. 2901 power on occurred
  169. 2902 scsi bus reset occurred
  170. 2903 bus device reset function occurred
  171. 2904 device internal reset
  172. 2905 transceiver mode changed to single-ended
  173. 2906 transceiver mode changed to lvd
  174. 2a00 parameters changed
  175. 2a01 mode parameters changed
  176. 2a02 log parameters changed
  177. 2a03 reservations preempted
  178. 2a04 reservations released
  179. 2a05 registrations preempted
  180. 2b00 copy cannot execute since host cannot disconnect
  181. 2c00 command sequence error
  182. 2c01 too many windows specified
  183. 2c02 invalid combination of windows specified
  184. 2c03 current program area is not empty
  185. 2c04 current program area is empty
  186. 2c05 illegal power condition request
  187. 2d00 overwrite error on update in place
  188. 2e00 error detected by third party temporary initiator
  189. 2e01 third party device failure
  190. 2e02 copy target device not reachable
  191. 2e03 incorrect copy target device type
  192. 2e04 copy target device data underrun
  193. 2e05 copy target device data overrun
  194. 2f00 commands cleared by another initiator
  195. 3000 incompatible medium installed
  196. 3001 cannot read medium - unknown format
  197. 3002 cannot read medium - incompatible format
  198. 3003 cleaning cartridge installed
  199. 3004 cannot write medium - unknown format
  200. 3005 cannot write medium - incompatible format
  201. 3006 cannot format medium - incompatible medium
  202. 3007 cleaning failure
  203. 3008 cannot write - application code mismatch
  204. 3009 current session not fixated for append
  205. 3100 medium format corrupted
  206. 3101 format command failed
  207. 3200 no defect spare location available
  208. 3201 defect list update failure
  209. 3300 tape length error
  210. 3400 enclosure failure
  211. 3500 enclosure services failure
  212. 3501 unsupported enclosure function
  213. 3502 enclosure services unavailable
  214. 3503 enclosure services transfer failure
  215. 3504 enclosure services transfer refused
  216. 3600 ribbon, ink, or toner failure
  217. 3700 rounded parameter
  218. 3800 event status notification
  219. 3802 esn - power management class event
  220. 3804 esn - media class event
  221. 3806 esn - device busy class event
  222. 3900 saving parameters not supported
  223. 3a00 medium not present
  224. 3a01 medium not present - tray closed
  225. 3a02 medium not present - tray open
  226. 3a03 medium not present - loadable
  227. 3a04 medium not present - medium auxiliary memory accessible
  228. 3b00 sequential positioning error
  229. 3b01 tape position error at beginning-of-medium
  230. 3b02 tape position error at end-of-medium
  231. 3b03 tape or electronic vertical forms unit not ready
  232. 3b04 slew failure
  233. 3b05 paper jam
  234. 3b06 failed to sense top-of-form
  235. 3b07 failed to sense bottom-of-form
  236. 3b08 reposition error
  237. 3b09 read past end of medium
  238. 3b0a read past beginning of medium
  239. 3b0b position past end of medium
  240. 3b0c position past beginning of medium
  241. 3b0d medium destination element full
  242. 3b0e medium source element empty
  243. 3b0f end of medium reached
  244. 3b11 medium magazine not accessible
  245. 3b12 medium magazine removed
  246. 3b13 medium magazine inserted
  247. 3b14 medium magazine locked
  248. 3b15 medium magazine unlocked
  249. 3b16 mechanical positioning or changer error
  250. 3c/00
  251. 3d00 invalid bits in identify message
  252. 3e00 logical unit has not self-configured yet
  253. 3e01 logical unit failure
  254. 3e02 timeout on logical unit
  255. 3e03 logical unit failed self-test
  256. 3e04 logical unit unable to update self-test log
  257. 3f00 target operating conditions have changed
  258. 3f01 microcode has been changed
  259. 3f02 changed operating definition
  260. 3f03 inquiry data has changed
  261. 3f04 component device attached
  262. 3f05 device identifier changed
  263. 3f06 redundancy group created or modified
  264. 3f07 redundancy group deleted
  265. 3f08 spare created or modified
  266. 3f09 spare deleted
  267. 3f0a volume set created or modified
  268. 3f0b volume set deleted
  269. 3f0c volume set deassigned
  270. 3f0d volume set reassigned
  271. 3f0e reported luns data has changed
  272. 3f0f echo buffer overwritten
  273. 3f10 medium loadable
  274. 3f11 medium auxiliary memory accessible
  275. 4000 ram failure (should use 40 nn)
  276. 40nn diagnostic failure on component nn (80h-ffh)
  277. 4100 data path failure (should use 40 nn)
  278. 4200 power-on or self-test failure (should use 40 nn)
  279. 4300 message error
  280. 4400 internal target failure
  281. 4500 select or reselect failure
  282. 4600 unsuccessful soft reset
  283. 4700 scsi parity error
  284. 4701 data phase crc error detected
  285. 4702 scsi parity error detected during st data phase
  286. 4703 information unit crc error detected
  287. 4704 asynchronous information protection error detected
  288. 4800 initiator detected error message received
  289. 4900 invalid message error
  290. 4a00 command phase error
  291. 4b00 data phase error
  292. 4c00 logical unit failed self-configuration
  293. 4dnn tagged overlapped commands (nn = queue tag)
  294. 4e00 overlapped commands attempted
  295. 4f/00
  296. 5000 write append error
  297. 5001 write append position error
  298. 5002 position error related to timing
  299. 5100 erase failure
  300. 5200 cartridge fault
  301. 5300 media load or eject failed
  302. 5301 unload tape failure
  303. 5302 medium removal prevented
  304. 5400 scsi to host system interface failure
  305. 5500 system resource failure
  306. 5501 system buffer full
  307. 5502 insufficient reservation resources
  308. 5503 insufficient resources
  309. 5504 insufficient registration resources
  310. 5505 access controls code 4 (99-314) [proposed]
  311. 5506 auxiliary memory code 1 (99-148) [proposed]
  312. 56/00
  313. 5700 unable to recover table-of-contents
  314. 5800 generation does not exist
  315. 5900 updated block read
  316. 5a00 operator request or state change input
  317. 5a01 operator medium removal request
  318. 5a02 operator selected write protect
  319. 5a03 operator selected write permit
  320. 5b00 log exception
  321. 5b01 threshold condition met
  322. 5b02 log counter at maximum
  323. 5b03 log list codes exhausted
  324. 5c00 rpl status change
  325. 5c01 spindles synchronized
  326. 5c02 spindles not synchronized
  327. 5d00 failure prediction threshold exceeded
  328. 5d01 media failure prediction threshold exceeded
  329. 5d02 logical unit failure prediction threshold exceeded
  330. 5d10 hardware impending failure general hard drive failure
  331. 5d11 hardware impending failure drive error rate too high
  332. 5d12 hardware impending failure data error rate too high
  333. 5d13 hardware impending failure seek error rate too high
  334. 5d14 hardware impending failure too many block reassigns
  335. 5d15 hardware impending failure access times too high
  336. 5d16 hardware impending failure start unit times too high
  337. 5d17 hardware impending failure channel parametrics
  338. 5d18 hardware impending failure controller detected
  339. 5d19 hardware impending failure throughput performance
  340. 5d1a hardware impending failure seek time performance
  341. 5d1b hardware impending failure spin-up retry count
  342. 5d1c hardware impending failure drive calibration retry count
  343. 5d20 controller impending failure general hard drive failure
  344. 5d21 controller impending failure drive error rate too high
  345. 5d22 controller impending failure data error rate too high
  346. 5d23 controller impending failure seek error rate too high
  347. 5d24 controller impending failure too many block reassigns
  348. 5d25 controller impending failure access times too high
  349. 5d26 controller impending failure start unit times too high
  350. 5d27 controller impending failure channel parametrics
  351. 5d28 controller impending failure controller detected
  352. 5d29 controller impending failure throughput performance
  353. 5d2a controller impending failure seek time performance
  354. 5d2b controller impending failure spin-up retry count
  355. 5d2c controller impending failure drive calibration retry count
  356. 5d30 data channel impending failure general hard drive failure
  357. 5d31 data channel impending failure drive error rate too high
  358. 5d32 data channel impending failure data error rate too high
  359. 5d33 data channel impending failure seek error rate too high
  360. 5d34 data channel impending failure too many block reassigns
  361. 5d35 data channel impending failure access times too high
  362. 5d36 data channel impending failure start unit times too high
  363. 5d37 data channel impending failure channel parametrics
  364. 5d38 data channel impending failure controller detected
  365. 5d39 data channel impending failure throughput performance
  366. 5d3a data channel impending failure seek time performance
  367. 5d3b data channel impending failure spin-up retry count
  368. 5d3c data channel impending failure drive calibration retry count
  369. 5d40 servo impending failure general hard drive failure
  370. 5d41 servo impending failure drive error rate too high
  371. 5d42 servo impending failure data error rate too high
  372. 5d43 servo impending failure seek error rate too high
  373. 5d44 servo impending failure too many block reassigns
  374. 5d45 servo impending failure access times too high
  375. 5d46 servo impending failure start unit times too high
  376. 5d47 servo impending failure channel parametrics
  377. 5d48 servo impending failure controller detected
  378. 5d49 servo impending failure throughput performance
  379. 5d4a servo impending failure seek time performance
  380. 5d4b servo impending failure spin-up retry count
  381. 5d4c servo impending failure drive calibration retry count
  382. 5d50 spindle impending failure general hard drive failure
  383. 5d51 spindle impending failure drive error rate too high
  384. 5d52 spindle impending failure data error rate too high
  385. 5d53 spindle impending failure seek error rate too high
  386. 5d54 spindle impending failure too many block reassigns
  387. 5d55 spindle impending failure access times too high
  388. 5d56 spindle impending failure start unit times too high
  389. 5d57 spindle impending failure channel parametrics
  390. 5d58 spindle impending failure controller detected
  391. 5d59 spindle impending failure throughput performance
  392. 5d5a spindle impending failure seek time performance
  393. 5d5b spindle impending failure spin-up retry count
  394. 5d5c spindle impending failure drive calibration retry count
  395. 5d60 firmware impending failure general hard drive failure
  396. 5d61 firmware impending failure drive error rate too high
  397. 5d62 firmware impending failure data error rate too high
  398. 5d63 firmware impending failure seek error rate too high
  399. 5d64 firmware impending failure too many block reassigns
  400. 5d65 firmware impending failure access times too high
  401. 5d66 firmware impending failure start unit times too high
  402. 5d67 firmware impending failure channel parametrics
  403. 5d68 firmware impending failure controller detected
  404. 5d69 firmware impending failure throughput performance
  405. 5d6a firmware impending failure seek time performance
  406. 5d6b firmware impending failure spin-up retry count
  407. 5d6c firmware impending failure drive calibration retry count
  408. 5dff failure prediction threshold exceeded (false)
  409. 5e00 low power condition on
  410. 5e01 idle condition activated by timer
  411. 5e02 standby condition activated by timer
  412. 5e03 idle condition activated by command
  413. 5e04 standby condition activated by command
  414. 5e41 power state change to active
  415. 5e42 power state change to idle
  416. 5e43 power state change to standby
  417. 5e45 power state change to sleep
  418. 5e47 power state change to device control
  419. 5f/00
  420. 6000 lamp failure
  421. 6100 video acquisition error
  422. 6101 unable to acquire video
  423. 6102 out of focus
  424. 6200 scan head positioning error
  425. 6300 end of user area encountered on this track
  426. 6301 packet does not fit in available space
  427. 6400 illegal mode for this track
  428. 6401 invalid packet size
  429. 6500 voltage fault
  430. 6600 automatic document feeder cover up
  431. 6601 automatic document feeder lift up
  432. 6602 document jam in automatic document feeder
  433. 6603 document miss feed automatic in document feeder
  434. 6700 configuration failure
  435. 6701 configuration of incapable logical units failed
  436. 6702 add logical unit failed
  437. 6703 modification of logical unit failed
  438. 6704 exchange of logical unit failed
  439. 6705 remove of logical unit failed
  440. 6706 attachment of logical unit failed
  441. 6707 creation of logical unit failed
  442. 6708 assign failure occurred
  443. 6709 multiply assigned logical unit
  444. 6800 logical unit not configured
  445. 6900 data loss on logical unit
  446. 6901 multiple logical unit failures
  447. 6902 parity/data mismatch
  448. 6a00 informational, refer to log
  449. 6b00 state change has occurred
  450. 6b01 redundancy level got better
  451. 6b02 redundancy level got worse
  452. 6c00 rebuild failure occurred
  453. 6d00 recalculate failure occurred
  454. 6e00 command to logical unit failed
  455. 6f00 copy protection key exchange failure - authentication failure
  456. 6f01 copy protection key exchange failure - key not present
  457. 6f02 copy protection key exchange failure - key not established
  458. 6f03 read of scrambled sector without authentication
  459. 6f04 media region code is mismatched to logical unit region
  460. 6f05 drive region must be permanent/region reset count error
  461. 70nn decompression exception short algorithm id of nn
  462. 7100 decompression exception long algorithm id
  463. 7200 session fixation error
  464. 7201 session fixation error writing lead-in
  465. 7202 session fixation error writing lead-out
  466. 7203 session fixation error - incomplete track in session
  467. 7204 empty or partially written reserved track
  468. 7205 no more track reservations allowed
  469. 7300 cd control error
  470. 7301 power calibration area almost full
  471. 7302 power calibration area is full
  472. 7303 power calibration area error
  473. 7304 program memory area update failure
  474. 7305 program memory area is full
  475. 7306 rma/pma is full
  476. 74/00
  477. 75/00
  478. 76/00
  479. 77/00
  480. 78/00
  481. 79/00
  482. 7a/00
  483. 7b/00
  484. 7c/00
  485. 7d/00
  486. 7e/00
  487. 7f/00