AminetAminet
Search:
84714 packages online
About
Recent
Browse
Search
Upload
Setup
Services

disk/misc/SCSIQuery.lha

Mirror:Random
Showing:m68k-amigaosppc-amigaosppc-morphosi386-arosi386-amithlonppc-warpupppc-powerupgeneric
No screenshot available
Short:Prints internal infos of SCSI devices
Author:thorfdbg at alumni.tu-berlin.de (Thomas Richter)
Uploader:thorfdbg alumni tu-berlin de (Thomas Richter)
Type:disk/misc
Version:1.34
Requires:a true SCSI device (HD,CD mostly)
Architecture:m68k-amigaos >= 2.0.4
Date:2018-12-15
Download:http://aminet.net/disk/misc/SCSIQuery.lha - View contents
Readme:http://aminet.net/disk/misc/SCSIQuery.readme
Downloads:2618

_____________________________________________________________________________

Changes made for 1.34:

- Fixed some typos.
- The read-capacity with non-zero PMI flag is now
  initiated from the start of the disk, similar to
  HDToolBox. This should return a data related to the
  track size.
_____________________________________________________________________________

Changes made for 1.33:

- Some cosmetical changes in the output format.
- The Iomega specific field "Format count" was incorrectly printed as
  "BadFlag". Fixed.
_____________________________________________________________________________

Changes made for 1.32:

- Added more support for Iomega, mainly JAZ related.
_____________________________________________________________________________

Changes made for 1.30:

- Fixed a bug for the notch page output.
- Added notch support, can be disabled with the NONOTCHES option.
_____________________________________________________________________________

Changes made for 1.21:

- Disabled one error check when getting the extended inquiry data. Some
  old device drivers seem to fail getting them correctly. I can't reproduce
  this.
_____________________________________________________________________________

Changes made for 1.20:

- Fixed a *fatal* bug that could have caused really serious crashes.
  Forgot to cast correctly, leading trashing innocent memory. Outch!
  *Sorry, sorry, sorry, sorry!*
- Enhanced the Iomega extension output.
_____________________________________________________________________________

Changes made for 1.19:

- Made the defect list format selectable, with autoselect for Iomega.
- SCSIQuery prints now the extended INQUIRY data.
- SCSIQuery detects now automatically whether a device name or a DOS
  device driver is given.
_____________________________________________________________________________

Changes made for 1.18:

- Added more sanity checks, fixed a possible enforcer hit. Thanks to 
  Gene Heskett for reporting.
- Changed the bad block default format to head/sector addressing rather
  than bytes from index. This avoids trouble with Iomega devices.
_____________________________________________________________________________

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 - not the output of the program - 
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/A,UNIT/N,FLAGS/N,DEFECTLIST/K,NONOTCHES/S

	
	HANDLER=DEVICE	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. You *HAVE TO* place
			a trailing colon ":", e.g. "ZIP:".
			Alternatively, an exec style device, it *MUST*
			end with ".device", e.g. "omniscsi.device"

	UNIT		the unit of the exec device to investigate, required
			if an exec device name was specified.

	FLAGS		flags used for opening the specific device;
			defaults to zero and are not required in most cases.

	DEFECTLIST	the type of defect list to inquiry from the device.
			Possible defect list specifiers are:

		OFF		Do not print a defect list.
		INDEX		Specify defaults as bytes from an index on 
				the tracks.
		PHYSICAL	Specify defaults as physical head, cylinder
				and block.
		BLOCK		Specify defects as block offsets from the
				start of the drive.
		DEFAULT		Use the INDEX method for all drivers except
				for Iomega devices which use the PHYSICAL
				type.

	NONOTCHES	disables notch specific information. In case
			SCSIQuery finds that the device to be investigated
			has more than one notch, SCSIQuery will try to
			print the notch dependent information separately
			for each notch available. 

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 gvpscsi.device UNIT=6


To query the SCSI device connected to the "oktagon.device", unit 0, try:

SCSIQuery 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		(December 2018)


Contents of disk/misc/SCSIQuery.lha
PERMISSION  UID  GID    PACKED    SIZE  RATIO METHOD CRC     STAMP     NAME
---------- ----------- ------- ------- ------ ---------- ------------ ----------
[unknown]                15218   39404  38.6% -lh5- 4260 Dec 15 16:17 SCSIQuery
[unknown]                 4133   10224  40.4% -lh5- 2e5a Dec 15 16:21 SCSIQuery.readme
---------- ----------- ------- ------- ------ ---------- ------------ ----------
 Total         2 files   19351   49628  39.0%            Dec 15 20:42

Aminet © 1992-2024 Urban Müller and the Aminet team. Aminet contact address: <aminetaminet net>