scsi programming howto 10 a5gskcmtswynkalogztgbibumani4vxmxz3z64y a5gskcmtswynkalogztgbibumani4vxmxz3z64y A5GSKCMTSWYNKALOGZTGBIBUMANI4VXMXZ3Z64Y


The Linux SCSI programming HOWTO: The Sense Buffer 10. The Sense BufferCommands with no output data can give status information via the sense buffer (which is part of the header structure). Sense data is available when the previous command has terminated with a CHECK CONDITION status. In this case the kernel automatically retrieves the sense data via a REQUEST SENSE command. Its structure is: +=====-========-========-========-========-========-========-========-========+ | Bit| 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 | |Byte | | | | | | | | | |=====+========+==============================================================| | 0 | Valid | Error Code (70h or 71h) | |-----+-----------------------------------------------------------------------| | 1 | Segment Number | |-----+-----------------------------------------------------------------------| | 2 |Filemark| EOM | ILI |Reserved| Sense Key | |-----+-----------------------------------------------------------------------| | 3 | (MSB) | |- - -+--- Information ---| | 6 | (LSB) | |-----+-----------------------------------------------------------------------| | 7 | Additional Sense Length (n-7) | |-----+-----------------------------------------------------------------------| | 8 | (MSB) | |- - -+--- Command-Specific Information ---| | 11 | (LSB) | |-----+-----------------------------------------------------------------------| | 12 | Additional Sense Code | |-----+-----------------------------------------------------------------------| | 13 | Additional Sense Code Qualifier | |-----+-----------------------------------------------------------------------| | 14 | Field Replaceable Unit Code | |-----+-----------------------------------------------------------------------| | 15 | SKSV | | |- - -+------------ Sense-Key Specific ---| | 17 | | |-----+-----------------------------------------------------------------------| | 18 | | |- - -+--- Additional Sense Bytes ---| | n | | +=============================================================================+Note: The most useful fields are Sense Key (see section sec-sensekeys), Additional Sense Code and Additional Sense Code Qualifier (see section sec-sensecodes). The latter two are used combined as a pair. P

Wyszukiwarka

Podobne podstrony:
scsi programming howto 9 3jxdidrasalq2eo3w3i73fevcxz5mpllzetldha 3jxdidrasalq2eo3w3i73fevcxz5mpllzet
scsi programming howto 17 yyzng72kayyjt6u3epvmcc72jcmahcrgnbyw47q yyzng72kayyjt6u3epvmcc72jcmahcrgnb
scsi programming howto 19 tvnyc4asf2eciypved4vepijvxryv3yoxuakzqa tvnyc4asf2eciypved4vepijvxryv3yoxu
scsi programming howto 5 iudk2eijpgqn5fxhziz2qcm2wqnfvm3h7td4y7q iudk2eijpgqn5fxhziz2qcm2wqnfvm3h7td
scsi programming howto 3 vaemb2uqd546f7vqu4hbkt46g6jz2kos7bqn7tq vaemb2uqd546f7vqu4hbkt46g6jz2kos7bq
scsi programming howto 24 kbiu3ii33muk2zwhonskggxblxnambu562wiffy kbiu3ii33muk2zwhonskggxblxnambu562
scsi programming howto 11 qscz46dntpyrpti3ojx4fqimnmcop7ppvpmdlii qscz46dntpyrpti3ojx4fqimnmcop7ppvp
scsi programming howto 6 jqatviqf4eipkn7bjpcqjuekduhu5hsx7ejepai jqatviqf4eipkn7bjpcqjuekduhu5hsx7ej
scsi programming howto 2 iplfm7qjrv56jx3mtqbqdgivruoewwmejnhcqmy iplfm7qjrv56jx3mtqbqdgivruoewwmejnh
scsi programming howto 16 r5drsnydxdl76gmchb7soo37q6pr4w3pyo37qcy r5drsnydxdl76gmchb7soo37q6pr4w3pyo
scsi programming howto 8 pxfbc7whzdqecgpottpqtsa3m4zmfhthdg3gccy pxfbc7whzdqecgpottpqtsa3m4zmfhthdg3
scsi programming howto 13 roy76bdfyxnkcd5w3od5qelwdyvln5oy2zdrn2i roy76bdfyxnkcd5w3od5qelwdyvln5oy2z
scsi programming howto 7 6zgsrfbt7pzu3npkxcejaptdpgaqqmnqbruwlmq 6zgsrfbt7pzu3npkxcejaptdpgaqqmnqbru
scsi programming howto 7 6zgsrfbt7pzu3npkxcejaptdpgaqqmnqbruwlmq 6zgsrfbt7pzu3npkxcejaptdpgaqqmnqbru
scsi programming howto 4 gy5lc6tctrvmkb7hhakx47hhda2e27uc6crahbi gy5lc6tctrvmkb7hhakx47hhda2e27uc6cr
scsi programming howto 12 rr75gq6lzcbdqx24nghpwq5b4tjwki7kdvr6uda rr75gq6lzcbdqx24nghpwq5b4tjwki7kdv
scsi programming howto z3jyxffnqg3jhkaktoobblk3wt2ryiwdb2e44si z3jyxffnqg3jhkaktoobblk3wt2ryiwdb2e44

więcej podobnych podstron