dmake: do not set MAKEFLAGS=k
[unleashed/tickless.git] / usr / src / cmd / fm / eversholt / files / common / storage.esc
blob353ad05bc52d28e429b4c6b176193e4a2031ce8c
1 /*
2  * CDDL HEADER START
3  *
4  * The contents of this file are subject to the terms of the
5  * Common Development and Distribution License (the "License").
6  * You may not use this file except in compliance with the License.
7  *
8  * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9  * or http://www.opensolaris.org/os/licensing.
10  * See the License for the specific language governing permissions
11  * and limitations under the License.
12  *
13  * When distributing Covered Code, include this CDDL HEADER in each
14  * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15  * If applicable, add the following below this CDDL HEADER, with the
16  * fields enclosed by brackets "[]" replaced with your own identifying
17  * information: Portions Copyright [yyyy] [name of copyright owner]
18  *
19  * CDDL HEADER END
20  */
23  * Copyright (c) 2010, Oracle and/or its affiliates. All rights reserved.
24  */
26 #pragma dictionary "STORAGE"
29  * Fault event definitions.
30  */
32 event fault.config.fan-fail@ses-enclosure;
33 event fault.config.fantray-fail@ses-enclosure;
34 event fault.config.psu-fail@ses-enclosure;
35 event fault.device.controller.fail@controller;
36 event fault.device.ethernet.fail@controller;
37 event fault.device.ethernet.fail@sas-expander;
38 event fault.device.fan.fail@fan;
39 event fault.device.fan.fail@fanmodule;
40 event fault.device.psu.fail@psu;
41 event fault.device.psu.fail@psu;
42 event fault.device.sas-expander.fail@sas-expander;
43 event fault.device.unusable-chassis-id@fanboard;
44 event fault.io.i2c.fail@controller;
45 event fault.io.i2c.fail@fanboard;
46 event fault.io.i2c.fail@fanmodule;
47 event fault.io.i2c.fail@powerboard;
48 event fault.io.i2c.fail@psu;
49 event fault.io.sas.log.fatal@sas-expander;
50 event fault.io.sas.log.non-fatal@sas-expander;
51 event fault.power.ext-fail@ses-enclosure;
52 event fault.power.fail@controller;
53 event fault.power.fail@controller;
54 event fault.power.fail@controller;
55 event fault.power.fail@fanmodule;
56 event fault.power.fail@fanmodule;
57 event fault.power.fail@psu;
58 event fault.power.fail@psu;
59 event fault.sensor.read-fail@controller;
60 event fault.sensor.read-fail@fanmodule;
61 event fault.sensor.read-fail@fan;
62 event fault.sensor.read-fail@psu;
63 event fault.sp.fail@controller;
64 event fault.sp.svc-fail@controller;
65 event fault.sp.unavailable@controller;
66 event fault.temp.fail@controller;
67 event fault.temp.fail@fanmodule;
68 event fault.temp.fail@psu;
71  * Error event definitions.
72  */
74 event ereport.chassis.config.missing-fan@ses-enclosure;
75 event ereport.chassis.config.missing-fantray@ses-enclosure;
76 event ereport.chassis.config.missing-psu@ses-enclosure;
77 event ereport.chassis.device.ecb.shutoff@controller;
78 event ereport.chassis.device.ethernet.link-down@controller;
79 event ereport.chassis.device.ethernet.link-down@sas-expander;
80 event ereport.chassis.device.psu.dc-fail@psu;
81 event ereport.chassis.device.psu.dc-oc@psu;
82 event ereport.chassis.device.psu.dc-ov@psu;
83 event ereport.chassis.device.psu.dc-uv@psu;
84 event ereport.chassis.device.psu.ext-ac-fail@psu;
85 event ereport.chassis.device.psu.ot@psu;
86 event ereport.chassis.device.sas-expander.fail@sas-expander;
87 event ereport.chassis.device.unusable-chassis-id@fanboard;
88 event ereport.chassis.io.i2c.fail@controller;
89 event ereport.chassis.io.i2c.fail@fanboard;
90 event ereport.chassis.io.i2c.fail@fanmodule;
91 event ereport.chassis.io.i2c.fail@powerboard;
92 event ereport.chassis.io.i2c.fail@psu;
93 event ereport.chassis.post.device.fail@controller;
94 event ereport.chassis.post.device.fail@fan;
95 event ereport.chassis.post.device.fail@fanmodule;
96 event ereport.chassis.post.device.fail@psu;
97 event ereport.chassis.post.sp.fail@controller;
98 event ereport.chassis.sensor.current.oc@controller;
99 event ereport.chassis.sensor.current.oc@fanmodule;
100 event ereport.chassis.sensor.current.oc@psu;
101 event ereport.chassis.sensor.current.uc@controller;
102 event ereport.chassis.sensor.current.uc@fanmodule;
103 event ereport.chassis.sensor.current.uc@psu;
104 event ereport.chassis.sensor.fanspeed.us@fan;
105 event ereport.chassis.sensor.read-fail@controller;
106 event ereport.chassis.sensor.read-fail@fanmodule;
107 event ereport.chassis.sensor.read-fail@fan;
108 event ereport.chassis.sensor.read-fail@psu;
109 event ereport.chassis.sensor.temp.ot@controller;
110 event ereport.chassis.sensor.temp.ot@fanmodule;
111 event ereport.chassis.sensor.temp.ot@psu;
112 event ereport.chassis.sensor.temp.ut@controller;
113 event ereport.chassis.sensor.temp.ut@fanmodule;
114 event ereport.chassis.sensor.temp.ut@psu;
115 event ereport.chassis.sensor.voltage.ov@controller;
116 event ereport.chassis.sensor.voltage.ov@fanmodule;
117 event ereport.chassis.sensor.voltage.ov@psu;
118 event ereport.chassis.sensor.voltage.uv@controller;
119 event ereport.chassis.sensor.voltage.uv@fanmodule;
120 event ereport.chassis.sensor.voltage.uv@psu;
121 event ereport.chassis.sp.svc-restart@controller;
122 event ereport.chassis.sp.unavailable@controller;
123 event ereport.io.sas.log.fatal@sas-expander;
124 event ereport.io.sas.log.non-fatal@sas-expander;
127  * Service Processor failure
128  */
130 prop fault.sp.fail@controller ->
131     ereport.chassis.post.sp.fail@controller;
134  * Controller failure
135  */
137 prop fault.device.controller.fail@controller ->
138     ereport.chassis.post.device.fail@controller;
141  * Fan module failure
142  */
144 prop fault.device.fan.fail@fanmodule ->
145     ereport.chassis.post.device.fail@fanmodule;
148  * I2C transaction failure
149  */
151 prop fault.io.i2c.fail@controller ->
152     ereport.chassis.io.i2c.fail@controller;
153   
154 prop fault.io.i2c.fail@fanboard ->
155     ereport.chassis.io.i2c.fail@fanboard;
157 prop fault.io.i2c.fail@fanmodule ->
158     ereport.chassis.io.i2c.fail@fanmodule;
160 prop fault.io.i2c.fail@powerboard ->
161     ereport.chassis.io.i2c.fail@powerboard;
163 prop fault.io.i2c.fail@psu ->
164     ereport.chassis.io.i2c.fail@psu;
167  * Chassis ID unusable failure
168  */
170 prop fault.device.unusable-chassis-id@fanboard ->
171     ereport.chassis.device.unusable-chassis-id@fanboard;
174  * Configuration failure
175  */
177 prop fault.config.psu-fail@ses-enclosure ->
178     ereport.chassis.config.missing-psu@ses-enclosure{
179     setpayloadprop("min-required", payloadprop("min-required")) &&
180     setpayloadprop("devices", payloadprop("devices"))};
182 prop fault.config.fan-fail@ses-enclosure ->
183     ereport.chassis.config.missing-fan@ses-enclosure{
184     setpayloadprop("min-required", payloadprop("min-required")) &&
185     setpayloadprop("devices", payloadprop("devices"))};
187 prop fault.config.fantray-fail@ses-enclosure ->
188     ereport.chassis.config.missing-fantray@ses-enclosure{
189     setpayloadprop("min-required", payloadprop("min-required")) &&
190     setpayloadprop("devices", payloadprop("devices"))};
193  * Fan failure
194  */
196 prop fault.device.fan.fail@fan ->
197     ereport.chassis.sensor.fanspeed.us@fan,
198     ereport.chassis.post.device.fail@fan;
201  * Sensor reading failure
202  */
204 prop fault.sensor.read-fail@controller ->
205     ereport.chassis.sensor.read-fail@controller;
207 prop fault.sensor.read-fail@fanmodule ->
208     ereport.chassis.sensor.read-fail@fanmodule;
210 prop fault.sensor.read-fail@fan ->
211     ereport.chassis.sensor.read-fail@fan;
213 prop fault.sensor.read-fail@psu ->
214     ereport.chassis.sensor.read-fail@psu;
217  * Temperature failure
218  */
220 prop fault.temp.fail@controller ->
221     ereport.chassis.sensor.temp.ot@controller,
222     ereport.chassis.sensor.temp.ut@controller;
224 prop fault.temp.fail@fanmodule ->
225     ereport.chassis.sensor.temp.ot@fanmodule,
226     ereport.chassis.sensor.temp.ut@fanmodule;
228 prop fault.temp.fail@psu ->
229     ereport.chassis.sensor.temp.ot@psu,
230     ereport.chassis.sensor.temp.ut@psu;
233  * Power failure
234  */
236 prop fault.power.fail@controller ->
237     ereport.chassis.device.ecb.shutoff@controller,
238     ereport.chassis.sensor.current.oc@controller,
239     ereport.chassis.sensor.current.uc@controller,
240     ereport.chassis.sensor.voltage.ov@controller,
241     ereport.chassis.sensor.voltage.uv@controller;
243 prop fault.power.fail@fanmodule ->
244     ereport.chassis.sensor.current.oc@fanmodule,
245     ereport.chassis.sensor.current.uc@fanmodule,
246     ereport.chassis.sensor.voltage.ov@fanmodule,
247     ereport.chassis.sensor.voltage.uv@fanmodule;
249 prop fault.power.fail@psu ->
250     ereport.chassis.sensor.current.oc@psu,
251     ereport.chassis.sensor.current.uc@psu,
252     ereport.chassis.sensor.voltage.ov@psu,
253     ereport.chassis.sensor.voltage.uv@psu;
256  * Power supply unit failure
257  */
259 prop fault.device.psu.fail@psu ->
260     ereport.chassis.device.psu.dc-fail@psu,
261     ereport.chassis.device.psu.dc-ov@psu,
262     ereport.chassis.device.psu.dc-uv@psu,
263     ereport.chassis.device.psu.dc-oc@psu,
264     ereport.chassis.device.psu.ot@psu,
265     ereport.chassis.post.device.fail@psu;
268  * External power failure
269  */
271 prop fault.power.ext-fail@ses-enclosure ->
272     ereport.chassis.device.psu.ext-ac-fail@psu<>;
275  * SAS Expander failure
276  */
278 prop fault.device.sas-expander.fail@sas-expander ->
279     ereport.chassis.device.sas-expander.fail@sas-expander;
282  * Ethernet failure
283  */
285 prop fault.device.ethernet.fail@controller ->
286     ereport.chassis.device.ethernet.link-down@controller;
288 prop fault.device.ethernet.fail@sas-expander ->
289     ereport.chassis.device.ethernet.link-down@sas-expander;
292  * Service Processor unavailable failure
293  */
295 prop fault.sp.unavailable@controller ->
296     ereport.chassis.sp.unavailable@controller;
299  * Service Processor service failure
300  */
302 prop fault.sp.svc-fail@controller ->
303     ereport.chassis.sp.svc-restart@controller{
304     setpayloadprop("service", payloadprop("service"))};
307  * SAS Expander Log failure
308  */
310 prop fault.io.sas.log.non-fatal@sas-expander ->
311     ereport.io.sas.log.non-fatal@sas-expander;
313 prop fault.io.sas.log.fatal@sas-expander ->
314     ereport.io.sas.log.fatal@sas-expander;