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

dev/moni/scsidebug.lha

Mirror:Random
Showing:m68k-amigaosppc-amigaosppc-morphosi386-arosi386-amithlonppc-warpupppc-powerupgeneric
No screenshot available
Short:Intercept SCSI commands to device unit
Author:Fredrik Wikstrom
Uploader:Fredrik Wikstrom <fredrik a500 org>
Type:dev/moni
Version:1.1
Architecture:ppc-amigaos
Date:2009-08-09
Download:http://aminet.net/dev/moni/scsidebug.lha - View contents
Readme:http://aminet.net/dev/moni/scsidebug.readme
Downloads:4752

This program intercepts all direct SCSI commands sent to the device unit
specified and outputs information about them using DebugPrintF().

The program can be stopped by sending it a CTRL-C signal.

Usage:

SCSIDebug DEVICE/A,UNIT/N/A

F.e. to monitor SCSI commands sent to sii3114ide.device unit 3 the following
commands could be used:
run scsidebug sii3114ide.device 3
sashimi

The debug output uses the following format (the lengths are in decimal, all
other numbers are in hexadecimal):
scsi_Data: 0x5cafdd38
scsi_Length: 12
scsi_Command: 43 00 01 00 00 00 00 00 0c 40
scsi_CmdLength: 10
scsi_Flags: 0x03
scsi_Status: 0x00
scsi_SenseData: 0x5cafdd44
scsi_SenseLength: 20

Changes:

1.1 (9-Aug-2009)
 - First released version


Contents of dev/moni/scsidebug.lha
 PERMSSN    UID  GID    PACKED    SIZE  RATIO METHOD CRC     STAMP          NAME
---------- ----------- ------- ------- ------ ---------- ------------ -------------
[generic]                 3196    7260  44.0% -lh5- 425b Aug  9 08:36 SCSIDebug
[generic]                 1052    2806  37.5% -lh5- 0e11 Aug  9 08:33 scsidebug.c
[generic]                  110     193  57.0% -lh5- f409 Aug  9 08:36 SCSIDebug_rev.h
[generic]                  122     239  51.0% -lh5- 43bb Aug  9 08:36 SCSIDebug_rev.i
[generic]                    2       2 100.0% -lh0- 9795 Aug  9 08:36 SCSIDebug_rev.rev
[generic]                  130     252  51.6% -lh5- 2d89 Aug  9 08:36 SCSIDebug_rev.s
[generic]                  504     931  54.1% -lh5- 7ec0 Aug  9 09:00 scsidebug.readme
---------- ----------- ------- ------- ------ ---------- ------------ -------------
 Total         7 files    5116   11683  43.8%            Aug  9 07:12

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