![]() |
![]()
| ![]() |
![]()
NAMEscgskeleton - Skeleton program for SCSI transport using libscg SYNOPSISscgskeleton dev=device [ options ] DESCRIPTIONScgskeleton is s skeleton program to demonstrate the interfaces and capabilities of the SCSI transport library libscg. Device namingFor a list of possible device name parameters call scgskeleton -scanbus or scgskeleton dev=help and then use the right dev= parameter based on the device listing. OPTIONS
EXAMPLESENVIRONMENT
SEE ALSOcdrecord(1), scg(4), rcmd(3), ssh(1). NOTESDIAGNOSTICSA typical error message for a SCSI command looks like: scgskeleton: I/O error. test unit ready: scsi sendcmd: no error CDB: 00 20 00 00 00 00 status: 0x2 (CHECK CONDITION) Sense Bytes: 70 00 05 00 00 00 00 0A 00 00 00 00 25 00 00 00 00 00 Sense Key: 0x5 Illegal Request, Segment 0 Sense Code: 0x25 Qual 0x00 (logical unit not supported) Fru 0x0 Sense flags: Blk 0 (not valid) cmd finished after 0.002s timeout 40s The second line prints the SCSI command descriptor block for the failed command. The third line gives information on the SCSI status code returned by the command, if the transport of the command succeeds. This is error information from the SCSI device. The fourth line is a hex dump of the auto request sense information for the command. The fifth line is the error text for the sense key if available, followed by the segment number that is only valid if the command was a copy command. If the error message is not directly related to the current command, the text deferred error is appended. The sixth line is the error text for the sense code and the sense qualifier if available. If the type of the device is known, the sense data is decoded from tables in scsierrs.c . The text is followed by the error value for a field replaceable unit. The seventh line prints the block number that is related to the failed command and text for several error flags. The block number may not be valid. The eight line reports the timeout set up for this command and the time that the command really needed to complete. BUGSNone currently known. Mail bugs and suggestions to schilytools@mlists.in-berlin.de or open a ticket at https://codeberg.org/schilytools/schilytools/issues The mailing list archive may be found at: https://mlists.in-berlin.de/mailman/listinfo/schilytools-mlists.in-berlin.de AUTHORSJoerg Schilling and the schilytools project authors. SOURCE DOWNLOADThe source code for scgskeleton is included in the schilytools project and may be retrieved from the schilytools project at Codeberg at: https://codeberg.org/schilytools/schilytools/ The download directory is: https://codeberg.org/schilytools/schilytools/releases
|