
31
SCSI SWITCH (FOR AS/400
®
)
Purpose:
Dump. This command dumps the contents of the
controller’s trace buffer. The controller trace buffer holds
1024 trace entries. Trace entries track events on the SCSI
busses, and events that occur within the controller. The
trace buffer is useful for determining what the controller
was doing when it crashed, was interrupted, etc. The trace
buffer is implemented as a circular buffer, so when it
overflows, it overwrites the oldest trace entries. When
displaying the trace buffer, the current index is printed
before dumping the buffer. This index can be used to
determine the last event that occurred. The trace buffer is
displayed a page at a time. If an index is specified, the
dump will start at that index. The monitor has range
checking so if an index is specified that has no entry in it
the monitor will tell the user that the index is out of range.
Also, if there are no entries in the trace buffer, the monitor
will print No trace entries in buffer. Any time there is an
error, the user is returned to the monitor prompt.
Examples:
>D
Next available index = 9e
0000: Target: Cmd 12h submitted
0001: Target: Ext msg received (01h) WDTR:
0002: Width = 10h
0003: Target: Ext msg received (01h) SDTR:
0004: Period = 64h
0005: Offset = 10h
0006: Target: status = 00h
0007: Target: 12h Command complete
0008: Target: Cmd 12h submitted
0009: Target: status = 00h
000a: Target: 12h Command complete
000b: Target: Cmd 12h submitted
000c: Target: status = 00h
000d: Target: 12h Command complete
000e: Target: Cmd 00h submitted
000f: Target: status = 02h
0010: Target: 00h Command complete
0011: Target: Cmd 03h submitted
0012: Target: status = 00h
0013: Target: 03h Command complete
— More —