add nvme error codes Reference: /n/atom/patch/applied/nvmecodes Date: Fri Sep 18 04:55:48 CES 2015 Signed-off-by: quanstro@quanstro.net --- /sys/lib/nvmecodes Thu Jan 1 00:00:00 1970 +++ /sys/lib/nvmecodes Fri Sep 18 04:55:41 2015 @@ -0,0 +1,76 @@ +#!/bin/rc +{ + echo sadly, i think this needs to be done by hand +} # > nnvmecodes && mv nnvmecodes nvmecodes +exit +0000 successful completion +0001 invalid command opcode +0002 invalid field in command +0003 command id conflict +0004 data transfer error +0005 commands aborted due to power loss notification +0006 internal device error +0007 command abort requested +0008 command aborted due to sq deletion +0009 command aborted due to failed fused command +000a command aborted due to missing fused command +000b invalid namespace or format +000c command sequence error +000d invalid sgl segment descriptor +000e invalid number of sgl descriptors +000f data sgl length invalid +0010 metadata sgl length invalid +0011 sgl descriptor type invalid +0012 invalid use of controller memory buffer +0013 prp offset invalid +0014 atomic write unit exceeded +0080 lba out of range +0081 capacity exceeded +0082 namespace not ready +0083 reservation conflict +0084 format in progress +00ff generic status + +0100 completion queue invalid +0101 invalid queue identifier +0102 maximum queue size exceeded +0103 abort command limit exceeded +0104 reserved +0105 asynchronous event request limit exceeded +0106 invalid firmware slot +0107 invalid firmware image +0108 invalid interrupt vector create +0109 invalid log page +010a invalid format +010b firmware application requires conventional reset +010c invalid queue deletion +010d feature identifier not saveable set features +010e feature not changeable set features +010f feature not namespace specific set features +0110 firmware activation requires nvm subsystem +0111 firmware activation requires reset +0112 firmware activation requires maximum time violation +0113 firmware activation prohibited +0114 overlapping range +0115 namespace insufficient capacity +0116 namespace identifier unavailable +0117 reserved +0118 namespace already attached +0119 namespace is private +011a namespace not attached +011b thin provisioning not supported +011c controller list invalid +0180 conflicting attributes dataset management +0181 invalid protection information compare +0182 attempted write to read only range +01ff command specific status + +0280 write fault +0281 unrecovered read error +0282 end-to-end guard check error +0283 end-to-end application tag check error +0284 end-to-end reference tag check error +0285 compare failure +0286 access denied +0287 deallocated or unwritten logical block +02ff media errors