Dell PowerVault TL4000 SCSI Reference Guide - Page 27

Event, Structure

Page 27 highlights

Bit 7 6 5 4 3 2 1 0 Byte 0 Reserved Page Code (07h) 1 Reserved 2 - 3 Page Length 4 xxxxh Events Structures Field descriptions: Page Code: The Page Code echoes the page code that was specified in the LOG SENSE CDB. Page Length: The Page Length specifies the total number of event bytes, not including the four bytes for this header. Event Structure: An event structure consists of a header and a variable number of event data bytes. This structure is defined in the next table. Event Structure An event structure consists of two parts: a 13 byte event header and (optional) event data. The event header contains info about event type, source module of event, time of event, data type, and event data length. The optional event data does not exceed 114 bytes. When this field is returned it contains specific information about the event. See next structure: Byte 0 1 2 3 4 5 - 6 7 - 10 11 12 13 - n Bit 7 (MSB) DU(0) 6 5 4 3 2 1 Parameter Code DS(1) TSD(0) ETC(0) TMC(0) Reserved Parameter Length (n-3) Event type Source module ID of event Time of event (sec) Data type of event data Length of event data Event data (0..114 bytes) Reserved 0 (LSB) LP Field descriptions: Parameter Code: The Parameter Code is a 2-byte value that uniquely identifies the event within the log. DU: Disable Update is set for any parameter that the Host cannot reset. DS: Disable Save. The media changer has no support for SP bit. Set to 1. TSD: Target shall determine save method, set to 0. ETC: No threshold comparison, set to 0. Chapter 3. Supported SCSI Commands 3-13

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82
  • 83
  • 84
  • 85
  • 86
  • 87
  • 88
  • 89
  • 90
  • 91
  • 92
  • 93
  • 94
  • 95
  • 96
  • 97
  • 98
  • 99
  • 100
  • 101
  • 102
  • 103
  • 104
  • 105
  • 106
  • 107
  • 108
  • 109
  • 110
  • 111
  • 112
  • 113
  • 114
  • 115
  • 116

Bit
7
6
5
4
3
2
1
0
Byte
0
Reserved
Page
Code
(07h)
1
Reserved
2
-
3
Page
Length
4
-
xxxxh
Events
Structures
Field
descriptions:
Page
Code:
The
Page
Code
echoes
the
page
code
that
was
specified
in
the
LOG
SENSE
CDB.
Page
Length:
The
Page
Length
specifies
the
total
number
of
event
bytes,
not
including
the
four
bytes
for
this
header.
Event
Structure:
An
event
structure
consists
of
a
header
and
a
variable
number
of
event
data
bytes.
This
structure
is
defined
in
the
next
table.
Event
Structure
An
event
structure
consists
of
two
parts:
a
13
byte
event
header
and
(optional)
event
data.
The
event
header
contains
info
about
event
type,
source
module
of
event,
time
of
event,
data
type,
and
event
data
length.
The
optional
event
data
does
not
exceed
114
bytes.
When
this
field
is
returned
it
contains
specific
information
about
the
event.
See
next
structure:
Bit
7
6
5
4
3
2
1
0
Byte
0
(MSB)
Parameter
Code
1
(LSB)
2
DU(0)
DS(1)
TSD(0)
ETC(0)
TMC(0)
Reserved
Reserved
LP
3
Parameter
Length
(n-3)
4
Event
type
5
-
6
Source
module
ID
of
event
7
-
10
Time
of
event
(sec)
11
Data
type
of
event
data
12
Length
of
event
data
13
-
n
Event
data
(0..114
bytes)
Field
descriptions:
Parameter
Code:
The
Parameter
Code
is
a
2-byte
value
that
uniquely
identifies
the
event
within
the
log.
DU:
Disable
Update
is
set
for
any
parameter
that
the
Host
cannot
reset.
DS:
Disable
Save.
The
media
changer
has
no
support
for
SP
bit.
Set
to
1.
TSD:
Target
shall
determine
save
method,
set
to
0.
ETC:
No
threshold
comparison,
set
to
0.
Chapter
3.
Supported
SCSI
Commands
3-13