blob: b2a1759534de8ab0e87c5a2be4aad2b873a9bdf8 [file] [log] [blame]
Matt Spinler44792fd2019-09-26 15:58:58 -05001{
2 "PELs":
3 [
Matt Spinler3fd08d62019-10-22 14:25:33 -05004 {
5 "Name": "xyz.openbmc_project.Common.Error.Timeout",
6 "Subsystem": "bmc_firmware",
Matt Spinler44792fd2019-09-26 15:58:58 -05007
Matt Spinler3fd08d62019-10-22 14:25:33 -05008 "SRC":
9 {
10 "ReasonCode": "0x1001",
11 "Words6To9":
12 {
13 "6":
14 {
15 "Description": "Timeout in ms",
16 "AdditionalDataPropSource": "TIMEOUT_IN_MSEC"
17 }
18 }
19 },
20
21 "Documentation":
22 {
23 "Description": "This is a generic timeout error",
24 "Message": "An operation timed out",
25 "Notes": [
26 "The journal should contain more information"
27 ]
28 }
29 },
30
31 {
32 "Name": "xyz.openbmc_project.Common.Error.InternalFailure",
33 "Subsystem": "bmc_firmware",
34
35 "SRC":
36 {
37 "ReasonCode": "0x1002",
38 "Words6To9":
39 {
40 }
41 },
42
43 "Documentation":
44 {
45 "Description": "BMC code had a generic internal failure",
46 "Message": "An application had an internal failure",
47 "Notes": [
48 "The journal should contain more information"
49 ]
50 }
51 },
52
53 {
54 "Name": "xyz.openbmc_project.Common.Error.InvalidArgument",
55 "Subsystem": "user_error",
56
57 "SRC":
58 {
59 "ReasonCode": "0x1003",
60 "Words6To9":
61 {
62 }
63 },
64
65 "Documentation":
66 {
67 "Description": "BMC code was given an invalid argument",
68 "Message": "Code was given an invalid argument",
69 "Notes": [
70 "The journal should contain more information"
71 ]
72 }
73 },
74 {
75 "Name": "xyz.openbmc_project.Common.Error.InsufficientPermission",
76 "Subsystem": "user_error",
77
78 "SRC":
79 {
80 "ReasonCode": "0x1004",
81 "Words6To9":
82 {
83 }
84 },
85
86 "Documentation":
87 {
88 "Description": "An operation failed due to insufficient permission",
89 "Message": "An operation failed due to unsufficient permission",
90 "Notes": [
91 "The journal should contain more information"
92 ]
93 }
94 },
95
96 {
97 "Name": "xyz.openbmc_project.Common.Error.NotAllowed",
98 "Subsystem": "user_error",
99
100 "SRC":
101 {
102 "ReasonCode": "0x1005",
103 "Words6To9":
104 {
105 }
106 },
107
108 "Documentation":
109 {
110 "Description": "An operation failed because it isn't allowed",
Matt Spinler26958762020-08-27 13:21:23 -0500111 "Message": "An operation failed because it isn't allowed",
Matt Spinler3fd08d62019-10-22 14:25:33 -0500112 "Notes": [
113 "The journal should contain more information"
114 ]
115 }
116 },
117
118 {
119 "Name": "xyz.openbmc_project.Common.Error.NoCACertificate",
120 "Subsystem": "user_error",
121
122 "SRC":
123 {
124 "ReasonCode": "0x1006",
125 "Words6To9":
126 {
127 }
128 },
129
130 "Documentation":
131 {
132 "Description": "The server's CA certificate has not been provided",
133 "Message": "The server's CA certificate has not been provided"
134 }
Matt Spinler05c2c6c2019-12-18 14:02:09 -0600135 },
136
137 {
Matt Spinleraf036b12020-06-25 10:53:52 -0500138 "Name": "xyz.openbmc_project.Sensor.Device.Error.ReadFailure",
139 "Subsystem": "cec_chip_iface",
140
141 "SRC":
142 {
143 "ReasonCode": "0x1007",
144 "Words6To9":
145 {
146 "6":
147 {
148 "Description": "errno of the failure",
149 "AdditionalDataPropSource": "CALLOUT_ERRNO"
150 }
151 }
152 },
153
154 "Documentation":
155 {
156 "Description": "Sensor device read failure",
157 "Message": "There was a failure when reading a sensor device",
158 "Notes": [
159 "The severity is set by the creator.",
160 "The action flags are set automatically by the code.",
161 "Callouts added based on CALLOUT_DEVICE_PATH."
162 ]
163 }
164 },
165
166 {
167 "Name": "xyz.openbmc_project.Common.Device.Error.ReadFailure",
168 "Subsystem": "cec_chip_iface",
169
170 "SRC":
171 {
172 "ReasonCode": "0x1008",
173 "Words6To9":
174 {
175 "6":
176 {
177 "Description": "errno of the failure",
178 "AdditionalDataPropSource": "CALLOUT_ERRNO"
179 }
180 }
181 },
182
183 "Documentation":
184 {
185 "Description": "Device read failure",
186 "Message": "There was a failure when reading a hardware device",
187 "Notes": [
188 "The severity is set by the creator.",
189 "The action flags are set automatically by the code.",
190 "Callouts added based on CALLOUT_DEVICE_PATH."
191 ]
192 }
193 },
194
195 {
196 "Name": "xyz.openbmc_project.Control.Device.Error.WriteFailure",
197 "Subsystem": "cec_chip_iface",
198
199 "SRC":
200 {
201 "ReasonCode": "0x1009",
202 "Words6To9":
203 {
204 "6":
205 {
206 "Description": "errno of the failure",
207 "AdditionalDataPropSource": "CALLOUT_ERRNO"
208 }
209 }
210 },
211
212 "Documentation":
213 {
214 "Description": "Device write failure",
215 "Message": "There was a failure when writing to a hardware device",
216 "Notes": [
217 "The severity is set by the creator.",
218 "The action flags are set automatically by the code.",
219 "Callouts added based on CALLOUT_DEVICE_PATH"
220 ]
221 }
222 },
223
224 {
225 "Name": "xyz.openbmc_project.Common.Device.Error.WriteFailure",
226 "Subsystem": "cec_chip_iface",
227
228 "SRC":
229 {
230 "ReasonCode": "0x100A",
231 "Words6To9":
232 {
233 "6":
234 {
235 "Description": "errno of the failure",
236 "AdditionalDataPropSource": "CALLOUT_ERRNO"
237 }
238 }
239 },
240
241 "Documentation":
242 {
243 "Description": "Device write failure",
244 "Message": "There was a failure when writing to a hardware device",
245 "Notes": [
246 "The severity is set by the creator.",
247 "The action flags are set automatically by the code.",
248 "Callouts added based on CALLOUT_DEVICE_PATH"
249 ]
250 }
251 },
252 {
Matt Spinler05c2c6c2019-12-18 14:02:09 -0600253 "Name": "org.open_power.Logging.Error.SentBadPELToHost",
254 "Subsystem": "bmc_firmware",
255 "Severity": "non_error",
256
257 "SRC":
258 {
259 "ReasonCode": "0x2001",
260 "Words6To9":
261 {
262 "6":
263 {
264 "Description": "The bad PEL ID",
265 "AdditionalDataPropSource": "BAD_ID"
266 }
267 }
268 },
269
270 "Documentation":
271 {
272 "Description": "The BMC sent the host a malformed PEL",
273 "Message": "The BMC sent the host a malformed PEL",
274 "Notes": [
275 "The host firmware rejected that PEL."
276 ]
277 }
Matt Spinlere95fd012020-01-07 12:53:16 -0600278 },
279
280 {
281 "Name": "org.open_power.Logging.Error.BadHostPEL",
282 "Subsystem": "platform_firmware",
283 "Severity": "unrecoverable",
284
285 "SRC":
286 {
287 "ReasonCode": "0x2002",
288 "Words6To9":
289 {
290 "6":
291 {
292 "Description": "The PLID of the invalid PEL",
293 "AdditionalDataPropSource": "PLID"
294 },
295 "7":
296 {
297 "Description": "The corresponding OpenBMC event log ID",
298 "AdditionalDataPropSource": "OBMC_LOG_ID"
299 },
300 "8":
301 {
302 "Description": "The size of the invalid PEL",
303 "AdditionalDataPropSource": "PEL_SIZE"
304 }
305 }
306 },
307
308 "Documentation":
309 {
310 "Description": "The host sent the BMC an invalid PEL",
311 "Message": "The host sent the BMC an invalid PEL",
312 "Notes": [
313 ]
314 }
Marri Devender Raoead1be22020-03-28 05:50:59 -0500315 },
316
317 {
Matt Spinler3477ce92020-07-08 14:49:25 -0500318 "Name": "org.open_power.Logging.Error.TestError1",
319 "Subsystem": "platform_firmware",
320 "Severity": "unrecoverable",
321
322 "SRC":
323 {
324 "ReasonCode": "0x2003",
325 "Words6To9":
326 {
327 }
328 },
329
330 "Callouts": [
331 {
332 "CalloutList": [
333 {"Priority": "high", "Procedure": "bmc_code"},
334 {"Priority": "medium", "SymbolicFRU": "service_docs"}
335 ]
336 }
337 ],
338
339 "Documentation":
340 {
341 "Description": "An error for testing",
342 "Message": "This is a test error"
343 }
344 },
345
346 {
Matt Spinler30ddc9f2020-07-16 15:39:59 -0500347 "Name": "xyz.openbmc_project.Logging.Error.Default",
348 "Subsystem": "other_na",
349
350 "SRC":
351 {
352 "ReasonCode": "0x2004",
353 "Words6To9":
354 {
355 }
356 },
357
358 "Documentation":
359 {
360 "Description": "This entry is used when no other matching entry is found",
361 "Message": "Unknown (Original event not in message registry)",
362 "Notes": [
363 "This is used when the actual error name isn't found in ",
364 "the registry. The original error name will be stored ",
365 "in the UserData section that contains the AdditionalData ",
366 "properties using the key ERROR_NAME.",
367 "This error may contain callouts if the creator passed ",
368 "them in.",
369 "The severity is set by the creator.",
370 "If this error is seen, then a code change needs to be ",
371 "made to add the missing error entry to this registry."
372 ]
373 }
374 },
375
376 {
Marri Devender Raoead1be22020-03-28 05:50:59 -0500377 "Name": "org.open_power.PHAL.Error.Boot",
378 "Subsystem": "cec_hardware",
379 "Severity": "unrecoverable",
380
381 "SRC":
382 {
383 "ReasonCode": "0x3000",
384 "Words6To9":
385 {
386 }
387 },
388
389 "Documentation":
390 {
391 "Description": "Failure occured during boot process",
392 "Message": "Failure occured during boot process",
393 "Notes": [
394 "Debug traces will be captured in AdditionalData section"
395 ]
396 }
Ben Tyner34836322020-04-15 17:01:48 -0500397 },
398
399 {
400 "Name": "org.open_power.Attn.Error.Terminate",
401 "Subsystem": "other_na",
402 "Severity": "critical_system_term",
403
404 "SRC":
405 {
406 "ReasonCode": "0xD138",
407 "Words6To9":
408 {
409 }
410 },
411
412 "Documentation":
413 {
414 "Description": "Status shows TI special attention active",
415 "Message": "TI special attention detected",
416 "Notes": [
417 "This entry is for any TI special attention event ",
418 "reported by the attention handler component"
419 ]
420 }
421 },
422
423 {
424 "Name": "org.open_power.Attn.Error.Fail",
425 "Subsystem": "bmc_firmware",
426 "Severity": "unrecoverable_loss_of_function",
427
428 "SRC":
429 {
430 "ReasonCode": "0xD13E",
431 "Words6To9":
432 {
433 "6":
434 {
435 "Description": "Error code from attention handler",
436 "AdditionalDataPropSource": "ERROR_CODE"
437 }
438 }
439 },
440 "Documentation":
441 {
442 "Description": "The attention handler encountered an error",
443 "MessageArgSources" : ["SRCWord6"],
444 "Message": "Attention handler error %1",
445 "Notes": [
446 "Attention handler will provide error code"
447 ]
448 }
449 },
450
451 {
452 "Name": "org.open_power.Attn.Error.Vital",
453 "Subsystem": "processor_chip",
454 "Severity": "critical",
455
456 "SRC":
457 {
458 "ReasonCode": "0xD16D",
459 "Words6To9":
460 {
461 }
462 },
463
464 "Documentation":
465 {
466 "Description": "Status shows SBE vital attention active",
467 "Message": "SBE vital attention detected",
468 "Notes": [
469 "This entry is for any SBE vital attention event ",
470 "reported by the attention handler component"
471 ]
472 }
473 },
474
475 {
476 "Name": "org.open_power.HwDiags.Error.Checkstop",
477 "Subsystem": "cec_hardware",
478 "Severity": "critical",
479
480 "SRC":
481 {
482 "ReasonCode": "0xE504",
483 "Words6To9":
484 {
485 "6":
486 {
487 "Description": "Chip ID",
488 "AdditionalDataPropSource": "CHIP_ID"
489 },
490 "8":
491 {
492 "Description": "Error Signature",
493 "AdditionalDataPropSource": "SIGNATURE"
494 }
495 }
496 },
497
498 "Documentation":
499 {
500 "Description": "A checkstop condition has been detected",
501 "MessageArgSources" : ["SRCWord6", "SRCWord8"],
502 "Message": "Checkstop: Chip %1, Signature %2",
503 "Notes": [
504 "This entry is for any checkstop event reported by ",
505 "the hardware diagnostics component."
506 ]
507 }
508 },
509
510 {
511 "Name": "org.open_power.HwDiags.Error.Fail",
512 "Subsystem": "bmc_firmware",
513 "Severity": "diagnostic_error",
514
515 "SRC":
516 {
517 "ReasonCode": "0xE580",
518 "Words6To9":
519 {
520 "6":
521 {
522 "Description": "Error code from hardware diagnostics",
523 "AdditionalDataPropSource": "ERROR_CODE"
524 }
525 }
526 },
527 "Documentation":
528 {
529 "Description": "Hardware diagnostics encountered an error",
530 "MessageArgSources" : ["SRCWord6"],
531 "Message": "Hardware diagnostics error %1",
532 "Notes": [
533 "Hardware diagnostics will provide error code"
534 ]
535 }
Shawn McCarney01648f52020-06-25 11:42:02 -0500536 },
537
538 {
539 "Name": "xyz.openbmc_project.Power.Regulators.Error.WriteVerification",
540 "Subsystem": "power",
541 "ComponentID": "0x2700",
542
543 "SRC": {
544 "Type": "11",
545 "ReasonCode": "0x2900",
546 "Words6To9": {}
547 },
548
549 "Documentation": {
550 "Description": "A write verification error occurred on a device",
551 "Message": "A write verification error occurred on a device",
552 "Notes": [
553 "This error occurs when a device register is written, ",
554 "read back, and the two values do not match. This is ",
555 "also called a read-back error. The device should be ",
556 "identified using the CALLOUT_DEVICE_PATH or ",
557 "CALLOUT_IIC_BUS/CALLOUT_IIC_ADDR keywords in the ",
558 "AdditionalData property of the event log. This will ",
559 "cause the device and the hardware in the communication ",
560 "path to be called out."
561 ]
562 }
563 },
564
565 {
566 "Name": "xyz.openbmc_project.Power.Regulators.Error.ConfigFile",
567 "Subsystem": "power",
568 "ComponentID": "0x2700",
569
570 "SRC": {
571 "Type": "11",
572 "ReasonCode": "0xA013",
573 "Words6To9": {}
574 },
575
576 "Callouts": [
577 {
578 "CalloutList": [
579 { "Priority": "high", "Procedure": "bmc_code" }
580 ]
581 }
582 ],
583
584 "Documentation": {
585 "Description": "A regulators configuration file error occurred",
586 "Message": "A regulators configuration file error occurred",
587 "Notes": [
588 "The regulators configuration file could not be found, ",
589 "could not be read, or had invalid contents."
590 ]
591 }
592 },
593
594 {
595 "Name": "xyz.openbmc_project.Power.Error.Internal",
596 "Subsystem": "power",
597 "ComponentID": "0x2700",
598
599 "SRC": {
600 "Type": "11",
601 "ReasonCode": "0xE000",
602 "Words6To9": {}
603 },
604
605 "Callouts": [
606 {
607 "CalloutList": [
608 { "Priority": "high", "Procedure": "bmc_code" }
609 ]
610 }
611 ],
612
613 "Documentation": {
614 "Description": "An internal firmware error occurred",
615 "Message": "An internal firmware error occurred",
616 "Notes": [
617 "The error details must be provided in the AdditionalData ",
618 "property of the event log."
619 ]
620 }
621 },
622
623 {
624 "Name": "xyz.openbmc_project.Power.Error.I2C",
625 "Subsystem": "cec_i2c",
626 "ComponentID": "0x2700",
627
628 "SRC": {
629 "Type": "11",
630 "ReasonCode": "0xE100",
631 "Words6To9": {}
632 },
633
634 "Documentation": {
635 "Description": "An I2C error occurred communicating with a device",
636 "Message": "An I2C error occurred communicating with a device",
637 "Notes": [
638 "The device should be identified using the ",
639 "CALLOUT_DEVICE_PATH or CALLOUT_IIC_BUS/CALLOUT_IIC_ADDR ",
640 "keywords in the AdditionalData property of the event ",
641 "log. This will cause the device and the hardware in the ",
642 "communication path to be called out."
643 ]
644 }
645 },
646
647 {
648 "Name": "xyz.openbmc_project.Power.Error.PMBus",
649 "Subsystem": "power",
650 "ComponentID": "0x2700",
651
652 "SRC": {
653 "Type": "11",
654 "ReasonCode": "0xE200",
655 "Words6To9": {}
656 },
657
658 "Documentation": {
659 "Description": "A PMBus error occurred on a device",
660 "Message": "A PMBus error occurred on a device",
661 "Notes": [
662 "This error occurs when the I2C communication was ",
663 "successful, but the PMBus value read is invalid or ",
664 "unsupported. CALLOUT_INVENTORY_PATH should be specified ",
665 "in the AdditionalData property of the event log so that ",
666 "the device is called out but not the communication path."
667 ]
668 }
669 },
670
671 {
672 "Name": "xyz.openbmc_project.Power.Error.DBus",
673 "Subsystem": "power",
674 "ComponentID": "0x2700",
675
676 "SRC": {
677 "Type": "11",
678 "ReasonCode": "0xE300",
679 "Words6To9": {}
680 },
681
682 "Callouts": [
683 {
684 "CalloutList": [
685 { "Priority": "high", "Procedure": "bmc_code" }
686 ]
687 }
688 ],
689
690 "Documentation": {
691 "Description": "A firmware inter-process communication (D-Bus) error occurred",
692 "Message": "A firmware inter-process communication (D-Bus) error occurred"
693 }
Matt Spinler3fd08d62019-10-22 14:25:33 -0500694 }
Matt Spinler44792fd2019-09-26 15:58:58 -0500695 ]
696}