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 */ 21 22/* 23 * Copyright (c) 2010, Oracle and/or its affiliates. All rights reserved. 24 */ 25 26#pragma dictionary "STORAGE" 27 28/* 29 * Fault event definitions. 30 */ 31 32event fault.config.fan-fail@ses-enclosure; 33event fault.config.psu-fail@ses-enclosure; 34event fault.device.controller.fail@controller; 35event fault.device.ethernet.fail@controller; 36event fault.device.ethernet.fail@sas-expander; 37event fault.device.fan.fail@fan; 38event fault.device.fan.fail@fanmodule; 39event fault.device.psu.fail@psu; 40event fault.device.psu.fail@psu; 41event fault.device.sas-expander.fail@sas-expander; 42event fault.device.unusable-chassis-id@fanboard; 43event fault.io.i2c.fail@controller; 44event fault.io.i2c.fail@fanboard; 45event fault.io.i2c.fail@fanmodule; 46event fault.io.i2c.fail@powerboard; 47event fault.io.i2c.fail@psu; 48event fault.io.i2c.poweron-fail@controller; 49event fault.io.i2c.poweron-fail@fanboard; 50event fault.io.i2c.poweron-fail@fanmodule; 51event fault.io.i2c.poweron-fail@powerboard; 52event fault.io.i2c.poweron-fail@psu; 53event fault.io.sas.log.fatal@sas-expander; 54event fault.io.sas.log.non-fatal@sas-expander; 55event fault.power.ext-fail@ses-enclosure; 56event fault.power.fail@controller; 57event fault.power.fail@controller; 58event fault.power.fail@controller; 59event fault.power.fail@fanmodule; 60event fault.power.fail@fanmodule; 61event fault.power.fail@psu; 62event fault.power.fail@psu; 63event fault.sensor.read-fail@controller; 64event fault.sensor.read-fail@fanmodule; 65event fault.sensor.read-fail@fan; 66event fault.sensor.read-fail@psu; 67event fault.sp.fail@controller; 68event fault.sp.svc-fail@controller; 69event fault.sp.unavailable@controller; 70event fault.temp.fail@controller; 71event fault.temp.fail@fanmodule; 72event fault.temp.fail@psu; 73 74/* 75 * Error event definitions. 76 */ 77 78event ereport.chassis.config.missing-fan@ses-enclosure; 79event ereport.chassis.config.missing-psu@ses-enclosure; 80event ereport.chassis.device.ecb.shutoff@controller; 81event ereport.chassis.device.ethernet.link-down@controller; 82event ereport.chassis.device.ethernet.link-down@sas-expander; 83event ereport.chassis.device.psu.dc-fail@psu; 84event ereport.chassis.device.psu.dc-oc@psu; 85event ereport.chassis.device.psu.dc-ov@psu; 86event ereport.chassis.device.psu.dc-uv@psu; 87event ereport.chassis.device.psu.ext-ac-fail@psu; 88event ereport.chassis.device.psu.ot@psu; 89event ereport.chassis.device.sas-expander.fail@sas-expander; 90event ereport.chassis.device.unusable-chassis-id@fanboard; 91event ereport.chassis.io.i2c.fail@controller; 92event ereport.chassis.io.i2c.fail@fanboard; 93event ereport.chassis.io.i2c.fail@fanmodule; 94event ereport.chassis.io.i2c.fail@powerboard; 95event ereport.chassis.io.i2c.fail@psu; 96event ereport.chassis.io.i2c.poweron-fail@controller; 97event ereport.chassis.io.i2c.poweron-fail@fanboard; 98event ereport.chassis.io.i2c.poweron-fail@fanmodule; 99event ereport.chassis.io.i2c.poweron-fail@powerboard; 100event ereport.chassis.io.i2c.poweron-fail@psu; 101event ereport.chassis.post.device.fail@controller; 102event ereport.chassis.post.device.fail@fan; 103event ereport.chassis.post.device.fail@fanmodule; 104event ereport.chassis.post.device.fail@psu; 105event ereport.chassis.post.sp.fail@controller; 106event ereport.chassis.sensor.current.oc@controller; 107event ereport.chassis.sensor.current.oc@fanmodule; 108event ereport.chassis.sensor.current.oc@psu; 109event ereport.chassis.sensor.current.uc@controller; 110event ereport.chassis.sensor.current.uc@fanmodule; 111event ereport.chassis.sensor.current.uc@psu; 112event ereport.chassis.sensor.fanspeed.us@fan; 113event ereport.chassis.sensor.read-fail@controller; 114event ereport.chassis.sensor.read-fail@fanmodule; 115event ereport.chassis.sensor.read-fail@fan; 116event ereport.chassis.sensor.read-fail@psu; 117event ereport.chassis.sensor.temp.ot@controller; 118event ereport.chassis.sensor.temp.ot@fanmodule; 119event ereport.chassis.sensor.temp.ot@psu; 120event ereport.chassis.sensor.temp.ut@controller; 121event ereport.chassis.sensor.temp.ut@fanmodule; 122event ereport.chassis.sensor.temp.ut@psu; 123event ereport.chassis.sensor.voltage.ov@controller; 124event ereport.chassis.sensor.voltage.ov@fanmodule; 125event ereport.chassis.sensor.voltage.ov@psu; 126event ereport.chassis.sensor.voltage.uv@controller; 127event ereport.chassis.sensor.voltage.uv@fanmodule; 128event ereport.chassis.sensor.voltage.uv@psu; 129event ereport.chassis.sp.svc-restart@controller; 130event ereport.chassis.sp.unavailable@controller; 131event ereport.io.sas.log.fatal@sas-expander; 132event ereport.io.sas.log.non-fatal@sas-expander; 133 134/* 135 * Service Processor failure 136 */ 137 138prop fault.sp.fail@controller -> 139 ereport.chassis.post.sp.fail@controller; 140 141/* 142 * Controller failure 143 */ 144 145prop fault.device.controller.fail@controller -> 146 ereport.chassis.post.device.fail@controller; 147 148/* 149 * Fan module failure 150 */ 151 152prop fault.device.fan.fail@fanmodule -> 153 ereport.chassis.post.device.fail@fanmodule; 154 155/* 156 * I2C transaction failure 157 */ 158 159prop fault.io.i2c.fail@controller -> 160 ereport.chassis.io.i2c.fail@controller; 161 162prop fault.io.i2c.fail@fanboard -> 163 ereport.chassis.io.i2c.fail@fanboard; 164 165prop fault.io.i2c.fail@fanmodule -> 166 ereport.chassis.io.i2c.fail@fanmodule; 167 168prop fault.io.i2c.fail@powerboard -> 169 ereport.chassis.io.i2c.fail@powerboard; 170 171prop fault.io.i2c.fail@psu -> 172 ereport.chassis.io.i2c.fail@psu; 173 174/* 175 * I2C transaction failure during power-on 176 */ 177 178prop fault.io.i2c.poweron-fail@controller -> 179 ereport.chassis.io.i2c.poweron-fail@controller; 180 181prop fault.io.i2c.poweron-fail@fanboard -> 182 ereport.chassis.io.i2c.poweron-fail@fanboard; 183 184prop fault.io.i2c.poweron-fail@fanmodule -> 185 ereport.chassis.io.i2c.poweron-fail@fanmodule; 186 187prop fault.io.i2c.poweron-fail@powerboard -> 188 ereport.chassis.io.i2c.poweron-fail@powerboard; 189 190prop fault.io.i2c.poweron-fail@psu -> 191 ereport.chassis.io.i2c.poweron-fail@psu; 192 193/* 194 * Chassis ID unusable failure 195 */ 196 197prop fault.device.unusable-chassis-id@fanboard -> 198 ereport.chassis.device.unusable-chassis-id@fanboard; 199 200/* 201 * Configuration failure 202 */ 203 204prop fault.config.psu-fail@ses-enclosure -> 205 ereport.chassis.config.missing-psu@ses-enclosure; 206 207prop fault.config.fan-fail@ses-enclosure -> 208 ereport.chassis.config.missing-fan@ses-enclosure; 209 210/* 211 * Fan failure 212 */ 213 214prop fault.device.fan.fail@fan -> 215 ereport.chassis.sensor.fanspeed.us@fan, 216 ereport.chassis.post.device.fail@fan; 217 218/* 219 * Sensor reading failure 220 */ 221 222prop fault.sensor.read-fail@controller -> 223 ereport.chassis.sensor.read-fail@controller; 224 225prop fault.sensor.read-fail@fanmodule -> 226 ereport.chassis.sensor.read-fail@fanmodule; 227 228prop fault.sensor.read-fail@fan -> 229 ereport.chassis.sensor.read-fail@fan; 230 231prop fault.sensor.read-fail@psu -> 232 ereport.chassis.sensor.read-fail@psu; 233 234/* 235 * Temperature failure 236 */ 237 238prop fault.temp.fail@controller -> 239 ereport.chassis.sensor.temp.ot@controller, 240 ereport.chassis.sensor.temp.ut@controller; 241 242prop fault.temp.fail@fanmodule -> 243 ereport.chassis.sensor.temp.ot@fanmodule, 244 ereport.chassis.sensor.temp.ut@fanmodule; 245 246prop fault.temp.fail@psu -> 247 ereport.chassis.sensor.temp.ot@psu, 248 ereport.chassis.sensor.temp.ut@psu; 249 250/* 251 * Power failure 252 */ 253 254prop fault.power.fail@controller -> 255 ereport.chassis.device.ecb.shutoff@controller, 256 ereport.chassis.sensor.current.oc@controller, 257 ereport.chassis.sensor.current.uc@controller, 258 ereport.chassis.sensor.voltage.ov@controller, 259 ereport.chassis.sensor.voltage.uv@controller; 260 261prop fault.power.fail@fanmodule -> 262 ereport.chassis.sensor.current.oc@fanmodule, 263 ereport.chassis.sensor.current.uc@fanmodule, 264 ereport.chassis.sensor.voltage.ov@fanmodule, 265 ereport.chassis.sensor.voltage.uv@fanmodule; 266 267prop fault.power.fail@psu -> 268 ereport.chassis.sensor.current.oc@psu, 269 ereport.chassis.sensor.current.uc@psu, 270 ereport.chassis.sensor.voltage.ov@psu, 271 ereport.chassis.sensor.voltage.uv@psu; 272 273/* 274 * Power supply unit failure 275 */ 276 277prop fault.device.psu.fail@psu -> 278 ereport.chassis.device.psu.dc-fail@psu, 279 ereport.chassis.device.psu.dc-ov@psu, 280 ereport.chassis.device.psu.dc-uv@psu, 281 ereport.chassis.device.psu.dc-oc@psu, 282 ereport.chassis.device.psu.ot@psu, 283 ereport.chassis.post.device.fail@psu; 284 285/* 286 * External power failure 287 */ 288 289prop fault.power.ext-fail@ses-enclosure -> 290 ereport.chassis.device.psu.ext-ac-fail@psu<>; 291 292/* 293 * SAS Expander failure 294 */ 295 296prop fault.device.sas-expander.fail@sas-expander -> 297 ereport.chassis.device.sas-expander.fail@sas-expander; 298 299/* 300 * Ethernet failure 301 */ 302 303prop fault.device.ethernet.fail@controller -> 304 ereport.chassis.device.ethernet.link-down@controller; 305 306prop fault.device.ethernet.fail@sas-expander -> 307 ereport.chassis.device.ethernet.link-down@sas-expander; 308 309/* 310 * Service Processor unavailable failure 311 */ 312 313prop fault.sp.unavailable@controller -> 314 ereport.chassis.sp.unavailable@controller; 315 316/* 317 * Service Processor service failure 318 */ 319 320prop fault.sp.svc-fail@controller -> 321 ereport.chassis.sp.svc-restart@controller; 322 323/* 324 * SAS Expander Log failure 325 */ 326 327prop fault.io.sas.log.non-fatal@sas-expander -> 328 ereport.io.sas.log.non-fatal@sas-expander; 329 330prop fault.io.sas.log.fatal@sas-expander -> 331 ereport.io.sas.log.fatal@sas-expander; 332 333