Log Sense Command - Seagate ST11200 Product Manual

Hide thumbs Also See for ST11200:
Table of Contents

Advertisement

Product Manual - Disc Drive SCSI-2/SCSI-3 Interface (Vol. 2; Ver. 2), Rev. E
_____________________________________________________________________________________
5.1.3.3
Log Sense Command (4Dh)[1]
The Log Sense command provides a means for an initiator to retrieve statistical information maintained by
the drive about the drive operation. It is a complementary command to the Log Select Command. This
information is stored in logs (counters) in the drive and is sent to the initiator in the data-in phase of the Log
Sense command. The Log Sense command format that the initiator sends is shown in Figure 5.1.3.3-1. The
format of the data pages sent back by the drive in the data-in phase is shown in Figure 5.1.3.2-3.
Bit
7
Byte(s)
0
1
0
2
PC [3]
3
4
5
(MSB)
6
7
(MSB)
8
9
0
[1]
Not supported by Standard OEM drives, but is a factory installed option.
Notes.
[1] Parameter Pointer Control (PPC). A PPC bit of one indicates that the drive shall return a log page with
only those log parameters that have changed since the last Log Select or Log Sense command. The
drive returns log parameter codes following (in ascending numerical order) the parameter code specified
in the Parameter Pointer (bytes 5 & 6—see note [5]).
A PPC bit of zero indicates that all of the log parameter data requested from the drive, whether changed
or not, is sent and it begins with the log specified by the parameter code given in the Parameter Pointer
field and returns the number of bytes specified by the allocation length field, in ascending order of param-
eter codes starting at the parameter code given in the Parameter Pointer field. A PPC bit of zero and a
Parameter Pointer field of zero causes all available log parameters for the specified log page to be
returned to the initiator subject to the allocation length.
[2] Save Parameters bit (SP). If SP bit is zero the drive performs the specified Log Sense command and
does not save any log parameters to non-volatile memory. If SP bit is one the drive first saves param-
eters identified as savable (by the DS bit in Table 5.1.3.2-4) to a nonvolatile location, and then performs
the rest of the Log Sense command.
[3] Page Control (PC). This field defines the type of drive log parameter the initiator requests the drive to
send back on the data-in phase. See Table 5.1.3.2-2 for definition of this field. The parameter values
returned on the data-in phase are from one of the following:
Table 5.1.3.3-1. The Log Sense Command (4Dh)
6
5
Operation Code (4Dh)
0
0
Reserved
Page Code [4]
Reserved
Reserved
Parameter Pointer [5]
Allocation Length [6]
0
0
4
3
0
0
2
1
PPC
SP [2]
[1]
(LSB)
(LSB)
0
Flag [7]
Link [7]
119
0

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents