Short: Prints internal infos of SCSI devices Uploader: thor@einstein.math.tu-berlin.de (Thomas Richter) Author: thor@einstein.math.tu-berlin.de (Thomas Richter) Type: disk/misc Version: 1.15 Requires: Os 2.04, a true SCSI-2 device (HD,CD mostly) _____________________________________________________________________________ Fixed the mis-interpretation of one bit in the caching page. The Read-Capacity/Read defect list command is no longer sent to tape devices which usually do not provide this command. Added some additional mode pages. _____________________________________________________________________________ This tool prints all internal information of a SCSI device it can hold of, including the mode pages and the bad block lists. This might be interesting for developers of SCSI software and hardware. SCSIQuery replaces the older ProbSCSI which doesn't seem to run stable under certain (and in some sense broken) hardware, like the CyberSCSI device which doesn't seem to follow the RKRMs on each word. Features: - Prints the device inquiry status - Prints SCSI mode pages by their structure. It knowns most HD and CD rom pages, and unknown pages are printed in hex dump. - Prints the device capacity. - Prints the defect list. - Knows some Iomega extensions, most noticable for ZIP and JAZ. However, this is far from being complete due to the strange information policy of Iomega. - tested on the gvpscsi.device, the oktagon.device and the (cyber)scsi.device. Should work on every device that follows the RKRMs scsi.device documentations (roughly, at least). To do: Quite a lot, actually. However, it doesn't look I'm gonna have a lot of time to develop this program further. It currently does what it is supposed to do, but could do a lot better. - A GUI is missing. I'm just to lazy to write one in the current state of this program. - SCSIQuery doesn't allow to change or save the mode pages. - Only mode pages for HD and CD are supported, no scanner/printer/ floptical and other SCSI device support. More mode pages might be added on request. - No LOG PAGES support yet. - The readme is really a bit unhelpful. This program really lacks a full detailed guide. However, lack of time... (-; Additional note: Requests about what the output of this program means ARE NOT welcome. The SCSI-II specifications are available in public and they include all this information. WANTED - WANTED - WANTED - WANTED - WANTED - WANTED - WANTED - WANTED - WANTED More SCSI mode page informations. I'm able to implement all official pages of the SCSI-II specifications since I've a copy of the SCSI specifications, however, there are more, vendor specific pages I've no idea about. Getting hold of the Iomega specifications would really, really help. If you've ANY information about these (not the official SCSI-II pages!) additional pages, please, please PLEASE LEMME KNOW! WANTED - WANTED - WANTED - WANTED - WANTED - WANTED - WANTED - WANTED - WANTED _________________________________________________________________________________ Installation: Just copy it whereever you want to keep it. Needs nothing more. Synopsis: SCSIQuery HANDLER,DEVICE/K,UNIT/N,FLAGS/N HANDLER the name of the DOS handler controlling a SCSI device. DO NOT specify handlers that are not linked to SCSI devices, this will either abort with an error message in the best case, or crashes the system in the worst case. DEVICE alternatively, the exec style device to look at. UNIT the unit of the exec device to investigate. FLAGS flags used for opening the specific device; defaults to zero and are not required in most cases. Examples: To investigate your system partition, try: SCSIQuery DH0: To print information about your CD ROM, try: SCSIQuery CD0: To query the SCSI device connected to the "gvpscsi.device", unit 6, try: SCSIQuery DEVICE=gvpscsi.device UNIT=6 To query the SCSI device connected to the "oktagon.device", unit 0, try: SCSIQuery DEVICE=oktagon.device UNIT=0 _____________________________________________________________________________ Special thanks goes to Werner Müller for testing. This program was actually written to help him finding problems in his SCSI configuration. _____________________________________________________________________________ The THOR-Software Licence (v2, 24th June 1998) This License applies to the computer programs known as "SCSIQuery". The "Program", below, refers to such program. The "Archive" refers to the original and unmodified package of distribution, as prepared by the author of the Program. Each licensee is addressed as "you". The Program and the data in the archive are freely distributable under the restrictions stated below, but are also Copyright (c) Thomas Richter. Distribution of the Program, the Archive and the data in the Archive by a commercial organization without written permission from the author to any third party is prohibited if any payment is made in connection with such distribution, whether directly (as in payment for a copy of the Program) or indirectly (as in payment for some service related to the Program, or payment for some product or service that includes a copy of the Program "without charge"; these are only examples, and not an exhaustive enumeration of prohibited activities). However, the following methods of distribution involving payment shall not in and of themselves be a violation of this restriction: (i) Posting the Program on a public access information storage and retrieval service for which a fee is received for retrieving information (such as an on-line service), provided that the fee is not content-dependent (i.e., the fee would be the same for retrieving the same volume of information consisting of random data). (ii) Distributing the Program on a CD-ROM, provided that a) the Archive is reproduced entirely and verbatim on such CD-ROM, including especially this licence agreement; b) the CD-ROM is made available to the public for a nominal fee only, c) a copy of the CD is made available to the author for free except for shipment costs, and d) provided further that all information on such CD-ROM is redistributable for non-commercial purposes without charge. Redistribution of a modified version of the Archive, the Program or the contents of the Archive is prohibited in any way, by any organization, regardless whether commercial or non-commercial. Everything must be kept together, in original and unmodified form. Limitations. THE PROGRAM IS PROVIDED TO YOU "AS IS", WITHOUT WARRANTY. THERE IS NO WARRANTY FOR THE PROGRAM, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT OF THIRD PARTY RIGHTS. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION. IF YOU DO NOT ACCEPT THIS LICENCE, YOU MUST DELETE THE PROGRAM, THE ARCHIVE AND ALL DATA OF THIS ARCHIVE FROM YOUR STORAGE SYSTEM. YOU ACCEPT THIS LICENCE BY USING OR REDISTRIBUTING THE PROGRAM. Thomas Richter _____________________________________________________________________________ And now, have fun! Thomas (August 1998)