xref: /inferno-os/lib/scsicodes (revision 46439007cf417cbd9ac8049bb4122c890097a0fa)
1# hget http://www.t10.org/lists/asc-num.htm |
2#   grep '^[0-9]' |tr -d '
3' |tr A-Z a-z |
4#   sed 's/(..)\/(..)  ..............  (.*)/\1\2 \3/' > scsicodes
5# (and then put this header back)
60000 no additional sense information
70001 filemark detected
80002 end-of-partition/medium detected
90003 setmark detected
100004 beginning-of-partition/medium detected
110005 end-of-data detected
120006 i/o process terminated
130011 audio play operation in progress
140012 audio play operation paused
150013 audio play operation successfully completed
160014 audio play operation stopped due to error
170015 no current audio status to return
180016 operation in progress
190017 cleaning requested
200100 no index/sector signal
210200 no seek complete
220300 peripheral device write fault
230301 no write current
240302 excessive write errors
250400 logical unit not ready, cause not reportable
260401 logical unit is in process of becoming ready
270402 logical unit not ready, initializing cmd. required
280403 logical unit not ready, manual intervention required
290404 logical unit not ready, format in progress
300405 logical unit not ready, rebuild in progress
310406 logical unit not ready, recalculation in progress
320407 logical unit not ready, operation in progress
330408 logical unit not ready, long write in progress
340409 logical unit not ready, self-test in progress
350410 auxiliary memory code 2 (99-148) [proposed]
360500 logical unit does not respond to selection
370600 no reference position found
380700 multiple peripheral devices selected
390800 logical unit communication failure
400801 logical unit communication time-out
410802 logical unit communication parity error
420803 logical unit communication crc error (ultra-dma/32)
430804 unreachable copy target
440900 track following error
450901 tracking servo failure
460902 focus servo failure
470903 spindle servo failure
480904 head select fault
490a00 error log overflow
500b00 warning
510b01 warning - specified temperature exceeded
520b02 warning - enclosure degraded
530c00 write error
540c01 write error - recovered with auto reallocation
550c02 write error - auto reallocation failed
560c03 write error - recommend reassignment
570c04 compression check miscompare error
580c05 data expansion occurred during compression
590c06 block not compressible
600c07 write error - recovery needed
610c08 write error - recovery failed
620c09 write error - loss of streaming
630c0a write error - padding blocks added
640c0b auxiliary memory code 4 (99-148) [proposed]
650d/00
660e/00
670f/00
681000 id crc or ecc error
691100 unrecovered read error
701101 read retries exhausted
711102 error too long to correct
721103 multiple read errors
731104 unrecovered read error - auto reallocate failed
741105 l-ec uncorrectable error
751106 circ unrecovered error
761107 data re-synchronization error
771108 incomplete block read
781109 no gap found
79110a miscorrected error
80110b unrecovered read error - recommend reassignment
81110c unrecovered read error - recommend rewrite the data
82110d de-compression crc error
83110e cannot decompress using declared algorithm
84110f error reading upc/ean number
851110 error reading isrc number
861111 read error - loss of streaming
871112 auxiliary memory code 3 (99-148) [proposed]
881200 address mark not found for id field
891300 address mark not found for data field
901400 recorded entity not found
911401 record not found
921402 filemark or setmark not found
931403 end-of-data not found
941404 block sequence error
951405 record not found - recommend reassignment
961406 record not found - data auto-reallocated
971500 random positioning error
981501 mechanical positioning error
991502 positioning error detected by read of medium
1001600 data synchronization mark error
1011601 data sync error - data rewritten
1021602 data sync error - recommend rewrite
1031603 data sync error - data auto-reallocated
1041604 data sync error - recommend reassignment
1051700 recovered data with no error correction applied
1061701 recovered data with retries
1071702 recovered data with positive head offset
1081703 recovered data with negative head offset
1091704 recovered data with retries and/or circ applied
1101705 recovered data using previous sector id
1111706 recovered data without ecc - data auto-reallocated
1121707 recovered data without ecc - recommend reassignment
1131708 recovered data without ecc - recommend rewrite
1141709 recovered data without ecc - data rewritten
1151800 recovered data with error correction applied
1161801 recovered data with error corr. & retries applied
1171802 recovered data - data auto-reallocated
1181803 recovered data with circ
1191804 recovered data with l-ec
1201805 recovered data - recommend reassignment
1211806 recovered data - recommend rewrite
1221807 recovered data with ecc - data rewritten
1231900 defect list error
1241901 defect list not available
1251902 defect list error in primary list
1261903 defect list error in grown list
1271a00 parameter list length error
1281b00 synchronous data transfer error
1291c00 defect list not found
1301c01 primary defect list not found
1311c02 grown defect list not found
1321d00 miscompare during verify operation
1331e00 recovered id with ecc correction
1341f00 partial defect list transfer
1352000 invalid command operation code
1362001 access controls code 1 (99-314) [proposed]
1372002 access controls code 2 (99-314) [proposed]
1382003 access controls code 3 (99-314) [proposed]
1392100 logical block address out of range
1402101 invalid element address
1412200 illegal function (use 20 00, 24 00, or 26 00)
14223/00
1432400 invalid field in cdb
1442401 cdb decryption error
1452500 logical unit not supported
1462600 invalid field in parameter list
1472601 parameter not supported
1482602 parameter value invalid
1492603 threshold parameters not supported
1502604 invalid release of persistent reservation
1512605 data decryption error
1522606 too many target descriptors
1532607 unsupported target descriptor type code
1542608 too many segment descriptors
1552609 unsupported segment descriptor type code
156260a unexpected inexact segment
157260b inline data length exceeded
158260c invalid operation for copy source or destination
159260d copy segment granularity violation
1602700 write protected
1612701 hardware write protected
1622702 logical unit software write protected
1632703 associated write protect
1642704 persistent write protect
1652705 permanent write protect
1662800 not ready to ready change, medium may have changed
1672801 import or export element accessed
1682900 power on, reset, or bus device reset occurred
1692901 power on occurred
1702902 scsi bus reset occurred
1712903 bus device reset function occurred
1722904 device internal reset
1732905 transceiver mode changed to single-ended
1742906 transceiver mode changed to lvd
1752a00 parameters changed
1762a01 mode parameters changed
1772a02 log parameters changed
1782a03 reservations preempted
1792a04 reservations released
1802a05 registrations preempted
1812b00 copy cannot execute since host cannot disconnect
1822c00 command sequence error
1832c01 too many windows specified
1842c02 invalid combination of windows specified
1852c03 current program area is not empty
1862c04 current program area is empty
1872c05 illegal power condition request
1882d00 overwrite error on update in place
1892e00 error detected by third party temporary initiator
1902e01 third party device failure
1912e02 copy target device not reachable
1922e03 incorrect copy target device type
1932e04 copy target device data underrun
1942e05 copy target device data overrun
1952f00 commands cleared by another initiator
1963000 incompatible medium installed
1973001 cannot read medium - unknown format
1983002 cannot read medium - incompatible format
1993003 cleaning cartridge installed
2003004 cannot write medium - unknown format
2013005 cannot write medium - incompatible format
2023006 cannot format medium - incompatible medium
2033007 cleaning failure
2043008 cannot write - application code mismatch
2053009 current session not fixated for append
2063100 medium format corrupted
2073101 format command failed
2083200 no defect spare location available
2093201 defect list update failure
2103300 tape length error
2113400 enclosure failure
2123500 enclosure services failure
2133501 unsupported enclosure function
2143502 enclosure services unavailable
2153503 enclosure services transfer failure
2163504 enclosure services transfer refused
2173600 ribbon, ink, or toner failure
2183700 rounded parameter
2193800 event status notification
2203802 esn - power management class event
2213804 esn - media class event
2223806 esn - device busy class event
2233900 saving parameters not supported
2243a00 medium not present
2253a01 medium not present - tray closed
2263a02 medium not present - tray open
2273a03 medium not present - loadable
2283a04 medium not present - medium auxiliary memory accessible
2293b00 sequential positioning error
2303b01 tape position error at beginning-of-medium
2313b02 tape position error at end-of-medium
2323b03 tape or electronic vertical forms unit not ready
2333b04 slew failure
2343b05 paper jam
2353b06 failed to sense top-of-form
2363b07 failed to sense bottom-of-form
2373b08 reposition error
2383b09 read past end of medium
2393b0a read past beginning of medium
2403b0b position past end of medium
2413b0c position past beginning of medium
2423b0d medium destination element full
2433b0e medium source element empty
2443b0f end of medium reached
2453b11 medium magazine not accessible
2463b12 medium magazine removed
2473b13 medium magazine inserted
2483b14 medium magazine locked
2493b15 medium magazine unlocked
2503b16 mechanical positioning or changer error
2513c/00
2523d00 invalid bits in identify message
2533e00 logical unit has not self-configured yet
2543e01 logical unit failure
2553e02 timeout on logical unit
2563e03 logical unit failed self-test
2573e04 logical unit unable to update self-test log
2583f00 target operating conditions have changed
2593f01 microcode has been changed
2603f02 changed operating definition
2613f03 inquiry data has changed
2623f04 component device attached
2633f05 device identifier changed
2643f06 redundancy group created or modified
2653f07 redundancy group deleted
2663f08 spare created or modified
2673f09 spare deleted
2683f0a volume set created or modified
2693f0b volume set deleted
2703f0c volume set deassigned
2713f0d volume set reassigned
2723f0e reported luns data has changed
2733f0f echo buffer overwritten
2743f10 medium loadable
2753f11 medium auxiliary memory accessible
2764000 ram failure (should use 40 nn)
27740nn diagnostic failure on component nn (80h-ffh)
2784100 data path failure (should use 40 nn)
2794200 power-on or self-test failure (should use 40 nn)
2804300 message error
2814400 internal target failure
2824500 select or reselect failure
2834600 unsuccessful soft reset
2844700 scsi parity error
2854701 data phase crc error detected
2864702 scsi parity error detected during st data phase
2874703 information unit crc error detected
2884704 asynchronous information protection error detected
2894800 initiator detected error message received
2904900 invalid message error
2914a00 command phase error
2924b00 data phase error
2934c00 logical unit failed self-configuration
2944dnn tagged overlapped commands (nn = queue tag)
2954e00 overlapped commands attempted
2964f/00
2975000 write append error
2985001 write append position error
2995002 position error related to timing
3005100 erase failure
3015200 cartridge fault
3025300 media load or eject failed
3035301 unload tape failure
3045302 medium removal prevented
3055400 scsi to host system interface failure
3065500 system resource failure
3075501 system buffer full
3085502 insufficient reservation resources
3095503 insufficient resources
3105504 insufficient registration resources
3115505 access controls code 4 (99-314) [proposed]
3125506 auxiliary memory code 1 (99-148) [proposed]
31356/00
3145700 unable to recover table-of-contents
3155800 generation does not exist
3165900 updated block read
3175a00 operator request or state change input
3185a01 operator medium removal request
3195a02 operator selected write protect
3205a03 operator selected write permit
3215b00 log exception
3225b01 threshold condition met
3235b02 log counter at maximum
3245b03 log list codes exhausted
3255c00 rpl status change
3265c01 spindles synchronized
3275c02 spindles not synchronized
3285d00 failure prediction threshold exceeded
3295d01 media failure prediction threshold exceeded
3305d02 logical unit failure prediction threshold exceeded
3315d10 hardware impending failure general hard drive failure
3325d11 hardware impending failure drive error rate too high
3335d12 hardware impending failure data error rate too high
3345d13 hardware impending failure seek error rate too high
3355d14 hardware impending failure too many block reassigns
3365d15 hardware impending failure access times too high
3375d16 hardware impending failure start unit times too high
3385d17 hardware impending failure channel parametrics
3395d18 hardware impending failure controller detected
3405d19 hardware impending failure throughput performance
3415d1a hardware impending failure seek time performance
3425d1b hardware impending failure spin-up retry count
3435d1c hardware impending failure drive calibration retry count
3445d20 controller impending failure general hard drive failure
3455d21 controller impending failure drive error rate too high
3465d22 controller impending failure data error rate too high
3475d23 controller impending failure seek error rate too high
3485d24 controller impending failure too many block reassigns
3495d25 controller impending failure access times too high
3505d26 controller impending failure start unit times too high
3515d27 controller impending failure channel parametrics
3525d28 controller impending failure controller detected
3535d29 controller impending failure throughput performance
3545d2a controller impending failure seek time performance
3555d2b controller impending failure spin-up retry count
3565d2c controller impending failure drive calibration retry count
3575d30 data channel impending failure general hard drive failure
3585d31 data channel impending failure drive error rate too high
3595d32 data channel impending failure data error rate too high
3605d33 data channel impending failure seek error rate too high
3615d34 data channel impending failure too many block reassigns
3625d35 data channel impending failure access times too high
3635d36 data channel impending failure start unit times too high
3645d37 data channel impending failure channel parametrics
3655d38 data channel impending failure controller detected
3665d39 data channel impending failure throughput performance
3675d3a data channel impending failure seek time performance
3685d3b data channel impending failure spin-up retry count
3695d3c data channel impending failure drive calibration retry count
3705d40 servo impending failure general hard drive failure
3715d41 servo impending failure drive error rate too high
3725d42 servo impending failure data error rate too high
3735d43 servo impending failure seek error rate too high
3745d44 servo impending failure too many block reassigns
3755d45 servo impending failure access times too high
3765d46 servo impending failure start unit times too high
3775d47 servo impending failure channel parametrics
3785d48 servo impending failure controller detected
3795d49 servo impending failure throughput performance
3805d4a servo impending failure seek time performance
3815d4b servo impending failure spin-up retry count
3825d4c servo impending failure drive calibration retry count
3835d50 spindle impending failure general hard drive failure
3845d51 spindle impending failure drive error rate too high
3855d52 spindle impending failure data error rate too high
3865d53 spindle impending failure seek error rate too high
3875d54 spindle impending failure too many block reassigns
3885d55 spindle impending failure access times too high
3895d56 spindle impending failure start unit times too high
3905d57 spindle impending failure channel parametrics
3915d58 spindle impending failure controller detected
3925d59 spindle impending failure throughput performance
3935d5a spindle impending failure seek time performance
3945d5b spindle impending failure spin-up retry count
3955d5c spindle impending failure drive calibration retry count
3965d60 firmware impending failure general hard drive failure
3975d61 firmware impending failure drive error rate too high
3985d62 firmware impending failure data error rate too high
3995d63 firmware impending failure seek error rate too high
4005d64 firmware impending failure too many block reassigns
4015d65 firmware impending failure access times too high
4025d66 firmware impending failure start unit times too high
4035d67 firmware impending failure channel parametrics
4045d68 firmware impending failure controller detected
4055d69 firmware impending failure throughput performance
4065d6a firmware impending failure seek time performance
4075d6b firmware impending failure spin-up retry count
4085d6c firmware impending failure drive calibration retry count
4095dff failure prediction threshold exceeded (false)
4105e00 low power condition on
4115e01 idle condition activated by timer
4125e02 standby condition activated by timer
4135e03 idle condition activated by command
4145e04 standby condition activated by command
4155e41 power state change to active
4165e42 power state change to idle
4175e43 power state change to standby
4185e45 power state change to sleep
4195e47 power state change to device control
4205f/00
4216000 lamp failure
4226100 video acquisition error
4236101 unable to acquire video
4246102 out of focus
4256200 scan head positioning error
4266300 end of user area encountered on this track
4276301 packet does not fit in available space
4286400 illegal mode for this track
4296401 invalid packet size
4306500 voltage fault
4316600 automatic document feeder cover up
4326601 automatic document feeder lift up
4336602 document jam in automatic document feeder
4346603 document miss feed automatic in document feeder
4356700 configuration failure
4366701 configuration of incapable logical units failed
4376702 add logical unit failed
4386703 modification of logical unit failed
4396704 exchange of logical unit failed
4406705 remove of logical unit failed
4416706 attachment of logical unit failed
4426707 creation of logical unit failed
4436708 assign failure occurred
4446709 multiply assigned logical unit
4456800 logical unit not configured
4466900 data loss on logical unit
4476901 multiple logical unit failures
4486902 parity/data mismatch
4496a00 informational, refer to log
4506b00 state change has occurred
4516b01 redundancy level got better
4526b02 redundancy level got worse
4536c00 rebuild failure occurred
4546d00 recalculate failure occurred
4556e00 command to logical unit failed
4566f00 copy protection key exchange failure - authentication failure
4576f01 copy protection key exchange failure - key not present
4586f02 copy protection key exchange failure - key not established
4596f03 read of scrambled sector without authentication
4606f04 media region code is mismatched to logical unit region
4616f05 drive region must be permanent/region reset count error
46270nn decompression exception short algorithm id of nn
4637100 decompression exception long algorithm id
4647200 session fixation error
4657201 session fixation error writing lead-in
4667202 session fixation error writing lead-out
4677203 session fixation error - incomplete track in session
4687204 empty or partially written reserved track
4697205 no more track reservations allowed
4707300 cd control error
4717301 power calibration area almost full
4727302 power calibration area is full
4737303 power calibration area error
4747304 program memory area update failure
4757305 program memory area is full
4767306 rma/pma is full
47774/00
47875/00
47976/00
48077/00
48178/00
48279/00
4837a/00
4847b/00
4857c/00
4867d/00
4877e/00
4887f/00
489