HEX
Server: Apache
System: Linux pdx1-shared-a1-38 6.6.104-grsec-jammy+ #3 SMP Tue Sep 16 00:28:11 UTC 2025 x86_64
User: mmickelson (3396398)
PHP: 8.1.31
Disabled: NONE
Upload Files
File: //usr/share/doc/scsitools/README.scsiinfo
	This is version 1.7 of scsiinfo.  The program itself is pretty
much the same, but there is now support for modifying the parameters
on the pages.  This is not easy to do through scsiinfo alone unless
you pay close attention - it is trivial to do through the X-based
interface.

	The X interface uses Tck/Tk and wish rather heavily.  The
advantage is that the "source" files are merely short scripts, so
there is not a lot of work involved in getting the windows laid out
and so forth.  Currently only the cache control page has a window
associated with the page.  The others have stub scripts which do not
do anything yet.

	Anyway, you can use the Makefile to compile and link scsiinfo,
and then use the "make install" command to move everything to the
correct directories.  Both the scsiinfo binary and the scsi-config
script (the X-based interface) are moved to /usr/bin.

	Note:  In the X based interface, you will not be able to change
some fields.  The fields that are protected are the ones that your drive
reports as being unmodifiable.

	Have fun.  BTW: don't turn on the write cache unless you
really know what you are doing.

	Warning, the defect list code prints correct data if the target
supports the indexbytes list format. Some disks may have problems
with that. My do actually crash the system (hard reset causes reboot but
SCSI lockups shortly after on my System (AHA1742 with Toshiba and IBM disks),
complete powercycle was needed) if queried for other formats. (Michael)

	UPDATE: I could track the problem down. The kernel allows only for
4K of output data. scsiinfo signalled it would be able to receive more data,
and the factory lists are usually longer. The devices were not able to deal
with that gracefully... scsiinfo now passes a correct allocation length.
See TODO.

	Be careful with these tools and esp. the scsi low-level formatter.
During my coding it had some timing problems and started mke2fs'ing while
formatting and such. I was easily able to crash my system. In general be
careful. I tried to make it very solid, but you now... Esp. the 'query
device from progress' mode is not very well tested as not all of my hardware
allows to use it.