Log sense 4dh, Log sense 4dh 62, Pre-execution checks – HP C737990900 User Manual
Page 62: Command descriptor block: cdb fields

62
Commands
LOG SENSE
4Dh
LOG SENSE
allows the host to read the drive’s logs. A single log is returned
with each invocation of
LOG SENSE
.
Pre-Execution Checks:
The Page Code must match one of the supported log page codes. If it does not,
then
CHECK CONDITION
status is reported. Sense data will be as described in
the Illegal Field Checks.
Command Descriptor Block:
CDB Fields:
Illegal Field
Deferred Error
Unit Attention
7
6
5
4
3
2
1
0
0
Operation Code (4Dh)
1
Reserved (0)
PPC (0)
SP (0)
2
PC
Page Code
3
Reserved (0)
6
7
(MSB)
Allocation Length
8
(LSB)
9
Control
PC
The Page Control field defines the type of log parameter to be returned:
00b Current Threshold Values—any parameters in the log that are counters contain the
maximum value that they can count to.
01b Current Cumulative Values—any parameters in the log that are counters contain their
current counts.
Note:
Counts are reset to their default cumulative values (see below) following a power-on,
reset or bus device reset. Media related counts are also reset following a load.
10b Default Threshold Values—same as the Current Threshold Values